agentleFS
aleen42aleen42/PersonalContext/skills/check-wiz-ioc-dependencies/SKILL.md

check-wiz-ioc-dependencies

Skill3 starsChanged 8 months agoMITView on GitHub

Use when checking a Node.js repository, monorepo, npm workspace, package.json directory, node_modules tree, npm-shrinkwrap.json, or package-lock.json against the latest Wiz keyv-packages IOC CSV for malicious dependency versions.

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 3 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use this skill to compare local Node dependency state against the latest Wiz keyv-packages.csv IOC data.

    line 10
  2. Distinctive:

    Run the bundled scanner from the repository root.

    line 22
  3. Distinctive:

    If downloading fails because of network sandboxing, rerun the same command with escalation.

    line 28
  4. Very specific:

    Use --csv /path/to/keyv-packages.csv only when the user explicitly asks for a local, pinned, or offline CSV check.

    line 29
  5. Very specific:

    If there are no matches, say that no malicious package/version pairs were found in the scanned installed packages or lockfiles.

    line 31
  6. Very specific:

    all reachable node_modules install trees.

    line 38
  7. Distinctive:

    No matches does not prove remote registries are safe.

    line 50

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

  1. 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 .
  1. If downloading fails because of network sandboxing, rerun the same command with escalation.
  2. Use --csv /path/to/keyv-packages.csv only when the user explicitly asks for a local, pinned, or offline CSV check.
  3. Report matches first. Include package name, malicious version, source type, and path.
  4. 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_modules and lockfiles without reinstalling.

Scope

The scanner checks:

  • non-node_modules directories containing package.json;
  • all reachable node_modules install trees;
  • npm-shrinkwrap.json and package-lock.json outside node_modules;
  • lockfile v2/v3 packages and old dependencies structures;
  • direct dependency declarations whose package names appear in the IOC CSV.

It does not run package managers or mutate the repository.

Interpretation

  • installedMatches means a malicious package/version exists in local installed dependencies.
  • lockMatches means a malicious package/version exists in shrinkwrap/package-lock and may install reproducibly.
  • declarationHits means 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.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.