Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

entry-filename-preflight

Latest version: v0.1.0

Overview

Last scanned
27 Nov 2026
Published
27 Nov 2026
npm package Publisher: chsuchsu96
0 Stars
0 Forks
2 Versions
JavaScript Repo language

Scan summary

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.

  • Releases: 2 versions, all published on 27 Nov 2026.
  • Findings: No rules fired in version 0.1.0.

Versions

2 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.1.0 LATEST 27 Nov 2026 No rules fired
0.0.0-stage 27 Nov 2026 Not shown

No rules fired in 0.1.0

Findings

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.

README

The publisher’s own README, as collected from the registry.

Entry Filename Preflight

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.

What it does

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.

Quick start

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.

Common examples

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

API

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

Requirements

Node.js 22 or later. npm is needed for the installation commands. The command has no runtime package dependencies and can run offline.

Security and limitations

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.

Troubleshooting

  • For a collision, use [name] in the filename and rerun the check.
  • For status 2, check the JSON syntax and the supported input shape. For JavaScript or TypeScript configurations, supply a static JSON projection from your trusted workflow.
  • If the build still reports a conflict, inspect generated chunks and plugin assets in the build output.

Installation and support

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).

Local browser review

Browser review uses the same core in portable mode; CLI supports exact and portable modes. No upload or account.

Download and run

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.

OX Radar and Response Center

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.

Where it’s listed

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).

  • npm entry-filename-preflight

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Frame 2085668439 (1)
Group 1261154229