Improper Neutralization of Special Elements used in a Command ('Command Injection') in @floffah/buildGHSA-jcgr-9698-82jx
GHSA-jcgr-9698-82jx is a security vulnerability in @floffah/build. A fix is available for @floffah/build — see the affected versions and patch details below.
Real-World Exposure
How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.
@floffah/buildnpmDescription
Impact
If you are using the esbuild target or command you are at risk of code/option injection. Attackers can use the command line option to maliciously change your settings in order to damage your project.
Patches
The problem has been patched in v1.0.0 as it uses a proper method to pass configs to esbuild/estrella.
Workarounds
There is no work around. You should update asap.
Notes
This notice is mainly just to make sure people update to the latest version. This isn't that bad, but should encourage you to update.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | @floffah/build | all versions | 1.0.0npm install @floffah/build@1.0.0 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for @floffah/build, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update @floffah/build to 1.0.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-jcgr-9698-82jx is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is GHSA-jcgr-9698-82jx in your dependencies?
Find it across npm, including transitive dependencies.