Agent skill · Audited from source
cognee
skill · topoteretes/cogneeApache-2.0 licenceAudited 30 Sep 2026 · source d3d09ecddf62
Is it safe? No — BLOCK, grade F (46/100). We read this skill's source at commit d3d09ecddf62 and observed filesystem, network and shell access and a hard-coded secret (see the findings). The audit raised 25 findings, 3 critical or high. What it does: Use this skill whenever the user asks about Cognee, AI memory, persistent agent memory, self-improving agents, agents learning from feedback, knowledge graphs, graph-based RAG, long-term memory for agents, short-term…
Cite
Cite this page
ModelsAtlas. “cognee (topoteretes/cognee)”. Retrieved 30 Sep 2026. https://modelsatlas.com/skills/topoteretes/cognee
Blocked. The page stays public so you can check this skill if someone recommended it to you. The audit found 3 critical or high findings, starting with “Code injection” in shared/graph_model_utils.py:79. Do not install it without reading them.
Trust audit
Audit 0.4.1 · source read 30 Sep 2026
BLOCK means the audit found something that could harm you or your machine. Grade F is shared by 129 of 18,389 audited skills.
What the source does
- FilesystemDeclared6 observations
- NetworkDeclared7 observations
- ShellDeclared10 observations
- DependenciesPinnedNothing floats
- SecretsFoundSee the findings; values are never shown
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | WARN | 6 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | FAIL | 19 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 0 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (25)
HIGHCode injectioncode.eval_exec · shared/graph_model_utils.py:79
exec(result, mod.__dict__) # noqa: S102 - runs the generated model module source on purpose
- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
HIGHHard-coded secretssecret.db_uri · api/v1/tools/tools.py:7
connection_string="…",
- Why
- No further detail recorded for this rule.
- Fix
- —
HIGHHard-coded secretssecret.db_uri · tasks/ingestion/resolve_dlt_sources.py:128
# like postgresql://…@host/db -- the form .env.template itself uses --
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMInventory / provenanceinv.binary · eval_framework/beam/report_artifacts/100k_fixed/beam_existing_ingestion_metrics_conv1_hybrid_completion_20_20_qa_v1_run0.json.gz
beam_existing_ingestion_metrics_conv1_hybrid_completion_20_20_qa_v1_run0.json.gz
- Why
- a compiled or binary member cannot be reviewed from source
- Fix
- ship source, or explain the binary in the README
MEDIUMInventory / provenanceinv.binary · eval_framework/beam/report_artifacts/100k_fixed/beam_existing_ingestion_metrics_conv1_hybrid_completion_20_20_qa_v1_run1.json.gz
beam_existing_ingestion_metrics_conv1_hybrid_completion_20_20_qa_v1_run1.json.gz
- Why
- a compiled or binary member cannot be reviewed from source
- Fix
- ship source, or explain the binary in the README
MEDIUMInventory / provenanceinv.binary · eval_framework/beam/report_artifacts/100k_fixed/beam_existing_ingestion_metrics_conv1_hybrid_completion_20_20_qa_v1_run2.json.gz
beam_existing_ingestion_metrics_conv1_hybrid_completion_20_20_qa_v1_run2.json.gz
- Why
- a compiled or binary member cannot be reviewed from source
- Fix
- ship source, or explain the binary in the README
MEDIUMInventory / provenanceinv.binary · eval_framework/beam/report_artifacts/100k_fixed/beam_existing_ingestion_metrics_conv1_hybrid_completion_20_20_qa_v1_run3.json.gz
beam_existing_ingestion_metrics_conv1_hybrid_completion_20_20_qa_v1_run3.json.gz
- Why
- a compiled or binary member cannot be reviewed from source
- Fix
- ship source, or explain the binary in the README
MEDIUMInventory / provenanceinv.binary · eval_framework/beam/report_artifacts/10m_routed/beam_json_sessions_metrics_conv0_routed_by_question_type_run0.json.gz
beam_json_sessions_metrics_conv0_routed_by_question_type_run0.json.gz
- Why
- a compiled or binary member cannot be reviewed from source
- Fix
- ship source, or explain the binary in the README
MEDIUMInventory / provenanceinv.symlink · .claude/skills
.claude/skills
- Why
- link not followed
- Fix
- —
MEDIUMCode injectioncode.dynamic_import · cli/_cognee.py:125
module = __import__(module_path, fromlist=[class_name])
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMCode injectioncode.dynamic_import · modules/migrations/lockstep.py:79
importlib.import_module(entrypoint)
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMCode injectioncode.dynamic_import · modules/migrations/lockstep.py:93
f"importlib.import_module({entrypoint!r})\n"- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMCode injectioncode.dynamic_import · modules/tools/registry.py:44
module = importlib.import_module(module_path)
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMCode injectioncode.dynamic_import · pipelines/__init__.py:35
module = importlib.import_module(_LEGACY_IMPORTS[name])
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMInsecure cryptocrypto.weak_random · eval_framework/benchmark_adapters/logistics_system_utils/utils/world_creation_utils.py:391
return tuple(sorted(modes[: random.randint(1, len(modes))], key=lambda mode: mode.label))
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMInformation disclosuredisclose.log_secret · modules/users/get_user_manager.py:47
logger.info("…", user.id, token)- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMInformation disclosuredisclose.log_secret · modules/users/get_user_manager.py:50
logger.info("…", user.id, token)- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMNetwork egressnet.raw_ip · api/v1/ui/ui.py:715
f"✓ Cognee MCP server starting on http://127.0.0.1:{mcp_port}/sse ({mode_info})"- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMObfuscation / stealthobf.base64_blob · shared/utils.py:467
logo_url = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAw8AAAHnCAYAAAD+VGEQAACAAElEQVR4Xuy9B5gsR3X2fyWRMTkbYzCO2MbYBozDB7ZxBoMNNjhgw/+zH38gsHK6ygFlCSQhoYgiSCgghBKSkAhKKCeUkJCEEtLqXkk3zPak3dn691s13d
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.db_uri · tests/unit/modules/tools/test_tools_config.py:32
'{"…": {"…": "…",'- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.generic · tests/test_feedback_weights_memify_pipeline.py:122
password="…",
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWInsecure cryptocrypto.weak_hash · infrastructure/files/utils/get_file_content_hash.py:19
h = hashlib.md5()
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWInsecure cryptocrypto.weak_hash · infrastructure/loaders/external/dlt_csv_loader.py:103
"dlt_manifest_" + hashlib.md5(manifest_text.encode()).hexdigest() + ".txt"
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWInsecure cryptocrypto.weak_hash · modules/ingestion/data_types/TextData.py:46
hash_contents = hashlib.md5(data_contents).hexdigest()
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWInsecure cryptocrypto.weak_hash · modules/ingestion/save_data_to_file.py:78
hash_contents = hashlib.md5(data_contents).hexdigest()
- Why
- No further detail recorded for this rule.
- Fix
- —
Audit 0.4.1 · source sha d3d09ecddf62 · 30 Sep 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- Publishertopoteretes GitHub organizationOwner of the repository this skill is read from
- Source foldertopoteretes/cognee/cogneeThe exact folder we audited
- LicenceApache-2.0As the repository states it
- Commit pinned for this verdictd3d09ecddf62A new audit runs when the source changes
- Repository statusNot archivedPushed today
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: Use this skill whenever the user asks about Cognee, AI memory, persistent agent memory, self-improving agents, agents learning from feedback, knowledge graphs, graph-based RAG, long-term memory for agents, short-term…
---
name: cognee
description: >
Use this skill whenever the user asks about Cognee, AI memory, persistent agent memory,
self-improving agents, agents learning from feedback, knowledge graphs, graph-based RAG,
long-term memory for agents, short-term memory for agents, personalization, personas,
temporal search, temporal knowledge graphs, ontology-based extraction, ontology grounding,
feedback, Cypher search, natural-language graph search, chunk search, RAG search, cross-session memory,
session feedback, feedback loops, session based memory, redis based memory, knowledge promotion.
Also use when the user describes the workflow such as:
"turn documents into a knowledge graph", "build memory from files", "search my graph",
"extract entities and relations", "sync data into a graph", "update graph memory",
"store memories for an agent", "help my agent learn over time", "visualize a knowledge
graph built from documents", "let the agent learn", "adaptive agents", "personalized agents",
"session based personalization", "find important ontologies", "find custom pydantic models",
"isolate agentic behaviour", "add permission control to retrieval", "reduce context bloating".
---
# Cognee
Use this skill for **Cognee-specific Python API help** and for mapping user goals to the right
Cognee workflow.
## When to apply this skill
Apply this skill whenever the user wants to do any of the following with Cognee:
- ingest text, files, URLs, repos, or datasets
- build or rebuild a knowledge graph
- search documents, chunks, summaries, triplets, or graph context
- choose a `SearchType`
- enrich an existing graph with `improve`
- define custom graph extraction models or `DataPoint` types
- run custom task pipelines
- configure LLM, graph DB, vector DB, or storage settings
- tag and scope memory with `node_set` / NodeSets
- build persistent memory for agents across sessions
- create feedback loops or self-improving agent workflows
- work with temporal extraction, ontologies, Cypher, or natural-language graph queries
- manage datasets, sessions, feedback, deletion, updates, or visualization
If the user's intent is "store information in memory and query it later", prefer Cognee's
memory API: **remember -> recall** (plus **improve** to enrich and **forget** to delete).
## Core workflow
```python
import cognee
# Store: ingest + build the graph (+ improve, because self_improvement=True by default)
await cognee.remember(
"Your text, file path, URL, or list of inputs",
dataset_name="main",
)
# Query: recall picks a search strategy automatically (rule-based, no LLM call)
results = await cognee.recall("What are the key insights?", datasets=["main"])
for r in results:
print(r.source, r) # each result is tagged "graph" / "session" / ...
```
`remember()` runs `add()` + `cognify()` and then `improve()` underneath. `recall()` wraps
`search()` and adds routing, session memory as a source, and `source`-tagged results.
## Default guidance
When helping with Cognee:
1. Start with the **simplest working path** unless the user explicitly asks for advanced
configuration.
2. Prefer the memory API:
- `remember(...)` to store (ingest + graph build)
- `recall(...)` to query
- `improve(...)` to enrich or index an existing graph, and to bridge sessions into it
- `forget(...)` to delete
3. Treat Cognee APIs as **async**.
4. Use `dataset_name` / `datasets` to keep work organized when the user has multiple sources.
5. Use `node_set` when the user wants lightweight tagging, project scoping, per-user memory
buckets, or subgraph filtering.
6. Pass `query_type=SearchType.X` to `recall()` only when the user needs a specific strategy;
otherwise let it route.
7. Recommend advanced features only when they match the task:
- `session_id` for fast short-term memory and conversation continuity
- `graph_model=` for schema-shaped extraction, `DataPoint` types for direct insertion
- `extractor="gliner_demo"` for LLM-free graph extraction
- custom pipelines for non-default task orchestration
- feedback loops for retrieval improvement
- visualization tools for graph inspection
## When to drop to the low-level operations
`add()`, `cognify()`, `search()` and `memify()` still ship; the memory API calls them. Reach for
them only when `remember`/`recall` cannot express the job:
- `cognify(datasets=["a", "b"])` or `datasets=None` processes several datasets at once;
`remember()` always targets exactly one dataset.
- Rebuilding a graph over data already in the DB (after `forget(memory_only=True)`, or with a
new `graph_model` / ontology) is `cognify()` only; `remember()` always runs `add()` first.
- `search()` takes the agentic extras as first-class parameters (`skills`, `tools`, `max_iter`,
`code_query`, `node_type`) and returns raw `SearchResult` objects instead of tagged dicts.
- `add()` is a staging area: use it to ingest now and `cognify()` later.
- `prune.prune_system(metadata=True)` also drops the relational DB (users, ACLs, dataset
registry); `forget()` never touches those. Use prune only for full test teardown.
`memify()` and `improve()` are the same enrichment pipeline; recommend `improve()`.
`cognee.delete()` is deprecated in favour of `forget()`. Full comparison of the two query
functions: `docs/recall-vs-search.md`.
## Common tasks
### Store data
`remember()` accepts text, file paths, URLs, directories, git repository URLs, binary streams,
or lists of these.
```python
await cognee.remember("notes.md", dataset_name="research")
await cognee.remember("https://example.com", dataset_name="research")
await cognee.remember(["paper.pdf", "summary.txt"], dataset_name="research")
```
Use `node_set` when the user wants data grouped into logical memory buckets.
```python
await cognee.remember(
"Customer prefers concise weekly summaries and Slack delivery.",
dataset_name="customer_success",
node_set=["preferences", "customer_123", "weekly_reports"],Excerpt, first 6,000 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit d3d09ec
pip install "cognee[eval]" uv run python -m cognee.eval_framework.beam.preprocessing.preprocess \ uv run python -m cognee.eval_framework.beam.local_ingest \ uv run python -m cognee.eval_framework.beam.eval.run_sweep \ uv run python -m cognee.eval_framework.beam.eval.aggregate_cross_run \ uv sync --dev --all-extras
git clone https://github.com/topoteretes/cognee git -C cognee checkout d3d09ecddf62
Commands as the repository documents them: shown, never run by us. Our verdict covers commit d3d09ecddf62 only.
Works in which agents?
What its own text says, not a test
| Agent | Status | More |
|---|---|---|
| Cursor | Mentioned in its text, not tested | Skills for Cursor · About Cursor |
Audit history
Every audit, every source change
- ✕BLOCK F 46 / 100
first audit · source
d3d09ecddf62
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/topoteretes/cognee/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
plastic-labs/honcho
Memory library for building stateful agents
plastic-labs/honcho
Memory library for building stateful agents
plastic-labs/honcho
Memory library for building stateful agents
plastic-labs/honcho
Memory library for building stateful agents
plastic-labs/honcho
Gives AI agents persistent memory across conversations using Honcho. Automatically saves and retrieves user context so the AI remembers preferences, history, and facts between sessions. Use when you need the AI to…
plastic-labs/honcho
Memory library for building stateful agents
Add this badge to your README
[](https://modelsatlas.com/skills/topoteretes/cognee/)
<a href="https://modelsatlas.com/skills/topoteretes/cognee/"><img src="https://modelsatlas.com/skills/topoteretes/cognee/badge.svg" alt="ModelsAtlas: BLOCK F"></a>
Questions about cognee
What does the cognee skill do?
Is cognee safe to install?
What can cognee access on my machine?
Which assistants does cognee work with?
How current is this page?
Sources
- github.com/topoteretes/cognee/tree/main/cognee — the audited source at commit d3d09ecddf62 and every finding aboveObserved · 30 Sep 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the cognee skill do?
- Is cognee safe to install?
- What can cognee access on my machine?