Concrete
Rulesdependencies

concrete/dependencies/audit-severity

`npm audit` reports a high or critical advisory.

npm audit reports a high or critical advisory.

Graded by the dependencies stage of concrete check, in the tree venue. A violation reports this id and the file it failed at — see every rule and concrete check.

Reason

A template's dependencies are installed and run by the platform, in processes that render other people's listings — so an advisory in your tree is an advisory in theirs. Publishing is where that stops being your own machine's problem: the gate refuses high and critical advisories at check time, before a build carries them into an immutable artifact. Lower severities are reported by the audit and do not fail the run.

Fix

Take the fix the audit offers, or upgrade the package the advisory names. If neither is possible, the dependency itself is the decision to revisit — a template rarely needs one deep enough to carry an advisory.

On npm 12, the fix can stop with error EALLOWREMOTE ("Fetching packages of type "remote" have been disabled") and name a tarball URL. Its allow-remote setting defaults to none, and npm counts some lockfile entries as remote: Tailwind's @tailwindcss/oxide-wasm32-wasi, which every template on Tailwind 4 locks, is one. Allow it for that one command, then confirm the lockfile diff moves the advised package:

$ npm audit fix --allow-remote=all
$ git diff package-lock.json    # the advised package, plus the oxide package's bundled entries

Before and after

$ concrete check
✗ concrete/dependencies/audit-severity  package-lock.json
  npm audit found 1 high severity advisories.
$ npm audit fix
$ npm audit --json    # 0 high, 0 critical
$ concrete check

On this page