Vulnerability pre action diode

From IgorGanapolsky/ThumbGate · View interactive version

Vulnerability pre action diode is an AI agent skill from the GitHub repository IgorGanapolsky/ThumbGate. WHOOP / The New Stack vulnerability triage elimination pattern is FORMAT, not a ThumbGate clone. Intercepts untrusted installs, pipe-to-bash, and unpinned supply-chain artifacts in PreToolUse (<5ms) instead of 3-day post-mortem triage. Calculates quantifiable enterprise ROI. Slash: /vulnerability-pr

How to use this skill

Skill file

Vulnerability Pre-Action Diode — compare, do not clone

Goal

Provide deterministic pre-action interdiction on agent dependency installations

and shell commands before execution occurs, eliminating the 96-hour post-facto

manual triage cycle reported in enterprise environments (WHOOP/TNS).

Constraints

| NEVER | ALWAYS |

| --- | --- |

| Clone Datadog Bits AI or workflow orchestrators | Enforce deterministic PreToolUse diodes in <5ms |

| Allow pipe-to-bash (curl \| bash) | Block remote script pipes immediately |

| Allow plaintext http:// package registries | Enforce HTTPS encrypted package endpoints |

| Allow untrusted package lifecycle scripts | Block --ignore-scripts false overrides |

| Claim fake MTTR savings | Cite the empirical 96-hour WHOOP/TNS benchmark |

CLI Procedures

# Evaluate a tool call
node scripts/vulnerability-pre-action-diode.js --check="npm install express" --json

# Run enterprise ROI calculation
node scripts/triage-savings-calculator.js --vulnerabilities=4 --interdictions=24 --tier=enterprise --json

# Run unit tests
npm run test:vulnerability-diode

Rubric

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.