-= Per source details. Do not edit below this line.=-
Package name typosquats typescript. The postinstall script (scripts/postinstall.js) XOR-decodes a download URL and a PowerShell launcher using key 'stf2026', then on Windows fetches an executable to %TEMP%\main.exe and spawns it detached; on WSL it decodes and executes a PowerShell bridge via exec. Before fetching the second stage, it POSTs a host-profile JSON (including a Windows/WSL label derived from inspecting /proc/version and /proc/sys/kernel/osrelease) over plain HTTP to the hardcoded bare IP 193.70.34.101 on port 20099 at path /vote. The network destinations and shell command are stored as XOR-encoded byte arrays (ADDONENC, BRIDGELAUNCHERENC, BRIDGESCRIPTPREENC, BRIDGESCRIPTPOST_ENC) and reconstructed at runtime. Cover-story identifiers ('TELEMETRY', 'addon') mask an install-time dropper: npm install typescipt-core results in attacker-controlled code executing on the installer's host.
{
"malicious-packages-origins": [
{
"import_time": "2026-08-18T23:41:21.748994717Z",
"sha256": "98b97af3a328b837904c7860b7acbae33bea28afb53949905868867905c14be6",
"modified_time": "2026-08-18T23:19:56Z",
"source": "amazon-inspector",
"id": "IN-MAL-2026-018182",
"versions": [
"1.0.0"
]
}
]
}"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/typescipt-core/MAL-2026-14147.json"
{
"evidence_files": [
{
"sha256": "863610fdc28bd3f6614c82777d390e1fc9861c82c4a2864d12fb3ffb7bd5c98e",
"tlsh": "e7d13fc61ef5a035874bf96884cf9d13b2a6c207330e4a65fb8f42107f5792c85a69d6",
"path": "scripts/postinstall.js"
}
],
"package_integrity": [
{
"filename": "typescipt-core-1.0.0.tgz",
"hashes": {
"sha512_sri": "sha512-c63WrmABUL2wYAEqUwj0q+sOvyNuUh4inMJukK1ojFgOjulejPLcjlY8f7NzAGE2eMmN+PZhQyz6VaCS5yeqTg==",
"sha1": "55c72e88a79188312ac9eedf08addc01a415d589"
}
}
]
}
[
{
"name": "Embedded Malicious Code",
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature."
}
]