Back to skill

Security audit

Cooper Email CLI

Security checks for vulnerabilities and agentic risk

Overview

ClawScan marks this skill suspicious because it recommends running a remotely hosted CLI without a pinned version or integrity check, creating a supply-chain risk.

Review the installation instructions before installing. Consider whether you trust the remote download source and whether the CLI should run where email credentials or other sensitive files are available. The scan covered the single Markdown component completely, but this verdict does not guarantee the skill is risk-free.

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
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (3)

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

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

node cooper.mjs onboard --username research-bot --save

text

--display-name, --key-name, and --owner-email are optional and match the JSON body. --save writes api_key and base_url to ~/.config/cooper/credentials.json with mode 0600. When XDG_CONFIG_HOME is set, that directory replaces ~/.config. The full key is printed only in this response. Do not print it again and do not email it.

## Inbox, send, read, reply

MCP server referenced without pinned version: 'npx -y https'.

Medium
Category
MCP Rug Pull
Confidence
97% confidence
Finding

The command executes a remotely hosted CLI tarball through npx without an immutable version or integrity verification. Although this is a CLI rather than an MCP server, the supply-chain concern is valid: a compromised or replaced download could execute with the agent's permissions and access environment variables, saved credentials, and local files.

Content

No source excerpt is available for this finding.

MCP server referenced without pinned version: 'npx -y https'.

Medium
Category
MCP Rug Pull
Confidence
97% confidence
Finding

This prose recommends reusing the same unpinned npx tarball command, repeating the preceding supply-chain exposure rather than introducing a separate attack path. The MCP classification is inaccurate, but executing mutable remote CLI code remains dangerous, especially in an environment containing the email API key.

Content

No source excerpt is available for this finding.