{"id":"MAL-2026-16082","revision":"43be1176368247739738d0e10e5969de","records":[{"revision":"43be1176368247739738d0e10e5969de","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-16082","aliases":[],"title":"Malicious code in @umschool/platform (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (bcf64895a777467cc94763bfb942be3c04040ca151fc22753ca48ac4aaecd69c)\n@umschool/platform@999.0.1 is published to public npm under an internal-looking scope with an implausibly high version number, a resolution shape used to override internal builds. Its postinstall.js runs on `npm install` and performs a bulk harvest of installer-owned secrets: it reads the Kubernetes service-account token and namespace from /var/run/secrets/kubernetes.io/serviceaccount/, /etc/hosts and /etc/resolv.conf, queries cloud instance metadata services (AWS IMDS at 169.254.169.254 including IAM role credentials, ECS task-role credentials via 169.254.170.2 / AWS_CONTAINER_CREDENTIALS_RELATIVE_URI, Azure IMDS, and Yandex/GCP-compatible metadata), calls https://kubernetes.default.svc/api/v1/secrets with the harvested SA token as Bearer authorization, walks up to 8 parent directories reading.env files, and filters process.env against a credential regex (token|secret|key|pass|cred|auth|aws|jwt|api|stripe|sendgrid|twilio|...). The collected data is base64-encoded and POSTed to the hardcoded external endpoint https://akko.requestcatcher.com/dep-confusion-v2. The package's self-label as a 'Dependency Confusion PoC' does not change the effect: any build or CI environment that resolves this public package leaks its cloud IAM credentials, Kubernetes secrets, and environment secrets to an external host.\n","state":0,"publishedAt":"2026-09-09T14:50:58+00:00","modifiedAt":"2026-09-09T15:32:41.7390254+00:00","affected":[{"ecosystem":"npm","name":"@umschool/platform","ranges":[],"versions":["999.0.2","999.0.1","999.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/@umschool/platform/v/999.0.2","https://www.npmjs.com/package/@umschool/platform/v/999.0.1","https://www.npmjs.com/package/@umschool/platform/v/999.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-16082","license":"OSV · upstream source license applies","key":"osv:MAL-2026-16082","identifiers":["MAL-2026-16082"]},"retained":false,"historicalAffected":[]}],"coverage":[]}