TECHDEV · Flagship · Open-source tool

sessguard

What would an infostealer find on your machine? A local, read-only, zero-network CLI that inventories AI-assistant session and credential material on your endpoint and gives you a per-app revocation checklist. Token values are never printed.

TypeScript · CLI · MIT · Node 20+ · Zero runtime dependencies · Local, read-only, zero network. No account, no tracking, no data leaves the machine. Token values are never shown: paths, file metadata, and match counts only.

The problem it answers

Modern infostealers sweep developer machines for authentication files, session data, and configs of AI coding assistants: Claude, ChatGPT Desktop, Codex, Cursor, Windsurf, GitHub Copilot, Gemini CLI, and others, alongside Git credentials, SSH keys, and API keys. The Aokigahara campaign reported by Check Point Research in October 2026 showed exactly this playbook. When incident response starts with "what was on the machine", teams have no map of the AI-assistant surface and no per-app revocation steps. Secret scanners own the repository surface; OSQuery answers endpoint questions only with hand-written queries per app. sessguard fills the gap between "AI session material on this machine" and "here is exactly how to revoke each one": curated, dated path knowledge for 10 AI assistants, strict no-value reporting, and an actionable per-app revocation checklist.

Two commands

CommandWhat it does
sessguard inventoryScans well-known session/config paths on this machine. Findings carry paths, file metadata, and token-pattern match counts only. Values are never printed, logged, or exported.
sessguard checklistEmits a per-app revocation checklist for every app with session material found: what the stores typically hold, where to revoke, and what to rotate alongside.
sessguard --versionPrints the version.

Both commands accept --json out.json for machine-readable output with the same data and still no values. The SESSGUARD_ROOT environment variable overrides the scan root (used by the demo and tests). The repository ships a terminal recording of a real run against the synthetic demo profile (examples/demo.gif), recorded via pty capture; a documented real-run transcript is in the README.

Coverage — curated, dated path knowledge

Apps move their storage locations, so each entry carries the date it was last curated. All entries below were last verified on 2026-10-30 (README, 2026-10-30 release):

AppLast verified
Claude Code / Claude CLI2026-10-30
ChatGPT Desktop2026-10-30
Codex CLI2026-10-30
Cursor2026-10-30
Windsurf2026-10-30
GitHub Copilot (IDE + CLI)2026-10-30
Gemini CLI2026-10-30
Amazon Q2026-10-30
Kiro2026-10-30
JetBrains AI Assistant2026-10-30

Use it

# Requires Node 20+
npm install -g sessguard
# or run without installing
npx sessguard inventory
sessguard inventory [--json out.json]   # scan well-known session/config paths
sessguard checklist [--json out.json]   # per-app revocation checklist
sessguard --version

Commands copied exactly from the sessguard README (2026-10-30 release). The inventory output shown in the README is a real run against the synthetic demo profile (examples/demo-profile/, all fixtures fake), with SESSGUARD_ROOT pointing at the fixtures.

Design — three hard guarantees

TypeScript, zero runtime dependencies. Dual-use note from the README: the path list is public knowledge (documented by the vendors and by threat research); the tool extracts no values and makes no network calls, so it cannot be used as an exfiltration aid.

What this is NOT — and where rivals beat us

Source + README on GitHub → · Report an issue → · ask@techdev.fun

Limits

License

MIT. See LICENSE in the repository.

Related tools

More open-source tools from TECHDEV: runverdict, gheist-guard, vetgate, context-diet, ci-failure-detective, agent-seatbelt, devsecops-os, env-doctor, skill-audit, logtrim, testguard, breakcheck, keymap, memgraph, ggufit, leaseguard, factfence, jsonfold

Have a say

Vote for this tool, suggest a feature, or discuss it with other operators on the community board.