By NHI Mgmt Group Editorial TeamDomain: AnnouncementsSource: GitGuardianPublished September 14, 2026

TL;DR: Developer laptops are filling with plaintext credentials that never reach source control, leaving security teams to reconstruct exposure through days or weeks of forensics, according to GitGuardian. The control gap is not detection alone but the absence of a per-machine credential inventory that can prove what was on the device, what was harvested, and what coverage an auditor can test.


At a glance

What this is: This brief argues that developer workstations have become an unmanaged credential layer, and that existing EDR, vault, and repository scanning controls do not inventory what attackers can steal locally.

Why it matters: IAM, NHI, and security operations teams need a machine-level view of developer-held secrets because workstation compromise can expose credentials outside normal control boundaries and complicate incident response, audit evidence, and ownership.

By the numbers:

👉 Read GitGuardian's brief on hidden credential risk in developer workstations


Context

Developer workstations now sit inside the identity perimeter, but most programmes still treat them as endpoint assets rather than credential-bearing systems. That gap matters because plaintext secrets can live in local files, caches, and build artefacts that never enter the repository or the vault.

For identity teams, this is an NHI governance problem as much as an endpoint problem. If a laptop can hold reusable access material, then the organisation needs a lifecycle view of those credentials, not just malware detection or repository scanning.

The article’s starting point is typical, not exceptional: when a laptop is compromised, most organisations still need forensic work to answer what credentials existed and what was taken. That is a sign the control plane is missing inventory, not just better alerting.


Key questions

Q: What breaks when developer workstation secrets are not inventoried?

A: Without a workstation-level inventory, security teams cannot quickly prove which credentials were present on a compromised laptop, which ones were still active, or how far the exposure spread. That leaves responders reconstructing the problem from artefacts after the fact, instead of containing it from an authoritative device record.

Q: Why do developer credentials create supply-chain risk beyond repository access?

A: Because those credentials often control release, signing, and marketplace distribution, not just source-code access. If an attacker steals them, they can republish trusted artifacts, inherit legitimate distribution paths, and reach downstream users without breaking perimeter defenses. The risk comes from identity reuse across the software lifecycle, not from source control alone.

Q: How do security teams know if secrets governance is actually working on developer workstations?

A: Secrets governance is working when sensitive material is not recoverable from local paths, environment variables, or build scripts, and when imported dependencies cannot read them without triggering detection. Good signals include reduced secret presence on endpoints, enforced rotation after developer compromise, and audited ownership for every deployer credential.

Q: What is the difference between repository scanning and workstation credential inventory?

A: Repository scanning finds secrets that reach source control. Workstation credential inventory finds secrets that remain on developer devices, including local files, caches, and assistant-generated artefacts, which is the layer attackers often harvest first after a laptop compromise.


How it works in practice

Why workstation secrets evade EDR, vaults, and repo scanning

EDR is built to detect malicious behaviour on the endpoint, not to maintain a durable inventory of every credential a developer has ever used. Vaults protect centrally managed secrets, but they do not automatically account for copies that land in shell histories, local configuration files, SDK caches, or AI coding assistant artefacts. Repository scanning is similarly bounded: it can find what reaches source control, but not what remains on the workstation. The result is a credential layer with no owner and no authoritative count.

Practical implication: Build controls that enumerate local credential exposure, not just controls that detect compromise after the fact.

What a per-machine credential inventory changes operationally

A per-machine credential inventory turns workstation secrets from an unknown residue into a measurable asset class. It creates a device-scoped view of what credentials are present, whether they are still active, and how widely they are distributed across the fleet. That gives security teams an auditable boundary between secrets managed centrally and secrets that exist only on endpoints. In practice, it also makes exposure analysis faster because responders can start with a machine list instead of reconstructing the problem from scattered artefacts.

Practical implication: Use device-scoped inventories to shorten triage and prove control coverage during incident review and audit.

