Back to skill

Security audit

cooper-email

Security checks for vulnerabilities and agentic risk

Overview

ClawScan rates this email skill suspicious because its examples may expose an API key in process arguments; the scan was partial, so the evidence is incomplete.

Consider the confirmed API key exposure risk before installing, especially if using the curl examples. The scan covered one Markdown component but was partial: a static analysis limit and unresolved local references left some evidence incomplete.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (3)

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · SKILL.md (reported line 11)May include surrounding context.

md
emoji: 📬
    requires:
      anyBins:
      - curl
    primaryEnv: COOPER_API_KEY
    envVars:
    - name: COOPER_API_KEY

The curl examples put the API key in process arguments despite the explicit instruction never to put it on a command line.

Medium
Category
Excessive Agency
Confidence
99% confidence
Finding

Expanding "${AUTH[@]}" into a curl invocation places the bearer token in curl's process arguments, even though the original shell command contains only a variable reference. Other processes or monitoring systems with sufficient visibility may capture it, potentially granting access to email, verification codes, and sending capabilities; the skill's warnings against printing keys do not prevent this exposure.

Content

No source excerpt is available for this finding.

Skill Enumeration

Medium
Category
Agent Snooping
Confidence
80% confidence
Finding

Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.

Content

Scanner excerpt · SKILL.md (reported line 57)May include surrounding context.

AUTH=(-H "Authorization: Bearer ${COOPER_API_KEY}")

text

The Cooper CLI is the simpler path for these calls. It reads `COOPER_API_KEY` from the environment or the saved credentials file, so the key stays off the command line. Skill: https://cooperemail.com/skills/cooper-email-cli/SKILL.md. `node cooper.mjs me` checks the key. `node cooper.mjs send` sends. `node cooper.mjs messages list --unread` lists unread mail. `node cooper.mjs messages get` reads one message. `node cooper.mjs wait` waits for the next email.

1. **Check for a saved key.** Look for the environment variable `COOPER_API_KEY` (it starts with `coop_live_`). If it is set, confirm it works and skip to step 3: