Update securitytest.js
All checks were successful
MobSF Security Integration / mobsf-analysis (push) Successful in 11s
All checks were successful
MobSF Security Integration / mobsf-analysis (push) Successful in 11s
This commit is contained in:
@@ -18,3 +18,14 @@ const 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");
|
||||
Reference in New Issue
Block a user