Interactive Policy Lab
Everything below runs 100% locally in your browser with zero outbound network requests. The Hook Simulator executes site/hook-eval.js compiled directly from Coldpin's real src/hook-core.ts engine (100% parity with lib/hook.mjs), and the Verdict Explorer feeds live SEP-1865 JSON-RPC messages into Coldpin's real ui://coldpin/evidence-card.html MCP App.
On this page
PreToolUse Hook Simulator (Exact lib/hook.mjs Engine)
Choose an intercepted tool and type any command, file path, subagent delegation payload, or raw JSON stdin. Coldpin's pure ES2020 hook engine always exits 0 and returns strictly allow, force_ask, or deny — never auto-approval.
Blocked npx without --ignore-scripts; inspect with Coldpin (inspect_package_artifact) first.
Hook stdin payload (JSON)
{
"toolCall": {
"name": "run_command",
"args": {
"CommandLine": "npx --yes evil-formatter"
}
}
}
Exact lib/hook.mjs stdout (exit 0)
{
"decision": "deny",
"reason": "Blocked npx without --ignore-scripts; inspect with Coldpin (inspect_package_artifact) first."
}
4-State Verdict Explorer & Live SEP-1865 MCP App
Switch between Coldpin's 4 deterministic TrustVerdict states (plus audit_manifest_batch and resolve_safe_anchor responses) to inspect both the accessible text card and the live sandboxed ui://coldpin/evidence-card.html MCP App frame (synchronized live with your Light/Dark theme and get_artifact_report paging).
semver@7.7.1
VERIFIED_CLEAN_WITHIN_SCOPE (exit 0)- Archive & Integrity
- sha512-verified (in-memory stream, 14 files, 0 lifecycle hooks)
- Tarball-vs-Git Parity
- Tier 1 + Tier 2 verified (Git tag matches tarball files)
- Observed Findings
- 0 malicious indicators, 0 OSV/MAL-* advisories, 0 hidden Unicode or taint chains
- Explicit Unknowns
- Runtime behavior of floating transitive dependencies is outside static tarball scope.
npx --yes --ignore-scripts --package=semver@7.7.1 -- semver --help
ui://coldpin/evidence-card.html