@mr-supun-fernando/supunmd-bailnpm
Advisory published Updated
@mr-supun-fernando/supunmd-bail is a confirmed malicious npm package (MAL-2026-16387) that executes malicious code on install (malicious version 3.0.3). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in @mr-supun-fernando/supunmd-bail (npm)
What this malware does
package.json declares "libsignal": "github:tenka-san/libsignal-node" — an off-registry dependency source pointing at a personal-user GitHub repository with no commit SHA, no tag, and no integrity check. On npm install, npm clones the current tip of that repository and installs whatever it contains, running any lifecycle scripts (preinstall/install/postinstall/prepare) inside the fetched tree on the installer's machine. The dependency key libsignal shadows the well-known Signal protocol library, but the source is a personal user's fork rather than the upstream signalapp organization, so whoever controls the tenka-san/libsignal-node repository controls install-time code execution on every installer of this package. The source is mutable — content that resolves benign today can be replaced without any change to this package. A secondary observation: lib/Utils/generics.js line 403 references ping, but this is unrelated to the primary install-time execution concern.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
Malicious packageFind it
Search your lockfiles and build artifacts for @mr-supun-fernando/supunmd-bail (version 3.0.3).
If you installed it — respond
Remove @mr-supun-fernando/supunmd-bail from your project and lockfile, then assume any secrets accessible to the build or runtime were exposed: rotate API keys, tokens, and credentials, and audit for unexpected outbound activity or persistence.
Did it already run?
If @mr-supun-fernando/supunmd-bail was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.
Frequently asked questions
Campaign
References
Credits
- Amazon Inspector · finder
Detect & block this
O3 blocks @mr-supun-fernando/supunmd-bail-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.