skills/snowflake-labs/cocoplus/refine/Gen Agent Trust Hub

refine

Pass

Audited by Gen Agent Trust Hub on Oct 23, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill implements a persistent instruction store at cocoplus/strategies/*.yaml which is read and injected into the agent's prompt during the 'Execute' phase of the learning cycle. This creates a risk where malicious or unintended instructions could be persisted and later influence agent behavior across different sessions. \n
  • Ingestion points: Strategy files are loaded from cocoplus/strategies/ and presented to the agent via the SkillbookView. \n
  • Boundary markers: The skill describes a read-only view for optimization agents but does not specify technical delimiters to isolate these injected strategies from other instructions. \n
  • Capability inventory: The skill allows the agent to execute shell-based tools (cocorefine/refine-update) and perform file system operations. \n
  • Sanitization: The skill validates for 'hedging language' and requires evidence attribution, but it does not perform security-focused sanitization to detect or prevent prompt injection payloads within the strategy content. \n- [COMMAND_EXECUTION]: The skill instructs the agent to invoke local scripts such as cocorefine/refine-update and cocorefine/refine-reflect using arguments like strategy IDs, reasons, and file paths provided during user interaction. \n
  • Evidence: Commands like cocorefine/refine-update --op deprecate --id <strategy-id> --reason "<reason>" interpolate user-supplied strings directly into shell command arguments, which could lead to command injection if the underlying scripts or the agent do not correctly handle special characters.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 23, 2026, 09:43 PM