Skip to content

DOCS

POL-SHELL

Severity when this fires: high.

When it fires

Shell denial is on by default. The matcher folds Unicode (NFKC, lowercase, mixed-script lookalikes), takes the last path segment, drops .exe, and splits on . _ : / -. It matches shell tokens, pairs such as os.system, os.exec, and child_process, and IDE ids such as run_terminal_cmd. /bin/bash, cmd.exe, sh -c, and bаsh (Cyrillic a) all fire. Exact exec fires; compound names such as exec_sql do not. search_notes does not.

Why it matters

A shell tool can run arbitrary commands on the host that serves the agent.

How to respond

Read the tool name and the run it belongs to. If the agent should not have a shell, leave denial on and stop that run path. If a shell is required, constrain the command in the agent itself. Turning denial off applies to the whole project.

A repeat of the same incident fingerprint reopens a resolved or dismissed incident. Status values are open, acknowledged, resolved, and dismissed.

Back to incidents.