← Back to scan
File as GitHub Issue repo: rohitg00/agentmemory

Push this scan report to rohitg00/agentmemory

Click the green button below to open GitHub’s new-issue form, pre-filled with the report title, summary table, top findings, and an embedded score-card image. No authentication needed — you review on GitHub before submitting. Repobility is credited as the scanner.

Embedded score card image

This image will render at the top of the issue body. Hosted on Repobility, refreshes automatically after re-scans.

Repobility score card

Issue title

`self._session_id` used but never assigned in __init__

Curate findings to include

Pick exactly which findings appear in the issue body. By default the top 5 are included. Uncheck noise, check what matters.

Top 5 (default)
Severity Rule Title File:line
HIGH MINED108 [MINED108] `self._base` used but never assigned in __init__: Method `on_memory_write` of … integrations/hermes/__init__.py:373
HIGH MINED108 [MINED108] `self._session_id` used but never assigned in __init__: Method `on_pre_compres… integrations/hermes/__init__.py:362
HIGH MINED108 [MINED108] `self._project` used but never assigned in __init__: Method `on_pre_compress` … integrations/hermes/__init__.py:363
HIGH MINED108 [MINED108] `self._base` used but never assigned in __init__: Method `on_pre_compress` of … integrations/hermes/__init__.py:361
HIGH MINED108 [MINED108] `self._session_id` used but never assigned in __init__: Method `on_session_end… integrations/hermes/__init__.py:357
HIGH MINED108 [MINED108] `self._base` used but never assigned in __init__: Method `on_session_end` of c… integrations/hermes/__init__.py:356
HIGH MINED108 [MINED108] `self._session_id` used but never assigned in __init__: Method `sync_turn` of … integrations/hermes/__init__.py:344
HIGH MINED108 [MINED108] `self._project` used but never assigned in __init__: Method `sync_turn` of cla… integrations/hermes/__init__.py:346
HIGH MINED108 [MINED108] `self._project` used but never assigned in __init__: Method `sync_turn` of cla… integrations/hermes/__init__.py:345
HIGH MINED108 [MINED108] `self._base` used but never assigned in __init__: Method `sync_turn` of class … integrations/hermes/__init__.py:342
HIGH MINED108 [MINED108] `self._base` used but never assigned in __init__: Method `handle_tool_call` of… integrations/hermes/__init__.py:323
HIGH MINED108 [MINED108] `self._base` used but never assigned in __init__: Method `handle_tool_call` of… integrations/hermes/__init__.py:316
HIGH MINED108 [MINED108] `self._base` used but never assigned in __init__: Method `handle_tool_call` of… integrations/hermes/__init__.py:297
HIGH MINED108 [MINED108] `self._base` used but never assigned in __init__: Method `queue_prefetch` of c… integrations/hermes/__init__.py:244
HIGH MINED108 [MINED108] `self._base` used but never assigned in __init__: Method `prefetch` of class `… integrations/hermes/__init__.py:227
HIGH MINED108 [MINED108] `self._project` used but never assigned in __init__: Method `system_prompt_blo… integrations/hermes/__init__.py:220
HIGH MINED108 [MINED108] `self._session_id` used but never assigned in __init__: Method `system_prompt_… integrations/hermes/__init__.py:219
HIGH MINED108 [MINED108] `self._base` used but never assigned in __init__: Method `system_prompt_block`… integrations/hermes/__init__.py:218
HIGH MINED108 [MINED108] `self._project` used but never assigned in __init__: Method `initialize` of cl… integrations/hermes/__init__.py:193
HIGH MINED108 [MINED108] `self._project` used but never assigned in __init__: Method `initialize` of cl… integrations/hermes/__init__.py:192
HIGH MINED108 [MINED108] `self._base` used but never assigned in __init__: Method `initialize` of class… integrations/hermes/__init__.py:188
HIGH MINED108 [MINED108] `self._base` used but never assigned in __init__: Method `initialize` of class… integrations/hermes/__init__.py:190
HIGH MINED108 [MINED108] `self._project` used but never assigned in __init__: Method `initialize` of cl… integrations/hermes/__init__.py:186
HIGH MINED108 [MINED108] `self._session_id` used but never assigned in __init__: Method `initialize` of… integrations/hermes/__init__.py:185
HIGH MINED108 [MINED108] `self._base` used but never assigned in __init__: Method `initialize` of class… integrations/hermes/__init__.py:184
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… src/functions/graph.ts:38
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… src/functions/consolidation-pipeline.ts:91
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… scripts/check-env-example.mjs:67
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… integrations/pi/security.ts:10
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… integrations/pi/index.ts:40
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… integrations/openclaw/plugin.mjs:84
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … src/functions/graph-retrieval.ts:302
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … src/functions/dedup.ts:33
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … integrations/filesystem-watcher/watcher…:187
HIGH SEC083 [SEC083] JS: new RegExp() with non-literal: new RegExp(<variable>) — variable input can c… src/functions/privacy.ts:25
HIGH SEC083 [SEC083] JS: new RegExp() with non-literal: new RegExp(<variable>) — variable input can c… integrations/filesystem-watcher/watcher…:305
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… src/cli/onboarding.ts:254
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… eval/runner/load.ts:15
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… benchmark/longmemeval-bench.ts:44
HIGH DKC006 Compose service explicitly runs as root docker-compose.yml:7
HIGH MINED115 [MINED115] Action `actions/setup-node` pinned to mutable ref `@v6`: `uses: actions/setup-… .github/workflows/publish.yml:32
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/publish.yml:26
HIGH MINED115 [MINED115] Action `actions/setup-node` pinned to mutable ref `@v6`: `uses: actions/setup-… .github/workflows/ci.yml:60
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/ci.yml:57
HIGH MINED118 [MINED118] Dockerfile FROM `node:22-slim` not pinned by digest: `FROM node:22-slim` resol… deploy/fly/Dockerfile:4
HIGH MINED118 [MINED118] Dockerfile FROM `iiidev/iii (no tag)` not pinned by digest: `FROM iiidev/iii (… deploy/fly/Dockerfile:2
HIGH MINED118 [MINED118] Dockerfile FROM `node:22-slim` not pinned by digest: `FROM node:22-slim` resol… deploy/railway/Dockerfile:4
HIGH MINED118 [MINED118] Dockerfile FROM `iiidev/iii (no tag)` not pinned by digest: `FROM iiidev/iii (… deploy/railway/Dockerfile:2
HIGH MINED118 [MINED118] Dockerfile FROM `node:22-slim` not pinned by digest: `FROM node:22-slim` resol… deploy/coolify/Dockerfile:4
HIGH MINED118 [MINED118] Dockerfile FROM `iiidev/iii (no tag)` not pinned by digest: `FROM iiidev/iii (… deploy/coolify/Dockerfile:2
HIGH MINED118 [MINED118] Dockerfile FROM `node:22-slim` not pinned by digest: `FROM node:22-slim` resol… deploy/render/Dockerfile:4
HIGH MINED118 [MINED118] Dockerfile FROM `iiidev/iii (no tag)` not pinned by digest: `FROM iiidev/iii (… deploy/render/Dockerfile:2
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. plugin/scripts/subagent-start.mjs:42
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. plugin/scripts/session-start.mjs:44
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … src/functions/consolidation-pipeline.ts:91
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … scripts/check-env-example.mjs:67
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … plugin/scripts/post-commit.mjs:22
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. src/eval/metrics-store.ts:46
MED DKR007 Docker build context has no .dockerignore .dockerignore
MED DKR001 Docker final stage has no non-root USER deploy/render/Dockerfile:5
MED DKR001 Docker final stage has no non-root USER deploy/railway/Dockerfile:5
MED DKR001 Docker final stage has no non-root USER deploy/fly/Dockerfile:5
MED DKR001 Docker final stage has no non-root USER deploy/coolify/Dockerfile:5
MED AGT007 localStorage write failures are swallowed silently website/components/GitHubStarButton.tsx:54
MED AGT016 Codex session log reader may expose prompts or tool-call content src/cli.ts:120
LOW AIC003 Duplicated implementation block across source files src/state/vector-index.ts:8
LOW AIC003 Duplicated implementation block across source files src/providers/embedding/voyage.ts:12
LOW AIC003 Duplicated implementation block across source files src/providers/embedding/openrouter.ts:16
LOW AIC003 Duplicated implementation block across source files src/hooks/task-completed.ts:15
LOW AIC003 Duplicated implementation block across source files src/hooks/task-completed.ts:14
LOW AIC003 Duplicated implementation block across source files src/hooks/task-completed.ts:1
LOW AIC003 Duplicated implementation block across source files src/hooks/subagent-stop.ts:14
LOW AIC003 Duplicated implementation block across source files src/hooks/subagent-stop.ts:1
LOW AIC003 Duplicated implementation block across source files src/hooks/subagent-start.ts:15
LOW AIC003 Duplicated implementation block across source files src/hooks/subagent-start.ts:9
LOW AIC003 Duplicated implementation block across source files src/cli/connect/codex.ts:7
LOW AIC003 Duplicated implementation block across source files src/hooks/stop.ts:1
LOW AIC003 Duplicated implementation block across source files src/hooks/session-start.ts:11
LOW AIC003 Duplicated implementation block across source files src/hooks/session-end.ts:15
LOW AIC003 Duplicated implementation block across source files src/hooks/session-end.ts:14
LOW AIC003 Duplicated implementation block across source files src/hooks/session-end.ts:1
LOW AIC003 Duplicated implementation block across source files src/hooks/prompt-submit.ts:14
LOW AIC003 Duplicated implementation block across source files src/hooks/prompt-submit.ts:1
LOW AIC003 Duplicated implementation block across source files src/hooks/pre-compact.ts:14
LOW AIC003 Duplicated implementation block across source files src/hooks/pre-compact.ts:1
LOW AIC003 Duplicated implementation block across source files src/hooks/post-tool-use.ts:1
LOW AIC003 Duplicated implementation block across source files src/hooks/post-tool-failure.ts:1
LOW AIC003 Duplicated implementation block across source files src/functions/compress.ts:26
LOW DKC010 Compose service lacks no-new-privileges hardening deploy/coolify/docker-compose.yml:1
LOW DKC010 Compose service lacks no-new-privileges hardening docker-compose.yml:15
LOW DKC006 Compose service does not declare a runtime user deploy/coolify/docker-compose.yml:1
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. src/state/reranker.ts:3
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. src/functions/migrate.ts:32
INFO MINED055 [MINED055] Npm Install No Lockfile: Production image runs npm install (resolves new versi… examples/python/quickstart.py:4
INFO MINED055 [MINED055] Npm Install No Lockfile: Production image runs npm install (resolves new versi… examples/python/observe_and_recall.py:7
INFO MINED049 [MINED049] Print Pii: Logging password/token/email/ssn directly to stdout. examples/python/observe_and_recall.py:62
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. src/functions/smart-search.ts:36
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. src/functions/migrate.ts:58
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. benchmark/longmemeval-bench.ts:193
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … src/functions/auto-forget.ts:89
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … src/functions/actions.ts:225
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … benchmark/longmemeval-bench.ts:101
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … eval/runner/longmemeval.ts:43
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … eval/runner/coding-life.ts:39
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … benchmark/longmemeval-bench.ts:119
Reset to top 5 105 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `rohitg00/agentmemory`

**Score: 82/100 (A)**  ·  105 findings  ·  scanned 2026-05-24 01:20 UTC  ·  65,916 LOC

| Severity | Count |
|---|---|
| CRITICAL | 0 |
| HIGH | 52 |
| MEDIUM | 13 |
| LOW | 26 |

📊 [Full filterable report](https://www.repobility.com/scan/a3e7255e-87b7-421d-bfd1-aaa36403fd4c/)  ·  ![scorecard](https://www.repobility.com/scan/a3e7255e-87b7-421d-bfd1-aaa36403fd4c/report.png?v=1779585639-s2)

### Top findings

1. **HIGH** `MINED108` — `self._base` used but never assigned in __init__
   `integrations/hermes/__init__.py:373` · ✓ Repobility
2. **HIGH** `MINED108` — `self._session_id` used but never assigned in __init__
   `integrations/hermes/__init__.py:362` · ✓ Repobility
3. **HIGH** `MINED108` — `self._project` used but never assigned in __init__
   `integrations/hermes/__init__.py:363` · ✓ Repobility
4. **HIGH** `MINED108` — `self._base` used but never assigned in __init__
   `integrations/hermes/__init__.py:361` · ✓ Repobility
5. **HIGH** `MINED108` — `self._session_id` used but never assigned in __init__
   `integrations/hermes/__init__.py:357` · ✓ Repobility

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://www.repobility.com/scan/a3e7255e-87b7-421d-bfd1-aaa36403fd4c/_
Already filed
This repo publishes a SECURITY.md policy and the scan contains 14 Critical/High security finding(s). Public issue filing would violate coordinated disclosure. Submit privately via the project's security reporting channel.
Megaproject â high spam risk
Could not determine 'rohitg00/agentmemory' star count (GitHub API rate-limited or unreachable). When in doubt about repo size, prefer opening a focused PR or a discussion rather than an issue.

The button opens GitHubâs new-issue page in a new tab. You will see the title + body pre-filled â review, edit if you want, then click GitHubâs "Submit new issue" button. Repobility never posts anything on your behalf.

For real security findings on big repos: use the project's SECURITY.md or private advisory flow instead of a public issue.