No confirmed malicious attack surface. Runtime generation is local and user-invoked.
Static reason
No blocking static signals were detected.
Trigger
Caller imports the module and invokes getTransactions.
Impact
No file, process, credential, persistence, or network behavior established.
Mechanism
Generates synthetic transaction records in memory.
AI rationale
Source inspection shows a small data-generator library with no lifecycle hooks or concrete harmful behavior. Unused dependencies and unused fs/path imports do not establish an attack chain.
Evidence
package.jsonindex.jsREADME.md
OSV advisory
OpenSSF/OSV
Advisory
MAL-2026-17284
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in sk-lib-enc (npm)
Details
The package was found to contain malicious code or consuming dependency that contains malicious code
## Source: ghsa-malware (b128f095429e74e334527d9cba07dedde2dc66db7ee6c4df6dc874971c8f2bb4) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
Avoid installing sk-lib-enc@1.0.2. 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.