http-req-lite@1.0.0
Malicious code in http-req-lite (npm)
Analysis
http-req-lite@1.0.0 is a combosquat package impersonating a simple HTTP request helper. Its postinstall hook (postinstall.js) executes two curl commands: one fetches tst[.]woa[.]com/flag.html and pipes the response as a POST body to pwpzhsrbtvmfqrqr7onqcwnrcii960up[.]oastify[.]com/ssrf1; the other sends a request to tst[.]woa[.]com/ssrf_forward.php?host=pwpzhsrbtvmfqrqr7onqcwnrcii960up[.]oastify[.]com, using the external host as an SSRF forwarder parameter. The main index.js is a trivial 67-byte fetch wrapper with no relation to the postinstall behaviour. IOCs: tst[.]woa[.]com, pwpzhsrbtvmfqrqr7onqcwnrcii960up[.]oastify[.]com, /flag.html, /ssrf_forward.php, /ssrf1.
- analyzed by
- Leitwacht
- first seen
- Jul 16, 2026, 01:17 PM
- analyzed
- Jul 16, 2026, 01:17 PM
Related advisories
- @across-toolkit/eslint-config@99.0.1
- @hibachi-xyz/types@99.0.0
- @hibachi-xyz/sdk@99.0.0
- @hibachi-xyz/config@99.0.0
- @hibachi-xyz/ui@99.0.0
- @hibachi-xyz/common@99.0.0
- node-as-api@2.1.6
- typescript-api-node@2.1.6
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.