GHSA-33v7-c769-3ww7
Malicious code in @awazevr/mfe-common.contexts.guest-auth (npm)
Impact
## 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. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/6a29b90f18642a9862088bc4c1f3888ea8ac07f3/osv/malicious/npm/@awazevr/mfe-common.contexts.guest-auth/MAL-2026-20277.json))
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | @awazevr/mfe-common.contexts.guest-auth | = 1.0.0 | none recorded |
Weakness classification
References
- GitHub advisory
- https://github.com/advisories/GHSA-33v7-c769-3ww7
- https://github.com/ossf/malicious-packages/blob/6a29b90f18642a9862088bc4c1f3888ea8ac07f3/osv/malicious/npm/@awazevr/mfe-common.contexts.guest-auth/MAL-2026-20277.json
- https://www.npmjs.com/package/@awazevr/mfe-common.contexts.guest-auth/v/1.0.0