{"id":"MAL-2026-16318","revision":null,"records":[{"revision":"f8db5ca7733d4e3c8c68528434168dcf","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-16318","aliases":[],"title":"Malicious code in @asenfotech/unplugin-element-plus (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (458bff9dc8d1f808d642b767ca08ca89253919bbf0d7fd2890b95f3b9c156926)\nPackage presents itself as an Element Plus resolver for Vue tooling: index.js is a 25-line ElementPlusResolver stub. The bulk of the tarball under lib/gradle/ implements an install-time and import-time dropper. The declared postinstall hook (postinstall-run.cjs) chains through lifecycle/instrumentation modules that assemble ~90 base64 chunks in agent-bytecode.segments.cjs, decode them via Buffer.from(joined, 'base64'), write the result to ~/.gradle/caches/transforms-3/8.7/instrumented/.../instrumentation-agent-runtime.mjs (a path masquerading as a Gradle instrumentation cache), and spawn a detached, hidden node process on it (spawn(nodeBin, [scriptPath,...], { detached: true, stdio: 'ignore', windowsHide: true }); child.unref()). The decoded payload is a full command-and-control agent: it POSTs hostname, username, and OS type/release plus a persisted agent UUID (~/.gradle-cache/.aid) to https://npmjs.it.com/api/register (a typosquat of npmjs.com), long-polls https://npmjs.it.com/api/task/<id>, and executes operator commands including exec (spawns /bin/sh or cmd.exe with attacker-supplied command), ls, download (POSTs arbitrary local file contents to /api/file/<agent>/<task>), upload (writes attacker-supplied bytes to the filesystem), delete, ps, and move; results are POSTed back to the same host. TLS verification for C2 traffic can be disabled via C2_TLS_INSECURE. The package's main entry re-triggers the same drop-and-launch chain on require() through tooling-bootstrap.cjs and lib/gradle/gradle-daemon-sync.cjs, gated on a hardcoded workspace-marker allowlist (src/pages/GameAggregator/GameAggrBusinessPage/index.tsx, src/master/src/router/routes.tsx, etc.), so the backdoor also fires at import time inside a specific targeted monorepo. The gradle/instrumentation directory naming has no relation to the declared Vue-resolver purpose and pairs with the chunked-base64 encoding to conceal the payload.\n","state":0,"publishedAt":"2026-09-21T03:31:05+00:00","modifiedAt":"2026-09-21T04:00:06.7933691+00:00","affected":[{"ecosystem":"npm","name":"@asenfotech/unplugin-element-plus","ranges":[],"versions":["2.9.5","2.9.3"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/@asenfotech/unplugin-element-plus/v/2.9.5","https://www.npmjs.com/package/@asenfotech/unplugin-element-plus/v/2.9.3"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-16318","license":"OSV · upstream source license applies","key":"osv:MAL-2026-16318","identifiers":["MAL-2026-16318"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-13T02:18:19.0235777+00:00","complete":true,"records":1779,"lastAttemptAt":"2026-11-13T02:18:19.0235777+00:00","lastSuccessAt":"2026-11-13T02:18:19.1952529+00:00","error":null,"lastVerifiedAt":"2026-11-13T02:18:19.1952559+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-d8fa82e95fdb59244e2f635e667ba17f0796ca0a4f1f4bb8cc31febcd660b76c-d88a1fdb6e581828ea29fe8c78fbc7626fed11d7056636f79a35d339eb4ed6bf","complete":true,"records":424939,"lastAttemptAt":"2026-11-13T02:16:25.192812+00:00","lastSuccessAt":"2026-11-13T02:16:25.1479457+00:00","error":null,"lastVerifiedAt":"2026-11-13T02:16:25.192812+00:00","snapshotPublishedAt":"2026-11-13T01:28:22+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-c8ac34c229f149c29a6d9374873b24f4","complete":false,"records":13793,"lastAttemptAt":"2026-11-13T02:26:35.3797623+00:00","lastSuccessAt":"2026-11-13T02:26:35.4462532+00:00","error":null,"lastVerifiedAt":"2026-11-13T02:26:35.4462532+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-13T02:18:19.0235777+00:00","complete":true,"records":1123,"lastAttemptAt":"2026-11-13T02:18:19.0235777+00:00","lastSuccessAt":"2026-11-13T02:18:19.1960261+00:00","error":null,"lastVerifiedAt":"2026-11-13T02:18:19.1960262+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-53086f18733d4bf6a716de0418c65ebd","complete":true,"records":13781,"lastAttemptAt":"2026-11-13T02:18:24.4548303+00:00","lastSuccessAt":"2026-11-13T02:18:24.451+00:00","error":null,"lastVerifiedAt":"2026-11-13T02:18:24.451+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13846,"expectedIdentifiers":13846,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-93e76d404e1aeb6a7e8902f5ffa06211fc86dea3b1958e297abb2668aa5e6e8c","complete":true,"records":9952,"lastAttemptAt":"2026-11-13T02:18:18.9753802+00:00","lastSuccessAt":"2026-11-12T23:19:15.5239119+00:00","error":null,"lastVerifiedAt":"2026-11-13T02:18:18.9753802+00:00","snapshotPublishedAt":"2026-11-12T23:03:02+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-4d60731753a2f72e455d1086e7203d0ef10843936dcc1cf2b45135e2caa204b0","complete":true,"records":2012,"lastAttemptAt":"2026-11-13T02:16:25.2372679+00:00","lastSuccessAt":"2026-11-12T18:16:50.7862525+00:00","error":null,"lastVerifiedAt":"2026-11-13T02:16:25.2372679+00:00","snapshotPublishedAt":"2026-11-12T17:48:11+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-20d1a8ab073a1c13ab2143dbcadb34ebb8edf1e18e16482b448513662c3d1e12","complete":true,"records":3127,"lastAttemptAt":"2026-11-13T02:18:18.9876547+00:00","lastSuccessAt":"2026-11-12T22:18:31.0338213+00:00","error":null,"lastVerifiedAt":"2026-11-13T02:18:18.9876547+00:00","snapshotPublishedAt":"2026-11-12T22:18:06+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-dc5477b487c9cb40a7a59f940ef79298ddd8743e3c3dcfd82edc84c9cc9c3545","complete":true,"records":231743,"lastAttemptAt":"2026-11-13T02:18:18.8048835+00:00","lastSuccessAt":"2026-11-13T02:18:17.366112+00:00","error":null,"lastVerifiedAt":"2026-11-13T02:18:18.8048835+00:00","snapshotPublishedAt":"2026-11-13T01:33:07+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}