{"id":"MAL-2026-14278","revision":"73a70aca9782439e903e05ce4dd63621","records":[{"revision":"73a70aca9782439e903e05ce4dd63621","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-14278","aliases":[],"title":"Malicious code in layer2-sdk (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (1bd6521302fb3f49a8c444435a33834be40a420972df3a03cadb5fdb3176a68f)\nindex.js line 75 decodes a base64-encoded string via Buffer.from(..., 'base64').toString('utf8') and passes the result to an evaluator, executing hidden code when the module is loaded. The obfuscated-and-exec'd blob pattern in a package presenting itself as a generic SDK is consistent with a supply-chain dropper: the actual behavior is concealed from casual inspection of the source and runs as a side effect of require()'ing the package. The package name suggests a blockchain/Layer-2 SDK, but the shipped code's only notable operation is decoding and executing an opaque payload.\n","state":0,"publishedAt":"2026-08-19T08:14:26+00:00","modifiedAt":"2026-08-19T08:32:48.2666858+00:00","affected":[{"ecosystem":"npm","name":"layer2-sdk","ranges":[],"versions":["1.0.0","1.0.1"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/layer2-sdk/v/1.0.0","https://www.npmjs.com/package/layer2-sdk/v/1.0.1"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-14278","license":"OSV · upstream source license applies","key":"osv:MAL-2026-14278","identifiers":["MAL-2026-14278"]},"retained":false,"historicalAffected":[]}],"coverage":[]}