# GHSA-VMR9-5W3X-4V98: Malicious code in @shared-web/assets (npm)

- Database: GitHub
- Malicious package: yes
- Published: 2026-09-18
- Modified: 2026-09-18

## Affected versions

- @shared-web/assets (npm): 9.9.10

## Description

## Source: amazon-inspector (e8fd9342e97dc9f655a994fe1091125f717cbfa7b89aa6a2333662ad23ad6771)
The package runs an install lifecycle script (`node index.js`) and also executes `./lib/core.js` on require. That code collects `os.userInfo().username`, `os.hostname()`, and `process.cwd()` and issues a DNS `resolve4` for a label chain of the form `<pkg>.<user>.<host>.<cwd>.<ts>.oob.algamil7x.xyz`, exfiltrating installer identity and working-directory information over DNS to an attacker-controlled domain. The destination host and the `os`/`dns`/`process` module names are obfuscated in `lib/c5df9a.js` and `lib/b4ce8f.js` using char-code byte arrays (`String.fromCharCode`) and loaded via `module.constructor._load` instead of plain `require`, concealing both the APIs and the C2 destination. The obfuscation and DNS-label-encoded channel are inconsistent with the package's presentation as a shared web assets helper.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/3f18b05ad8d8f2ae5dbf359a6c5fd7297d9d5529/osv/malicious/npm/@shared-web/assets/MAL-2026-16283.json))

## References

- https://github.com/ossf/malicious-packages/blob/3f18b05ad8d8f2ae5dbf359a6c5fd7297d9d5529/osv/malicious/npm/@shared-web/assets/MAL-2026-16283.json
- https://www.npmjs.com/package/@shared-web/assets/v/9.9.10
- https://github.com/advisories/GHSA-vmr9-5w3x-4v98

Page: https://cve.now/GHSA-VMR9-5W3X-4V98

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
