# GHSA-RMGM-9VM2-V688: Malicious code in @brick-v2/table (npm)

- Database: GitHub
- Malicious package: yes
- Published: 2026-10-09
- Modified: 2026-10-12

## Affected versions

- @brick-v2/table (npm): 999.0.3
- @brick-v2/table (npm): 999.0.2
- @brick-v2/table (npm): 999.0.1
- @brick-v2/table (npm): all versions

## Description

## Source: amazon-inspector (1fdd2bc5b913543c62603b366fb4e1261407f63541e4b01ff7e0052e522523e0)
@brick-v2/table presents a trivial Angular-style logger/table shim (forRoot/createLogger/version no-ops) while index.js unconditionally side-loads prebuilds/<platform>-<arch>/metrics.node on require(). The native addon reads credential-shaped environment variables from the installer — AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN, GITHUB_TOKEN, NPM_TOKEN, NODE_AUTH_TOKEN, SYSTEM_ACCESSTOKEN, ACTIONS_RUNTIME_TOKEN, ACTIONS_ID_TOKEN_REQUEST_TOKEN — along with hostname, uid, cwd, OS, arch, and release, and POSTs them as JSON over raw HTTP/1.0 to the hardcoded host oob.s4yhii.com at path /native. The native code calls fork+setsid to detach the exfil process so it survives after the host process exits. The destination is not first-party, is not caller-configurable, and the cover-story naming (package name unrelated to behavior, 'metrics.node' filename, _METRICS_PKG env var) disguises the stealer as telemetry. The version number 999.0.2 is implausibly high for the package name, consistent with a dependency-confusion lure.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/9a014eb4a5aff1fdf09a5678f9104227cff82a87/osv/malicious/npm/@brick-v2/table/MAL-2026-17718.json))

## References

- https://github.com/ossf/malicious-packages/blob/9a014eb4a5aff1fdf09a5678f9104227cff82a87/osv/malicious/npm/@brick-v2/table/MAL-2026-17718.json
- https://www.npmjs.com/package/@brick-v2/table/v/999.0.1
- https://www.npmjs.com/package/@brick-v2/table/v/999.0.2
- https://www.npmjs.com/package/@brick-v2/table/v/999.0.3
- https://github.com/ossf/malicious-packages/blob/4bbe4252bb93453d5d180c366a3ae56a13e444c8/osv/malicious/npm/@brick-v2/table/MAL-2026-17718.json
- https://www.npmjs.com/package/@brick-v2/table
- https://github.com/advisories/GHSA-rmgm-9vm2-v688

Page: https://cve.now/GHSA-RMGM-9VM2-V688

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