Malicious Code Detected in ac-dom-events Package - Security Alert

ac-dom-events Updated 06 Feb 2026

Summary

06/02/2026
CRITICAL
No i
Critical
Not published

MAL-2026-777: Malicious code in ac-dom-events (npm). Affected versions are not published. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The ac-dom-events package is a JavaScript library used in web development to handle DOM events efficiently. It provides a set of utilities for managing event listeners and interactions within the Document Object Model (DOM). However, recent findings have revealed that this package contains malicious code, posing significant security risks to applications that utilize it.

Vulnerability Detail

The vulnerability stems from the presence of malicious code within the ac-dom-events package, as identified by Amazon Inspector. This code can potentially compromise the integrity of applications using the package, leading to unauthorized access, data breaches, or other malicious activities. The vulnerability affects all versions of the package starting from its introduction, making it critical for developers to address this issue promptly.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall ac-dom-events

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, you can replace the ac-dom-events package with an alternative library that provides similar functionality without the associated risks. For example, consider using 'event-listener-polyfill' or 'dom-event-handler' as substitutes.

Conclusion

The discovery of malicious code in the ac-dom-events package highlights the importance of regular security assessments and prompt action to mitigate vulnerabilities. Developers are encouraged to remove the affected package and monitor their projects for any potential threats.

See every vulnerability recorded for ac-dom-events →

Share this vulnerability

FAQ

ac-dom-events is a JavaScript library designed to simplify event handling in web applications.

The malicious code was identified by Amazon Inspector during a routine security assessment of the package.

Using the compromised ac-dom-events package can lead to security vulnerabilities, including unauthorized access to sensitive data and potential exploitation by attackers.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software by analyzing your package-lock.json file. Visit https://vulert.com for more information.

Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall ac-dom-events

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback