sc-implement
Pass
Audited by Gen Agent Trust Hub on Sep 20, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/run_tests.pyprogrammatically executes shell commands to run various testing frameworks. - Evidence: Uses
subprocess.runto callpytest,npx jest, andnpx vitestbased on the detected project environment. - Evidence: Appends user-provided
targetstrings from the input JSON directly into the command list. - [DYNAMIC_EXECUTION]: Several scripts utilize dynamic module loading and file system operations based on runtime identifiers.
- Evidence:
scripts/skill_learn.pyemploysimportlib.util.spec_from_file_locationto load thecore/skill_persistence.pymodule from a path calculated relative to the script location. - Evidence:
scripts/skill_learn.pyperforms file system exports and directory deletions (shutil.rmtree) using askill_idprovided via JSON input. - Evidence:
scripts/loop_entry.pymodifiessys.pathto include parent directories for importing core logic components. - [INDIRECT_PROMPT_INJECTION]: The skill acts as an orchestrator that ingests code implementations and test outputs, creating a vulnerability surface where third-party data could influence agent behavior.
- Ingestion points:
scripts/run_tests.pycaptures and parses stdout/stderr from external test processes;SKILL.mddescribes the flow of analyzing user-provided requirements and technology contexts. - Boundary markers: The skill does not explicitly define delimiters for separating tool outputs or code content from its internal instructional logic.
- Capability inventory: The skill has the ability to execute commands, write to the file system, and trigger various MCP tools (
mcp__pal__*,mcp__rube__*). - Sanitization: While the scripts perform JSON parsing of inputs, there is no explicit sanitization of the content captured from test runner outputs before it is returned to the agent context.
Audit Metadata