# MAL-2026-5297: Malicious code in consumerweb-authflow (npm)


- **Type:** Malicious package
- **Package:** `consumerweb-authflow` (npm)
- **Published:** 7 Jun 2026

## What is MAL-2026-5297?

MAL-2026-5297 is a malicious package in consumerweb-authflow, published on 7 Jun 2026. 

### Official description

On `npm install`, the package's postinstall.js collects host identifiers via `os.hostname()`, `os.userInfo().username`, `os.platform()`, and the current working directory, then POSTs them over HTTPS to `kd1tbfhej84bcqde44rq77o79yfp3gr5.oastify.com` (a Burp Collaborator out-of-band callback subdomain). The package's own metadata self-identifies as a dependency-confusion proof-of-concept (`description: "Dependency confusion PoC - H1-lingtys"`, payload tag `src: 'paypal-dep-confusion-poc'`), and the package name is chosen to collide with an internal/private package name so that misconfigured resolvers pull this public version instead. Regardless of bug-bounty intent, every installer's machine identity is leaked to an external attacker-controlled OAST endpoint without consent, automatically, on a default install.

The OpenSSF Package Analysis project identified 'consumerweb-authflow' @ 4.1.1 (npm) as malicious.

It is considered malicious because:

- The package communicates with a domain associated with malicious activity.

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

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-5297 is a malicious package: consumerweb-authflow (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-5297/ (Markdown: https://insights.sbomify.com/MAL-2026-5297/index.md)
```

## Sources

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

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