MAL-2026-17164
Malicious code in building-build (npm)
Details
--- _-= Per source details. Do not edit below this line.=-_
## Source: amazon-inspector (4618f06d0398ff90ef90003464e79f23609a160f4d1606f60cf797fb73fa6dcb) The package's sole content is index.js, which on load schedules a timer that fetches a hardcoded list of privileged same-origin paths (/admin, /dashboard, /flag, /api/flag, /secret, /admin/flag) and POSTs each response body to /addPost as JSON of the form {content: path + '::' + body}. When bundled into a web application, this abuses the ambient session of whichever authenticated user loads the bundle to read privileged routes and relay the contents to the site's posting endpoint. package.json has empty description, author, and keywords, no exports, and the name 'building-build' bears no relation to the shipped behavior — the package has no library surface and exists only to deliver this payload.
Are you affected?
Enter the version of the package you're using.
Affected packages
No fixed version published yet for building-build (npm). Pin to a known-safe version or switch to an alternative.