npm · Malicious package advisory
Malwareaxis-datagrid
GHSA-c6gq-r9w4-xg7j
Malicious code in axis-datagrid (npm)
Details
**Severity:** Critical **Affected versions:** `= 45.0.0` ## Source: amazon-inspector (0b8e97884917400dda89c79754629edd51961e893d64fa580de04bb82bd0cab3) package.json declares a dependency whose key equals the package's own name (`axis-datagrid`) and whose source is the bare HTTPS URL `https://repo.securityctrl.com/axis-datagrid` instead of a registry version range. On `npm install`, npm fetches whatever bytes that URL returns and installs them, running any lifecycle scripts they contain, with no version pin and no integrity check. The shipped index.js is an inert stub, so the manifest itself is the entire install-time payload: whoever controls repo.securityctrl.com controls code executed on the installer's machine. The self-referential dependency name (dependency-confusion shape) and an implausibly high version (45.0.0) for a package whose actual code is a placeholder are consistent with a package designed to win resolution against an internal name and pull code from an off-registry host. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/d75ebb673b0185a99abe46e9e4a60aaa467fa7d8/osv/malicious/npm/axis-datagrid/MAL-2026-15528.json)) **References:** - https://github.com/ossf/malicious-packages/blob/d75ebb673b0185a99abe46e9e4a60aaa467fa7d8/osv/malicious/npm/axis-datagrid/MAL-2026-15528.json - https://www.npmjs.com/package/axis-datagrid/v/45.0.0 - https://github.com/advisories/GHSA-c6gq-r9w4-xg7j
Compromised versions (1)
- = 45.0.0
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.