Update securitytest.js
All checks were successful
MobSF Security Integration / mobsf-analysis (push) Successful in 11s

This commit is contained in:
2026-02-18 18:58:10 +00:00
parent 6b46ec8b45
commit 9bda5e34bc

View File

@@ -17,4 +17,15 @@ const SecurityTest = () => {
); );
}; };
export default SecurityTest; 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");