Repository navigation
Security and privacy
Assistant transcripts can contain secrets, private source code, credentials, customer data, internal URLs, and shell output. Treat the source database, distilled documents, and Cognee volume as sensitive.
- Source SQLite opened with
mode=ro. - Local inference endpoint by default.
- Cognee API and UI published on localhost ports.
-
.env,progress.json,var/, logs, PID files, and local volumes are gitignored. - Common API keys, tokens, password assignments, authorization headers, and private-key markers are scrubbed before LLM submission.
Regex scrubbing cannot recognize every organization-specific credential or sensitive business fact. Before operating on regulated data:
- add patterns for local secret formats;
- test using synthetic examples;
- keep inference and storage off public networks;
- inspect a sample of
var/distilled/; - apply filesystem permissions and encrypted storage;
- define retention and deletion procedures.
docker-compose.yml uses host.docker.internal for Cognee to reach the host inference server. Do not expose the API or UI beyond localhost without:
- authentication;
- explicit CORS origins;
- TLS termination;
- firewall rules;
- secret rotation;
- multi-tenant access control review.
The included default_password is only appropriate for a localhost development stack.
Before publishing or sharing diagnostics:
git status --short
git diff --cached
git grep -n -i -E 'api[_-]?key|token|password|/Users/|/home/'Do not commit .env, source databases, distilled documents, Cognee volumes, raw logs, or extracted credentials.
- Delete a test or unwanted dataset with Cognee
forgetso graph, vectors, metadata, and cache-derived entries are removed together. - Removing
var/distilled/does not remove already-ingested Cognee knowledge. -
docker compose down -vpermanently deletes the local Cognee named volume. - Source history remains untouched by design; delete it through the source application if required.
Open a private security advisory rather than a public issue for vulnerabilities that could disclose transcript data or credentials.