Join our Newsletter — 33% off our NHI Course

Who is accountable when an AI tool retains credentials or access after users believe it has been removed?

Accountability sits with the organisation that allowed the tool to connect to sensitive systems, not with the uninstall step alone. Security, IT, and application owners should define approved installation paths, revocation procedures, and credential rotation responsibilities before adoption. If access persists after removal, the response should be treated as an access governance failure, not just a cleanup issue.

Why This Matters for Security Teams

When an AI tool keeps working after people think it has been removed, the issue is not the uninstall event itself but the identity and secret lifecycle behind that tool. A tool with lingering API keys, tokens, or service accounts can continue to query data, move laterally, or trigger actions long after it is “gone” from the endpoint. That creates accountability questions across security, IT, and application ownership, because each group may assume someone else handled revocation.

This is exactly why NHI governance has become a separate discipline. The Ultimate Guide to NHIs — Static vs Dynamic Secrets shows why static credentials are the core problem, and the OWASP Non-Human Identity Top 10 frames credential sprawl and weak lifecycle controls as recurring failure modes. In practice, many security teams discover access persistence only after a tool has already retained privileged reach into production systems.

How It Works in Practice

Accountability should follow the party that approved the integration and controlled the credential path, not the person who clicked uninstall. In a mature process, application owners define what the tool may access, security defines the credential standard, and IT or platform teams execute revocation, rotation, and deprovisioning. The control point is the lifecycle of the NHI, not the removal of the user interface.

That means organisations need explicit offboarding steps for tools as well as people. Those steps usually include:

  • revoking API keys, OAuth grants, service accounts, and certificates
  • rotating any shared secrets that may have been stored locally or in CI/CD
  • checking whether the tool created subordinate tokens, cached refresh tokens, or delegated permissions
  • validating that downstream systems no longer trust the tool’s workload identity
  • logging who approved access, who owned revocation, and when verification was completed

Current guidance suggests treating these controls as part of privileged access management and secret governance, not as a software removal task. NIST control guidance in NIST SP 800-53 Rev 5 Security and Privacy Controls aligns with the expectation that access must be explicitly removed and reviewed. NHIMG research on the Guide to the Secret Sprawl Challenge also shows why hidden copies of credentials often survive long after the visible tool is removed. One useful operational signal is whether the organisation can prove revocation, not merely confirm deletion from a device or marketplace account.

For AI tools, the risk rises if the tool used delegated permissions, cached tokens, or background connectors tied to cloud data stores. These controls tend to break down when uninstall is handled as a local endpoint event while the real authority lives in SaaS tenants, cloud IAM, or CI/CD pipelines because the credential is still trusted elsewhere.

Common Variations and Edge Cases

Tighter revocation often increases operational overhead, requiring organisations to balance fast tool adoption against stronger credential governance. That tradeoff becomes more visible when teams use browser extensions, SaaS copilots, or agentic tools that connect through third-party accounts rather than a central platform.

One common edge case is shared ownership. A business team may request the tool, IT may provision access, and security may only review it after the fact. Best practice is evolving toward written ownership for each stage of the lifecycle, because “who removed it” is rarely the same as “who remains accountable.” Another edge case is shadow adoption, where a user connects a tool with personal or departmental credentials. In that situation, the organisation still owns the risk if the integration reached sensitive systems, even if the original installer leaves the company.

Teams should also distinguish between revocation and expiration. Short-lived tokens reduce blast radius, but they do not replace offboarding controls if refresh tokens, API keys, or machine identities remain active. The 2024 Non-Human Identity Security Report found that only 19.6% of security professionals are strongly confident in their organisation’s ability to securely manage workload identities, which helps explain why stale access persists. These controls are most likely to fail in hybrid environments where the tool spans SaaS, cloud, and local automation, because revocation rarely happens in one system.

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-63, NIST Zero Trust (SP 800-207) 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-03 Credential rotation and revocation are central when access persists after removal.
NIST CSF 2.0 PR.AC-4 Least-privilege access must be removed when a tool is no longer approved.
NIST SP 800-63 Digital identity lifecycle concepts support timely deprovisioning of tool credentials.
NIST Zero Trust (SP 800-207) SC-7 Zero Trust requires continuous validation, not trust that ends at uninstall.
NIST AI RMF GOVERN AI governance assigns accountability for the full lifecycle of AI-enabled tools.

Map every tool integration to an owner and rotate or revoke all associated NHI credentials during offboarding.