TL;DR: Developer laptops, CI/CD runners, and other reachable environments remain high-risk places for secret exposure, and GitGuardian’s demo frames the problem as a visibility and remediation gap across developer endpoints, vaults, SaaS apps, and identity providers. The governance issue is not just leaked credentials but ownership, over-permissioning, and the inability to keep pace with plaintext secrets at scale.
At a glance
What this is: This is a GitGuardian demo on detecting and remediating leaked secrets across developer endpoints and connected environments, with a key finding that credential exposure remains a fast-moving identity problem.
Why it matters: It matters because IAM, NHI, and PAM teams cannot govern what they cannot see, and developer endpoints often sit outside the operational visibility needed to manage secret ownership, privilege, and lifecycle risk.
By the numbers:
- When AWS credentials are exposed publicly, attackers attempt access within an average of 17 minutes and as quickly as 9 minutes in some cases.
👉 Register for GitGuardian's live demo on developer endpoint secrets and identity visibility
Context
Developer endpoints are often the first place secrets escape, especially when credentials live in plaintext on laptops, CI/CD runners, or other machines that sit close to code and deployment workflows. In identity terms, the problem is not just secret storage. It is the inability to consistently see where non-human identities, tokens, and keys exist before attackers do.
That gap matters because secret exposure turns governance into a race between discovery and abuse. If ownership is unclear, permissions are broader than needed, or remediation stalls across teams, the organisation loses control of the identity assets that actually power its software estate.
Key questions
Q: What breaks when secrets are stored in plaintext on developer endpoints?
A: Plaintext secrets turn endpoints into identity exposure points because any person, process, or malware that reaches the device can potentially reuse the credential. That breaks the assumption that secrets only exist inside controlled systems. The result is faster theft, harder attribution, and a larger blast radius when the credential authenticates multiple services.
Q: Why do exposed service account credentials create such broad risk?
A: Service account credentials often carry standing access into cloud, CI/CD, or SaaS systems, so one exposed secret can open multiple control paths at once. The risk is amplified when the credential has not been scoped tightly or tied to a clear owner. That is why secret exposure must be treated as identity governance, not just data leakage.
Q: How do security teams know if secret remediation is actually working?
A: Remediation is working when each leaked credential is matched to an owner, rotated or revoked without breaking dependent systems, and confirmed inactive after the change. Good programmes measure time to identification, time to invalidation, and the percentage of secrets with verified ownership. If those signals are missing, the process is cosmetic.
Q: Who should own exposed secret response across IAM and engineering teams?
A: Ownership should sit with the team that controls the workload or pipeline using the secret, while security defines the policy and verifies the outcome. That split prevents tickets from stalling in a central queue. The practical test is whether the owner can revoke, rotate, and revalidate access without waiting for a separate admin chain.
Background and context
Why developer endpoints become secret concentration points
Developer laptops and build runners accumulate credentials because they sit at the junction of source code, deployment tooling, package managers, and cloud access. Secrets appear in local files, environment variables, logs, browser stores, and copied configuration snippets. Once a secret reaches a reachable endpoint, the risk is not theoretical because it can be harvested by malware, browser theft, or opportunistic scanning. The architectural issue is that endpoint visibility is usually split across EDR, DLP, and code scanning, while secret governance needs one view of what exists, where it is usable, and who owns it.
Practical implication: map endpoint secret discovery into your identity inventory and incident workflow, not just your security tooling stack.
Why plaintext secrets break non-human identity governance
A secret in plaintext is a live identity artefact, not just a file. It can represent a service account, API token, cloud access key, or session credential with standing privilege attached. That means the security question shifts from storage hygiene to identity control. If a credential can be copied, reused, or shared outside its intended lifecycle, then the governing assumptions behind least privilege, ownership, and revocation no longer hold. Secrets management must therefore be treated as NHI governance, because the secret is the control surface for the workload or automation that uses it.
Practical implication: classify exposed secrets by identity type and privilege scope before deciding whether to rotate, revoke, or reissue.
How remediation workflows change at scale
Large secret-leak programs fail when remediation is handled as isolated ticketing. The effective model is a closed loop: detect, identify the owning system and identity, validate whether the secret is active, and coordinate revocation or rotation across affected services. Scale introduces another challenge: one secret may be embedded in multiple places, and one credential may authenticate more than one workflow. That is why remediation has to include dependency mapping and post-incident validation, not just a replacement value. Without that, the organisation may remove the visible secret while leaving the underlying access path intact.
Practical implication: build a remediation runbook that includes owner lookup, dependency tracing, and post-rotation validation for every leaked credential.
NHI Mgmt Group analysis
Developer endpoints are now identity control points, not just user devices. Once secrets live on laptops and runners, the endpoint becomes part of the identity plane because it can reveal tokens, keys, and credentials that govern workloads and automation. That shifts the control boundary for IAM and NHI teams, who can no longer treat secrets discovery as a separate hygiene task. The practical conclusion is that endpoint visibility must feed identity governance directly.
Secret exposure is a lifecycle failure before it is a detection problem. Credentials left in plaintext outlive the moment they were created for, then drift into places the owning team did not intend. Rotation alone does not solve that if ownership, usage scope, and offboarding remain unclear. Practitioners need to read exposed secrets as lifecycle evidence, not just incident evidence.
Identity blast radius is the right concept for developer-machine secret risk. A single leaked token can cover code, CI/CD, cloud services, and third-party SaaS, which means the real risk is not the secret itself but the reach of the identity behind it. That makes over-permissioning a multiplier on exposure. The lesson for governance teams is to reduce what each secret can touch before exposure occurs.
Developer-first prevention matters because the highest-value control is earlier than remediation. Detecting leaks quickly is necessary, but the stronger posture is to stop plaintext credential creation on endpoints in the first place. That means changing developer workflows, not just adding more alerting. The organisations that will hold the line are the ones that make secure credential handling the default inside engineering operations.
Ownership gaps are a governance failure, not an admin inconvenience. When a secret leak cannot be tied rapidly to a system owner, the response slows and the exposed access window widens. This is the same accountability problem that appears in wider NHI programmes: if no one owns the credential lifecycle, no one can credibly govern it. Practitioners should treat ownership mapping as a control, not a clerical step.
From our research:
- When AWS credentials are exposed publicly, attackers attempt access within an average of 17 minutes, and as quickly as 9 minutes in some cases, according to LLMjacking: How Attackers Hijack AI Using Compromised NHIs.
- Secrets are not a niche problem in practice. In The State of Secrets in AppSec, 6 distinct secrets manager instances were reported on average, which fragments control and slows governance.
- For the broader governance model, Ultimate Guide to NHIs is the next step for teams building lifecycle, visibility, and ownership controls.
What this signals
Identity blast radius: the useful planning concept here is not just whether a secret exists, but how far it can move once exposed. Teams should expect more endpoint-originated leaks to behave like identity incidents, because the credential is the access path and the access path is the risk.
If your programme still treats secret discovery as a tooling problem, it will lag the rate at which exposed credentials are weaponised. The operational shift is to connect endpoint scanning, ownership mapping, and revocation into one workflow, with NIST Cybersecurity Framework 2.0 style governance around identify, protect, detect, and respond.
The bigger signal for identity teams is that secrets visibility is becoming a prerequisite for NHI governance maturity. In our research, 43% of security professionals are concerned about AI systems learning and reproducing sensitive information patterns from codebases, which shows the risk now spans both human workflows and machine consumers of code.
For practitioners
- Map secrets to identity owners Build a record that ties each discovered secret to the workload, service account, or team that owns it, then require that owner to approve rotation or revocation before closure.
- Extend discovery beyond code scanners Scan developer laptops, CI/CD runners, and adjacent endpoints for plaintext credentials, cached tokens, and copied configuration files because code-only scanning misses active exposure paths.
- Treat exposed secrets as lifecycle events Classify each leak by whether the credential is still active, where it is used, and whether downstream services depend on it before deciding the response path.
- Reduce standing access on high-reach credentials Reissue credentials with narrower scopes wherever possible and remove persistent privilege from tokens that connect code, build, and cloud environments.
- Validate rotation with dependency checks After changing a secret, confirm every dependent application, pipeline, and integration has switched to the new credential and that the old one no longer authenticates.
Key takeaways
- Developer endpoints are part of the identity attack surface when they hold live credentials, because leaked secrets can be reused long before a team notices.
- Secret governance fails fastest when ownership, privilege scope, and dependency mapping are unclear, which makes remediation slow and incomplete.
- Practitioners should connect endpoint discovery to lifecycle control, so rotation, revocation, and validation happen as one identity workflow.
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 address the attack and risk surface, while NIST CSF 2.0 and NIST Zero Trust (SP 800-207) set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-03 | Secret exposure and rotation are central to this demo's NHI governance focus. |
| NIST CSF 2.0 | PR.AC-4 | The post centers on access scope and identity visibility across connected environments. |
| NIST Zero Trust (SP 800-207) | AC-4 | Developer endpoint secret risk is a trust boundary problem that zero trust addresses. |
Inventory exposed secrets and enforce rotation or revocation when developer endpoints reveal plaintext credentials.
Key terms
- Developer Endpoint: A developer endpoint is a laptop or workstation used to write code, run tools, and access build or cloud systems. In identity governance terms, it is also a place where live credentials can be stored, copied, or exposed, which makes the device part of the control surface rather than just a user asset.
- Secret Exposure: Secret exposure is the accidental or unauthorized disclosure of a credential such as a token, API key, or certificate. The key issue is not only where the secret appears, but whether it remains valid and usable after exposure, because that determines how quickly an attacker can turn disclosure into access.
- Identity Blast Radius: Identity blast radius is the scope of systems, data, and workflows that a single credential can reach if it is abused. It is a useful way to measure how much damage one leaked secret can cause, especially when the credential has standing privilege or connects multiple services.
- Ownership Mapping: Ownership mapping is the process of linking each credential or secret to the person or team responsible for its lifecycle. It is critical because remediation stalls when no one can confirm who should rotate, revoke, or reissue the access path after a leak.
What to expect at the briefing
GitGuardian's full webinar covers the operational detail this post intentionally leaves for the source:
- How its detection workflow surfaces credentials across code, endpoints, CI/CD, and other reachable environments.
- What the developer-first prevention flow looks like when plaintext secrets appear on laptops and build systems.
- How remediation is organised at scale when a leak affects more than one identity, pipeline, or SaaS integration.
- What visibility into vaults, SaaS applications, and identity providers adds to ownership and over-permission analysis.
Deepen your knowledge
NHI governance, agentic AI identity, and machine identity security are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are responsible for identity security strategy or NHI governance in your organisation, it is worth exploring.
Published by the NHIMG editorial team on 2026-11-18.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org