Why AI coding assistants increase local credential risk

AI coding assistants can accelerate development while leaving prompts, snippets, tokens, and configuration fragments in local artefacts that do not follow the same governance path as source-controlled code. That matters because the credential is not just in the repository workflow any more. It can exist in the developer session, the workstation cache, or temporary files long before any security control sees it. The governance problem is therefore not only secret scanning, but ownership of the developer device as a credential-bearing runtime.

Practical implication: Treat AI-assisted development environments as credential-producing systems that need endpoint-level oversight.


NHI Mgmt Group analysis

Developer workstations have become a blind spot in NHI governance because they hold credentials that never enter the traditional inventory stack. EDR can detect suspicious activity, and vaults can protect centrally managed secrets, but neither creates a machine-level record of what lives on a developer laptop. The governance problem is therefore not visibility in the abstract, but ownership of a credential-bearing device that security teams still treat as a generic endpoint. Practitioners need to recognise the workstation itself as part of the non-human identity estate.

Per-machine credential inventory is the named control gap this brief exposes. Without it, responders cannot answer a board-level question quickly: what credentials were on the laptop, which were active, and how far did exposure spread? That gap is bigger than forensics inconvenience. It means incident handling starts from uncertainty, and audit evidence becomes retrospective reconstruction instead of a testable control boundary. Security teams should treat inventory as the missing layer between detection and governance.

Credential residue on developer endpoints: The article shows that secrets can persist locally even when source control, vaults, and central scanning are in place. That residue is especially dangerous because it sits outside the lifecycle controls most organisations apply to service accounts and tokens. The implication is that credential lifecycle management must extend to developer devices, not stop at central secret stores.

AI-assisted development expands the blast radius of local secret exposure. When coding assistants generate or manipulate credentials, snippets, and configuration fragments, the workstation becomes a secondary secrets workspace. That does not make the system autonomous, but it does make local artefact governance more important because the credential trail is now distributed across tools, caches, and temporary files. Practitioners should re-evaluate where credential custody actually begins and ends.

This problem spans IAM, endpoint security, and auditability, which is why point solutions keep missing it. The brief is strongest where it shows that control ownership is fragmented: EDR sees behaviour, vaults see managed secrets, and scanners see repositories. None of them alone can prove what a developer machine contained at the moment of compromise. The practical conclusion is that teams need a common evidence model for endpoint-held credentials, not another isolated detector.

From our research:

  • 91% of former employee tokens remain active after offboarding, leaving organisations vulnerable to potential security breaches, according to The 2025 State of NHIs and Secrets in Cybersecurity.
  • 62% of all secrets are duplicated and stored in multiple locations, causing unnecessary redundancy and increasing the risk of accidental exposure.
  • Guide to the Secret Sprawl Challenge explains why local secret sprawl keeps defeating centralised governance models.

What this signals

Credential residue on developer endpoints is now a programme problem, not just an incident problem. If workstation-held secrets are not inventoried, the organisation cannot prove offboarding completeness or exposure scope after compromise. That pushes identity teams toward a device-aware lifecycle model for secrets, with endpoint evidence feeding into governance rather than sitting beside it.

Developer laptops should be treated as a governed credential surface. For teams that already manage service accounts, API keys, and tokens, the next maturity step is to make local developer artefacts visible in the same reporting model. That means linking endpoint scans, secret ownership, and revocation evidence so operational response does not depend on weeks of forensic reconstruction.

The security baseline is shifting toward explicit custody of all machine-held secrets, including those created during software development. In that model, inventory is the prerequisite for rotation, revocation, and audit sign-off, not a separate hygiene task.


