cognee-forget
Pass
Audited by Gen Agent Trust Hub on Sep 8, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes raw content from Cognee memory documents to determine which records should be deleted. This content represents an untrusted data source that could contain malicious instructions designed to influence the agent's behavior during the evaluation process.
- Ingestion points: Raw content fetched via
${CLAUDE_PLUGIN_ROOT}/scripts/cognee-forget.sh raw <dataset_id> <data_id>inSKILL.md. - Boundary markers: None identified. The agent is instructed to "Judge by meaning" without explicit delimiters or warnings to ignore embedded instructions in the raw data.
- Capability inventory: The agent can perform deletions via
cognee-forget.sh forgetand execute arbitrary API calls usingcurlas described in the broader deletions section ofSKILL.md. - Sanitization: No specific sanitization or filtering of the raw document content is performed before the agent processes it.
- [DYNAMIC_EXECUTION]: The skill instructions utilize
evalto load environment variables from the output of a local helper script. - Evidence:
eval "$(${CLAUDE_PLUGIN_ROOT}/scripts/cognee-forget.sh env)"inSKILL.md. This pattern executes the output of the script in the current shell context to set configuration likeCOGNEE_BASE_URLandCOGNEE_API_KEY. - [COMMAND_EXECUTION]: The skill performs shell command execution and network operations to interact with the Cognee server.
- Evidence: Uses
${CLAUDE_PLUGIN_ROOT}/scripts/cognee-forget.shfor various operations (sync, datasets, data, raw, forget) and provides instructions for manualcurlrequests to the Cognee API endpoints.
Audit Metadata