win-loss-review
Pass
Audited by Gen Agent Trust Hub on Nov 23, 2026
Risk Level: SAFECOMMAND_EXECUTIONDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses the
cargo-aiutility to execute a fixed set of SQL queries against CRM models stored in Cargo storage. These queries are defined ininfra/agents/win-loss-analyst.prompt.tsand are used to aggregate data on pipelines, lost reasons, and account attributes. - [DATA_EXFILTRATION]: The agent accesses sensitive CRM data (deals, accounts, and contacts) and transmits processed summaries to a Slack channel and a Git repository. The skill implements security boundaries by explicitly forbidding the selection of financial amounts or email addresses in the SQL queries, and it uses human-in-the-loop review (pull requests) as a gate before any context changes are merged into the repository.
- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted text from external CRM fields such as 'lost reasons' and 'deal names', which could be used as an injection vector to influence the agent's output in the Slack digest or pull request body.
- Ingestion points: Untrusted data enters the agent context through the results of SQL queries run on
crm_deals,crm_accounts, andcrm_contactsmodels (described ininfra/agents/win-loss-analyst.prompt.ts). - Boundary markers: No explicit delimiters or instruction-ignore markers are used for the interpolated SQL results.
- Capability inventory: The agent has capabilities to execute storage queries, write files to the local repository filesystem (to open PRs), and post to a Slack channel via
slack.postMessage. - Sanitization: There are no sanitization or filtering measures applied to the text content retrieved from the CRM fields.
Audit Metadata