template-pictogram@9.1.3
Malicious code in template-pictogram (npm)
Analysis
Installing this package executes a lifecycle hook that beacons host and install-location metadata to an external endpoint. package.json declares "postinstall": "node beacon.cjs"; beacon.cjs sends an HTTP POST to hxxp://13[.]140[.]137[.]222:8787/_ah/dc with a x-beacon-package header, transmitting the package name, the machine hostname (os.hostname()), the install path (__dirname), the process working directory and the node user-agent string. The same request is repeated whenever the module entry point index.js is loaded, which also exports a Proxy of no-op functions so an importing build completes normally while the beacon runs. No credentials, environment values, tokens, or file contents are read or transmitted; the payload is install metadata only. The README describes the package as part of an authorized dependency-confusion test.
- analyzed by
- Leitwacht
- first seen
- Nov 9, 2026, 04:05 AM
- analyzed
- Nov 9, 2026, 04:07 AM
- weekly installs
- 659
Related advisories
- template-pictogram@9.1.1 same package
- smfos-bskdz-util@1.0.1
- @gsas/gsas-sdk@99.99.99
- @swirls/cli@0.1.146
- @yuanjielab/cli@0.11.0
- @yuanjielab/cli@0.10.2
- x3r0day-bunnyhijack-poc@1.0.3
- x3r0day-bunnyhijack-poc@1.0.2
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.