MAL-2026-4590
Vulnerability from ossf_malicious_packages
-= Per source details. Do not edit below this line.=-
Source: amazon-inspector (b9998f4fd6abaaefcf6bd610ce0b558f0e1eb22c9d4dae07a111c27cc7f7322c)
The package contains a poc.js script that collects host reconnaissance data (os.hostname(), os.platform(), output of whoami via child_process) and POSTs it to a remote endpoint over https.request. The combination of os/system enumeration, child_process command execution (e.g. whoami), and an outbound HTTPS POST in the same file is the canonical host-reconnaissance and exfiltration shape. The package name suggests a JSON-to-GraphQL schema converter, and there is no legitimate reason for such a converter to ship a script that runs whoami, reads host identity, and ships the results off-host. Installing or executing this package gives the publisher tangible host reconnaissance data from the installer's machine.
Source: ghsa-malware (aac4fc25ca9c9d5b64e66c565f14cd4f07873a2e716834ba633239df20a99bab)
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 resulting from installing it.
{
"affected": [
{
"database_specific": {
"cwes": [
{
"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"
}
],
"indicators": {
"domains": [
"json-to-simple--7363616e2d64623638613063366534.d8acb4hon5btn9gcns4gcjs4foempemu9.oast.online",
"d8acb4hon5btn9gcns4gcjs4foempemu9.oast.online"
],
"evidence_files": [
{
"path": "poc.js",
"sha256": "81ae1009a33958e923ab118fec61309aceb5dece01ae72491bf61ed4517be79b",
"tlsh": "0e6196a447fa1d30266eb061f4ce100412d3c2933246fcd4798c1a919f9e4b582fb7bd"
}
],
"package_integrity": [
{
"filename": "json-to-simple-graphql-schema-1.0.0.tgz",
"hashes": {
"sha1": "094974826aa9470db5a0d647c46f5d9915969a20",
"sha512_sri": "sha512-W7X6YGIr8P4mgZaGCh1D3Pf4SqSltPMbUtJaactIag+seiOtnUAsLyTCRsc5UiJNks1MSvckCGyBQ3r3KgI8Fw=="
}
}
]
}
},
"package": {
"ecosystem": "npm",
"name": "json-to-simple-graphql-schema"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
],
"versions": [
"1.0.0"
]
}
],
"aliases": [
"GHSA-2qqv-9mw5-52q2"
],
"credits": [
{
"contact": [
"actran@amazon.com"
],
"name": "Amazon Inspector",
"type": "FINDER"
}
],
"database_specific": {
"malicious-packages-origins": [
{
"id": "IN-MAL-2026-004779",
"import_time": "2026-05-26T05:53:15.989093419Z",
"modified_time": "2026-05-25T22:00:43Z",
"sha256": "b9998f4fd6abaaefcf6bd610ce0b558f0e1eb22c9d4dae07a111c27cc7f7322c",
"source": "amazon-inspector",
"versions": [
"1.0.0"
]
},
{
"id": "IN-MAL-2026-004780",
"import_time": "2026-05-26T05:53:16.08163356Z",
"modified_time": "2026-05-25T22:00:44Z",
"sha256": "cb3cc7123da62361aded02aa515ca0d6ff88f032bd247329a1acf079bfa888b0",
"source": "amazon-inspector",
"versions": [
"1.0.0"
]
},
{
"id": "GHSA-2qqv-9mw5-52q2",
"import_time": "2026-06-01T17:03:32.534368648Z",
"modified_time": "2026-06-01T15:43:36Z",
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
],
"sha256": "aac4fc25ca9c9d5b64e66c565f14cd4f07873a2e716834ba633239df20a99bab",
"source": "ghsa-malware"
}
]
},
"details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (b9998f4fd6abaaefcf6bd610ce0b558f0e1eb22c9d4dae07a111c27cc7f7322c)\nThe package contains a poc.js script that collects host reconnaissance data (os.hostname(), os.platform(), output of `whoami` via child_process) and POSTs it to a remote endpoint over https.request. The combination of os/system enumeration, child_process command execution (e.g. `whoami`), and an outbound HTTPS POST in the same file is the canonical host-reconnaissance and exfiltration shape. The package name suggests a JSON-to-GraphQL schema converter, and there is no legitimate reason for such a converter to ship a script that runs `whoami`, reads host identity, and ships the results off-host. Installing or executing this package gives the publisher tangible host reconnaissance data from the installer\u0027s machine.\n\n## Source: ghsa-malware (aac4fc25ca9c9d5b64e66c565f14cd4f07873a2e716834ba633239df20a99bab)\nAny 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 resulting from installing it.\n",
"id": "MAL-2026-4590",
"modified": "2026-06-01T17:04:53Z",
"published": "2026-05-25T22:00:43Z",
"references": [
{
"type": "PACKAGE",
"url": "https://www.npmjs.com/package/json-to-simple-graphql-schema/v/1.0.0"
},
{
"type": "ADVISORY",
"url": "https://github.com/advisories/GHSA-2qqv-9mw5-52q2"
}
],
"schema_version": "1.7.4",
"summary": "Malicious code in json-to-simple-graphql-schema (npm)"
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.