# MAL-2026-16387: Malicious code in @mr-supun-fernando/supunmd-bail (npm)


- **Type:** Malicious package
- **Package:** `@mr-supun-fernando/supunmd-bail` (npm)
- **Published:** 22 Sep 2026

## What is MAL-2026-16387?

MAL-2026-16387 is a malicious package in @mr-supun-fernando/supunmd-bail, published on 22 Sep 2026. 

### Official description

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.

## What should I do about MAL-2026-16387?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

## Fix prompt for AI coding agents

```text
MAL-2026-16387 is a malicious package: @mr-supun-fernando/supunmd-bail (npm). Every version was published to cause harm.

Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.

Reference: https://insights.sbomify.com/MAL-2026-16387/ (Markdown: https://insights.sbomify.com/MAL-2026-16387/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/MAL-2026-16387

---
From sbomify Insights: https://insights.sbomify.com/MAL-2026-16387/
Summaries are generated and may contain mistakes; the official description above is the record.
