# MAL-2026-5381: Malicious code in @doaction/systeminformation (npm)


- **Type:** Malicious package
- **Package:** `@doaction/systeminformation` (npm)
- **Published:** 9 Jun 2026
- **Also known as:** GHSA-xj3m-q8rc-3f5j

## What is MAL-2026-5381?

MAL-2026-5381 is a malicious package in @doaction/systeminformation, published on 9 Jun 2026. 

### Official description

Package `@doaction/systeminformation` published at version 99.99.99 has a name closely matching the widely-used `systeminformation` npm package and a version number consistent with a dependency-confusion bait shape. Its `preinstall` and `postinstall` scripts both `require('@doaction/shared/bin/preinstall.js')`, delegating install-time behavior to a sibling package whose contents are not shipped in this tarball. The library's documented API (`reportSystemEnv` in `src/index.js`) collects host identifiers (`hostname`, `os.*`) and an `envData` object and routes them through `sendToDatadog(...)` from `@doaction/shared` with a hardcoded service tag `doaction-systeminformation`; callers cannot redirect to their own backend without bypassing this path. The destination is Datadog (a legitimate observability vendor) rather than anonymous attacker infrastructure, and the @doaction scope suggests an internal/organizational package rather than a public-attack lure ("for internal testing" per README). The actual install-time payload bytes live in `@doaction/shared` and were not inspected here. Routing to human review to confirm whether @doaction is a legitimate organizational scope, whether `@doaction/shared` contains harmful install-time behavior, and whether the name collision with `systeminformation` is intentional squatting or an internal-namespace mistake.

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

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

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-5381 is a malicious package: @doaction/systeminformation (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-5381/ (Markdown: https://insights.sbomify.com/MAL-2026-5381/index.md)
```

## Sources

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

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