cognee-cli
Pass
Audited by Gen Agent Trust Hub on Aug 18, 2026
Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTIONCREDENTIALS_UNSAFE
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The
remembercommand ingests data from external sources, including file paths and URLs, which are then processed by an LLM to build memory graphs. This creates an attack surface for indirect prompt injection if those sources contain adversarial instructions. - Ingestion points:
cognee-cli rememberaccepts arbitrary text, local file paths, and URLs. - Boundary markers: No specific delimiters or warnings for embedded instructions are mentioned in the CLI context.
- Capability inventory: Ingested content is stored and later retrieved/processed during
recallorsearchoperations. - Sanitization: No description of sanitization, filtering, or validation of external content is provided.
- [COMMAND_EXECUTION]: The skill facilitates the execution of CLI commands for system management, including database migrations via Alembic (
upgrade,downgrade) and memory state management. It explicitly notes thatforget --allremoves all data without a confirmation prompt, representing a safety hazard for data loss. - [CREDENTIALS_UNSAFE]: The tool manages the
LLM_API_KEYenvironment variable and allows users to set or retrieve configuration values persisted in a local.envfile. While theconfig getcommand masks secrets by default, the--show-secretsflag allows users to display raw API keys.
Audit Metadata