emdash-cli
Pass
Audited by Gen Agent Trust Hub on Nov 6, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONCREDENTIALS_UNSAFEDATA_EXFILTRATIONREMOTE_CODE_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill instructs the agent to execute shell commands using
npx emdashandpnpm devto manage CMS project files, local databases, and remote instances. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted data from remote CMS instances through commands such as
content get,content list,search, andschema get. - Ingestion points: Untrusted data enters the agent context via content fields, media metadata, and schema definitions retrieved from the EmDash instance.
- Boundary markers: There are no explicit instructions or delimiters to isolate processed content from agent instructions.
- Capability inventory: The skill possesses extensive capabilities including
content create/update/delete,schema create/delete,media upload/delete, and site-wide imports/exports. - Sanitization: Content is automatically converted between Portable Text and Markdown, but no security-focused sanitization or instruction filtering is performed.
- [CREDENTIALS_UNSAFE]: The documentation contains hardcoded example credentials and tokens, such as
Authorization: Basic dXNlcjpwYXNz(Base64 foruser:pass) andX-API-Key: secret123, which are used for demonstration purposes. - [DATA_EXFILTRATION]: Provides functionality to export a complete site backup using
npx emdash site export, which includes all content, media, history, and principal mappings (user emails), potentially leading to sensitive data exposure if redirected or stored insecurely. - [REMOTE_CODE_EXECUTION]: The skill relies on
npx emdashto fetch and execute the CLI tool from the npm registry at runtime. While typical for Node.js development, this execution pattern involves running code from a remote source.
Audit Metadata