Accountability should sit with both security and engineering leadership. Security defines policy, detection, and response standards, while engineering owns hygiene in day to day workflows and remediation in code and endpoints. Shared accountability matters because secrets on developer machines are created by engineering activity but become a security exposure the moment they are stored or reused.
Why This Matters for Security Teams
Developer machine credentials sit at the intersection of productivity and breach exposure. They are created during normal engineering work, but once they are cached, copied, or reused, they become a security control problem, not just a developer convenience issue. The shared operating model works only when accountability is explicit: engineering owns secure handling in daily workflows, while security owns policy, monitoring, and escalation standards.
This is why the issue keeps recurring in incidents tied to source control, CI/CD, and local tooling. Guidance from the OWASP Non-Human Identity Top 10 and NIST’s control baseline in NIST SP 800-53 Rev 5 Security and Privacy Controls both point toward least privilege, credential lifecycle control, and monitoring as operational requirements rather than optional hygiene. NHIMG research also shows the scale of the problem: the Guide to the Secret Sprawl Challenge highlights how quickly secrets spread once they leave controlled systems, and 23.7% of organisations report sharing secrets through insecure methods such as email or messaging applications. In practice, many security teams encounter this only after a leaked token has already been reused on a developer laptop and lateral movement has begun.
How It Works in Practice
Accountability in a shared engineering and security model should be divided by control plane, not by blame. Security sets the policy standard: what types of credentials are allowed on developer endpoints, when secrets must be ephemeral, how logging and detection should work, and what escalation occurs after exposure. Engineering owns the implementation in day to day workflows: local dev tooling, secrets removal from code and shell history, endpoint hardening, and remediation when a build script or package introduces risky credential handling.
A practical model usually includes:
- Security defining minimum standards for credential storage, rotation, and revocation.
- Engineering enforcing those standards in repos, scripts, containers, and endpoint setup.
- Shared incident response for exposed credentials, including immediate revocation and blast-radius review.
- Automated checks for secrets in code, config files, caches, and developer tooling.
- Measurable ownership for remediation, with security validating risk and engineering fixing root causes.
The most effective teams treat developer credentials as short-lived workload access, not durable personal secrets. That aligns with the direction of the 2024 Non-Human Identity Security Report, which found that 59.8% of organisations see value in simplifying non-human access management with dynamic ephemeral credentials. In the same spirit, the Ultimate Guide to NHIs — Static vs Dynamic Secrets explains why short TTLs reduce exposure when credentials inevitably touch developer machines. These controls tend to break down in highly distributed engineering environments where local admin rights, ad hoc scripts, and unmanaged tooling make enforcement inconsistent.
Common Variations and Edge Cases
Tighter credential control often increases developer friction, requiring organisations to balance security gains against workflow speed. That tradeoff is real, especially in platform teams, incident response, and rapid prototyping, where developers may need temporary access to debugging systems or test environments. Current guidance suggests that exceptions should be explicit, time bound, and reviewable rather than informal or permanent.
There is no universal standard for every edge case yet, but a few patterns are clear. In contractor-heavy environments, accountability must extend to endpoint posture and offboarding, because machine access can outlive project access. In highly automated teams, secret scanning alone is not enough, because a credential may be valid long after the code review passed. In regulated environments, security may need to require attestable control evidence, while engineering remains accountable for fixing the underlying issue. The strongest shared model is one where security defines the control objective and engineering owns the operational path to meet it.
NHIMG analysis of the Shai Hulud npm malware campaign shows why this matters when developer tooling itself becomes the attack path, and the Reviewdog GitHub Action supply chain attack reinforces that shared responsibility must include third-party tooling and CI-integrated credentials. The model fails most often when teams assume the endpoint is only a productivity device and not part of the credential trust boundary.
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, OWASP Agentic AI Top 10 and CSA MAESTRO 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 | Developer machine secrets are NHI credentials that need explicit ownership and lifecycle control. |
| OWASP Agentic AI Top 10 | A-03 | Tool-using autonomous workloads and developer tooling both rely on tightly scoped credentials. |
| CSA MAESTRO | IAM-02 | Shared accountability for machine access fits MAESTRO guidance on identity and access governance. |
| NIST CSF 2.0 | PR.AC-1 | Access control governance is central to deciding who owns developer credential protections. |
| NIST AI RMF | AI RMF helps structure accountability when automated tooling and developer workflows intersect. |
Define joint security-engineering ownership for machine identities, secrets, and exception handling.
Related resources from NHI Mgmt Group
- Who is accountable for securing shared accounts after credentials are centralized?
- Who should be accountable for secrets governance when developer productivity and security controls conflict?
- Who is accountable for closing the loop on cloud security remediation between security and engineering teams?
- Who is accountable for improving threat detection when assume breach becomes the operating model?
Deepen Your Knowledge
Reviewed and updated by the NHIMG editorial team on August 28, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org