reply-ledger

Pass

Audited by Gen Agent Trust Hub on Nov 22, 2026

Risk Level: SAFE
Full Analysis
  • [COMMAND_EXECUTION]: The script uses subprocess.Popen to 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 in scripts/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.py reads transcript JSON lines. (2) Boundary markers: None. (3) Capability inventory: File system write access and subprocess.Popen. (4) Sanitization: HTML escaping, html: false in markdown renderer, and strict CSP.\n- [DYNAMIC_EXECUTION]: The test suite employs dynamic module loading via importlib.util to verify functionality. This is localized to the testing environment and follows standard Python development practices.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 22, 2026, 04:55 PM