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 sendcommand (reading from stdin or files) and thecpmail migratecommand (parsing legacycross-repo-review.mdfiles).\n - Boundary markers: The skill implements a robust defense-in-depth strategy by enforcing
<user_data>...</user_data>delimiters in thecpmail readoutput to isolate message content. TheSKILL.mdinstructions explicitly warn agents against usingcatto 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.shandhooks/session_start.py) execute thecpmailCLI 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