angular/aio/security-exemptions.json
Bjarki 672dfd0ad5 build(docs-infra): enable tsec security checker (#42800)
tsec is a TypeScript compiler wrapper for restricting use of
security-sensitive DOM APIs, in particular those that could lead to XSS
or Trusted Types violations. Add it as a linter to aio to prevent future
Trusted Types regressions on angular.io.

Also introduces security_exemptions.json, which lists the known,
security-reviewed tsec security violations. New entries can only be
added to this file after a security review, in particular making sure
that the corresponding code does not cause XSS vulnerabilities or
Trusted Types violations.

PR Close #42800
2021-09-09 11:17:00 -07:00

11 lines
302 B
JSON

{
"ban-reviewed-conversions": [
"src/app/custom-elements/code/code.component.ts",
"src/app/custom-elements/code/pretty-printer.service.ts",
"src/app/documents/document.service.ts",
"src/app/shared/security.ts"
],
"ban-worker-calls": [
"src/app/search/search.service.ts"
]
}