google / google/playground-elements
Partially sandbox preview iframe
Open
Needs Discussion
- Dominant language
- TypeScript
- Stars
- 648
- Forks
- 61
- PR merge metrics
- No merged PRs in 30d
Description
We can't fully sandbox playground iframes (since the whole point is that they execute code), but it would probably be good to at least include some sandbox protections. For example, maybe we shouldn't allow downloads, because somebody could share a Playground link that initiates a download of a malicious binary.
https://html.spec.whatwg.org/multipage/iframe-embed-object.html#attr-iframe-sandbox
Contributor guide
Assessment
This issue has not been assessed yet.