Gnosys is a local-first memory layer for AI agents. It runs on your machine, talks to an LLM provider you configure, and stores memories in a SQLite database you control. Most of its attack surface is local, but we take security seriously and welcome responsible disclosure.
Companion document: docs/threat-model.md — the per-asset threat model with mitigation references.
Gnosys ships frequent patch releases. Security fixes land on the latest published minor and are released as a new patch.
| Version | Supported |
|---|---|
Latest 5.x (current) |
✅ |
Older 5.x |
gnosys upgrade |
< 5.0 |
❌ |
Always run the latest version: npm install -g gnosys@latest (or
gnosys upgrade). Check your version with gnosys --version.
gnosys upgrade delegates to your package manager (npm install -g gnosys@latest,
or the pnpm/yarn equivalent). Integrity is verified by the package manager, not
re-implemented by Gnosys:
- The package manager verifies the downloaded tarball against the registry's SHA-512 integrity hash (SRI) on every install.
- Gnosys is published from CI via npm OIDC trusted publishing, so releases
carry provenance attestations. Verify them with:
npm audit signatures(after install) or view the "Provenance" panel on the package's npm page.
Gnosys does not add a separate signature step — it relies on the package manager's verified install path.
Please do not open a public issue for security vulnerabilities.
Report privately via GitHub's security advisory flow:
- Go to https://github.com/proticom/gnosys/security/advisories/new
- Describe the issue, affected version(s), and reproduction steps.
If you cannot use GitHub advisories, you may instead open a minimal public issue that says only "security report — please open a private channel" (no details) and we will follow up.
- Affected version (
gnosys --version) and OS - A clear description of the vulnerability and its impact
- Step-by-step reproduction, ideally with a minimal example
- Any relevant logs (redact API keys, paths, and memory content)
- Acknowledgement: within 7 days
- Triage + severity assessment: within 14 days
- Fix or mitigation plan: communicated after triage; critical issues are prioritized for an out-of-band patch release
We will credit reporters in the release notes unless you prefer to remain anonymous.
In scope:
- The
gnosysCLI and MCP server (gnosys serve) - Memory storage, search, and the SQLite data layer
- Configuration handling (API keys, provider config, remote sync)
- The Web Knowledge Base export (
gnosys/web)
Out of scope:
- Vulnerabilities in third-party LLM providers or their SDKs
- Issues requiring a pre-compromised local machine or root access
- Social-engineering or physical-access attacks
- Denial of service from intentionally malformed local input you supply to your own instance
Gnosys reads API keys from ~/.config/gnosys/.env and provider config.
When reporting issues or sharing logs, always redact API keys, absolute
paths that reveal your username, and the contents of private memories.