Skip to contentLockpick
How it worksPricingDocs

Read

  • BlogPlain answers to common security questions
  • GuidesStep by step fixes for common setups
  • Security checksEvery check we run, explained

Learn

  • Learn with PickTwo-minute lessons on how sites get attacked
  • Lockpick for ClaudeCheck sites from Claude and other assistants
  • GlossaryThe words we use, in plain words

Company

  • ChangelogWhat changed, newest first
  • StatusWhether scans are running right now
  • Security and trustHow we check and what we never do
Sign inCheck it
Checks

Does your site keep windows from other sites away from it?

By Mark KashefPublished October 8, 2026

The window isolation check notes when your pages send a Cross-Origin-Opener-Policy of same-origin or same-origin-allow-popups. It keeps windows from other sites from holding a reference to yours.

What does this check look at?

It looks at whether your pages declare a Cross-Origin-Opener-Policy that keeps windows from other sites away from them. MDN explains that this prevents a set of cross-origin attacks referred to as XS-Leaks.

Pulse and Deep scans both run it.

Curious what your site shows from outside? The quick check is free and needs no account.

Check it

What does a result mean?

What the report showsWhat it meansWhat to do
PassA same-origin or same-origin-allow-popups policy is declared.Nothing.
Not testedNo such policy was seen. It is not counted against you.Optional. Add it after testing sign-in and payment popups.

Absence can be deliberate for sign-in and payment popups, so it is never scored as a failure. A declared policy does not prove every page sends it, since the scan reads a sample of pages.

How serious is a finding?

Treat this as a hardening gap. It makes an attacker’s job easier but gives them no path of its own, so fix it after anything more direct. Confidence starts low, because it is inferred from headers or declarations rather than shown directly. The report lists what to fix by how directly someone could use it, not by the severity label.

What does a confirmed finding have to show?

PartFor this check
Where it startsContent or a frame an attacker can influence
The protection that should stop itA browser protection header is missing or weak
What is reachedHow browsers treat your pages
What followsA hardening gap; no exploit was shown

Which standards does it relate to?

StandardReference
OWASP Top TenA02:2025 Security Misconfiguration
CWECWE-1021
ASVSv5.0.0-3.4.8

Each one is a related control, not a verification. A scan sees what anyone online can see, so it never proves a whole requirement is met.

Fix it with your AI

Test popup flows before and after, since sign-in providers and payment pages often open in a popup.

Fix prompt for any coding agent
Add the header Cross-Origin-Opener-Policy: same-origin-allow-popups to my site's pages. Then test every flow that opens or is opened by a popup window, such as social sign-in, payment checkout and OAuth connections. If any of them breaks, tell me which one and leave the header off for that page.

How to check

Say Atlas, our example app at atlas.example, signs people in with a provider popup. same-origin-allow-popups keeps that flow working while still isolating the main window.

The free quick check covers this on your homepage with no account, and a Pulse scan from your account adds your scripts and public records. Pulse or Deep explains the difference.

Questions people ask

Why is a missing isolation policy not a problem?

Many sites need cross-site popups for sign-in or payments, and leaving the policy off is often the right choice. The check only credits it when present.

Is this the same as framing protection?

No. Framing protection controls who can embed your page. Window isolation controls references between separate windows.

See what your site shows from outside

A quick check reads your homepage the way a visitor would and gives you a score. No account needed.

Check your site

Related pages

  • Can other sites show your pages inside a frame?
  • Does your site declare which browser features it may use?
  • Does your site send a Content Security Policy?

Sources

  1. Cross-Origin-Opener-Policy header MDN Web Docs, read on October 7, 2026
  2. How we rate findings Lockpick docs, read on October 7, 2026

About the author

Mark Kashef, Founder of Lockpick

I'm Mark, and I build Lockpick. I write these pages, and each one is checked against its sources before it goes live. The Updated date changes only when the page itself does.

Lockpick
PricingMethodologyDocsBlogGuidesSecurity checksLearn with PickSecurity and trustLockpick for ClaudeChangelogStatusFacts for AI assistants

Lockpick is a security scanner for vibe-coded apps. It checks what your live site exposes and what a GitHub repo or AI skill would do before you install it, then gives you a fix prompt for Lovable, Bolt, Replit, Cursor or Claude Code.

Lockpick assesses public pages you are authorized to test, and public GitHub code it never runs.

© 2026 LockpickTermsPrivacyContactSign in