thumbgate@1.40.5
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.40.3
vet-skills diff thumbgate 1.40.3 1.40.5In the sandbox, this version reached for nothing 1.40.3 did not. Compared from the two recorded runs, not from source.
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-20 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: Access to sensitive file paths; Agent configured for autonomous execution without human approval; Access to sensitive file paths. Summary: calls registry.npmjs.org, api.github.com only, touches nothing outside the project, writes no memory.
Behavior trace
Honeypot run · 1 s · 3 scenariosStatic findings
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.// 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.* Whether this run is autonomous — i.e. no human is present to resolve anFix: Declare and request only the permissions the task needs.// 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(' npx thumbgate stats');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.// 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.<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.// 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.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.https://github.com/IgorGanapolsky/ThumbGate/releases/latest/download/thumbgate-codex-plugin.zipFix: 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.// 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.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.'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.… '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.// 3. Write env config to .envFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.console.log('Please run: sudo npm install -g thumbgate@latest');Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.console.log(' npx thumbgate capture --feedback=down --context="what failed"');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.// (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."build:vscode-extension": "cd plugins/vscode-extension && npx --yes @vscode/vsce package",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.w(` Check gates: ${C}npx thumbgate gate-stats --json${RST}`);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.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.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.'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.# Slow path: no cached binary — install + exec via npxFix: Pin versions and sources; vendor anything fetched at install time.'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.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.w(` Get started: ${C}npx thumbgate init${RST}`);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.npx thumbgate subscribe [email protected]Fix: Pin versions and sources; vendor anything fetched at install time.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.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.// 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.│ Start now: npx thumbgate init │Fix: Pin versions and sources; vendor anything fetched at install time.// Fast-start from the installed runtime binary; only resolve @latest via npxFix: Pin versions and sources; vendor anything fetched at install time.'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.* project root), and the portable npx launcher otherwise.Fix: Pin versions and sources; vendor anything fetched at install time.write(` ${A.d}Run: npx thumbgate feedback:rules${A.r}\n`);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.…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.// 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.exec npx --yes --package thumbgate@latest -- thumbgate "$@"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.'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.: ' Run: npx thumbgate capture';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.… '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.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.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.* - Slow path: npx --yes thumbgate@latest (first-time auto-installs)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.* 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(` 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.// 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.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(`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.w(` Capture: ${C}npx thumbgate capture --feedback=down --context="what failed"${RST}`);Fix: Pin versions and sources; vendor anything fetched at install time.const command = `npx thumbgate pro --activate --key=${apiKey || ''}`;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.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.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.console.log('│ npx thumbgate self-update │');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.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
Not checked against OSV yet; the weekly check has not reached this version.
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.