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.cblcontains a hardcoded passwordsup3rs3cr3tpw. - Evidence:
01 WS-DB-PASSWORD PIC X(20) VALUE 'sup3rs3cr3tpw'.andIDENTIFIED 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.pydefinesCDN_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.pyreads 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
~/.codelibdirectory (scripts/store.py) and render HTML navigators (scripts/render_navigator.py). - Sanitization: The skill implements multi-layer sanitization:
scripts/redact.pyuses regex to scrub secrets from extracted evidence, andscripts/render_navigator.pyuses Jinja2 autoescaping and specific Unicode neutralization for XSS protection.
Audit Metadata