apply-pep20-to-codebases
Warn
Audited by Gen Agent Trust Hub on Sep 22, 2026
Risk Level: MEDIUMDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [DYNAMIC_EXECUTION]: The script
scripts/test_examples.pyperforms dynamic loading and execution of Python code. It utilizesimportlib.util.spec_from_file_locationandexec_moduleto load and runassets/examples/explicit_behavior.pyusing a path computed at runtime relative to the script's location. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to process and act upon untrusted external repositories, creating an attack surface for indirect prompt injection.\n
- Ingestion points: Codebase content, repository conventions, and test files within the target project (referenced in
SKILL.mdprocedure step 1 and 6).\n - Boundary markers: The skill contains instructions to respect user boundaries and stop before destructive actions or credential use, but these do not prevent the agent from being influenced by data within the code being reviewed.\n
- Capability inventory: The agent is authorized to execute Python scripts (
scripts/test_examples.py) and arbitrary project checks (linters, tests, build commands).\n - Sanitization: There is no evidence of input validation or sanitization for the code or test outputs ingested from the target repository.
- [COMMAND_EXECUTION]: The procedure in
SKILL.md(Step 6) directs the agent to 'Run the project's existing checks and a behavior-focused test.' This involves the execution of shell commands and scripts defined in the external repository environment, which could result in the execution of malicious code provided by an untrusted source.
Audit Metadata