BaseMail
Pass
Audited by Gen Agent Trust Hub on Oct 23, 2026
Risk Level: SAFECREDENTIALS_UNSAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [CREDENTIALS_UNSAFE]: The skill manages Ethereum private keys to establish agent identity. It implements several security measures:
- Support for memory-only storage via environment variables (
BASEMAIL_PRIVATE_KEY). - Local storage in
~/.basemail/using AES-256-GCM encryption (scripts/crypto-utils.js). - Enforces strict file permissions (
0o600for keys/tokens and0o700for the configuration directory). - Warns users against committing keys to version control and provides a
.gitignoretemplate. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted data from the
api.basemail.aiinbox service. - Ingestion points:
scripts/inbox.jsreadsdata.bodyanddata.snippetfrom the remote API. - Boundary markers: None identified; email content is logged directly to the console without encapsulation.
- Capability inventory: The agent can perform network operations (sending emails via
scripts/send.js) and execute internal scripts (scripts/register.jsviaspawnSync). - Sanitization: The skill does not sanitize or escape email content before displaying it, creating a surface where malicious instructions in an email could influence agent logic.
- [COMMAND_EXECUTION]:
scripts/inbox.jsandscripts/send.jsusechild_process.spawnSyncto executenode scripts/register.jsfor automatic token re-issuance. This is a functional requirement for the skill's operation and targets a known internal path.
Audit Metadata