keepcontext@1.1.0
CAUTION· install onlyPublisher claims: "A self-hosted MCP server that gives every connected AI app (ChatGPT, Claude, Gemini, Cursor, Codex, Copilot) one shared memory of ideas, decisions, todos, notes and standing instructions to read and write. It also lets apps start multi-step tasks and save checkpoints on a git branch, so when one hits its usage limit another can resume the work and the original app can later review what changed." In our sandbox: Nothing executable in the bundle ran; the trace covers the install step only.
Coverage
Nothing executable in the bundle ran; the trace covers the install step only.- Tested
- every file read, file written and host contacted by what ran
- Not tested
- use of the skill by an agent
What this means for the label: Caution here covers what ran. The server's tools were not exercised with a real credential, so nothing about their behavior is asserted; the credential summary below says what to do with that.
Behavior
In our sandbox run on 2026-11-07, [email protected] read no files and called no hosts, and its code names no environment variables. Coverage: install only.
Files read
None recorded.
Hosts called
None recorded.
Environment variables its code names
None found.
Names only, read from the code. We never hold a value.
Tools offered
No tool list recorded.
Changes since the prior version
No prior version with a result to compare.
What we did not test
- use of the skill by an agent
| Run date | 2026-11-07 |
| Coverage | install only |
| Engine | 1.9.2, script@linux |
| Reproduce | npx -y vet-skills try keepcontext |
| This record | behavior.json, behavior.md, signed attestation |
This is a record of what one version did in the runs we made. It is evidence, not a certificate.
Before you give it your token
Code inventory arrives with this version's next honeypot run.- It will ask for
- unknown until the next run
- Where it talks to
- unknown until the next run
- What we saw when it ran
- no credential files read · no network
- What we could not test
- use of the skill by an agent
Not enough was observed to say yet. Nothing executable in the bundle ran; the trace covers the install step only. This version's code has not been inventoried for credentials and hosts either; both arrive with its next honeypot run (popular servers first). `vet-skills try keepcontext` runs it now and prints the full answer.
Never paste a credential into a chat, a ticket or a report, including ours. How the guard holds it.
Is [email protected] safe to install?
KillerSkills ran it in the KillerSkills honeypot sandbox (1 scenario; nothing executable in the bundle ran; the trace covers the install step only) on 2026-11-07 and scored it 65/100 (Caution). It is not known to be malicious, but it has behaviour or code a security policy should decide on before install. Notable findings: Instructs the agent to modify its persistent memory or instruction files; Pipe-to-shell pattern; Pipe-to-shell pattern. Summary: no network, touches nothing outside the project, writes no memory.
Behavior trace
Honeypot run · 0 s · 1 scenarios · 0 deviationsStatic findings
- `npm run inject -- /path/to/repo`: write AGENTS.md / CLAUDE.md / GEMINI.md / Cursor rule into a local cloneFix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.# From any terminal: curl -fsSL https://YOUR-HUB/connect.sh | bash -s <app>Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.// Public helper script (no secrets): curl -fsSL <hub>/connect.sh | bash -s <app>Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.restart() { sudo systemctl restart keepcontext; }Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.data_dir="${DATA_DIR:-$(grep -E '^DATA_DIR=' .env 2>/dev/null | cut -d= -f2- || true)}"Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.antigravity: [['Antigravity', 'Run in any terminal, then paste the token when asked (needs Node.js):', local('antigravity')], ['Or ~/.gemini/antigravity/mcp_config.json (chmod 600)', '', JSON.stringifFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.['Gemini (web)', 'Customise → Connectors → + Custom → paste the secret URL → Next. Gemini can also read the Google Doc mirror (Gems → Knowledge).', secret],Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose."envFile": "${workspaceFolder}/.env",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.| `src/settings.js` | First-run setup, admin password/token, profile and GitHub token set in the UI (stored in `kv`; `.env` wins) |Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.| `src/config.js` | Reads env and `.env` (everything optional) |Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.# Read from the keyboard: when piped (curl … | bash), standard input is the script itself.Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.const local = (name) => `curl -fsSL ${status.publicUrl}/connect.sh | bash -s ${name}`;Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.* `curl -fsSL <hub>/connect.sh | bash -s <app>` without cloning the repo. Contains no secrets.Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.- `npm start`: run on `PORT` (default 8787), reading `.env`Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.['Claude app (claude.ai, desktop, mobile)', 'Settings → Connectors → Add custom connector → name KeepContext → paste the secret URL → No sign-in. (Or the /mcp URL plus a request header "Authorization:Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.# Env overrides: DATA_DIR (else .env, else ./data), BACKUP_DIR, BACKUP_KEEP.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.cursor: [['Cursor', 'Run in any terminal, then paste the token when asked (needs Node.js):', local('cursor')], ['Or ~/.cursor/mcp.json (keep it private: chmod 600)', '', JSON.stringify({ mcpServers: {Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.if (!token) throw new Error('Paste the token GitHub showed you.');Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.sudo systemctl stop keepcontextFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.if (!config.github.token) throw new Error('GitHub is not connected. Connect it in the Settings tab (or set GITHUB_TOKEN in .env).');Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.sudo systemctl start keepcontextFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.// See .env.example for every option.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// .env always wins: a value set there is used as is and can't be changed in the UI.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.sudo swapon /swapfileFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.sudo mkswap /swapfile >/dev/nullFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.sudo chmod 600 /swapfileFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.* - admin: the admin token (HUB_TOKEN in .env, or the one made by the setup page). Recorded as "shared-token".Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.port="$(grep -E '^PORT=' .env 2>/dev/null | cut -d= -f2- || true)"; port="${port:-8787}"Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.const envFile = path.resolve(process.cwd(), '.env');Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// On load, stored values fill in `config` wherever .env left them empty, so the rest of the code reads `config`.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// Tiny .env loader (no dependency). Real env vars win over the file.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.sudo fallocate -l 1G /swapfileFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell./** Which settings come from .env (locked in the UI). */Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.if (setLine(`${repo}/.env`, 'HUB_TOKEN', tok)) done.push('repo .env');Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.sudo systemctl start keepcontextFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.port="$(grep -E '^PORT=' .env 2>/dev/null | cut -d= -f2 || true)"Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.# .env is optional: without it, the first-run setup page asks for a password (the setup code is in the log).Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.sudo systemctl stop keepcontextFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.data_dir="${DATA_DIR:-$(grep -E '^DATA_DIR=' .env 2>/dev/null | cut -d= -f2- || true)}"Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// Public access: start the tunnel again if it was on (Settings → Public access, or TUNNEL in .env).Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.grep -q '^/swapfile ' /etc/fstab || echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab >/dev/nullFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.# From any terminal: curl -fsSL https://YOUR-HUB/connect.sh | bash -s <app>Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out./** True until the first-run setup is done (no HUB_TOKEN in .env and none stored). */Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose./** A new admin token (the old one stops working at once). Not available when HUB_TOKEN is in .env. */Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates && rm -rf /var/lib/apt/lists/*Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.if (fromEnv.mode) throw new Error('TUNNEL is set in .env; change it there.');Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// quick Cloudflare quick tunnel: free, no account; the https://….trycloudflare.com address changes on restart.Fix: Replace encoded or assembled strings with plain literals and remove undeclared network calls.// The mode is stored in kv (Settings tab) or set with TUNNEL in .env, and the tunnel starts again with the server.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.['VS Code (Copilot agent mode)', '.vscode/mcp.json:', JSON.stringify({ servers: { 'keepcontext': { type: 'http', url, headers: { Authorization: 'Bearer ${input:hubToken}' } } }, inputs: [{ id: 'hubTokFix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.['Antigravity', 'Agent panel → … → MCP Servers → Manage → View raw config (the file is ~/.gemini/antigravity/mcp_config.json). The app does not read shell variables, so put the token itself in the heaFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.chmod 600 "$snap"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.cursor: [['Cursor', 'Run in any terminal, then paste the token when asked (needs Node.js):', local('cursor')], ['Or ~/.cursor/mcp.json (keep it private: chmod 600)', '', JSON.stringify({ mcpServers: {Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.const local = (name) => `curl -fsSL ${status.publicUrl}/connect.sh | bash -s ${name}`;Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.# Cloudflare quick tunnel: no account needed. The https://….trycloudflare.com address is inFix: Replace encoded or assembled strings with plain literals and remove undeclared network calls./** Which tunnel settings come from .env (locked in the UI). */Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.# + fixed public HTTPS via Tailscale Funnel (free account; set TS_AUTHKEY in .env):Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.['Gemini CLI', '~/.gemini/settings.json ("${HUB_TOKEN}" is read from your shell). Gemini only enables MCP servers in trusted folders: answer "Trust folder" on first run, then check with gemini mcp lisFix: Namespace tool names and keep tool descriptions literal; no instructions to the agent inside them.antigravity: [['Antigravity', 'Run in any terminal, then paste the token when asked (needs Node.js):', local('antigravity')], ['Or ~/.gemini/antigravity/mcp_config.json (chmod 600)', '', JSON.stringifFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.- path: .envFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.['Antigravity', 'Agent panel → … → MCP Servers → Manage → View raw config (the file is ~/.gemini/antigravity/mcp_config.json). The app does not read shell variables, so put the token itself in the heaFix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.chmod 755 /cloudflaredFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.mkdir -p "$out_dir" && chmod 700 "$out_dir"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.RUN mkdir -p /data && chown node:node /dataFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.(if it doesn't ask, open your user mcp.json and use the "hubToken" input's edit/clear action)Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.<h1>You're set up</h1> <p>Your <strong>admin token</strong> is below. It's shown only this once. Keep it in a password manager: scripts and the REST API use it.Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.sudo chmod 600 /swapfileFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.| **ChatGPT** | **Plugins** in the left sidebar → **Add** (top right) → **Add custom MCP server**. Name `KeepContext`; Connection: **Server URL** = the secret URL; Authentication: **No authentication*Fix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.mkdir -p "$keep_dir" && chmod 700 "$keep_dir"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.<label>Tunnel token <input name="token" type="password" autocomplete="off" placeholder="eyJh…"></label> <label>Public hostname <input name="hostname" autocompleFix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.AUTO_SYNC_MINUTES: '0', GOOGLE_DOC_ID: '', ...env,Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.env: { ...process.env, ...env }, stdio: ['ignore', 'pipe', 'pipe'], cwd: path.resolve(import.meta.dirname, '..'),Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.* `curl -fsSL <hub>/connect.sh | bash -s <app>` without cloning the repo. Contains no secrets.Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.// tunnel ... --url <local> → a new random https://….trycloudflare.com address on every startFix: Replace encoded or assembled strings with plain literals and remove undeclared network calls.j.mcpServers = { ...(j.mcpServers || {}), 'keepcontext': { httpUrl: url, headers: { Authorization: 'Bearer ${KEEPCONTEXT_TOKEN_GEMINI_CLI}' }, timeout: 30000 } };Fix: Namespace tool names and keep tool descriptions literal; no instructions to the agent inside them.- **Wrong tokens or cookies** on `/api`, `/mcp` and `/mcp/k/:token`: `BAD_TOKEN_MAX` (30) per IP per 15 minutes, then `429` with `Retry-After`. A valid token is never refused by this, so guessing fromFix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.| **ChatGPT** | **Plugins** in the left sidebar → **Add** (top right) → **Add custom MCP server**. Name `KeepContext`; Connection: **Server URL** = the secret URL; Authentication: **No authentication*Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.const block = `[mcp_servers.keepcontext]\nurl = "${url}"\nhttp_headers = { "Authorization" = "Bearer ${tok}" }\n`;Fix: Namespace tool names and keep tool descriptions literal; no instructions to the agent inside them.APPS: one connection (token) per app and accountFix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.// TUNNEL in .env: starts with the server and is locked in the UI.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// Write AGENTS.md / CLAUDE.md / GEMINI.md / .cursor/rules into a LOCAL repo clone.Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.<div class="row between"><h2 id="tokenTitle">Token</h2><button type="button" class="ghost sm" id="tokenDone">Done, hide it</button>Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.// Public helper script (no secrets): curl -fsSL <hub>/connect.sh | bash -s <app>Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.# Read from the keyboard: when piped (curl … | bash), standard input is the script itself.Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.Cost to the agent
Tokens estimated at four characters each. Skills load their instruction text when triggered; the figure is what that costs.
Known vulnerabilities
Vulnerability advisories (OSV) cover npm and PyPI packages; this registry has no advisory database.
What would make this Verified
15 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%- Pipe-to-shell pattern≈ +9 on the totalBuild commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
- Prompting user to enter sensitive credentials≈ +9 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
- Unclaimed publisher≈ +8 on the totalClaim darshanbajgain: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
- Privileged sudo command≈ +4 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
- Access to sensitive file paths≈ +4 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
- Tunneling service URL≈ +4 on the totalReplace encoded or assembled strings with plain literals and remove undeclared network calls.