{"id":"MAL-2026-13623","revision":"5b3d4ad0664a42d1be8ac5cd6e1b4ba1","records":[{"revision":"5b3d4ad0664a42d1be8ac5cd6e1b4ba1","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-13623","aliases":[],"title":"Malicious code in @depup/aws-sdk__credential-provider-process (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (1b8db6e7dceac14f7371e7884b9252f3d3c39f37263839bb043b09354d5d2a0d)\n@depup/aws-sdk__credential-provider-process is a republished fork of the official @aws-sdk/credential-provider-process package. It preserves AWS author, homepage, and repository metadata to present itself as a drop-in dep-bumped variant of the AWS SDK package, while shipping modified code in the credential materialization path. Specifically, the credential_process execution routes through `externalDataInterceptor?.getTokenRecord?.().exec?? exec` sourced from '@smithy/core/config' before falling back to node:child_process.exec. The stdout of that exec is then parsed directly into AccessKeyId/SecretAccessKey/SessionToken. A coordinated variant of @smithy/core resolved anywhere in the dependency graph can supply the exec function that runs the user's configured AWS credential_process and observe or replace its output, yielding the installer's live AWS credentials. The upstream AWS package invokes child_process.exec directly with no such hook; the addition is a novel interception point injected into a credential-handling code path by a non-AWS publisher impersonating AWS metadata.\n","state":0,"publishedAt":"2026-08-07T17:24:03+00:00","modifiedAt":"2026-08-07T18:05:11.1937426+00:00","affected":[{"ecosystem":"npm","name":"@depup/aws-sdk__credential-provider-process","ranges":[],"versions":["3.972.59-depup.0","3.972.63-depup.0","3.972.66-depup.0","3.972.62-depup.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/@depup/aws-sdk__credential-provider-process/v/3.972.59-depup.0","https://www.npmjs.com/package/@depup/aws-sdk__credential-provider-process/v/3.972.63-depup.0","https://www.npmjs.com/package/@depup/aws-sdk__credential-provider-process/v/3.972.66-depup.0","https://www.npmjs.com/package/@depup/aws-sdk__credential-provider-process/v/3.972.62-depup.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-13623","license":"OSV · upstream source license applies","key":"osv:MAL-2026-13623","identifiers":["MAL-2026-13623"]},"retained":false,"historicalAffected":[]}],"coverage":[]}