Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

thumbgate

Latest version: v1.40.8

Overview

Last scanned
23 Nov 2026
Published
23 Nov 2026
npm package Publisher: igorganapolsky
33 Stars
6 Forks
10 Versions
2.5K Downloads
JavaScript Repo language

Scan summary

thumbgate was last scanned on 23 Nov 2026 at version 1.40.8. Risk score 0 of 100. High-severity rules fired.

  • Releases: 10 versions; the latest 4 were published within 5 days (19–23 Nov 2026).
  • Findings: 1 rule fired in version 1.40.8 (1 high). The score describes this version only.
  • Downloads: 2,544 downloads.

Versions

10 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.40.8 LATEST 23 Nov 2026 1 rule fired
1.40.7 23 Nov 2026 1 rule fired
1.40.6 22 Nov 2026 1 rule fired
1.40.5 19 Nov 2026 Not shown
1.40.3 16 Nov 2026 Not shown

Rules fired in 1.40.8: 1

Findings

1 High

Findings for v1.40.8. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

Several suspicious behaviors form a known attack pattern

Several behaviors that are each common on their own, such as reading registry credentials, contacting a variable host or running shell commands, appear together in this package in a combination associated with attacks. The finding message lists the behaviors that were combined.

HIGH
Checking access…

🔒 Create a free account to see all 1 finding with descriptions and instance counts

The score describes 1.40.8; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

ThumbGate 👍 👎


What it does

ThumbGate is the local-first Pre-Action Checks engine for AI coding agents. It runs in the PreToolUse hook to evaluate the proposed tool call before execution — so costly mistakes can be caught before they happen.

ThumbGate GitHub star growth is measured with GitHub's privacy-safe GET /repos/{owner}/{repo}/stargazers/history endpoint (weekly counts, no stargazer identities). Run npm run stars:history -- --fixture tests/fixtures/github-star-history.json --json for the local proof. Stars are not npm installs and not revenue. The live GitHub Marketplace Action is ThumbGate Agent Governance (uses: IgorGanapolsky/ThumbGate@v1).

Usage over star count. Evaluate ThumbGate from the install path and live usage badges above (npx thumbgate init, Marketplace uses:, npm weekly downloads, GitHub clones), not from whether the repo has twenty stars or twenty thousand. No pitch deck is required. We do not farm GitHub profile badges (no YOLO-merge of protected main, no 5-minute Issue close theater, no fake Co-authored-by). Galaxy Brain needs real accepted answers in Discussions Q&A. npm run github:achievements -- --fixture tests/fixtures/github-achievements.json --json inventories what is already earned vs what we refuse to farm.

Who it's for

ThumbGate is for operators whose AI coding agents can leak a secret or destroy a checkout before a human sees the tool call (Claude Code, Cursor, Codex, Gemini CLI, MCP). Discovery should reach those operators — not a star campaign.

ThumbGate is not a GitHub star package, not fake engagement, and not a substitute for npm installs or merged PRs. Real engagement is npx thumbgate init and a PreToolUse hook that actually fires.

Tech memes (shareable)

Lightweight visuals for how agents fail without a pre-action gate:

Meme Meaning
Unchecked tool calls ship destructive commands.
A prompt is advice; a PreToolUse hook is enforcement.

It hard-blocks detected secret leaks and two direct self-disable command classes by default — commands that terminate the ThumbGate gate process or enable its bypass environment override. It also denies catastrophic commands by default: force-push, git reset --hard, git clean -f, rm -rf on home or root, and DROP TABLE. Other high-risk classes (fetch-and-run, direct guardrail edits, other matching rules) warn and log by default. Set THUMBGATE_STRICT_ENFORCEMENT=1 for strict enforcement (warnings become hard denies).

Verdict Default behavior
⛔ Hard-block Detected secret leaks; process-kill/environment-override self-disable
👎 Warn + log fetch-and-run, direct guardrail edits, other matching rules — warn by default (force-push, git reset --hard, git clean -f, rm -rf on home or root and DROP TABLE are denied by default)
👍 Allow Everything else

Accepted feedback is stored as local lessons. Repeated concrete failures can become prevention rules that promote from warnings to blocking gates. The firewall improves from operations without retraining the model. Prompt evaluation (npx thumbgate eval) turns accepted feedback into reusable eval cases and local proof reports.

Honest disclaimer: ThumbGate does not update model weights. It intercepts tool calls at runtime. Local-first — no cloud required for the enforcement path.

Works with Claude Code, Cursor, Codex, Gemini CLI, Amp, Cline, OpenCode, and other MCP agents.

  Agent tries:   rm -rf tests/
  ThumbGate:     👎 WARN + LOG — "Never delete test directories"
                 Pattern matched: rm.*-rf.*tests
                 Source: your thumbs-down from last Tuesday
                 Strict mode: ⛔ DENY before tool execution
Agentic development cycle fit

Agentic development is becoming a loop: Guide → Generate → Verify → Solve. ThumbGate is the pre-action gate / pre-action boundary between generated intent and executed action.


Quick Start

Want a phased walkthrough with a verify step at every stage? Follow the Progressive Setup Guide.

Progressive wiring — prove the pipe before you turn matching on. Empty dashboard is success.

