Skills/npm/ctxfile

ctxfile@0.6.0

VERIFIED· startup only

Publisher claims: "Local-first MCP server that snapshots your project's working state into one context object." Observed in sandbox: no network, touches nothing outside the project, writes no memory.

Registry npm (MCP server) · listed in the official MCP RegistryPublisher ctxfile · publishing for 134 daysInstalls 0Last detonated 4d ago
$claude mcp add ctxfile -- npx -y ctxfile
WatchReport an issue

Coverage

Startup only; authenticated tool behavior not tested.
Tested
server startup over stdio (initialize sent) · every file read, file written and host contacted by what ran
Not tested
the tool list (the server exited before answering) · what the tools do when called with real credentials

What this means for the label: Verified 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.

Before you give it your token

It will ask for
CTXFILE_VAULT_TOKENNOTION_TOKENWEBHOOK_SECRETConfiguration, not credentials: CTXFILE_VAULT_PASSPHRASE, CTXFILE_VAULT_RECOVERY_CODE, DEFAULT_VAULT_CONFIG_PATH, OLLAMA_BASE_URL
Where it talks to
ctxfile.dev (its own)Also notion.com, react.dev — not the publisher's domain; check what for before connecting.
What we saw when it ran
no credential files read · no network
What we could not test
the tool list (the server exited before answering) · what the tools do when called with real credentials

Connect it with a scoped credential, under the guard, and read the third-party hosts first. The code names notion.com, react.dev as well as its own vendor. The guard injects CTXFILE_VAULT_TOKEN, NOTION_TOKEN, WEBHOOK_SECRET only into requests to ctxfile.dev (and its subdomains) and refuses the rest.

$vet-skills run --secrets CTXFILE_VAULT_TOKEN=ctxfile.dev,NOTION_TOKEN=ctxfile.dev,WEBHOOK_SECRET=ctxfile.dev -- npx -y ctxfile

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 (2 scenarios; startup only; authenticated tool behavior not tested) on 2026-11-20 and scored it 84/100 (Verified). In what ran, nothing we could detect went wrong: no undeclared network egress, no credential reads, no persistent instruction writes. What it does with a real credential was not observed; the static findings and the publisher carry the rest of the score. Summary: no network, touches nothing outside the project, writes no memory.

Behavior trace

Honeypot run · 26 s · 2 scenarios · 0 deviations
t+CategoryObserved action
0.0sprocessno install scripts in bundle
5.7sprocessdependency install exit 0
26sclaimedstartup only: exited (0) before answering · → /tmp/ks-detonate-hGsvDe/task/home/work/acme-api/.claude/skills/ctxfile/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node → /tmp/ks-detonate-hGsvDe/task/home/work/acme-api/.claude/skills/ctxfile/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node → /tmp/ks-detonate-hGsvDe/task/home/work/acme-api/.claude/skills/ctxfile/node_modules/bette
26sprocessscript backend runs setup only
26sprocessno install scripts to re-run

Static findings

