The guardrail is made of two scripts, injected at the very start of document load in every frame. One lives in the extension's isolated world: it judges, notifies and reports. The other lives in the page itself and only neutralises — it holds no policy and shows nothing. It exists because some upload paths are reachable from there alone: a file field created by script and never inserted into the page, or the browser's file and folder pickers. A file therefore never exists on its side before it has been judged: a page that forges their messages can make the guardrail block more, never less, and cannot fake a report.
- File picker
- an input of type file, including one inserted after load
- Drag and drop
- on the page as well as inside a frame
- Paste
- when the clipboard holds one or more files
- Script-made field
- a file field never inserted into the page
- Browser pickers
- showOpenFilePicker() and showDirectoryPicker()
IABrowseStop blocked this file upload under the site's protection policy.