thumbgate@1.40.3
CAUTION· install onlyPublisher claims: "ThumbGate Pre-Action Checks self-improve from ranked lessons and repeated failures, hard-block detected secret leaks, and block matches in strict mode." Observed in sandbox: calls registry.npmjs.org, api.github.com only, touches nothing outside the project, writes no memory.
Coverage
Bundled scripts ran with no arguments; no agent task scenario for this bundle.- Tested
- install scripts, with decoy credentials in place · second launch with the clock 45 days ahead · 8 of 78 bundled scripts run with no arguments (the rest were not run: per-bundle cap), with decoy credentials in the environment · every file read, file written and host contacted by what ran
- Not tested
- use of the skill by an agent
What changed since 1.39.1
vet-skills diff thumbgate 1.39.1 1.40.3This version reaches for something 1.39.1 did not: 20 new hosts (aliyuncs.com, api.github.com, arxiv.org, azure.com, …) · 37 new credential variables (ANTHROPIC_API_KEY, DASHSCOPE_API_KEY, GEMINI_API_KEY, GH_PAT, …) · 1 new install script (node bin/postinstall.js || true). Compared from the two recorded runs, not from source.
- New hosts
- aliyuncs.com, api.github.com, arxiv.org, azure.com, cursor.com, huggingface.co, ibm.com, launchvideo.io, microsoft.com, paperinstruments.com, paypal.com, railway.app +8
- New credential variables
- ANTHROPIC_API_KEY, DASHSCOPE_API_KEY, GEMINI_API_KEY, GH_PAT, GH_TOKEN, GITHUB_MARKETPLACE_WEBHOOK_SECRET, GITHUB_TOKEN, GOOGLE_API_KEY, GOOGLE_APPLICATION_CREDENTIALS, HOTDATA_API_KEY, PAYPAL_CLIENT_SECRET, PLAUSIBLE_API_KEY +25
- New install scripts
- node bin/postinstall.js || true
The guard can hold an update like this until someone approves it (runtime.on_change: hold). A change that only shows with a real credential, or on a path the run did not reach, is not in a trace and so not in this comparison.
Is [email protected] safe to install?
KillerSkills ran it in the KillerSkills honeypot sandbox (3 scenarios; bundled scripts ran with no arguments; no agent task scenario for this bundle) on 2026-11-17 and scored it 57/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: Agent configured for autonomous execution without human approval; Collapsed <details> block carrying instructions; Privileged sudo command. Summary: calls registry.npmjs.org, api.github.com only, touches nothing outside the project, writes no memory.
Behavior trace
Honeypot run · 2 s · 3 scenariosStatic findings
* Whether this run is autonomous — i.e. no human is present to resolve anFix: Declare and request only the permissions the task needs.<summary><b>Pro: lesson + DPO export</b></summary> ```bash # Portable lessons curl -X POST http://localhost:3456/v1/lessons/export \ -H "Authorization: Bearer $Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.console.log('Please run: sudo npm install -g thumbgate@latest');Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.// A command can be spelled many ways without changing what it does: `sudo git …`,Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.// Autonomous run: no human to approve. Fail CLOSED so the actions thatFix: Declare and request only the permissions the task needs.console.log(' Dry run: will detect gcloud account/project, but will not enable services or write .env.');Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.console.log(' Otherwise, manually set the following variables in your .env file:');Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// Autonomous run: no human to approve. Fail CLOSED so the actions thatFix: Declare and request only the permissions the task needs.// 3. Write env config to .envFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// Full canonicalization, not just the git-option pass: `"git" add .` and `sudo git add .`Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.https://github.com/IgorGanapolsky/ThumbGate/releases/latest/download/thumbgate-codex-plugin.zipFix: Pin versions and sources; vendor anything fetched at install time.console.log(` DRY-RUN would write THUMBGATE_PROVIDER_MODE=vertex and VERTEX_PROJECT_ID=${activeProject} to .env.`);Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.const envPath = path.join(process.cwd(), '.env');Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// pattern test, so passing the raw text let `"npm" publish` / `sudo gh release create`Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.// sudo git reset --hard GIT_DIR=… git reset --hard /usr/bin/git reset --hardFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.const command = `npx thumbgate pro --activate --key=${apiKey || ''}`;Fix: Pin versions and sources; vendor anything fetched at install time.console.log(' │ npx thumbgate feedback-self-test │');Fix: Pin versions and sources; vendor anything fetched at install time.// permission-change-approval gate; without it here, `chmod 600 ~/.resume_secrets/key`Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.console.log(` PostHog Export : ${instrumentation.posthogExportConfigured ? 'configured' : 'missing API credentials'}`);Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.w(` Check gates: ${C}npx thumbgate gate-stats --json${RST}`);Fix: Pin versions and sources; vendor anything fetched at install time.console.log(' │ Add onboarding: npx thumbgate init --email [email protected] │');Fix: Pin versions and sources; vendor anything fetched at install time.'Secret exfiltration: writes that contain API keys, tokens, or .env contents heading to the wrong directory.',Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.… 'A compromised package does not need to break production directly. It can read .env, .npmrc, .pypirc, Docker config, SSH keys, and cloud tokens while an AI coding …Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.console.log(`Wrote AI inventory evidence to ${path.resolve(String(args.output))}`);Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.'Catastrophic shell: rm -rf at home/root, sudo wrapping a dangerous command, find -delete on sensitive paths.',Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.console.log(' Output: failure taxonomy, block/warn/human-review split, and proof checklist.');Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.console.log(`Dimensions: ${plan.outputDimensionality}`);Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.write(` ${A.d}Run: npx thumbgate feedback:rules${A.r}\n`);Fix: Pin versions and sources; vendor anything fetched at install time.const FINISH_SETUP_COMMAND = 'npx thumbgate quickstart';Fix: Pin versions and sources; vendor anything fetched at install time.console.log(' npx thumbgate capture --feedback=down --context="what failed"');Fix: Pin versions and sources; vendor anything fetched at install time.console.log(' security-central Free Agent Security Central posture report');Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.write(` ${A.d}npx thumbgate capture --feedback=down --context="..." --what-went-wrong="..."${A.r}\n`);Fix: Pin versions and sources; vendor anything fetched at install time.…nst FINISH_SETUP_HREF = '/install#quickstart'; const FINISH_SETUP_DETAIL = 'Run npx thumbgate quickstart to fire your first PreToolUse block and unlock the built-in safety r…Fix: Pin versions and sources; vendor anything fetched at install time.// quoting `chmod 755` inside `gh issue create --body` was itself a deny (#3523).Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.: ' Run: npx thumbgate capture';Fix: Pin versions and sources; vendor anything fetched at install time.* - Slow path: npx --yes thumbgate@latest (first-time auto-installs)Fix: Pin versions and sources; vendor anything fetched at install time.# Slow path: no cached binary — install + exec via npxFix: Pin versions and sources; vendor anything fetched at install time."build:vscode-extension": "cd plugins/vscode-extension && npx --yes @vscode/vsce package",Fix: Pin versions and sources; vendor anything fetched at install time.console.log('Usage: npx thumbgate init [--agent <name>] [--wire-hooks] [--import-agent-plugins] [--email [email protected]]');Fix: Pin versions and sources; vendor anything fetched at install time.w(` Get started: ${C}npx thumbgate init${RST}`);Fix: Pin versions and sources; vendor anything fetched at install time.* back to `npx --yes thumbgate@latest` (slow path, first-time self-install).Fix: Pin versions and sources; vendor anything fetched at install time.console.log('│ npx thumbgate self-update │');Fix: Pin versions and sources; vendor anything fetched at install time.│ Updates: npx thumbgate subscribe [email protected]│Fix: Pin versions and sources; vendor anything fetched at install time.npx thumbgate subscribe [email protected]Fix: Pin versions and sources; vendor anything fetched at install time.// Hardening a credential file's permissions (chmod 600 on a key/secret path) isFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.console.log(' npx thumbgate stats');Fix: Pin versions and sources; vendor anything fetched at install time.console.log(`Output: ${outputDir}`);Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.│ Start now: npx thumbgate init │Fix: Pin versions and sources; vendor anything fetched at install time.w(` Capture: ${C}npx thumbgate capture --feedback=down --context="what failed"${RST}`);Fix: Pin versions and sources; vendor anything fetched at install time.( nohup npm install --prefix "$RUNTIME_DIR" --no-save --omit=dev thumbgate@latest >/dev/null 2>&1 & ) 2>/dev/null || trueFix: Pin the exact version (`[email protected]`, `==1.2.3`) so every install gets the bytes that were reviewed.console.log('│ npm install -g thumbgate@latest │');Fix: Pin the exact version (`[email protected]`, `==1.2.3`) so every install gets the bytes that were reviewed.'CLI path: npx thumbgate proxy-pointer-rag-guardrails --tree-path=.rag/tree.json --image-pointers=paper-1/figures/fig2.png --documents=paper-1 --visual-claims --json.',Fix: Pin versions and sources; vendor anything fetched at install time.console.log(`Wrote SEO GSD outputs to ${args.outDir}`);Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.// Fast-start from the installed runtime binary; only resolve @latest via npxFix: Pin versions and sources; vendor anything fetched at install time.…uction-grade PreToolUse, beforeMCPExecution, and beforeReadFile gating with one npx command, and learns from every thumbs-down so the same mistake never reaches the tool ca…Fix: Pin versions and sources; vendor anything fetched at install time.console.error('Please upgrade to the latest thumbgate package and retry: npm install -g thumbgate@latest');Fix: Pin the exact version (`[email protected]`, `==1.2.3`) so every install gets the bytes that were reviewed.* project root), and the portable npx launcher otherwise.Fix: Pin versions and sources; vendor anything fetched at install time.# Installed by: npx thumbgate init --agent claude-code|codexFix: Pin versions and sources; vendor anything fetched at install time.execSync('npm install -g thumbgate@latest', { stdio: 'inherit' });Fix: Pin the exact version (`[email protected]`, `==1.2.3`) so every install gets the bytes that were reviewed.console.log(' Point your agent at it: add "Read .thumbgate/BRAIN.md first" to CLAUDE.md / AGENTS.md.');Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.'Local-first: enforcement runs in the PreToolUse hook on the developer machine, not a server-side gateway, so it works the moment you npx thumbgate init.',Fix: Pin versions and sources; vendor anything fetched at install time.lines.push('Next: npx thumbgate init && npx thumbgate doctor (pipeline before more gates)');Fix: Pin versions and sources; vendor anything fetched at install time.console.log('Running: npm install -g thumbgate@latest');Fix: Pin the exact version (`[email protected]`, `==1.2.3`) so every install gets the bytes that were reviewed.'ThumbGate now maps proxy-pointer RAG signals to Document RAG Safety templates through npx thumbgate proxy-pointer-rag-guardrails.',Fix: Pin versions and sources; vendor anything fetched at install time.exec npx --yes --package thumbgate@latest -- thumbgate "$@"Fix: Pin versions and sources; vendor anything fetched at install time.… 'Nous Research’s Hermes Agent points at a future where developers do not write static instructions like CLAUDE.md. Instead, the agent learns from its execution failures and modifies its own SKI…Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.// (a blocking `npm install thumbgate@latest` on every launch causedFix: Pin the exact version (`[email protected]`, `==1.2.3`) so every install gets the bytes that were reviewed.'ThumbGate now exposes npx thumbgate rag-precision-guardrails for retrieval-tuning and verifier rollout checks.',Fix: Pin versions and sources; vendor anything fetched at install time.'MCP config integrity gate: alert on ~/.claude.json routing changes, unfamiliar MCP endpoints, localhost proxy additions, OAuth refresh anomalies, and dependency postinstall hooks.',Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.console.log('Please run: sudo npm install -g thumbgate@latest');Fix: Pin the exact version (`[email protected]`, `==1.2.3`) so every install gets the bytes that were reviewed.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
No advisories in OSV for thumbgate@1.40.3 as of 6 min ago. This is the package itself, not its dependencies.
What would make this Verified
23 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%- Reads credential files≈ +27 on the totalThe sandbox saw reads under ~/.ssh, ~/.aws, ~/.npmrc, ~/.config or similar. Read only files inside the project, and only the ones the task needs. Seen: ~/.config/thumbgate/operator.json, ~/.config/thumbgate/operator.json.
- Agent configured for autonomous execution without human approval≈ +9 on the totalDeclare and request only the permissions the task needs.
- Unclaimed publisher≈ +8 on the totalClaim igorganapolsky: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
- Touches files outside the project≈ +7 on the totalKeep reads and writes inside the working directory, or declare the exact paths in `filesystem:` and explain why in the README.
- Hidden instructions≈ +6 on the totalRemove HTML comments, zero-width characters and white-on-white text that carry instructions. Everything the agent is meant to read should be visible to the person reading the file.
- Unpinned dependencies≈ +4 on the totalPin exact versions (and ideally hashes) in package.json, requirements or the install script so the bundle cannot change under you.