modernpython

Pass

Audited by Gen Agent Trust Hub on Mar 29, 2026

Risk Level: SAFE
Full Analysis
  • [SAFE]: The skill serves as a reference guide for Python modernization and does not contain any executable code or instructions that bypass safety protocols.
  • [SAFE]: Recommendations for subprocess.run explicitly warn against dangerous patterns like shell=True and promote the use of shutil.which for path resolution, which is a security best practice.
  • [SAFE]: The skill uses tomllib (introduced in Python 3.11) for configuration parsing, which is a safe alternative to potentially insecure custom parsers or older formats.
  • [SAFE]: The instruction set focuses on code refactoring and modernization (e.g., PEP 585, PEP 604, PEP 634) without introducing external dependencies or remote code execution risks.
Audit Metadata
Risk Level
SAFE
Analyzed
Mar 29, 2026, 08:41 AM