Skip to content
Back to skills

Iframe Sandbox

ASecurity

Iframe sandbox and embedding-isolation assessment — missing or weak sandbox attributes on embedded/third-party content, overly-permissive allow lists (allow-scripts + allow-same-origin together defeats the sandbox), allow/allowfullscreen/allowpaymentrequest misuse, and srcdoc injection. Tier 1. Use when the app embeds untrusted or third-party content in iframes.

  • 16 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 17, 2026
securityrustbackend

Security analysis

A100/100

Scanned November 17, 2026

npx -y skills add AnandJogawade/Zazy-Pentest-Plugin-for-Claude --skill iframe-sandbox --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Iframe Sandbox?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Iframe Sandbox
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/anandjogawade-iframe-sandbox/badge)](https://www.skillsdirectory.com/skills/anandjogawade-iframe-sandbox)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: iframe-sandbox
description: Iframe sandbox and embedding-isolation assessment — missing or weak sandbox attributes on embedded/third-party content, overly-permissive allow lists (allow-scripts + allow-same-origin together defeats the sandbox), allow/allowfullscreen/allowpaymentrequest misuse, and srcdoc injection. Tier 1. Use when the app embeds untrusted or third-party content in iframes.
---

# Iframe Sandbox / Embedding Isolation

Sandboxing confines embedded content; weak attributes let embedded (possibly attacker-influenced) content escape isolation.

## Trigger phrases
`iframe sandbox, allow-scripts allow-same-origin, srcdoc injection, embedding isolation, sandbox bypass`

## Checks
- **Missing `sandbox`** on iframes loading untrusted/third-party/user content → embedded content runs with full privileges.
- **`allow-scripts` + `allow-same-origin` together** → the sandbox is effectively void (framed content can reach out and even remove its own sandbox). Flag this combination.
- **Permissive `allow` / feature policy** on iframes (camera, microphone, payment, fullscreen) granted to untrusted frames.
- **`srcdoc` injection:** user input into an iframe `srcdoc` → HTML/JS injection within the frame (→ `dom-xss`/`stored-xss`).
- Frames without `sandbox` participating in postMessage flows (→ `postmessage-abuse`).

## Escalation
Sandbox escape → XSS/data access from embedded content; feature-policy abuse → privacy/permission abuse.

## Verification (background, before reporting)
Re-check the header/response across multiple endpoints and a clean request to avoid false positives; confirm exploitability (not just absence) before rating. Report true positives only. Backend/Burp: see `zazy-orchestrator`.

## Evidence
The iframe tag + attributes, the weak/missing sandbox, and the resulting escape/injection.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.