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

Note blackbox vulnerabilities as unknown #50

Merged
merged 12 commits into from
Jul 14, 2017
Merged

Conversation

KevinHock
Copy link
Collaborator

@KevinHock KevinHock commented Jun 5, 2017

This is an attempt to deal with #45 by marking vulnerabilities that have a blackbox call between source and sink as potentially unknown due to the call, similar to how we say things are potentially sanitised.

@KevinHock
Copy link
Collaborator Author

The 2 Similar code found in 1 other location issues are a won't fix, as they have to do with the comments, we should mark them as such but I may not have the CodeClimate permissions. The 3rd and last issue, w/ cyclomatic complexity seems like there is nothing that can be done to flatten in out, I don't see where adding a new function in visit_call would be worth it nor would it really reduce the cyclomatic complexity. https://codeclimate.com/github/python-security/pyt/pull/50



SavedVariable = namedtuple('SavedVariable', 'LHS RHS')
NOT_A_BLACKBOX = set(['Flask',
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is ugly, what should we do about it?

@KevinHock KevinHock requested a review from Thalmann June 5, 2017 19:04
@KevinHock
Copy link
Collaborator Author

Hate the yolo merge, but my next PR would be way too big. At least this increases test cov by .6% :/

@KevinHock KevinHock merged commit ec00777 into master Jul 14, 2017
@KevinHock KevinHock deleted the 45_fix_blackbox_false_pos branch March 16, 2018 03:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant