vulnerability-pre-action-diode
WHOOP / The New Stack vulnerability triage elimination pattern is FORMAT, not a ThumbGate clone. Intercepts untrusted installs, pipe-to-bash, and unpinned…
by IgorGanapolsky★ 34 GitHub stars
Install vulnerability-pre-action-diode in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
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
- critical violations (
pipe_to_bash,insecure_protocol_dependency,known_compromised_package) returnverdict: 'block' - unpinned installs return
verdict: 'review' - pinned installs return
verdict: 'allow' - triage hours saved computed accurately ($125/hr blended rate)
- test suite passes:
npm run test:vulnerability-diode
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the vulnerability-pre-action-diode skill do?
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-pre-action-diode.
How do I install the vulnerability-pre-action-diode skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the vulnerability-pre-action-diode skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…