test-safety-net
Fail
Audited by Gen Agent Trust Hub on Sep 10, 2026
Risk Level: HIGHDYNAMIC_EXECUTIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The Node.js stack implementation in
assets/stack_node.pyincludes a 'precise' discovery path that executes thetypescriptlibrary directly from the target repository'snode_modulesfolder. This is performed usingnode -ewith a script thatrequires the local library, potentially allowing a malicious repository to execute arbitrary code during the analysis phase. While this is documented as an optional feature, it represents a significant attack surface for untrusted codebases.\n- [COMMAND_EXECUTION]: The skill relies on executing external system commands usingsubprocess.runinassets/rank_risk.pyandassets/stack_node.py. Specifically, it invokesgitfor churn analysis andnodefor source code discovery. This behavior is inherent to the tool's purpose but involves spawning child processes using paths derived from the analyzed repository.\n- [INDIRECT_PROMPT_INJECTION]: The skill acts as a code generation engine that processes untrusted source code to create test suites. This creates a surface for indirect prompt injection where malicious patterns in the target codebase could influence the generated test code. The skill mandates a 'literal-emission rule' usingrepr()to mitigate this risk, but the ingestion of untrusted data into an automated code-writing workflow remains a low-level risk factor.
Recommendations
- HIGH: Downloads and executes remote code from: http://x, unknown (check file) - DO NOT USE without thorough review
Audit Metadata