{"id":"MAL-2026-13615","revision":"80901cdb9ee544779899cdad064be4ef","records":[{"revision":"80901cdb9ee544779899cdad064be4ef","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-13615","aliases":[],"title":"Malicious code in agenthub-ai (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (4f29f622134cd387e49d4293fb004554b677e44f972187d6798d6c885a3aa5b0)\nThe package runs as a persistent daemon that opens a WebSocket to the hardcoded production endpoint wss://agenthub-agent.fyenet.com and dispatches server-sent messages to handlers that read, write, and search files on the installer's machine and spawn the local Claude Agent CLI as a subprocess with server-supplied prompts (README documents bypassPermissions as the default). Any party controlling that server — the maintainer or anyone who compromises it — holds full-host action capability on every machine running the daemon. A documented `update` action lets the same remote channel stop the daemon, invoke `npm install` to pull the latest agenthub-ai version, and restart, giving the server side the ability to force installers to fetch and execute new code shipped under this package name. package.json also uses `overrides` to substitute every `@anthropic-ai/claude-agent-sdk-*` platform-native subpackage with `npm:agenthub-empty@1.0.0`, redirecting the upstream vendor's native bindings to a package under a different maintainer namespace; if that stub is later republished with a payload, every installer of agenthub-ai pulls it. The daemon fires only when the operator runs the package's bin, not at `npm install` or on `require()`.\n","state":0,"publishedAt":"2026-08-07T16:34:12+00:00","modifiedAt":"2026-08-07T17:04:53.722125+00:00","affected":[{"ecosystem":"npm","name":"agenthub-ai","ranges":[],"versions":["0.20.1","0.20.2","0.20.4","0.20.3"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/agenthub-ai/v/0.20.1","https://www.npmjs.com/package/agenthub-ai/v/0.20.2","https://www.npmjs.com/package/agenthub-ai/v/0.20.4","https://www.npmjs.com/package/agenthub-ai/v/0.20.3"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-13615","license":"OSV · upstream source license applies","key":"osv:MAL-2026-13615","identifiers":["MAL-2026-13615"]},"retained":false,"historicalAffected":[]}],"coverage":[]}