cross-project-mail

Pass

Audited by Gen Agent Trust Hub on Sep 28, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill facilitates communication between agents, which inherently creates a surface for indirect prompt injection through message bodies.\n
  • Ingestion points: Untrusted data enters the system through the cpmail send command (reading from stdin or files) and the cpmail migrate command (parsing legacy cross-repo-review.md files).\n
  • Boundary markers: The skill implements a robust defense-in-depth strategy by enforcing <user_data>...</user_data> delimiters in the cpmail read output to isolate message content. The SKILL.md instructions explicitly warn agents against using cat to read messages, which would bypass these boundaries.\n
  • Capability inventory: The skill has capabilities to read and write files within the ~/.ai-mailbox/ directory. The SessionStart hook performs directory listings and executes the skill's own CLI tool.\n
  • Sanitization: Message bodies are treated strictly as data and are never piped to interpreters or executed, a rule enforced by both documentation and the script design.\n- [COMMAND_EXECUTION]: The SessionStart hooks (hooks/session-start.sh and hooks/session_start.py) execute the cpmail CLI tool to detect the project context and count unread messages.\n
  • This execution is a functional requirement for the notification feature and uses the skill's own binary without incorporating untrusted message content into the command-line arguments.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 28, 2026, 12:51 PM