# MAL-2026-17431: Malicious code in apl-rive-renderer (npm)


- **Type:** Malicious package
- **Package:** `apl-rive-renderer` (npm)
- **Published:** 30 Sep 2026

## What is MAL-2026-17431?

MAL-2026-17431 is a malicious package in apl-rive-renderer, published on 30 Sep 2026. 

### Official description

apl-rive-renderer is a dependency-confusion package: it takes a name that looks like an internal project, uses an inflated version (100.0.0) so it outranks private-registry versions, and runs `node setup.js || true` as a preinstall script on npm install. setup.js sends the hostname, username, working directory, OS, architecture, Node.js version and configured npm registry, with a per-package tracking token, in an HTTPS POST to `https://s85r5k14qk.execute-api.us-east-1.amazonaws.com/prod/hook`. The npm account amel10 published apl-rive-renderer and 9 similar packages within two minutes on 2026-09-30, all with the same setup.js.

apl-rive-renderer@100.0.0 declares a preinstall lifecycle script (setup.js) that fires automatically on npm install. The script collects installer host identifiers — os.hostname(), os.userInfo().username, process.cwd(), process.platform, process.arch, node version, and the configured npm registry — and POSTs them together with a static token to a hardcoded AWS API Gateway endpoint at https://s85r5k14qk.execute-api.us-east-1.amazonaws.com/prod/hook. The package presents itself as a trivial helper and has no documented functionality that would require phoning home with host reconnaissance. The name and version (100.0.0) are consistent with a dependency-confusion lure targeting an internal package name, and the beacon lets the operator identify which installer hosts (corporate build machines, developer workstations, CI runners) have resolved the public package instead of the intended internal one.

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

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-17431 is a malicious package: apl-rive-renderer (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-17431/ (Markdown: https://insights.sbomify.com/MAL-2026-17431/index.md)
```

## Sources

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

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