CLI commands
taint
Show taint levels and clear taint state.
View project trust rules, current taint levels, and clear taint state.
Usage
sl taint show
sl taint clearSubcommands
taint show
Displays project trust rules and the current working directory's taint level.
$ sl taint show
Project trust rules:
~/Dev/Personal/** → OWNER
~/Dev/Work/** → TRUSTED_CONTACT
/tmp/** → WEB_CONTENT
~/Downloads/** → WEB_CONTENT
Default taint: UNTRUSTED_HUMAN
Current directory: ~/Dev/Personal/myproject
Current taint: OWNERtaint clear
In CLI mode, taint is determined by project trust rules and doesn't accumulate across commands. This command provides guidance on managing taint:
- For project-level trust changes, use
sl projects trust <path> - In daemon mode (proxy), taint clearing resets the session's accumulated taint
Exit codes
| Code | Meaning |
|---|---|
0 | Always exits successfully |
See also
- Taint levels — How taint tracking works
- projects — Manage project trust rules
- Project trust guide