-
Notifications
You must be signed in to change notification settings - Fork 35
/
Copy pathblocklist.txt
49 lines (44 loc) · 2.15 KB
/
blocklist.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
// This file holds a list of filters to match devices, collections, and
// reports that websites using the WebHID API are forbidden from accessing.
//
// Each filter rule may specify device-level properties (vendor, product),
// top-level-collection properties (usagePage, usage), and report
// properties (reportId, reportType). All of the properties for a filter
// rule must match for the rule to apply. Omitted properties match any
// value.
//
// Examples:
// // Blocks access to all devices from vendor BABE.
// {vendor:0xBABE},
// // Blocks access to product BAAD from vendor 6666.
// {vendor:0x6666, product:0xBAAD},
// // Blocks access to reports contained in top-level collections with
// // vendor-defined usage page 0xFF00 on products from vendor DADA.
// {vendor:0xDADA, usagePage:0xFF00},
// // Blocks access to feature reports on all products from vendor B0BA.
// {vendor:0xB0BA, reportType:"feature"},
// // Blocks access to input, output, and feature reports with report ID
// // 0x42 on product 1234 from vendor ABCD.
// {vendor:0xABCD, product:0x1234, reportId:0x42},
//
// Additions to this file can be made by pull request (for W3C members) or
// by creating a new GitHub issue. Please include a comment describing the
// blocked functionality.
[
// Block FIDO HID U2F functionality. U2F devices should be handled by
// U2F or WebAuthn APIs.
{usagePage:0xF1D0},
// HID access to mouse and keyboard inputs enables the creation of input
// loggers and allows web pages to subvert the operating system's focus
// model. Block collections that expose this type of functionality.
{usagePage:0x0001, usage:0x0002}, // Generic Desktop / Mouse
{usagePage:0x0001, usage:0x0006}, // Generic Desktop / Keyboard
{usagePage:0x0001, usage:0x0007}, // Generic Desktop / Keypad
// Block system control functionality. System controls affect the system
// globally.
{usagePage:0x0001, usage:0x0080}, // Generic Desktop / System Control
// Block Jabra access to certain proprietary functionality.
{ vendor:0x0b0e, usagePage:0xff00, reportId:0x05, reportType:"output" },
// Block all OnlyKey access
{ vendor:0x1d50, product:0x60fc },
]