diff --git a/securitytest.js b/securitytest.js index 917f449..fcbf10b 100644 --- a/securitytest.js +++ b/securitytest.js @@ -17,4 +17,15 @@ const SecurityTest = () => { ); }; -export default SecurityTest; \ No newline at end of file +export default SecurityTest; +// mobsf_test.js +// VULNERABILITY: Hardcoded Google API Key (Regex match) +const google_key = "AIzaSyA1B2C3D4E5F6G7H8I9J0K1L2M3N4O5P6"; + +// VULNERABILITY: Hardcoded AWS Secret (Entropy match) +const aws_secret = "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"; + +// VULNERABILITY: Insecure Connection +const api_url = "http://insecure-api.com/v1/login"; + +console.log("Keys loaded successfully"); \ No newline at end of file