caveman-compress
Pass
Audited by Gen Agent Trust Hub on Nov 6, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONDATA_EXFILTRATION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill ingests user-specified files and interpolates their text into prompts for LLM compression. This creates a surface where malicious content within a file could attempt to manipulate the compression output or process. * Ingestion points:
scripts/compress.pyreads file content usingread_source. * Boundary markers: The skill masks code blocks, HTML comments, and<!-- nocompress -->regions usingmask_code_blocksto protect them from LLM modification. It also separates YAML frontmatter before processing. * Capability inventory: Performs atomic file writes (os.replace) and executes CLI tools viasubprocess.run. * Sanitization: Implements structural validation inscripts/validate.pyto ensure headings, code blocks, URLs, and file paths are preserved exactly. - [COMMAND_EXECUTION]: The skill uses
subprocess.runto invoke theclaudeandopencodeCLI tools for compression. These calls are implemented with fixed argument lists and no shell interpolation to mitigate injection risks. - [DATA_EXFILTRATION]: As part of its intended function, the skill transmits file content to configured LLM providers. It mitigates accidental exfiltration through heuristic checks:
is_sensitive_pathprevents reading files like.envor~/.ssh/andfind_credentialuses regex patterns to detect and block files containing common API keys or private tokens.
Audit Metadata