ac-django
Pass
Audited by Gen Agent Trust Hub on Oct 5, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill is designed to analyze and modify a Django codebase, which is an external data source. This creates a surface for indirect prompt injection if the code contains malicious instructions in comments, docstrings, or data migrations.
- Ingestion points: The agent processes models, views, and migrations from the local Django codebase (referenced throughout
SKILL.mdand thereferences/directory). - Boundary markers: The instructions do not currently include explicit delimiters or safety instructions to prevent the agent from following prompts embedded within the code it analyzes.
- Capability inventory: The agent has the ability to write files (e.g., creating migrations, updating models) and execute shell commands via the provided
prektools. - Sanitization: No sanitization or filtering of the analyzed codebase content is implemented.
- [EXTERNAL_DOWNLOADS]: The
rules/astgrep_scan.pyscript utilizes theuvxtool to download and execute theast-grep-clipackage from PyPI at runtime. - Evidence: The
_astgrep_argvfunction inrules/astgrep_scan.pyconstructs a command usinguvx --from ast-grep-cli==0.44.1 ast-grep. - Context: The download targets a specific, pinned version of a well-known tool from the official Python package registry, which is a standard development practice.
- [COMMAND_EXECUTION]: The skill includes a Python script (
rules/astgrep_scan.py) that invokes external CLI tools using thesubprocessmodule. - Evidence: The script calls
subprocess.runto executeast-grep(oruvx) with arguments derived from the command line. - Context: This is a deterministic execution used for static analysis and linting within a development environment.
Audit Metadata