Scan your whole stack
From OX Research Newsroom
Are you using entry-filename-preflight?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.1.0
entry-filename-preflight was last scanned on 27 Nov 2026 at version 0.1.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.1.0 LATEST | 27 Nov 2026 | No rules fired |
| 0.0.0-stage | 27 Nov 2026 | Not shown |
Findings for v0.1.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.1.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Catch two entry points trying to write the same bundle filename before you run a build. Give the command a JSON configuration and it reports the shared filename and the entry points involved.
The command checks named entries with string sources and a relative
output.filename. It checks literal filenames and patterns that use
[name] to insert the entry name.
From the directory containing this package's package.json, install it locally
and try this example.
npm pack --offline
npm install --offline --ignore-scripts --no-audit --no-fund --prefix ./demo ./entry-filename-preflight-0.1.0.tgz
./demo/node_modules/.bin/entry-filename-preflight <<'JSON'
{"entry":{"portal":"./portal.js","reports":"./reports.js"},"output":{"filename":"screen.js"}}
JSON
Expected output and exit status 1.
{"collisions":[{"filename":"screen.js","entries":["portal","reports"]}]}
The example does not require the two source files to exist.
Give each named entry its own filename. Expect {"collisions":[]} and status 0.
./demo/node_modules/.bin/entry-filename-preflight <<'JSON'
{"entry":{"portal":"./portal.js","reports":"./reports.js"},"output":{"filename":"pages/[name].js"}}
JSON
For an existing static JSON configuration, run:
./demo/node_modules/.bin/entry-filename-preflight < config.json
The CLI reads one JSON object from standard input. Optional --portable checks ASCII case-insensitive collisions and rejects Windows reserved device names or trailing-dot path segments. Default behavior remains exact and case-sensitive.
Stdout contains one JSON object with a collisions array. Each collision has
a filename string and an entries array of entry names.
| Exit status | Meaning |
|---|---|
| 0 | No exact filename collisions in the supported check |
| 1 | At least two entries request the same filename |
| 2 | Input or usage error reported on stderr |
Node.js 22 or later. npm is needed for the installation commands. The command has no runtime package dependencies and can run offline.
The command parses JSON data without importing configuration modules, reading
entry source files, running plugins or starting a build. The input limit is
64 KiB of UTF-8 JSON with 1–256 named entries. Names may use ASCII letters,
digits, underscores and hyphens. The filename pattern may use up to 256
characters, with slash-separated segments made from the same characters
plus dots and [name]. Dot and parent-directory segments are rejected.
By default this check uses exact, case-sensitive string comparison. For cross-platform builds, run entry-filename-preflight --portable < config.json. The first requested filename represents each collision group. The optional check is deliberately conservative; it does not emulate all filesystem alias rules or guarantee a portable build. It ignores other settings and cannot predict plugin or chunk output. Entry descriptors and hash placeholders are unsupported. Keep
your existing Webpack configuration validation and build checks.
[name] in the filename and rerun the check.Install the included .tgz archive using npm install --offline --ignore-scripts ./entry-filename-preflight-0.1.0.tgz from a fresh local project (Node.js 22+). Use the included archive and npx --no-install to avoid downloading a different version.
npx --no-install entry-filename-preflight --portable < config.json
Use synthetic or redacted inputs in bug reports. Optional support: https://buymeacoffee.com/eztoolgo (no entitlement or subscription).
Browser review uses the same core in portable mode; CLI supports exact and portable modes. No upload or account.
Use the versioned download ZIP attached to the corresponding release. Extract the complete archive and open index.html for the local interface and setup steps. No account or subscription is required.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.