python-project-best-practice
Pass
Audited by Gen Agent Trust Hub on Oct 28, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The
scripts/new-python-project.pyandscripts/audit-python-project.pyscripts utilizesubprocess.runto execute Git commands, such asgit initandgit ls-files. These calls are implemented using list-based arguments without a shell, which is a secure practice that prevents command injection. - [EXTERNAL_DOWNLOADS]: The skill documentation (
SKILL.md) and project templates (AGENTS.md.tmpl) recommend installing companion skills usingnpx skills@latest add daviddwlee84/agent-skills/skills. This is a vendor-owned resource hosted on a well-known service (npm), intended to extend the project's capabilities. - [INDIRECT_PROMPT_INJECTION]: The
audit-python-project.pyscript serves as a data ingestion surface by reading local project configuration files (likepyproject.toml) to provide scoring and migration plans. - Ingestion points:
scripts/audit-python-project.py(readingpyproject.toml,setup.py, etc.). - Boundary markers: The script produces structured JSON or table output for agent consumption.
- Capability inventory: The script is limited to read operations and local Git metadata checks.
- Sanitization: Ingested data is parsed using the standard
tomlliblibrary, and the script is read-only.
Audit Metadata