MAL-2026-6529: Malicious code in @immobiliarelabs/backstage-plugin-ldap-auth-backend (npm)
The npm package @immobiliarelabs/backstage-plugin-ldap-auth-backend contains malicious code embedded in its binding.gyp file. This file uses GYP command-expansion syntax to execute shell commands during the node-gyp rebuild process, which runs automatically on npm install if binding.gyp is present. The package masquerades as a Backstage LDAP authentication plugin but includes an unnecessary native build step that triggers arbitrary command execution on the developer or build system machine. Multiple specific versions of this package are affected.
AI Analysis
Technical Summary
The @immobiliarelabs/backstage-plugin-ldap-auth-backend npm package includes a binding.gyp file at its root that contains GYP command-expansion syntax (`<!(...)`) in its sources/targets configuration. npm automatically invokes `node-gyp rebuild` when a binding.gyp file is detected, even without explicit install scripts. During this process, node-gyp executes the embedded shell command within the command-expansion syntax, resulting in arbitrary code execution on the machine performing the npm install. This behavior is equivalent to a malicious lifecycle hook. The package falsely presents as a Backstage LDAP auth backend plugin, which should not require native build steps or shell command execution, indicating malicious intent. The model provider's safety filter withheld further contextual tracing due to operational malware content, reinforcing the malicious nature of this package.
Potential Impact
Installing the affected versions of this package results in arbitrary shell command execution on the installing developer's or build system's machine. This can lead to compromise of the build environment, unauthorized code execution, data theft, or further malware installation. The malicious code executes silently during a standard npm install, making it a significant supply chain risk.
Mitigation Recommendations
No official patch or remediation is currently documented for this package. Users should avoid installing the affected versions (=1.1.3, =2.0.5, =3.0.2, =4.3.2, =5.2.1) of @immobiliarelabs/backstage-plugin-ldap-auth-backend. Consider removing this package from your dependencies and replacing it with a trusted alternative. Monitor for updates from the package maintainer or npm advisories for any official fixes or removals. Until then, do not run npm install on this package in any environment.
MAL-2026-6529: Malicious code in @immobiliarelabs/backstage-plugin-ldap-auth-backend (npm)
Description
The npm package @immobiliarelabs/backstage-plugin-ldap-auth-backend contains malicious code embedded in its binding.gyp file. This file uses GYP command-expansion syntax to execute shell commands during the node-gyp rebuild process, which runs automatically on npm install if binding.gyp is present. The package masquerades as a Backstage LDAP authentication plugin but includes an unnecessary native build step that triggers arbitrary command execution on the developer or build system machine. Multiple specific versions of this package are affected.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The @immobiliarelabs/backstage-plugin-ldap-auth-backend npm package includes a binding.gyp file at its root that contains GYP command-expansion syntax (`<!(...)`) in its sources/targets configuration. npm automatically invokes `node-gyp rebuild` when a binding.gyp file is detected, even without explicit install scripts. During this process, node-gyp executes the embedded shell command within the command-expansion syntax, resulting in arbitrary code execution on the machine performing the npm install. This behavior is equivalent to a malicious lifecycle hook. The package falsely presents as a Backstage LDAP auth backend plugin, which should not require native build steps or shell command execution, indicating malicious intent. The model provider's safety filter withheld further contextual tracing due to operational malware content, reinforcing the malicious nature of this package.
Potential Impact
Installing the affected versions of this package results in arbitrary shell command execution on the installing developer's or build system's machine. This can lead to compromise of the build environment, unauthorized code execution, data theft, or further malware installation. The malicious code executes silently during a standard npm install, making it a significant supply chain risk.
Mitigation Recommendations
No official patch or remediation is currently documented for this package. Users should avoid installing the affected versions (=1.1.3, =2.0.5, =3.0.2, =4.3.2, =5.2.1) of @immobiliarelabs/backstage-plugin-ldap-auth-backend. Consider removing this package from your dependencies and replacing it with a trusted alternative. Monitor for updates from the package maintainer or npm advisories for any official fixes or removals. Until then, do not run npm install on this package in any environment.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-6529
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a3ef79627e9c79719ff9a62
Added to database: 06/26/2026, 22:05:10 UTC
Last enriched: 06/26/2026, 22:19:59 UTC
Last updated: 06/26/2026, 22:19:59 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.