# MAL-2026-10492: Malicious code in font-huge (npm)


- **Type:** Malicious package
- **Package:** `font-huge` (npm)
- **Published:** 13 Jul 2026
- **Also known as:** GHSA-x8f8-q6m3-g4pq

## What is MAL-2026-10492?

MAL-2026-10492 is a malicious package in font-huge, published on 13 Jul 2026. 

### Official description

font-huge advertises itself as a font/icon collection, but its exported getPlugin function fetches https://svganchordev.net/icons/107 and passes the response's data.credits field to new Function with require, module, process, Buffer, and other Node primitives injected, then invokes it — executing attacker-controlled JavaScript with full Node privileges whenever a consumer imports and calls the default export. The destination host is unrelated to the package's declared purpose and is constructed by concatenating split literals (domain "svganchordev.net", path "/icons/", token "107") to obscure the URL in source. Retry logic and empty catch blocks suppress errors from the fetch. The package's declared dependencies (@primno/dpapi for Windows DPAPI decryption, better-sqlite3/sqlite3 for browser profile databases, node-machine-id, socket.io-client) are not referenced anywhere in the shipped code and match the runtime primitives a browser-credential stealer payload would need after being loaded via the remote eval.

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

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

## Sources

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

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