@aspect-adv-ui/consent-managernpm
Advisory published Updated
@aspect-adv-ui/consent-manager is a confirmed malicious npm package (MAL-2026-16050) that steals credentials and exfiltrates sensitive data (malicious versions 2.4.0, 2.4.1). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in @aspect-adv-ui/consent-manager (npm)
What this malware does
@aspect-adv-ui/consent-manager 2.4.1 declares a postinstall hook (node setup.js) that fires automatically on every npm install. setup.js issues an HTTPS GET to a hardcoded webhook.site inspection endpoint (https://webhook.site/kapper), sending install-event metadata (source IP, TLS/user-agent fingerprint) to an author-controlled third-party collector. The package is advertised as a small GDPR/CCPA consent-bar React component with no native build, no binary, and no legitimate install-time work; the postinstall exists solely to run this beacon. webhook.site is a public request-inspection service commonly used as an anonymous exfiltration/beacon endpoint, and the beacon is not disclosed or opt-in.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
Credential / info stealerFind it
Search your lockfiles and build artifacts for @aspect-adv-ui/consent-manager (2 malicious versions).
If you installed it — respond
@aspect-adv-ui/consent-manager is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.
Did it already run?
If @aspect-adv-ui/consent-manager was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.
Frequently asked questions
Campaign
References
Credits
- Amazon Inspector · finder
Detect & block this
O3 blocks @aspect-adv-ui/consent-manager-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.