npx thumbgate init          # Phase 1: hooks only
npx thumbgate doctor        # verify: exits 0 only when PreToolUse hook is wired (hidden metric = hook install, not gate count)
npx thumbgate dashboard --open  # Phase 2: open local HTML; empty stats are OK
npx thumbgate capture --feedback=down --context="Never run DROP on production tables" --what-went-wrong="agent proposed DROP" --what-to-change="require review for DROP"

Later DROP attempts in the same scope surface the check:

⚠️ Check fired: "Never run DROP on production tables"
   Pattern: DROP.*production
   Verdict: 👎 WARN + LOG   (⛔ BLOCK when THUMBGATE_STRICT_ENFORCEMENT=1)

Numbered configs: config/progressive/. Guide: progressive wiring.

MCP / Glama / registry install (stdio)

Directories and clients that install ThumbGate as an MCP server must start stdio MCP, not the HTTP API:

npx -y thumbgate serve
  • Equivalent: npx -y thumbgate mcp
  • Do not use npm start for MCP — that launches the hosted HTTP API (src/api/server.js), not the agent-facing stdio server.

▶ 90-second demo · GIF walkthrough


Install for your agent

Agent Command Enforcement
Claude Code npx thumbgate init --agent claude-code 🛡️ Hard — PreToolUse
Codex npx thumbgate init --agent codex 🛡️ Hard — pre_tool_use
Gemini CLI npx thumbgate init --agent gemini 🛡️ Hard — PreToolUse
ForgeCode npx thumbgate init --agent forge 🛡️ Hard — pre_tool_use
Cursor npx thumbgate init --agent cursor 💬 Advisory — MCP gate_check
Cline npx thumbgate init --agent cline 💬 Advisory — MCP + .clinerules
OpenCode npx thumbgate init --agent opencode 💬 Advisory — MCP gate_check
Any MCP agent npx thumbgate serve 💬 Advisory — MCP gate_check
Amp npx thumbgate init --agent amp 📝 Feedback capture
GitHub Actions uses: IgorGanapolsky/ThumbGate@v1 🩺 Marketplace Action — doctor / AI inventory in CI

Per-agent guides: Claude/Codex bridge · Codex profile · Cursor · MCP setup

Install scope: machine-wide vs per-project
Scope Command Settings Lessons Best for
Machine-wide (default) npx thumbgate init ~/.claude/settings.json ~/.claude/memory/feedback/ Solo operators — same machine-local feedback store across repos
Per-project npx thumbgate init --project <repo>/.claude/settings.json <repo>/.claude/memory/feedback/ Client / compliance — separate dashboard / isolated lessons per repo

Both scopes write mcpServers.thumbgate plus PreToolUse / UserPromptSubmit / PostToolUse / SessionStart hooks. Machine-wide is the right default for most developers. Cross-repo blocking is not automatic: a lesson learned in one project only applies elsewhere when you share the store (machine-wide) or export/import lessons.

MCP tools (surface): gate_check (read/evaluate proposed tool call), feedback capture + session tools (write), dashboard/stats (read). Destructive agent actions stay blocked/warned by PreToolUse — ThumbGate does not execute user shell commands for you.


Discoverable slash-commands — the guardrail layer for spec-driven agents

Spec-driven agent frameworks like GSD (get-shit-done) and GitHub Spec Kit plan and generate work. ThumbGate is the guardrail layer for spec-driven agents: it sits after the plan, on the boundary between a generated tool call and its execution — alongside GSD / Spec-Kit, not instead of them.

npx thumbgate init installs these into your agent palette:

Command What it does
/thumbgate-dashboard Open local project dashboard
/thumbgate-guard Turn last mistake into a hard prevention rule
/thumbgate-rules List active rules & lessons
/thumbgate-blocked Gate stats + enforcement matrix
/thumbgate-protect Branch governance + scoped approval
/thumbgate-doctor Health-check hooks, MCP, readiness

Pricing & buyer paths

Free tier: 2 feedback captures/day (10 total) and up to 3 active auto-promoted prevention rules. Pro ($19/mo or $149/yr) is the individual tier for unlimited rules, history-aware lessons, linked feedback session flow, personal dashboard, and DPO export. Enterprise is custom and scoped after intake; hosted team lesson sync and a hosted org dashboard are not general availability.

Free Pro ($19/mo or $149/yr) Enterprise
Local CLI + PreToolUse ✅ ✅ Scoped after intake
Feedback captures 2 feedback captures/day (10 total) Unlimited Scoped after intake
Active auto-promoted rules up to 3 active auto-promoted prevention rules Unlimited Scoped after intake
Personal dashboard + DPO export — ✅ Reviewed during intake
Hosted team lesson sync — — Not general availability
Hosted org dashboard — — Not general availability

Enterprise intake path: the Setup Sprint scopes one repeated failure before any broader rollout commitment. Start intake →

Local technical path: install the CLI and use init plus the documented setup so Pre-Action Checks evaluate tool calls where the agent actually runs.

First-dollar activation path: open the ThumbGate GPT, paste the risky action, capture typed feedback (thumbs down: / thumbs up:). Native ChatGPT rating buttons are not the ThumbGate capture path. Ask: what repeated AI mistake would be worth catching before the tool executes?

Paid path for individual operators: ThumbGate Pro is the self-serve side lane for a personal dashboard and export-ready evidence.

Start free · Pro $19/mo · Live Dashboard · Team Sprint intake · Setup Sprint · First Dollar Playbook

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm thumbgate

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Frame 2085668439 (1)
Group 1261154229