{"id":"MAL-2026-14225","revision":"b37011e219334d65a5f0d54f62ecc14f","records":[{"revision":"b37011e219334d65a5f0d54f62ecc14f","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-14225","aliases":[],"title":"Malicious code in ambera (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (d24544221570c21c3b710d7c4d39ed76e7cc8b43a555bb7c8e6fefa78aa3f625)\nThe package presents itself as a zero-dependency SVG helper, but its exported getPlugin() function performs an HTTPS GET to the hardcoded host https://api.avax-test.dev/ext/bc/rpc with TLS verification disabled (rejectUnauthorized: false) and passes the response body directly to new Function('require', data)(require). Any caller of getPlugin() executes whatever JavaScript the remote host returns, with the Node require function injected — effectively arbitrary remote code execution on the caller's machine. The destination host api.avax-test.dev is a lookalike of the legitimate Avalanche Fuji RPC endpoint api.avax-test.network, and the Avalanche/Snowtrace variable naming is cover-story labeling: the package's stated SVG purpose has no network or blockchain functionality. Combined with the disabled TLS verification, this is a deliberately concealed remote-exec channel embedded in an unrelated utility.\n","state":0,"publishedAt":"2026-08-19T03:36:58+00:00","modifiedAt":"2026-08-19T04:00:16.909934+00:00","affected":[{"ecosystem":"npm","name":"ambera","ranges":[],"versions":["1.0.0","1.0.1"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/ambera/v/1.0.0","https://www.npmjs.com/package/ambera/v/1.0.1"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-14225","license":"OSV · upstream source license applies","key":"osv:MAL-2026-14225","identifiers":["MAL-2026-14225"]},"retained":false,"historicalAffected":[]}],"coverage":[]}