When a trusted insider decides to leave with data, the main risk is speed and legitimacy. Because the person already has valid access, they can stage files, move code, or copy sensitive information before controls react. The article's case of a departing engineer shows how insider trust can turn into full exfiltration before the breach is obvious.
Why Departing Access Becomes a Security Problem
Once access has already been granted, departure becomes a race between revocation and misuse. The risk is not only theft of files, but also the legitimacy of the action path, the individual can use normal credentials, approved channels, and familiar systems long enough to stage information without triggering obvious alarms. The strongest controls therefore are not just detective, they are lifecycle controls that shorten the period in which valid access can still be used. For secrets-heavy environments, the relevant failure is often not one dramatic breach but a quiet window where access remains alive after trust has ended.
That is why controls around offboarding, privilege review, and credential rotation matter as much as perimeter security. A departing user with production access can move code, clone repositories, sync cloud data, or harvest documentation while appearing to behave normally. In practice, many teams discover the exposure only after the person has left and the system owner starts asking which accounts, tokens, and sessions should have been cut off earlier.
How the Abuse Typically Happens
Departing insiders usually do not need a sophisticated exploit chain. They rely on the access already in hand, then use time, familiarity, and broad permissions to collect what is valuable before their access is removed. The common pattern is to copy data through approved tools, export it through sync clients, or use credentials that were never rotated when role changes began. If the person has access to code, cloud consoles, ticketing systems, or shared storage, the resulting blast radius can be much larger than the person’s job title suggests.
- Valid credentials remain usable during notice periods, so old privileges can outlast the business relationship.
- Long-lived secrets and shared accounts make it hard to tell which actions were legitimate, especially when logging is thin.
- VPN, SSO, and cloud access may be revoked, yet API keys, personal tokens, and cached sessions can still work.
- Exfiltration often blends into normal work, because the actor already knows the environment and which repositories or data stores matter.
The practical fix is to treat offboarding as a coordinated access event, not an HR formality. For teams managing secrets and machine access, the same discipline appears in the NHIMG Guide to the Secret Sprawl Challenge, which shows how unmanaged credentials widen the window for misuse. This guidance breaks down most often when access is spread across shared vaults, personal tokens, and unmanaged service credentials that no one team owns end to end.
Common Variations and Edge Cases
Tighter offboarding often increases operational friction, so organisations have to balance speed against the risk of cutting off legitimate work too early. Contractors, engineers, and administrators rarely leave through the same path, and that means the response should vary by role, privilege level, and data sensitivity. A low-risk user may only need standard deprovisioning, while a developer with repository and production access may require immediate token rotation and targeted review of recent activity.
The edge cases are usually where the organisation has let trust accumulate. Shared credentials, break-glass accounts, and long-lived API keys can remain effective even after a person’s account is disabled. Similarly, access to intellectual property is not always visible in the IAM console, so a complete response needs to cover source control, collaboration platforms, cloud tenants, and any downstream integrations the person could reach.
Current guidance suggests that the best offboarding control is the one that removes both human access and the credentials that made the access useful in the first place. When environments depend on static secrets or broad standing access, the departure process becomes slower, less certain, and much more dependent on detective controls than it should be.
Risk and Threat Considerations
The material risk is insider exfiltration after trust has already been granted. A departing employee or contractor has a built-in advantage: legitimate access, context, and enough time to act before suspicion rises. That creates exposure not only to data theft, but also to sabotage, credential reuse, and downstream compromise if copied secrets or tokens remain valid elsewhere.
Failure mechanism: The risk materialises when access is not revoked quickly enough, when secrets are reusable beyond the person’s account, or when activity monitoring is too weak to distinguish normal work from staging and transfer. Attackers or malicious insiders can use approved channels, cached sessions, or API access to move sensitive material with little friction.
Impact: Sensitive code, documents, customer data, or credentials can leave with the departing person, and the organisation may lose both confidentiality and control over where that material is used next. In the worst case, the departure becomes the first visible sign of a broader compromise rather than the end of an employment relationship.
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 MITRE ATT&CK address the attack surface, CIS Controls v8 and NIST CSF 2.0 set the technical controls, and PCI DSS v4.0 define the regulatory obligations.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-01 — Secrets and Credential Lifecycle | Departing users often leave reusable secrets active after access should end. |
| NHI-03 — Privilege and Access Scope | Excess standing access increases exfiltration blast radius during offboarding. | |
| NHI-05 — Visibility and Auditability | Quiet insider use is hard to spot without strong logging and activity visibility. | |
| Recommendation — Rotate and revoke credentials immediately when an insider's access is being removed. Reduce standing privilege before departure and confirm access scope is tightly bounded. Log offboarding-relevant access paths and review recent activity for unusual staging or transfer. | ||
| CIS Controls v8 | 5.3 — Manage Administrator Accounts | Administrative access from departing staff must be removed or reassigned quickly. |
| 6.3 — Data Protection | Offboarding must protect sensitive data from authorized but no-longer-trusted users. | |
| Recommendation — Disable or reassign privileged accounts as part of the departure workflow. Limit where sensitive data can be copied and shared before departure occurs. | ||
| NIST CSF 2.0 | PR.AC — Access Control | The core issue is timely removal of access that remains legitimate until revoked. |
| DE.CM — Continuous Monitoring | Monitoring is needed to detect staging and transfer during the revocation window. | |
| Recommendation — Enforce least privilege and rapid access revocation for departing personnel. Monitor high-risk accounts and investigate unusual data movement during offboarding. | ||
| MITRE ATT&CK | T1020 — Data Exfiltration | A departing insider may use legitimate access to move data out before revocation. |
| T1078 — Valid Accounts | The threat relies on access that is already trusted and still usable. | |
| Recommendation — Hunt for large or unusual transfers from accounts in the departure process. Treat valid-account use by a departing insider as a high-priority detection scenario. | ||
| PCI DSS v4.0 | 7.2 — Access Control for Applications and System Components | Departing personnel should lose access based on business need and role. |
| Recommendation — Remove system access immediately when business need ends. | ||
Practitioner Guidance
What to prioritise: Remove the access that creates real blast radius first, not just the account name. That means production, repository, cloud, administrative, and shared secret access should be treated as a single offboarding problem when a person can still reach sensitive systems through any one of them.
Decision rule: If a departing user can still authenticate to a system that holds customer data, source code, or secrets, treat the case as a time-sensitive access containment event. Revoke standing access, rotate high-value credentials, and review recent activity before assuming the account disable alone is sufficient.
What to verify: Confirm that all reusable access paths are gone, including personal tokens, API keys, cached sessions, delegated access, and shared credentials. Also verify ownership of systems outside the main identity platform, because the strongest offboarding failures usually hide in tooling that is not centrally managed.
Practitioner takeaway: Good offboarding is measured by what can no longer be used after trust ends, not by whether the departure ticket was closed quickly.
Related resources from NHI Mgmt Group
- What happens when attackers use valid employee credentials to access internal systems?
- What happens when a contractor or third party gains access to credentials that were never meant to leave a developer workflow?
- What happens when a departing employee or compromised user keeps active access to cloud applications?
- What breaks when a former employee still has access to shared cloud root credentials?
Deepen Your Knowledge
Reviewed and updated by the NHIMG editorial team on September 14, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org