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 clear

Subcommands

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:    OWNER

taint 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

CodeMeaning
0Always exits successfully

See also

On this page