evt-dispatcher
Lightweight event dispatcher for Node.js
This report shows the evidence for evt-dispatcher@1.0.3. 2 of 5 known versions are blocked or flagged. The newest version, 1.0.6, is flagged. See all versions.
AI Security Review
scanned 5d ago · by lpm-firewall-aiThe package automatically loads native code at import time, and the Windows binary stages and executes a concealed JavaScript payload after anti-analysis checks. That behavior is unrelated to the package's stated purpose and warrants blocking.
Decision evidence
public snapshot- Importing the package immediately loads its platform-specific native binary; the entry point does this twice and suppresses load errors.
- The Windows native initializer checks for a debugger before continuing, an anti-analysis behavior unrelated to event dispatch.
- The binary contains a `.napi_cache` payload path and a generated temporary JavaScript file path, and its disassembly applies a bytewise XOR transformation to loaded data.
- The native code writes the transformed bytes to a file and calls `CreateProcessA`; its embedded command strings identify Node as the program used to run the generated file.
- The manifest describes a lightweight event dispatcher and declares no lifecycle scripts.
- The JavaScript exports a conventional in-memory event bus with `on`, `off`, `emit`, and `clear` methods.
Source & flagged code
7 flaggedImporting the package immediately loads its platform-specific native binary; the entry point does this twice and suppresses load errors.
index.jsView on unpkg · L1Findings
Affected versions and remediation
This report applies to evt-dispatcher@1.0.3.
The versions list below shows the verdict for each recorded version.
- Avoid installing evt-dispatcher@1.0.3. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.