Skip to content

Security: GHOSTxASR/ATLAS-AI-TUTOR

Security

SECURITY.md

Security Policy

Reporting a vulnerability

Please do not open a public issue for security problems.

Report vulnerabilities privately through GitHub's Report a vulnerability flow on this repository, under Security → Advisories.

Please include reproduction steps, the affected version or commit, and the impact you believe it has. You can expect an initial response within a week.

Scope

Atlas is a local-first, single-user desktop application. It binds to 127.0.0.1 and ships with no authentication, because it assumes the only user is the person sitting at the machine.

Do not expose Atlas to a network or the public internet. Doing so gives anyone who can reach the port full access to your documents and the ability to spend your API credits. Multi-user deployment is out of scope, and issues that depend on deliberately exposing the app to untrusted networks will be treated as configuration errors rather than vulnerabilities.

In scope:

  • API key disclosure — in logs, error messages, HTTP responses, or request URLs
  • Path traversal or arbitrary file read/write via uploads or any endpoint
  • Weaknesses in the encrypted keystore or its key-file permissions
  • Ways for uploaded document content to execute code or escalate privileges
  • Dependency vulnerabilities with a practical exploit path in Atlas

How keys are handled

API keys are encrypted with Fernet (AES-128-CBC + HMAC-SHA256) and written to ~/.atlas/config/secrets.enc. The encryption key lives in a separate file whose permissions are restricted to the current user.

Keys are additionally protected at runtime:

  • sent as request headers, never in URLs or query strings
  • passed through a redaction layer applied to all log output, including tracebacks, so they cannot reach ~/.atlas/logs/
  • never returned by the API — the settings endpoints report only whether a provider is configured

If you believe a key of yours has been exposed, rotate it with the provider immediately, then remove it in Settings and add the new one.

Known advisories that do not apply

pip-audit reports four advisories against chromadb that Atlas is not exposed to. They are recorded here so nobody has to re-derive that.

Advisory What it affects
PYSEC-2026-311 Pre-auth code injection via a remote model repository
CVE-2026-45830 Missing tenant authorisation on collection reads and writes
CVE-2026-45833 Code injection via trust_remote_code
CVE-2026-45831 SimpleRBACAuthorizationProvider ignores tenant scope

All four are vulnerabilities in Chroma's standalone HTTP server — its authentication, its authorisation, and the remote model loading it exposes. Atlas never runs that server. It uses chromadb.PersistentClient as an in-process library against a local directory (see app/pipelines/embedder.py), so there is no listening socket, no tenant model, and no remote model loading to reach.

There is also nothing to upgrade to: 1.5.9 is the current release and carries these advisories. If Atlas ever gains a client/server Chroma mode, this assessment stops holding and must be redone.

There aren't any published security advisories