From 9bda5e34bc73d1b7a798df1169698be605013812 Mon Sep 17 00:00:00 2001 From: Rajendra Reddy Date: Wed, 18 Feb 2026 18:58:10 +0000 Subject: [PATCH] Update securitytest.js --- securitytest.js | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) 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