The browser attack surface is the collection of ways web content, extensions, scripts, and session material can be abused on the client side. For AI services, it includes authenticated pages, extension permissions, and any code that can observe or modify runtime behaviour.
Expanded Definition
Browser attack surface is the set of browser-exposed paths that can be abused to reach data, sessions, or execution in a web application. In NHI security, that surface includes authenticated tabs, embedded scripts, browser extensions, cached tokens, cookies, and any client-side code that can observe or alter runtime behaviour. It is broader than traditional web application attack surface because the browser becomes an active control plane for identity and session handling.
Definitions vary across vendors when browser controls overlap with endpoint security, but the practical boundary is simple: if an attacker can use the browser to steal a token, inject logic, or hijack an authenticated workflow, it is part of the attack surface. For agentic applications, this also includes pages and tools that an AI agent can open or manipulate, especially when the agent inherits user context. OWASP guidance on browser and application security is relevant here, and teams should connect that guidance to NHI-specific controls in the OWASP NHI Top 10. The most common misapplication is treating browser hardening as a general IT problem, which occurs when identity-bearing sessions and extension permissions are not reviewed together.
Examples and Use Cases
Implementing browser attack surface controls rigorously often introduces friction for users and developers, requiring organisations to weigh session convenience and extension productivity against tighter isolation and monitoring.
- An employee signs into a SaaS console, and a malicious or over-permissioned extension reads page content, session tokens, or form inputs.
- An AI agent operates inside an authenticated browser session and is allowed to browse internal dashboards, creating an inherited trust path that can be abused if prompts or pages are manipulated.
- A support engineer copies a short-lived credential into a browser field, but the value is exposed through autofill, clipboard access, or injected client-side code.
- A web app loads third-party scripts that alter the DOM or capture runtime data, turning normal application rendering into an identity exposure path.
- Security teams compare browser-session risks with broader identity abuse patterns described in the The 52 NHI Breaches Report and validate investigative priorities against the CISA cyber threat advisories.
Why It Matters in NHI Security
Browser attack surface matters because many NHI incidents do not begin with direct server compromise. They begin when a session, token, or authenticated workflow is exposed in the client. Once browser context is compromised, an attacker can impersonate a user, pivot into connected services, or misuse an AI agent that inherits the session. That is why browser controls belong in NHI governance, not just endpoint hygiene.
NHIMG research on LLMjacking: How Attackers Hijack AI Using Compromised NHIs shows how quickly exposed credentials are abused, with attackers attempting access within an average of 17 minutes when AWS credentials are public. That same urgency applies to browser-held sessions because a stolen token can become a live foothold before detection. Practitioners should also treat agent activity through a browser as a high-value path, especially when evaluating adversarial behaviour through the MITRE ATLAS adversarial AI threat matrix and the Anthropic report on AI-orchestrated cyber espionage. Organisations typically encounter browser attack surface failures only after a session hijack, token replay, or extension abuse has already turned a routine login into an incident.
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 OWASP Agentic AI Top 10 address the attack and risk surface, while NIST CSF 2.0 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-02 | Browser-held tokens and session material are core NHI secret exposure risks. |
| OWASP Agentic AI Top 10 | Agentic apps inherit browser context, extensions, and client-side trust boundaries. | |
| NIST CSF 2.0 | PR.AC-1 | Browser sessions are access paths that must be protected and governed. |
Protect browser access paths with least privilege, monitoring, and session controls.
Related resources from NHI Mgmt Group
Deepen Your Knowledge
Reviewed and updated by the NHIMG editorial team on June 10, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org