Aalexbit-codemod

python-s2755-xxe-mining

Mine python:S2755: XML parsers should not be vulnerable to XXE attacks; read-only metrics with blocking severity

miningmetricspythonsecuritypython:S2755
Public
0 executions

Run locally

npx codemod python-s2755-xxe-mining

python-s2755-xxe-mining

Read-only mining codemod for python:S2755: XML parsers should not be vulnerable to XXE attacks.

Emits python_security_finding metric rows with blocking severity. Source files are never modified.

Rule

  • ID: python:S2755
  • Severity: blocking
  • Remediation: Use defusedxml or disable external entity resolution

Usage

bash

Development

bash

Ready to contribute?

Build your own codemod and share it with the community.