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

This commit is contained in:
2026-02-18 18:55:32 +00:00
parent c960a6d56b
commit 6b46ec8b45

20
securitytest.js Normal file
View File

@@ -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 (
<View>
<Text>MobSF Test File</Text>
</View>
);
};
export default SecurityTest;