reply-ledger
Pass
Audited by Gen Agent Trust Hub on Nov 22, 2026
Risk Level: SAFE
Full Analysis
- [COMMAND_EXECUTION]: The script uses
subprocess.Popento spawn a background worker for transcript processing. This is implemented securely by passing arguments as a list, avoiding shell execution, and using the-I(isolated mode) flag for Python. Inputs such as session IDs are validated against a strict alphanumeric regex to prevent command or path injection.\n- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted model output from session transcripts inscripts/reply_ledger.py. It provides robust technical sanitization by disabling raw HTML in the markdown renderer, escaping operator prompts, and applying a strict Content Security Policy (CSP) to the output HTML that blocks all remote resources, preventing malicious model outputs from executing scripts or exfiltrating data via the rendered logs. Mandatory Evidence Chain: (1) Ingestion points:scripts/reply_ledger.pyreads transcript JSON lines. (2) Boundary markers: None. (3) Capability inventory: File system write access andsubprocess.Popen. (4) Sanitization: HTML escaping,html: falsein markdown renderer, and strict CSP.\n- [DYNAMIC_EXECUTION]: The test suite employs dynamic module loading viaimportlib.utilto verify functionality. This is localized to the testing environment and follows standard Python development practices.
Audit Metadata