MAL-2026-20277: Malicious code in @awazevr/mfe-common.contexts.guest-auth (npm)
- Source:
- OSV.dev
- Published:
- Fetched:
- Updated:
- Affects:
- @awazevr/mfe-common.contexts.guest-auth
https://osv.dev/vulnerability/MAL-2026-20277 ↗
Malicious code in @awazevr/mfe-common.contexts.guest-auth (npm) --- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (e2e3bcba4ce94634e40d0c13a284e37e60b2edf4c84479e4e8aa7347a417bc26) Package @awazevr/mfe-common.contexts.guest-auth publishes to the unregistered public-registry scope @awazevr, which is used by a third-party organization for private internal packages. The package.json declares a postinstall script that executes shell commands (whoami, hostname) on every install, prefixed with an echoed banner identifying the artifact as a dependency-confusion proof-of-concept. Any build system that resolves this scope from the public npm registry (for example, a CI job misconfigured to fetch an internal @awazevr dependency without a scoped-registry pin) auto-executes the author's shell code on install. The current payload only prints local host identifiers rather than exfiltrating or fetching remote code, but the install-time arbitrary command execution path and the scope-shadowing mechanism are fully functional, and the same vector delivers whatever commands subsequent versions place in the postinstall script. Self-identification as bug-bounty research does not change the installer-facing behavior: the lifecycle hook runs attacker-authored commands on the installer host. Affected: npm:@awazevr/mfe-common.contexts.guest-auth No fixed version published yet References: https://www.npmjs.com/package/@awazevr/mfe-common.contexts.guest-auth/v/1.0.0