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:
@@ -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");
|
||||||
Reference in New Issue
Block a user