threat-intellisted
Install: claude install-skill allsmog/kuzushi-security-plugin
# Threat intel research
Research the CVE threat landscape for the current repository and write
`.kuzushi/threat-intel.json`.
1. Run `node "${CLAUDE_PLUGIN_ROOT}/scripts/cmd/threat-intel-prepare.mjs" --target "<repo root>"`
and parse its `scope` + stage paths.
2. Research **critical/high** CVEs for the detected stack (version-checked against the
manifests) and CVE *classes* seen in **similar apps**, using WebSearch/WebFetch. Cross-
reference the threat model if present.
3. Write the three stage files (`intel-stack-cves.json`, `intel-similar-apps.json`,
`intel-invariants.json`) — the invariants carry source/sink/sanitizer signals + CWE so
`/invariant-test` can check them.
4. Run the `assembleCommand` to persist `.kuzushi/threat-intel.json`.
5. Report the counts and the top applicable CVEs + highest-value invariants. Then mention
that `/invariant-test` can now verify those invariants against the code.
## When NOT to use
- Offline / air-gapped sessions — this is the one stage that needs live web search.
- To check whether a CVE *actually affects this code* — that's `/invariant-test` (this stage
gathers and distills; it does not verify against the repo).
## Rationalizations to Reject
- *"This CVE is for our framework, so it applies."* → Version-check against the manifests; only
set `applies:true` when the in-tree version is in the vulnerable range.
- *"Critical CVE, so it's relevant."* → Relevance is about *this* stack and domain; a critical CVE
in an