Reference
wf audit
What this project trusts: markup it did not write, other origins, what it keeps on the reader's machine, its `env` names, its policy and its dependencies
wf audit [PATH] [options]
Prints what a security review asks about the project. It reports and never fails.
$ wf audit
$ wf audit --json
The report lists:
- every
Unsafe.*and whether its input is sanitised; - the project's own scripts and what each declares;
- every other origin the pages load from;
- everything kept on the reader's machine;
- every
envname and whether it is public; - the policy the build ships;
- what the compiler depends on.
See also: Review a site's security and Security.
Options
| Option | Type | Meaning |
|---|---|---|
[PATH] | path | Project directory (default: current directory) |
--json | flag | Print JSON, for tools |