legacy-code-intel

Pass

Audited by Gen Agent Trust Hub on Sep 28, 2026

Risk Level: SAFECREDENTIALS_UNSAFEEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
  • [CREDENTIALS_UNSAFE]: The file tests/fixtures/PAYROLL.cbl contains a hardcoded password sup3rs3cr3tpw.
  • Evidence: 01 WS-DB-PASSWORD PIC X(20) VALUE 'sup3rs3cr3tpw'. and IDENTIFIED BY 'sup3rs3cr3tpw'.
  • Context: This is a test fixture explicitly designed as a redaction target to verify that the skill's secret scrubbing scripts work correctly.
  • [EXTERNAL_DOWNLOADS]: The skill references an external JavaScript library from a well-known service.
  • Evidence: scripts/render_navigator.py defines CDN_CYTOSCAPE = "https://unpkg.com/cytoscape@3.28.1/dist/cytoscape.min.js".
  • Context: The skill attempts to fetch Cytoscape from unpkg.com (a well-known CDN) if a local vendored version is not available. This is used for the HTML relationship navigator.
  • [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted legacy code artifacts which could theoretically contain instructions to influence the LLM-based parser.
  • Ingestion points: scripts/chunk_file.py reads user-provided artifacts (COBOL, Java, DSX, etc.) from the local filesystem.
  • Boundary markers: The system does not appear to use unique delimiters for the ingested code chunks inside the prompt, relying on the LLM's parsing ability.
  • Capability inventory: The skill has capabilities to write to the ~/.codelib directory (scripts/store.py) and render HTML navigators (scripts/render_navigator.py).
  • Sanitization: The skill implements multi-layer sanitization: scripts/redact.py uses regex to scrub secrets from extracted evidence, and scripts/render_navigator.py uses Jinja2 autoescaping and specific Unicode neutralization for XSS protection.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 28, 2026, 12:51 PM