diff --git a/securitytest.js b/securitytest.js new file mode 100644 index 0000000..917f449 --- /dev/null +++ b/securitytest.js @@ -0,0 +1,20 @@ +import React from 'react'; +import { Text, View } from 'react-native'; + +const SecurityTest = () => { + // VULNERABILITY: Hardcoded sensitive AWS Key + const AWS_SECRET = "AKIAIMNO7YBXQDWS7BAR"; + + const loginUser = (username, password) => { + // VULNERABILITY: Logging sensitive information to console + console.log("Attempting login for: " + username + " with password: " + password); + }; + + return ( + + MobSF Test File + + ); +}; + +export default SecurityTest; \ No newline at end of file