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

feat(python): extend and add rules following benchmarking #452

Merged
merged 16 commits into from
Jun 18, 2024

Conversation

elsapet
Copy link
Collaborator

@elsapet elsapet commented Jun 14, 2024

Description

Some fixes, changes and additions to the Python rules following benchmarking, including:

  • Trigger on external input (not just user input) for code injection rule
  • Fix missing secure / httponly cookie rules
  • Adding some additional libraries or methods to existing rules
  • Add mark_safe and __html__ magic method rule (Django - they skip HTML escaping)
  • Add avoid pickle rule (it is vulnerable to XXE)
  • Add missing JWT verification rule

Checklist

If this is your first time contributing please sign the CLA

  • My rule has adequate metadata to explain its use.

@elsapet elsapet requested a review from didroe June 14, 2024 14:51
@elsapet elsapet force-pushed the feat/python/extend-and-add-rules branch from 9867b06 to e5ca5a4 Compare June 14, 2024 15:31
@elsapet elsapet merged commit 483d3e9 into main Jun 18, 2024
25 checks passed
@elsapet elsapet deleted the feat/python/extend-and-add-rules branch June 18, 2024 07:07
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.

2 participants