Documentation
¶
Overview ¶
Command scanpack builds the safe nuclei template pack that the signed `scan` image carries: the templates of the KEV sets (tags kev, vkev) that are plain http, tcp or ssl checks for exactly one CVE, copied byte for byte, and the index (modules/scan/pack) that core reads to choose them and the worker reads to check them. Run it with `make scan-pack`.
The source is pinned: the GitHub tag archive of projectdiscovery/nuclei-templates (MIT) at the version and SHA-256 of deploy/containers/pins.env; a download that does not hash to it is refused before anything is read from it. A template is left out, never repaired, when it has any of: no KEV tag, a tag of nucleiargv.ForbiddenTags or oast, a mention of interactsh, a top-level key other than id, info, variables, http, tcp, ssl (headless, code, javascript, file, dns, whois, websocket, flow, self-contained and everything a later nuclei adds), not exactly one CVE, an id nuclei would take for a flag, or no printable request line for the probe log. Next to that KEV set come the deep and disruptive sets that a full job (testing terms accepted) runs: see fullSet. Each index entry names its sets. Every set, KEV included, leaves out anything of the state-change, destination and third-party rule (nochange.go). The product never runs this: it ships the result. Network, for a maintainer only: github.com and codeload.github.com, 60 s limit.