datefmt-helper@1.0.0
Malicious code in datefmt-helper (npm)
T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1105 · Ingress Tool TransferT1059.004 · Unix Shell
Analysis
On npm install, the postinstall hook (postinstall.js) downloads and executes a remote script from a hardcoded IP. On Linux/macOS it fetches hxxp://115[.]190[.]124[.]243:8761/slt and pipes it to sh; on Windows it downloads hxxp://115[.]190[.]124[.]243:8761/swt to C:\Users\Public\run.bat and runs it. The package's index.js is a benign date-formatting decoy; the malicious behaviour is in the lifecycle hook.
- analyzed by
- Leitwacht
- first seen
- Jul 2, 2026, 01:39 PM
- analyzed
- Jul 2, 2026, 01:40 PM
Related advisories
- @immobiliarelabs/backstage-plugin-ldap-auth-backend@1.1.3
- @immobiliarelabs/backstage-plugin-gitlab-backend@3.0.3
- weavedb-base@0.45.3
- @immobiliarelabs/backstage-plugin-ldap-auth-backend@3.0.2
- @immobiliarelabs/backstage-plugin-gitlab-backend@4.0.2
- dtxto1ols@1.0.2
- dttfdsdee@1.0.1
- dddooo@1.0.0
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.