HIGH
Access to sensitive file pathsdist/cli.js:23 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files/^\.env(\..+)?$/i,Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsdist/index.cjs:144 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files/^\.env(\..+)?$/i,Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
File type combined with upload actionui-dist/assets/index-ChhYUesk.js:8 · File type combined with upload action — agent may exfiltrate local data files…nstable_NormalPriority,Jh=c.unstable_LowPriority,uo=c.unstable_IdlePriority,Wh=c.log,Fh=c.unstable_setDisableYieldValue,Kn=null,pt=null;function rl(e){if(typeof Wh=="function"&&Fh(e),pt&&typeof pt.setStrictMode=="function")try{pt.setStrict…Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.
AST07
HIGH
Access to sensitive file pathsdist/index.cjs:156 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files/^\.netrc$/i,Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
File type combined with upload actionui-dist/assets/index-ChhYUesk.js:9 · File type combined with upload action — agent may exfiltrate local data files…..r,headers:Rh(r?.headers)})}catch{throw new it}if(!f.ok){let o={};try{o=await f.json()}catch{}throw new ol(f.status,typeof o.error=="string"?o.error:`request failed (${f.status})`,typeof o.feature=="string"?o.feature:void 0,My(o.issues))}…Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.
AST07
LOW
Instructs the agent to modify its persistent memory or instruction filesdist/cli.js:2073 · Instructs the agent to modify its persistent memory or instruction files · informational: not an instruction fileAdd this to your Codex instructions (global \`~/.codex/AGENTS.md\` or per-project AGENTS.md).Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.
AST01
HIGH
Access to sensitive file pathsdist/index.js:13 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files/^\.env(\..+)?$/i,Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsui-dist/assets/index-ChhYUesk.js:34 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files…s redactContent()"}),a.jsx(nn,{icon:"eye-off",name:"Denied paths",on:!0,detail:".env*, keys, credentials (never read)"})]})]})]})]})}function Ul({k:c,v:r,mono:f=!1}…Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsui-dist/assets/index-ChhYUesk.js:25 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files…:"python",go:"go",rs:"rust",sql:"sql"},h0={dockerfile:"shell",makefile:"shell",".env.example":"shell",".gitignore":"shell",".npmrc":"shell"};function m0(c){const r=…Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsdist/index.js:25 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files/^\.netrc$/i,Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
LOW
Instructs the agent to modify its persistent memory or instruction filesdist/index.js:1800 · Instructs the agent to modify its persistent memory or instruction files · informational: not an instruction fileAdd this to your Codex instructions (global \`~/.codex/AGENTS.md\` or per-project AGENTS.md).Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.
AST01
MEDIUM
File type combined with upload actionui-dist/assets/index-ChhYUesk.js:16 · File type combined with upload action — agent may exfiltrate local data files…0,signal:d})}catch(b){throw d?.aborted?b:new it}if(!g.ok){let b={};try{b=await g.json()}catch{}throw new ol(g.status,typeof b.error=="string"?b.error:`stream failed (${g.status})`,typeof b.feature=="string"?b.feature:void 0)}const C=g.body…Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.
AST07
LOW
Instructs the agent to modify its persistent memory or instruction filesdist/index.cjs:1932 · Instructs the agent to modify its persistent memory or instruction files · informational: not an instruction fileAdd this to your Codex instructions (global \`~/.codex/AGENTS.md\` or per-project AGENTS.md).Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.
AST01
HIGH
Access to sensitive file pathsdist/cli.js:35 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files/^\.netrc$/i,Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
LOW
Instructs the agent to modify its persistent memory or instruction filesbehaviors/render/codex/instructions.md:3 · Instructs the agent to modify its persistent memory or instruction files · informational: not an instruction fileAdd this to your Codex instructions (global `~/.codex/AGENTS.md` or per-project AGENTS.md).Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.
AST01
MEDIUM
File type combined with upload actionui-dist/assets/index-CGe1TKM6.css:1 · File type combined with upload action — agent may exfiltrate local data files…ase;color:var(--text-2)}.md tr:last-child td{border-bottom:0}.md .code{margin:0}.json{font-size:12.5px;line-height:1.65;color:var(--code-text)}.json-row{display:flex;align-items:center;padding-left:calc(var(--depth, 0) * 16px + 4px);white-…Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.
AST07

Cost to the agent

Instructions loaded
≈7,399 tok
5 files · 22 in bundle
Tool list per prompt
≈0 tok
0 tools · 0 per tool
Handshake
no reply
launch to tools/list, stdio
Undocumented tools
0
description under 20 chars · avg 0

Tokens estimated at four characters each. The tool list is re-read by the agent on every turn, so it is the number to compare between servers that do the same job: ranked across the index.

Known vulnerabilities

No advisories in OSV for ctxfile@0.6.0 as of 4d ago. This is the package itself, not its dependencies.