GHSA-93qj-59x5-pqcv
Malicious code in @immobiliarelabs/backstage-plugin-gitlab (npm)
Impact
## Source: amazon-inspector (00eb86df154a9532085ad285ee63cd4c4f9a95a6fe983b9930cd059dfb4cb3f5) The package ships a binding.gyp at the package root whose targets/sources fields contain GYP command-expansion syntax (<!(...)) at line 6. npm implicitly invokes node-gyp rebuild whenever a binding.gyp is present, even without any declared install/postinstall script, and node-gyp/GYP evaluates <!(...) as a shell command during the configure step. This causes the embedded command to execute on every `npm install` of this package as a transitive or direct dependency. The package presents itself as a Backstage GitLab plugin (a pure TypeScript/React frontend plugin), a category that has no legitimate need to build a native addon — and consistent with that, no C/C++ source files are shipped alongside binding.gyp, so the file's only effect is to run the embedded shell command at install time. The traced content of this install-time code path was withheld by the upstream model's malware-output safety filter, which is itself a corroborating signal that the executed content reads as operational malware rather than benign build logic. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/823808e4dd68afa4b1731645884e16bb6402a7ac/osv/malicious/npm/@immobiliarelabs/backstage-plugin-gitlab/MAL-2026-6526.json))
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | @immobiliarelabs/backstage-plugin-gitlab | = 5.2.1 | none recorded |
| npm | @immobiliarelabs/backstage-plugin-gitlab | = 6.13.1 | none recorded |
| npm | @immobiliarelabs/backstage-plugin-gitlab | = 3.0.3 | none recorded |
| npm | @immobiliarelabs/backstage-plugin-gitlab | = 7.0.2 | none recorded |
| npm | @immobiliarelabs/backstage-plugin-gitlab | = 2.1.2 | none recorded |
| npm | @immobiliarelabs/backstage-plugin-gitlab | = 4.0.2 | none recorded |
| npm | @immobiliarelabs/backstage-plugin-gitlab | = 1.0.1 | none recorded |
Weakness classification
References
- GitHub advisory
- https://github.com/advisories/GHSA-93qj-59x5-pqcv
- https://github.com/ossf/malicious-packages/blob/823808e4dd68afa4b1731645884e16bb6402a7ac/osv/malicious/npm/@immobiliarelabs/backstage-plugin-gitlab/MAL-2026-6526.json
- https://www.npmjs.com/package/@immobiliarelabs/backstage-plugin-gitlab/v/1.0.1
- https://www.npmjs.com/package/@immobiliarelabs/backstage-plugin-gitlab/v/2.1.2
- https://www.npmjs.com/package/@immobiliarelabs/backstage-plugin-gitlab/v/3.0.3
- https://www.npmjs.com/package/@immobiliarelabs/backstage-plugin-gitlab/v/4.0.2
- https://www.npmjs.com/package/@immobiliarelabs/backstage-plugin-gitlab/v/5.2.1
- https://www.npmjs.com/package/@immobiliarelabs/backstage-plugin-gitlab/v/6.13.1
- https://www.npmjs.com/package/@immobiliarelabs/backstage-plugin-gitlab/v/7.0.2