Malicious code in swiper_angular (npm)
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (35a523a0f2bb0df423657f50e42be71ae87d3071b859e1f4eb88a90709ba0ca5) Package name typosquats swiper/swiper-angular at implausible version 5.9999.1. The preinstall.js script runs at install time and collects installer host identity and network context — os.hostname(), os.userInfo() username, current working directory, package name, git remote domain, /etc/resolv.conf search domain, /etc/hosts and /etc/hostname content grepped for 'tbi|beez|tbibank', egress IP via `ip route get 1.1.1.1` and `curl -s ifconfig.me`, and environment variable names filtered against the same organization tokens. The collected fields are concatenated into a query string and sent via https.get to the hardcoded Interactsh subdomain rmknhtfmmidejheotogony3qpqrk75wdz.oast.fun/cb2. Behavior fires automatically on npm install with no consent prompt and targets a specific organization (tbibank) regardless of the self-applied 'security research' label. ## Source: ghsa-malware (75ec7c266ed95505d5aefd1c335f36ca6ce46ea4545dd437f2458f793601483e) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software
MAL-2026-11065
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:MAL-2026-11065
swiper_angular
Source reference: /affected/0/package/name
- Affected versions
- 5.9999.0
Source reference:
/affected/0/versions5.9999.1Source reference:
/affected/0/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "swiper_angular",
"purl": "pkg:npm/swiper_angular",
"ecosystem": "npm"
},
"versions": [
"5.9999.0",
"5.9999.1"
],
"database_specific": {
"cwes": [
{
"name": "Embedded Malicious Code",
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature."
},
{
"name": "Embedded Malicious Code",
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature."
},
{
"name": "Embedded Malicious Code",
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature."
}
],
"source": "https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/swiper_angular/MAL-2026-11065.json",
"indicators": {
"evidence_files": [
{
"path": "preinstall.js",
"tlsh": "640190b605f4413028d9a2d8a32bb65fd4daf5514c5a4f84f99d42409b6216a26134f1",
"sha256": "1f2a201d4233343e6ca207ce4cbea9ffffb3c58a0fe9a7c49ffeea8678759a28"
},
{
"path": "package.json",
"tlsh": "81e020208f94683314c8d6662d73861a75a74f3e9155b90ca7c71405c3bf771c0bfa5e",
"sha256": "d5693ae726b1c2e28739afccd1401e5eeeb38ecd75baa2dafdee6c69569efd8a"
}
],
"package_integrity": [
{
"hashes": {
"sha1": "9243a487c5796685899070c5e6cd7b5a6725798f",
"sha512_sri": "sha512-m/pOQBB0cwlYaltcwgPiJ8YxeZn2Cagly71R/1ejWtv36tkUJrWtFNwdJYidO/M9sUDym44LwcHBwuny8uX5Zg=="
},
"filename": "swiper_angular-5.9999.0.tgz"
}
]
}
}
}
]Publisher severity
No explicit severity was provided.
- Event
- #21251 · Revision 1
- Added to Heist Feed
- Publisher date