Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

False Posivitives related to Code Analysis #220

Closed
ydevis803 opened this issue Aug 20, 2016 · 2 comments
Closed

False Posivitives related to Code Analysis #220

ydevis803 opened this issue Aug 20, 2016 · 2 comments
Labels
enhancement MobSF enhancements and feature requests

Comments

@ydevis803
Copy link

Hi, I was just wondering if it is possible that the tool is giving me a false positive here.

Finding: "Files may contain hardcoded sensitive informations like usernames, passwords, keys etc." in the file MenuBuilder.java

However, when I checked the code and I cannot find anything hardcoded that is sensitive. The only line that I can think about it is "paramBundle.putInt("android:menu:expandedactionview", localMenuItem.getItemId());" but still I dont think it is.

I have attached the MenuBuilder in case I am wrong. MenuBuilder.java.txt

Also I was wondering if it is possible that for next version, we could see which line of the code the tool is doing reference. So we know exactly where the issue is.

Thank you.

@ajinabraham
Copy link
Member

The false positive is due to this line
private static final String ACTION_VIEW_STATES_KEY = "android:menu:actionviewstates";

Will track the show line stuff as an enhancement

@ajinabraham ajinabraham added the enhancement MobSF enhancements and feature requests label Aug 21, 2016
@ke88yun
Copy link

ke88yun commented Nov 25, 2020

How do you suppress the false positive then ? I don't want the security score being reduced by those false positives. I want to remove those false positives from the generated PDF report. How do I achieve that ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement MobSF enhancements and feature requests
Projects
None yet
Development

No branches or pull requests

3 participants