# MAL-2026-12302: Malicious code in twork-data-services-sme-operations-authorizations (npm)


- **Type:** Malicious package
- **Package:** `twork-data-services-sme-operations-authorizations` (npm)
- **Published:** 5 Aug 2026
- **Also known as:** GHSA-c4f8-h585-2c73

## What is MAL-2026-12302?

MAL-2026-12302 is a malicious package in twork-data-services-sme-operations-authorizations, published on 5 Aug 2026. 

### Official description

On require of the package, index.js loads _compat.js which fetches a platform-specific binary from hostnames assembled by array-join to hide them from static scanners (oob-worker.cf102-baf.workers.dev, cf100-416.workers.dev, cf103-070.workers.dev, cf99-9b3.workers.dev), with a DNS TXT base64 chunked fallback via *.dl.well1.site resolvers. The fetched bytes are written to /var/tmp or %TEMP% under a disguised name (.cache_<hex> on Unix, dotnet_diag_<hex>.exe on Windows), chmodded to 0755, and spawned detached via /bin/sh -c "<path> &" or cmd.exe /c start. No hash or signature verification is performed on the downloaded binary. A parallel dropper implementation in lib/telemetry.js uses the same pattern (child_process required via string concatenation, chmodSync accessed via computed property name, base64-decoded payload buffer, detached shell spawn). The package declares no legitimate purpose that would justify fetching and executing an unsigned remote binary at import time.

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-12302?

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-12302 is a malicious package: twork-data-services-sme-operations-authorizations (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-12302/ (Markdown: https://insights.sbomify.com/MAL-2026-12302/index.md)
```

## Sources

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

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