For practitioners

  • Create a per-machine credential inventory Enumerate credentials, tokens, and keys present on developer laptops, including local files, caches, shell history, and AI assistant artefacts. Use the inventory as the authoritative record for exposure analysis and audit testing.
  • Segment endpoint-held secrets from centrally managed secrets Classify which credentials are intended to live only on developer workstations and assign explicit owners, rotation expectations, and offboarding triggers for each class.
  • Extend incident response to local secret residue Add laptop artefact review to compromise playbooks so responders can determine what credentials were present before they start rotating and revoking access.
  • Measure workstation secret coverage by fleet, not by case count Report the percentage of developer devices covered by scheduled credential scans, the number of exposed credentials per device, and the gap between discovered secrets and rotated secrets.

Key takeaways

  • Developer workstations now hold credentials that often sit outside repository scanning, vault coverage, and standard endpoint telemetry.
  • The evidence gap is operational as much as technical because responders still need forensic reconstruction to answer what was on a compromised laptop.
  • A per-machine credential inventory gives IAM and NHI teams a testable control boundary for exposure, ownership, and offboarding.

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, NIST SP 800-53 Rev 5, CIS Controls v8 and NIST Zero Trust (SP 800-207) set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Non-Human Identity Top 10NHI-01 — Inventory and VisibilityThe article centres on missing inventory for credentials on developer workstations.
Recommendation — Inventory workstation-held secrets and map each device to an accountable credential owner.
NIST CSF 2.0PR.AC-4 — Access Permissions and AuthorisationsDeveloper-held credentials are access artefacts that need governed permissions and scope.
Recommendation — Apply access authorisation controls to device-held credentials before they become reusable attack paths.
NIST SP 800-53 Rev 5AC-6 — Least PrivilegeLocal credential exposure becomes worse when credentials provide excess access.
Recommendation — Constrain workstation-held credentials to least privilege and revoke broad reuse permissions.
CIS Controls v8CIS-5 — Account ManagementThe brief highlights unmanaged credential lifecycle and offboarding gaps.
Recommendation — Track and remove developer credentials as part of account management and offboarding processes.
NIST Zero Trust (SP 800-207)3.2 — Device trust and continuous verificationA compromised laptop undermines trust in the device as a credential custodian.
Recommendation — Verify device trust continuously before allowing workstation-held credentials to reach sensitive systems.

Key terms

  • Per-Machine Credential Inventory: A per-machine credential inventory is a record of the credentials, tokens, keys, and related artefacts present on an individual device. In NHI governance, it gives security teams a testable boundary for exposure, ownership, and revocation when credentials live on endpoints rather than only in central vaults.
  • Credential Residue: Credential residue is the leftover secret material that remains on a device after normal development, build, or authentication activity. It includes files, caches, histories, and assistant-generated artefacts that may never reach source control but still create access risk if the device is compromised.
  • Endpoint-Held Secret: An endpoint-held secret is any credential stored or used on a user or developer device instead of being centrally managed. These secrets often bypass repository scanning and vault controls, which means inventory and revocation must extend to the workstation itself to prevent invisible reuse.
  • Workstation Secrets Governance: Workstation secrets governance is the set of controls that assigns ownership, visibility, and lifecycle handling to credentials living on developer machines. It bridges endpoint security and IAM by treating the device as part of the identity estate rather than a passive place where work happens.

What's in the full announcement

GitGuardian's full brief covers the operational detail this post intentionally leaves for the source:

  • Early access findings on what attackers actually harvest from developer laptops and which artefacts are most exposed.
  • The four metrics used to report fleet exposure, control coverage, and auditor-testable evidence.
  • The 95-day post-incident window and why it changes response sequencing for local secret exposure.
  • How to begin an endpoint credentials audit using scheduled scans and device management integration.

👉 GitGuardian's full brief covers workstation artefacts, fleet exposure metrics, and the control gap between endpoint tools and secret governance.

Deepen your knowledge

NHI governance, agentic AI identity, and machine identity lifecycle are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are building or maturing an IAM programme, it is worth exploring.
NHIMG Editorial Note
Published by the NHIMG editorial team on September 14, 2026.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org