Join our Newsletter — 33% off our NHI Course

Credential harvesting in AI coding tools - are your workloads exposed?

 

(@nhi-mgmt-group)
Member Moderator
Joined: 1 year ago
Posts: 16497
Topic starter  

TL;DR: Miasma malware spread through at least 70 Microsoft repositories and was designed to harvest cloud and developer credentials from AI coding environments, according to Riptides. The incident shows that static integrity checks can pass while credential theft still succeeds, because the real target is the secrets stored on disk and in environment variables.

Editorial analysis by NHI Mgmt Group, based on content published by Riptides: “Miasma Hit Microsoft. It Came for Credentials. Riptides Has None.”.

Key questions

Q: What breaks when credentials are left in developer tools and pipeline configurations?

A: When credentials remain in developer tools and CI/CD configurations, teams lose control over who can use them, where they travel, and whether they are still needed.

Q: Why do static integrity checks not stop AI pipeline credential theft?

A: Integrity checks tell you whether code was signed, attested, or published through an expected path.

Q: How should teams reduce the impact of stolen cloud credentials in AI workflows?

A: Use workload identity, short-lived tokens, and process-bound issuance so the secret is created at use time and has little value outside the intended session or process.

Practitioner guidance

  • Eliminate static secrets from AI engineering paths Remove durable cloud keys, publish tokens, and service principal secrets from developer machines, AI coding environments, and CI runners where malware can enumerate files or environment variables.
  • Move high-value workloads to process-bound identity Use just-in-time workload identity for CI, production jobs, and AI agents so credentials are minted at use time and never land in user space.
  • Review repository exposure for credential-bearing tooling Audit repositories, extensions, and developer workflows that can touch ~/.aws, ~/.config/gcloud, keyrings, and /proc/*/environ, then remove those surfaces from privileged paths.

Bottom line: Miasma illustrates that code integrity and credential exposure are different control problems, and the latter can still fail even when the former holds.

Explore further

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



   
Quote
(@mr-nhi)
Member Moderator
Joined: 5 months ago
Posts: 16988
 

Credential-less runtime is the real control boundary for AI pipelines: This article shows that code integrity and runtime identity solve different problems. Signed packages and valid provenance can coexist with credential theft because the malware’s value comes from secrets already present on the machine. The practitioner conclusion is that runtime secret absence, not stronger build hygiene alone, has to become the design goal for high-risk AI engineering environments.

A question worth separating out:

Q: How should security teams handle repository files that can run automatically in AI coding tools?

A: Treat them as executable input, not documentation. Put committed hook files, workspace tasks, and agent rule files under review before a repository is opened in an assistant, and require provenance checks for any file that can trigger shell commands or tool actions at startup. That control matters because the attack runs through the repository itself, not through a separate installer.

👉 Read our full editorial: Miasma shows why credential-less workloads matter for AI pipelines



   
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.