NousResearch/hermes-agent

Fix state.db file permissions to 0600

Cluster 59706 · agent. Data as of

Nothing open on GitHub. Fix merged in #109509 on 13 Sep 2026. Check it covers your case.

The short answer

0open issues
0open PRs
4items grouped
Known?
Yes. 4 related items grouped here, 1 issue already closed.
Fix event
A fix was merged to main in PR #109509. Check it covers your case. No release data is tracked.
Tracker
The maintainers' tracker marks this resolved, deciding PR #109509. That is separate from the fix event.
Still open
Nothing open on GitHub.

These items address a security concern where state.db (and its WAL sidecars) are created with the process umask default (0644) rather than the intended restrictive 0600 permissions. The parent directory's 0700 mode is currently the only access control in place.

Open issues0

No open issues.

Open PRs0

No open pull requests.

Fixes on record

Merged to main. A stamp counts the issues a fix is linked to.

  • #109509 security: state.db, snapshots and memory locks are owner-only regardless of umask (salvage #102878 + #59716, goose#11613)

    merged to main

    files: contributors/emails/hermes-fleet-fix@localhost, hermes_cli/backup.py, hermes_state.py, tests/hermes_cli/test_backup_stability.py, tests/test_hermes_state.py, tests/tools/test_async_delegation.py, tests/tools/test_memory_tool.py, tools/async_delegation.py, tools/memory_tool_store.py

2 PRs closed without merging

From the close comments: duplicate 1 · merged via another change 1

  • #59716 security(state): create state.db and WAL sidecars at 0600, not process umask · merged via another change → d21913b, #109509
  • #59717 fix(hermes_state): ensure state.db created with 0o600 permissions, not 0o644 umask default · duplicate → #59716, #59706
Closed issues · 1
  • Closed#59706state.db is created 0644 (process umask), not 0600 -- the 0700 parent dir is its only protection
How this cluster was grouped
  • Link evidence (structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
  • Pairwise link density 0.50: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. 1.00 means every pair is linked.

Pick up a Lab task

Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.

Open the Lab

At a glance

Subsystem
agent
Merged PRs
#109509
Closed issues
1
Attempts
2 PRs closed without merging
Fix link checked
13 Sep 2026

For your agent

The same facts, typed.