Back to skill

Security audit

cargo-workspace-management

Security checks for vulnerabilities and agentic risk

Overview

ClawScan marks this skill suspicious because scanners report workspace administration actions beyond the stated purpose, an unpinned CLI command, and diagnostic reports sent without a privacy warning; the evidence is incomplete.

Consider the reported concerns before installing. In particular, review whether you are comfortable with the skill’s broader workspace and secret-management actions, its unpinned CLI, and diagnostic reporting. The scan is marked partial because two referenced paths could not be resolved, so the evidence does not cover everything the skill may rely on.

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
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (11)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

The declared description does not disclose environment-variable or workspace-secret management. Managing a stored third-party API key as an environment variable is distinct from creating or rotating Cargo API tokens. These commands provide a separate administrative capability, not merely an implementation detail of the listed functions.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
96% confidence
Finding

Most commands align with the declared workspace administration tasks. However, environment-variable management introduces an undeclared configuration capability, and creating permission-bearing roles is materially broader than checking roles. These are distinct administrative operations rather than supporting implementation details. The supplied chunk does not establish any exfiltration or malicious behavior.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
96% confidence
Finding

Listing roles matches the declared role-checking capability. However, creating, modifying, and deleting roles changes workspace authorization policy and is materially broader than checking roles. These security-sensitive operations are not explicitly covered by the declared capabilities and are not merely supporting implementation details.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
94% confidence
Finding

The description declares inviting teammates and checking roles, but not removing users. Removing workspace membership is a distinct, access-revoking administrative capability, not a supporting implementation detail of the listed functions.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
91% confidence
Finding

Member listing and invitations align with the description. However, the code also performs security-sensitive membership and authorization changes that are not disclosed by the listed capabilities. The broad phrase 'administers a Cargo workspace' does not adequately communicate user removal or access-control modification. Declared features absent from this chunk are not themselves treated as mismatches.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
89% confidence
Finding

Identity and workspace-context lookups support the declared administrative tasks. However, creating workspaces and changing membership-related workspace settings extend beyond the listed capabilities. In particular, setting a default role changes access configuration rather than merely checking roles. The general phrase 'administers a Cargo workspace' provides some overlap but does not clearly disclose these additional capabilities. The absence of other declared functions from this partial code chunk is not itself a mismatch.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
88% confidence
Finding

The command invokes workspaceManagement user update with --role-slug, explicitly changing a user's role. Although related to workspace administration, changing access privileges is a substantive capability not disclosed by the description's teammate invitations and role checks.

Content

No source excerpt is available for this finding.

MCP server referenced without pinned version: 'npx @cargo-ai/cli'.

Medium
Category
MCP Rug Pull
Confidence
93% confidence
Finding

The bootstrap executes an unpinned npm CLI, not an MCP server, allowing a future compromised release to run with local environment and credential access. The workspace-administration context increases the consequences because the CLI may handle administrator tokens; a version pin in an optional external prerequisite does not secure this standalone command.

Content

No source excerpt is available for this finding.

Automatic reporting sends command contents and error details to the Cargo team without a user-facing privacy warning.

Medium
Category
Output Handling
Confidence
92% confidence
Finding

Mandatory reporting can send exact commands, full error messages, and operational identifiers to the Cargo team without approval for that particular disclosure. Redacting secrets and tokens helps, but command payloads and errors can also contain personal information, customer records, or confidential business data.

Content

No source excerpt is available for this finding.

MCP server referenced without pinned version: 'npx @cargo-ai/cli'.

Medium
Category
MCP Rug Pull
Confidence
94% confidence
Finding

The recovery advice installs or executes an unpinned npm package, although the scanner incorrectly calls it an MCP server. A compromised future release could execute locally and access credentials, with increased consequences in a troubleshooting workflow that also recommends administrator tokens.

Content

No source excerpt is available for this finding.

Automatic report submission lacks a privacy warning or instructions to redact sensitive diagnostic data.

Medium
Category
Output Handling
Confidence
97% confidence
Finding

The troubleshooting instructions trigger external reporting of exact commands and errors without a local sanitization requirement or disclosure approval. The linked reporting guide offers some mitigation, but this template can still expose credentials, personal data, or confidential payloads if followed directly.

Content

No source excerpt is available for this finding.