Malicious code in @wololasod/tiny-id (npm)
The npm package @wololasod/tiny-id, advertised as a tiny ID generator, contains malicious code in its main entry point. The code uses obfuscation and an RC4 string-array virtual machine to download and execute a remote payload specific to the platform (Windows or Linux). It runs the payload as a hidden, detached process that persists beyond the parent process. The package also improperly includes executable code in a TypeScript declaration file, which should only contain type definitions. This behavior is unrelated to the advertised functionality and indicates malicious intent.
AI Analysis
Technical Summary
The @wololasod/tiny-id npm package versions 0.1.0, 0.1.1, and 0.1.3 contain an obfuscated loader that, upon import, determines the platform and downloads a remote executable to a temporary or APPDATA directory. It then executes this payload using child_process.spawn, employing a VBS launcher on Windows and direct spawn on Linux, followed by deletion of the staged file. The loader re-launches itself as a detached, hidden process that survives the parent process. The obfuscation includes RC4-decoded string arrays, hex-named identifiers, integrity checks on native code functions, and a caller-hash gate that crashes if the code is reformatted. Additionally, the malicious dropper is embedded in the dist/index.d.ts file, which is supposed to contain only TypeScript type declarations, not executable code. None of these actions relate to the package's stated purpose of generating tiny IDs.
Potential Impact
Users who install and import the affected versions of @wololasod/tiny-id risk executing a hidden, persistent malicious payload downloaded from a remote server. This can lead to unauthorized code execution on the host system, potentially compromising system integrity and confidentiality. The malicious process is designed to evade detection by running detached and hidden, complicating incident response.
Mitigation Recommendations
No official patch or remediation is currently documented for this package. Users should immediately cease using the affected versions (=0.1.0, =0.1.1, =0.1.3) of @wololasod/tiny-id. Remove the package from any projects and replace it with a trusted alternative. Monitor for any processes matching the described behavior and investigate systems where this package was installed. Patch status is not yet confirmed — check the vendor advisory or npm security advisories for updates.
Malicious code in @wololasod/tiny-id (npm)
Description
The npm package @wololasod/tiny-id, advertised as a tiny ID generator, contains malicious code in its main entry point. The code uses obfuscation and an RC4 string-array virtual machine to download and execute a remote payload specific to the platform (Windows or Linux). It runs the payload as a hidden, detached process that persists beyond the parent process. The package also improperly includes executable code in a TypeScript declaration file, which should only contain type definitions. This behavior is unrelated to the advertised functionality and indicates malicious intent.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The @wololasod/tiny-id npm package versions 0.1.0, 0.1.1, and 0.1.3 contain an obfuscated loader that, upon import, determines the platform and downloads a remote executable to a temporary or APPDATA directory. It then executes this payload using child_process.spawn, employing a VBS launcher on Windows and direct spawn on Linux, followed by deletion of the staged file. The loader re-launches itself as a detached, hidden process that survives the parent process. The obfuscation includes RC4-decoded string arrays, hex-named identifiers, integrity checks on native code functions, and a caller-hash gate that crashes if the code is reformatted. Additionally, the malicious dropper is embedded in the dist/index.d.ts file, which is supposed to contain only TypeScript type declarations, not executable code. None of these actions relate to the package's stated purpose of generating tiny IDs.
Potential Impact
Users who install and import the affected versions of @wololasod/tiny-id risk executing a hidden, persistent malicious payload downloaded from a remote server. This can lead to unauthorized code execution on the host system, potentially compromising system integrity and confidentiality. The malicious process is designed to evade detection by running detached and hidden, complicating incident response.
Mitigation Recommendations
No official patch or remediation is currently documented for this package. Users should immediately cease using the affected versions (=0.1.0, =0.1.1, =0.1.3) of @wololasod/tiny-id. Remove the package from any projects and replace it with a trusted alternative. Monitor for any processes matching the described behavior and investigate systems where this package was installed. Patch status is not yet confirmed — check the vendor advisory or npm security advisories for updates.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12331
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a735742bf8831d539158fd9
Added to database: 08/05/2026, 15:31:14 UTC
Last enriched: 08/05/2026, 17:07:52 UTC
Last updated: 08/05/2026, 17:07:52 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.