Look for extensions that request broad filesystem, network, or shell access, especially on machines that also handle source control and cloud access. Then trace whether those extensions can reach tokens, signing keys, or build artefacts. If an extension can read or transmit those assets without tight controls, it has crossed into identity risk.
Why This Matters for Security Teams
Extension ecosystems often become identity amplifiers because they sit close to source control, cloud consoles, package managers, and local developer tokens. The risk is not just data theft. A single extension with broad filesystem, network, or shell permissions can expose API keys, signing material, and build artefacts, then move those secrets into places defenders rarely inspect. That is why NHI Management Group treats extensions as part of the identity attack surface, not just endpoint software.
This pattern is well documented in supply chain incidents and secret-sprawl cases, including the Guide to the Secret Sprawl Challenge and the Shai Hulud npm malware campaign. Current guidance from the OWASP Non-Human Identity Top 10 is to treat machine-issued credentials as high-value NHI assets, because exposure often happens through software dependencies and extension trust chains rather than obvious user error.
In practice, many security teams discover the problem only after a token has already been read from disk, copied into telemetry, or exfiltrated through an extension update channel.
How It Works in Practice
The first step is to inventory what each extension can actually reach. Security teams should map permissions to real assets: local files, clipboard, network destinations, shell execution, secrets stores, browser sessions, and build directories. An extension that can read developer home folders on a machine used for cloud access may be able to reach session cookies, SSH keys, cloud CLI profiles, or CI credentials. That creates identity exposure even when the extension never directly “asks” for a secret.
Detection works best when teams combine static review with runtime observation. Static review checks manifest permissions, extension provenance, signing status, update cadence, and whether the extension requests access broader than its business function. Runtime review looks for secret access patterns, unusual outbound connections, process spawning, or reads from sensitive directories. For cloud and developer environments, defenders should also inspect whether the extension can touch build artefacts that embed credentials, such as packaged config files, signed release bundles, or environment snapshots.
For deeper NHI context, the 52 NHI Breaches Analysis shows how exposed machine credentials repeatedly become the bridge from one compromise to many. The control logic should align with established security baselines such as NIST SP 800-53 Rev 5 Security and Privacy Controls, especially least privilege, logging, and boundary protection. The practical question is simple: can the extension read, transform, or transmit a credential without a separate approval path?
- Review extension permissions against the minimum needed for the stated function.
- Separate developer workstations from high-value secrets where possible.
- Log file reads, shell calls, and outbound connections from extension processes.
- Scan source trees and build outputs for embedded credentials before extensions can access them.
These controls tend to break down in highly customized developer environments where dozens of extensions, local caches, and unmanaged plugins all share the same trusted workstation context.
Common Variations and Edge Cases
Tighter extension controls often increase developer friction, requiring organisations to balance fast workflows against reduced secret exposure. That tradeoff is real, especially when teams rely on extensions for code completion, cloud deployment, test automation, or browser-based admin tasks.
Current guidance suggests different treatment by environment. On shared build hosts, server-side IDEs, and VDI sessions, extension privileges should be narrower because the blast radius is larger. On personal laptops, the problem is often shadow access: extensions may not be malicious, but they can still inherit access to tokens stored for convenience. There is no universal standard for this yet, but best practice is evolving toward intent-based review of extension behavior rather than approval based only on vendor reputation.
The hardest edge case is the trusted extension that later changes behavior through an update. That is where supply chain monitoring matters most. The Reviewdog GitHub Action supply chain attack illustrates how a trusted automation component can become a secret-exfiltration path after the fact. In parallel, the Anthropic first AI-orchestrated cyber espionage campaign report reinforces that automated systems will chain tools opportunistically once credentials are reachable.
Security teams should therefore treat extension ecosystems as credential-bearing infrastructure, not convenience software, and continuously validate that access still matches business need.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Non-Human Identity Top 10 and OWASP Agentic AI Top 10 address the attack and risk surface, while NIST CSF 2.0 and NIST AI RMF set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-01 | Extension ecosystems often expose machine secrets and tokens. |
| NIST CSF 2.0 | PR.AC-4 | Least privilege and access governance apply to extension permissions. |
| NIST AI RMF | AI and automation governance helps assess tool-chaining exposure. | |
| OWASP Agentic AI Top 10 | A01 | Autonomous tool use increases the chance of credential exposure. |
Constrain any extension or agentic workflow so it cannot reach secrets without explicit runtime policy.
Related resources from NHI Mgmt Group
- How do security teams know whether mining activity is legitimate or malicious?
- How do security teams know whether exfiltrated data contains credentials that can be reused elsewhere?
- How do security teams know whether an agent is using credentials within scope?
- How do security teams know whether stolen credentials can be replayed?
Deepen Your Knowledge
Reviewed and updated by the NHIMG editorial team on August 20, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org