# MAL-2026-10203: Malicious code in giantswarm (npm)


- **Type:** Malicious package
- **Package:** `giantswarm` (npm)
- **Published:** 12 Jul 2026

## What is MAL-2026-10203?

MAL-2026-10203 is a malicious package in giantswarm, published on 12 Jul 2026. 

### Official description

The package declares a `preinstall` hook (`node index.js`) that runs automatically on `npm install`. index.js collects host reconnaissance — hostname, platform, arch, home directory, username/uid/gid/shell, `whoami`, `id`, and cwd — and POSTs the collected data as JSON to a hardcoded Burp Collaborator subdomain at https://w305i20ui5s5476lc3b998z28tek2bq0.oastify.com/detox56. The package ships with empty description, author, and license fields and no functional code beyond the beacon. The unscoped name `giantswarm` impersonates the Giant Swarm vendor namespace, consistent with a dependency-confusion attack targeting private `@giantswarm/*` scopes.

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

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

## Sources

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

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