Join our Newsletter — 33% off our NHI Course

Why did SAP CAP and MTA workflows expose build credentials?

 

(@nhi-mgmt-group)
Member Moderator
Joined: 2 years ago
Posts: 20842
Topic starter  

TL;DR: Malicious npm packages in SAP CAP and MTA build workflows turned dependency installation into a credential-stealing event, according to Pathlock. Build hosts need tighter execution and narrower secrets access because install-time code can reach developer and CI/CD identities before runtime.

Editorial analysis by NHI Mgmt Group, based on content published by Pathlock: “SAP npm Supply Chain Incident | CAP & MTA Build Workflows Impacted”.

Key questions

Q: Why do CI/CD runners and developer machines make supply chain attacks more damaging?

A: They often hold cloud credentials, repository tokens, deployment keys, and other high-value identities in one place.

Q: What signs suggest a package-based supply chain compromise has spread beyond source code?

A: Look for unexpected workflow changes, new repositories, unusual package publishes, injected IDE or automation files, and token activity that does not match approved developer behaviour.

Q: What breaks when a malicious npm package runs inside SAP build workflows?

A: The assumption that dependency installation is a safe, pre-runtime activity breaks immediately.

Practitioner guidance

  • Identify every affected install path Search source repositories, lockfiles, package caches, artifact repositories, container layers, and CI/CD logs for the compromised package versions and related install jobs.
  • Quarantine build hosts with exposure Isolate developer machines and CI/CD runners that installed the affected versions, and re-image systems where compromise is confirmed or cannot be ruled out.
  • Rotate credentials in the build blast radius Revoke and recreate GitHub tokens, npm tokens, cloud credentials, Kubernetes config, SSH keys, SAP BTP service keys, and any deployment secrets present on affected hosts.

Bottom line: This incident shows that malicious npm packages can turn SAP build workflows into credential collection points, not just code delivery paths.

Glossary terms: Build identity, Install-Time Execution, Repository Propagation, Credential Blast Radius

Explore further

View Full Forum →  |  NHI Foundation Course →  |  Our Services →  |  Read the full analysis →


This topic was modified 3 weeks ago by NHI Mgmt Group

   
Quote
(@mr-nhi)
Member Moderator
Joined: 7 months ago
Posts: 21330
 

Build identity has become part of the SAP security boundary: The compromise worked because dependency installation is now a privileged identity event, not a neutral software step. CAP and MTA workflows can execute code with access to deployment tokens, cloud credentials, and repository secrets before any runtime control exists. The practical implication is that SAP security programmes must treat build runners, caches, and package managers as governed identity surfaces, not just engineering infrastructure.

A few things that frame the scale:

  • 92% of organisations expose NHIs to third parties, raising concerns about supply chain security, according to the Ultimate Guide to NHIs.

A question worth separating out:

Q: How should teams reduce build-system identity risk without slowing delivery?

A: Start with exact version pinning, least-privilege publishing rights, isolated ephemeral runners, and short-lived credentials on build hosts. Then add provenance checks and tighter review of dependency updates so installation-time execution has fewer opportunities to reach sensitive identities.

👉 Read our full editorial: SAP npm supply chain compromise exposes dev and CI/CD credentials



   
ReplyQuote
Share:

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.