Check Wiz IOC Dependencies
Overview
Use this skill to compare local Node dependency state against the latest Wiz keyv-packages.csv IOC data. Always fetch the current CSV from Wiz unless the user explicitly provides a local CSV for offline or historical verification.
Default IOC source:
https://github.com/wiz-sec-public/wiz-research-iocs/blob/main/reports/keyv-packages.csv
The bundled script converts that GitHub page URL to the raw CSV URL before scanning.
Workflow
- Run the bundled scanner from the repository root. By default it downloads the latest Wiz IOC CSV:
node /path/to/check-wiz-ioc-dependencies/scripts/check_wiz_ioc_dependencies.cjs --root .
- If downloading fails because of network sandboxing, rerun the same command with escalation.
- Use
--csv /path/to/keyv-packages.csvonly when the user explicitly asks for a local, pinned, or offline CSV check. - Report matches first. Include package name, malicious version, source type, and path.
- If there are no matches, say that no malicious package/version pairs were found in the scanned installed packages or lockfiles. Mention that the scan fetched the latest Wiz CSV and used current
node_modulesand lockfiles without reinstalling.
Scope
The scanner checks:
- non-
node_modulesdirectories containingpackage.json; - all reachable
node_modulesinstall trees; npm-shrinkwrap.jsonandpackage-lock.jsonoutsidenode_modules;- lockfile v2/v3
packagesand olddependenciesstructures; - direct dependency declarations whose package names appear in the IOC CSV.
It does not run package managers or mutate the repository.
Interpretation
installedMatchesmeans a malicious package/version exists in local installed dependencies.lockMatchesmeans a malicious package/version exists in shrinkwrap/package-lock and may install reproducibly.declarationHitsmeans a direct dependency name is in the IOC list, but the declared spec must be resolved before deciding whether the version is malicious.- No matches does not prove remote registries are safe; it only covers the scanned local state and lockfiles.