# MAL-2026-6521: Malicious code in @carvana.authentication-flows/shared (npm)


- **Type:** Malicious package
- **Package:** `@carvana.authentication-flows/shared` (npm)
- **Published:** 26 Jun 2026

## What is MAL-2026-6521?

MAL-2026-6521 is a malicious package in @carvana.authentication-flows/shared, published on 26 Jun 2026. 

### Official description

package.json declares a preinstall hook (`node index.js`) that runs unconditionally on `npm install`. index.js imports child_process/os/https, collects host identifiers (os.hostname, os.userInfo, platform, arch, homedir, cwd) and shells out to `whoami`/`id`, then POSTs the collected JSON to a hardcoded Burp Collaborator subdomain at https://pleq9pugrugzr4zgyymazmnq0h68u4it.oastify.com/detox56. The package name also impersonates the Carvana org by using a `.` in the scope (`@carvana.authentication-flows/shared`), making `carvana.authentication-flows` a fake top-level npm scope rather than a Carvana-owned namespace. There is no legitimate functionality shipped; the package's sole effect on install is reconnaissance exfiltration to an attacker-controlled out-of-band server.

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

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-6521 is a malicious package: @carvana.authentication-flows/shared (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-6521/ (Markdown: https://insights.sbomify.com/MAL-2026-6521/index.md)
```

## Sources

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

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