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.runexplicitly warn against dangerous patterns likeshell=Trueand promote the use ofshutil.whichfor 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