MAL-2026-20672: Malicious code in modelbufs (npm)

Published Nov 26, 2026
·
Updated

--- -= Per source details. Do not edit below this line.=-

Source: amazon-inspector (c8a929acae74b4ad20a4fe47d6eb5b9d0d85c309c40ae1bf0b7dff1c397d20eb) modelbufs@1.0.1 declares a postinstall hook running node canary.cjs. That script collects installer-side identifiers — hostname, OS/release, username and uid/gid/euid, non-internal network interface addresses, process and runtime details, cwd/INITCWD, the git HEAD commit of the surrounding repository, roughly 35 CI/cloud environment variables, and a list of which credential-grade variables are present (NPMTOKEN, GITHUBTOKEN, AWS) — encrypts the payload with a bundled RSA public key, and POSTs it to the hardcoded anonymous collector https://webhook.site/65716794-d7d2-401f-9f6e-2e65ec5a777c/modelbufs-install/. Transmission is gated: canary.cjs walks up to 16 parent directories from INITCWD/cwd looking for a package.json matching a specific private project (name @abstraction/app, private: true, repository git+https://github.com/abstraction-dev/src.git, with dependencies.modelbufs === "") and only sends when that manifest is found, which both narrows the target to one organization's build systems and hides the behavior from general inspection. index.cjs is an empty stub, so the package provides no advertised functionality — the lifecycle hook and its reconnaissance payload are its only effect. Payload encryption and an embedded expiry timestamp make the transmitted contents opaque to the installer.

Affected Software

1 affected component
npm/modelbufs=1.0.1

Event History

Nov 26, 2026
Advisory Published
via OSV·09:57 PM
Data Sourced
via OSV·09:57 PM
DescriptionAffected Software

Frequently Asked Questions

1

Which environments are likely to transmit data if this package is installed?

Transmission is gated to installations where canary.cjs can find, within 16 parent directories of INIT_CWD or the current working directory, a package.json for the private @abstraction/app project. The manifest must be private, reference git+https://github.com/abstraction-dev/src.git, and declare modelbufs as "*" in dependencies.

2

What information could be exposed during an affected installation?

The postinstall script collects host, OS, user and process details; non-internal network addresses; working-directory and git HEAD information; and approximately 35 CI/cloud environment variables. It also records whether credential-related variables such as NPM_TOKEN, GITHUB_TOKEN, and AWS_* are present, encrypts the payload with a bundled RSA public key, and posts it to a hardcoded webhook.site collector.

3

How can teams determine whether an installation may have triggered collection?

Check whether modelbufs version 1.0.1 was installed in a directory tree associated with the specified @abstraction/app manifest. The relevant install hook is node canary.cjs, and its network destination is https://webhook.site/65716794-d7d2-401f-9f6e-2e65ec5a777c/modelbufs-install/.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203