python-best-practices
Pass
Audited by Gen Agent Trust Hub on Sep 14, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill serves as a documentation repository for Python development best practices, focusing on type safety, asynchronous resource management, and packaging.
- [SAFE]: The provided code examples demonstrate secure development patterns, including:
- Validating untrusted data at serialized boundaries using Pydantic, which mitigates injection and schema confusion risks.
- Avoiding the use of
assertfor runtime validation, ensuring that security checks remain active in optimized environments. - Using async context managers for resource acquisition and cleanup, preventing resource leaks.
- Discouraging the mutation of
sys.pathorPYTHONPATH, which helps maintain integrity and predictability in the execution environment. - [SAFE]: No evidence of prompt injection, data exfiltration, obfuscation, or persistence mechanisms was found. The skill does not perform network operations or access sensitive local files.
Audit Metadata