Aalexbit-codemod

python-s7625-aws-long-term-keys-mining

Mine python:S7625: Long-term AWS access keys should not be used directly in code; read-only metrics with blocking severity

miningmetricspythonsecuritypython:S7625
Public
0 executions

Run locally

npx codemod python-s7625-aws-long-term-keys-mining

python-s7625-aws-long-term-keys-mining

Read-only mining codemod for python:S7625: Long-term AWS access keys should not be used directly in code.

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

Rule

  • ID: python:S7625
  • Severity: blocking
  • Remediation: Use IAM roles, instance profiles, or short-lived credentials

Usage

bash

Development

bash

Ready to contribute?

Build your own codemod and share it with the community.