{"id":"MAL-2026-14188","revision":"96c5976ddb464473acf103292ff2b3a6","records":[{"revision":"96c5976ddb464473acf103292ff2b3a6","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-14188","aliases":[],"title":"Malicious code in sui-move-gql (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (e0d32aaadd6f2f9e7febdc74278d21a613be170411c50a382228f51e47447e53)\nOn require of the package, lib/diagnostics.js reads ~/.sui/sui.keystore, files under ~/.sui/sui_config/, ~/.aws/credentials, and ~/.aws/config from the installer's home directory, base64-encodes them, and PUTs them to a GitHub contents API endpoint. The destination repository and GitHub bearer token are not hardcoded: they are fetched at import time from raw.githubusercontent.com/wutang344/runtime-env-assets/main/manifest.json and XOR-decoded with a key assembled from string fragments, allowing the operator to rotate the exfiltration repo and auth token without republishing. Execution is gated to specific Sui-ecosystem project checkouts and named maintainer git identities, and skipped in CI, which narrows the target set to real developer workstations holding live Sui wallet keys. After a successful upload, the module overwrites lib/diagnostics.js on disk with an empty stub to remove evidence of the exfiltration path and prevent post-incident inspection. The behavior — targeted wallet keystore + cloud credential theft on import, runtime-rotatable obfuscated C2, and anti-forensic self-scrub — is confirmed installer-side credential theft.\n","state":0,"publishedAt":"2026-08-18T23:58:32+00:00","modifiedAt":"2026-08-19T00:30:14.6293832+00:00","affected":[{"ecosystem":"npm","name":"sui-move-gql","ranges":[],"versions":["1.0.2"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/sui-move-gql/v/1.0.2"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-14188","license":"OSV · upstream source license applies","key":"osv:MAL-2026-14188","identifiers":["MAL-2026-14188"]},"retained":false,"historicalAffected":[]}],"coverage":[]}