email-notify
Pass
Audited by Gen Agent Trust Hub on Oct 9, 2026
Risk Level: SAFECREDENTIALS_UNSAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [CREDENTIALS_UNSAFE]: The skill instructs users to store sensitive SMTP credentials, including
CODEX_EMAIL_PASSWORD, in shell configuration files (~/.bashrcor~/.zshrc). While utilizing environment variables is a common practice for secret management, storing them in plain-text shell profiles exposes them to any local process or user with read access to these files. - [INDIRECT_PROMPT_INJECTION]: The script
scripts/send_email_notification.pyreads content from a localAGENTS.mdfile to extract a project name, which is then interpolated into the email body sent to external recipients. - Ingestion points: Reads
AGENTS.mdin the current or parent directories via_find_agents_fileand_get_project_name(scripts/send_email_notification.py). - Boundary markers: None. The extracted project name is directly placed into the
bodystring. - Capability inventory: The script has network capabilities (
smtplib) to send emails to external addresses. - Sanitization: None. The content is extracted via regex and used directly without validation or escaping.
- Risk: An attacker who can influence the content of an
AGENTS.mdfile (e.g., via a Pull Request or shared repository) could inject malicious instructions that the agent might follow if it processes the generated email, or use it to exfiltrate data via the email body.
Audit Metadata