ask-cargo

Pass

Audited by Gen Agent Trust Hub on Nov 23, 2026

Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONPRIVILEGE_ESCALATIONDATA_EXFILTRATION
Full Analysis
  • [COMMAND_EXECUTION]: The skill uses the claudeCode harness, which grants the agent the ability to execute shell commands within its sandbox to read the repository (git log, file reads) and interact with the workspace via the cargo-ai CLI. While scoped to the repository, it can run arbitrary CLI commands to fetch usage, metrics, and agent lists.
  • [INDIRECT_PROMPT_INJECTION]: The skill implements a 'capture' feature that reads untrusted data directly from Slack threads and incorporates it into the repository (cadence/log/slack/). It relies on a 'repetition bar' (requiring claims to appear twice before promotion to context/) as a mitigation, but remains susceptible to adversarial data from Slack influencing the agent's future context. Evidence: §5 in infra/agents/ask-cargo.prompt.ts and references/capture-entry.md.
  • [PRIVILEGE_ESCALATION]: The skill runs as a service user (ask_cargo) with a viewer role. While this is a 'least privilege' approach for the workspace, it still allows the agent to message other deployed agents and trigger their actions (via cargo-ai ai message create). It also has the capability to open pull requests and push commits to the repository. Evidence: infra/users/index.ts and §2/§4 of the prompt.
  • [DATA_EXFILTRATION]: The skill is configured with allChannels: true, meaning it will respond in any Slack channel the bot is invited to. The instructions warn that inviting the bot to a customer-shared (Slack Connect) channel could lead to the exposure of internal GTM data (ICP, spend, pipeline) if the agent is queried there. Evidence: infra/agents/ask-cargo.ts and 'What should not change' in SKILL.md.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 23, 2026, 06:42 PM