code-hardcode-audit

Pass

Audited by Gen Agent Trust Hub on Oct 8, 2026

Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: Multiple Python scripts, including audit_hardcodes.py, run_bandit.py, run_gitleaks.py, and run_ruff_plr.py, utilize subprocess.run to execute external security auditing tools. These calls are implemented using list-based arguments rather than shell strings, which effectively prevents shell injection vulnerabilities. The orchestrator also manages timeouts and parallel execution through standard Python libraries.
  • [EXTERNAL_DOWNLOADS]: The skill uses npx to run the jscpd tool for copy-paste detection. npx is a well-known service that may fetch packages from the official npm registry if they are not already installed locally. The skill also references installation procedures via trusted package managers such as brew, cargo, and uv.
  • [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and analyze local source code to identify hardcoded values and potential secrets. While it processes untrusted user data, it performs static analysis using structured methods like Abstract Syntax Trees (AST) and predefined patterns (Semgrep/ast-grep), rather than executing or dynamically evaluating the analyzed code.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 8, 2026, 02:14 AM