Identity Security Risks Every Modern Enterprise Should Understand
The identity risks that matter most today, from phishable MFA and standing privilege to secret sprawl, OAuth grants and AI agents, and how to prioritise fixing them.
On this page
When the corporate network stopped being the place where work happened, identity became the thing that decides who and what can reach your data. Employees sign in to dozens of SaaS applications from anywhere, workloads call cloud APIs with tokens, and integrations connect systems that never share a network. In that world, an attacker who obtains a valid identity rarely needs an exploit.
MITRE ATT&CK captures this directly: its Valid Accounts technique, including the Cloud Accounts sub-technique T1078.004, describes adversaries using legitimate credentials for initial access, persistence, privilege escalation and defence evasion. Abusing valid accounts blends in with normal activity, which is why identity weaknesses deserve the same scrutiny as unpatched software.
This article walks through the identity risks that matter most in a modern enterprise, how to recognise each one in your own environment, and how to decide what to fix first.
How identity became the control plane
Three shifts explain why identity carries so much weight:
- SaaS and cloud consolidation. Your identity provider now gates email, source code, finance systems and cloud consoles. One compromised session can reach all of them.
- Machine-to-machine growth. Service accounts, API keys, CI tokens, OAuth apps and now AI agents authenticate constantly and usually hold more standing access than people do.
- Federation everywhere. Trust relationships between identity providers, cloud accounts and SaaS tenants mean that a weakness in one place can be inherited elsewhere.
CISA's Zero Trust Maturity Model places Identity as one of its five pillars, alongside devices, networks, applications and workloads, and data. The practical lesson is that identity controls are not an IT hygiene topic; they are core security architecture.
Eight identity risks to understand
1. Phishable multi-factor authentication
MFA based on one-time codes, SMS or push approvals is far better than passwords alone, but it can be phished. An adversary-in-the-middle site relays the code in real time, or a user approves a push they did not initiate. NIST SP 800-63B-4 is explicit that passwords, OTP and out-of-band authenticators are not phishing-resistant, requires a phishing-resistant authenticator at AAL3, and requires verifiers to offer a phishing-resistant option at AAL2.
What to look for: privileged users and administrators who can still sign in with OTP or push; fallback methods that let any user downgrade from a security key to SMS.
What to do: move administrators and high-risk roles to FIDO2/WebAuthn security keys or platform passkeys first, then remove weaker fallback methods for those groups.
2. Session and token theft
Strong sign-in does not help if the resulting session cookie or refresh token is stolen from a browser or a developer laptop and replayed elsewhere. Infostealer malware and malicious browser extensions target exactly these artefacts.
What to look for: long session lifetimes for sensitive applications, refresh tokens that never expire, no re-authentication for high-risk actions.
What to do: shorten session lifetimes for admin consoles, require step-up authentication for sensitive actions, and use device-bound or conditional access controls where your identity provider supports them.
3. Standing privilege
Accounts that hold administrator rights all the time are attractive targets and create large blast radii. This applies to cloud owner roles, domain admins, SaaS super-admins and CI identities that can deploy anywhere.
What to look for: the number of permanent holders of each top-tier role; administrators who use their privileged account for email and browsing.
What to do: move to just-in-time elevation with approval and expiry, separate admin accounts from daily accounts, and keep a small, monitored set of break-glass accounts.
4. Orphaned and stale accounts
People change roles and leave; projects end; vendors finish contracts. Accounts and grants that outlive their purpose are free access for whoever finds their credentials. OWASP lists Improper Offboarding as the first risk in its Non-Human Identities Top 10, and the same failure affects human accounts in applications that are not connected to SSO.
What to look for: accounts unused for 90 days or more, local accounts in SaaS tools outside SSO, contractor accounts without an end date.
What to do: connect applications to SSO and provisioning where possible, set expiry dates on contractor and vendor access, and regularly disable unused accounts. AWS's IAM best practices, for example, recommend regularly reviewing and removing unused users, roles, permissions, policies and credentials.
5. Secret sprawl
API keys, database passwords and cloud access keys end up in source code, CI logs, container images, chat messages and wikis. Each copy is an identity anyone can use. OWASP's NHI Top 10 covers this as Secret Leakage and Long-Lived Secrets.
What to look for: secrets in git history (not just the latest commit), static cloud keys used by pipelines, keys shared across several services.
What to do: scan repositories and pipelines continuously, revoke and rotate anything found, and replace static keys with workload identity federation or short-lived tokens wherever the platform allows.
TrustIvan's secret detection scans git history and staged lines, with an opt-in live-validity check for some detectors, which helps separate dead keys from ones that still need urgent revocation.
6. Over-broad third-party OAuth grants
Every "Sign in with" or "Connect your account" prompt that a user or admin approves creates a standing grant. Third-party apps with mail, file or repository scopes can read large amounts of data, and a compromise at the vendor becomes your problem. OWASP calls this Vulnerable Third-Party NHI.
What to look for: apps with tenant-wide or admin-consented scopes, apps no one recognises, apps whose last use was months ago.
What to do: restrict user consent to verified publishers and low-risk scopes, require admin review for broad scopes, and review consented apps on a schedule.
7. Misconfigured trust and federation
Cross-account roles, identity provider federation and CI OIDC trust policies are powerful and easy to get subtly wrong. A role that trusts an entire external account, or a CI trust policy that accepts tokens from any repository in an organisation, quietly widens who can obtain access. MITRE's description of T1078.004 notes that misconfigurations in role assignments or role assumption policies may let an adversary use permissions outside an account's intended scope.
What to look for: trust policies with wildcards in principals or subject claims, roles assumable from accounts you no longer control, federation with identity providers that do not enforce your MFA policy.
What to do: pin trust conditions to specific principals, repositories, branches or environments, and use your cloud provider's access analysis tooling to find external and cross-account access.
8. AI agents acting with borrowed authority
AI agents increasingly read tickets, write code and call business APIs. Many run on a developer's personal token or a broad integration key, which means the agent can do anything that person or key can do, and its actions are hard to attribute. Because agents can be steered by content they read, excessive access turns into a real path to unintended actions.
What to look for: agents and MCP servers without a registered owner, agents sharing credentials, tools that combine read and destructive operations.
What to do: give each agent its own identity, scope its tools narrowly, and require approval for irreversible actions. Our article on securing AI agents in enterprise environments covers this in detail.
Prioritising: a simple scoring approach
You will not fix everything at once. A transparent scoring method makes trade-offs explainable to leadership. For each identity or identity class, score three factors from 1 to 3:
| Factor | 1 | 2 | 3 |
|---|---|---|---|
| Reach | One non-sensitive system | Several systems or sensitive data | Production, customer data or admin control |
| Exposure | Phishing-resistant or short-lived and federated | Strong but phishable, or rotated static secret | Password-only, long-lived secret or known leak |
| Ownership | Named team, reviewed recently | Named team, not reviewed | No owner |
Multiply the three for a score between 1 and 27 and work from the top. The numbers are a sorting aid, not a measurement; the value is in forcing the same questions for every identity.
A quarter-long starting plan
- Weeks 1–2: Inventory privileged human roles and production non-human identities. Record owners and last-used dates.
- Weeks 3–4: Enforce phishing-resistant MFA for administrators and remove weak fallbacks for that group.
- Weeks 5–6: Disable accounts and keys unused for 90 days after notifying owners. Revoke any secrets found in repositories.
- Weeks 7–8: Review third-party OAuth grants and restrict user consent.
- Weeks 9–10: Replace the highest-risk static CI and cloud keys with federated credentials; tighten trust policy conditions.
- Weeks 11–12: Run the first access review for privileged roles and AI agents, and set the cadence for the next one.
The identity security assessment checklist gives you a tracker for these steps with owner and evidence columns.
Pitfalls to avoid
- Measuring MFA coverage without measuring MFA strength. A high enrolment figure can hide phishable methods on the accounts that matter most.
- Ignoring applications outside SSO. They often have the weakest offboarding and the most local admin accounts.
- Reviewing access without usage data. Reviewers approve what they cannot evaluate. Show last-used dates and actual permissions.
- Separating human and machine identity programs completely. Attackers move between them; a stolen developer laptop yields both a session and a pile of tokens.
Frequently asked questions
What is the single most valuable identity control to implement first?
For most organisations, phishing-resistant MFA for administrators and other privileged users, because those accounts have the widest reach and phishable MFA is a well-documented weakness.
Are non-human identities really an identity security problem or a secrets problem?
Both. Secrets are credentials, but the risk also depends on what the identity can access, who owns it and whether it is still needed. Treat machine identities with the same lifecycle discipline as human accounts.
How often should we run access reviews?
Set cadence by risk: privileged human and machine identities more often than standard user access. Reviews are more useful when they include last-used data and effective permissions.
Does zero trust replace identity and access management?
No. Zero trust builds on strong identity. Frameworks such as CISA's Zero Trust Maturity Model treat identity as a foundational pillar that other controls depend on.
References
Related resources
Keep reading
How to Secure AI Agents in Enterprise Environments
TrustHappens Editorial Team
Insight6 min read
What Is Non-Human Identity Security? A Practical Guide
TrustHappens Editorial Team
Guide9 min read
Cloud Security vs Application Security: What Each Covers and Where They Overlap
TrustHappens Editorial Team
Comparison7 min read
Stay Ahead of What Matters.
Practical guides on cybersecurity & identity and more, delivered to your inbox.