xpna-context@1.0.2
Malicious code in xpna-context (npm)
Analysis
xpna-context@1.0.2 executes host reconnaissance at install time via its preinstall hook. The hook runs shell commands that transmit the installer's hostname to an attacker-controlled OAST callback server (je15qppk9nkf2oim0q2cty8n5eb6zwnl[.]oastify[.]com). Additionally, a bundled JS file (injex.js) collects the hostname, user info, and all environment variables and POSTs them as JSON to a second endpoint (j3n5fpekyn9fro7mpqrciyxnue05ozco[.]oastify[.]com/Log). This captures any credentials, API keys, or tokens present in the environment variables of the system where the package is installed.
- analyzed by
- Leitwacht
- first seen
- Jun 16, 2026, 07:49 AM
- analyzed
- Jun 16, 2026, 07:50 AM
Related advisories
- wisdomtreetest@1.0.1
- weavedb-node-client@0.45.3
- vl-ui-code-preview@10.1.1
- vl-ui-body@10.1.1
- vl-ui-breadcrumb@10.1.1
- vl-ui-checkbox@10.1.1
- vl-ui-alert@99.99.2
- vl-ui-accessibility@99.99.1
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.