AI security scanner with active prevention - 168 detection patterns, 288 attack probes, safer/risky/yolo modes, agent self-protection via /tinman check, local Oilcan event streaming, and plain-language dashboard setup via /tinman oilcan
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
A direct command skips the review prompt. Inspect the source before running it.
AI security scanner with active prevention - 168 detection patterns, 288 attack probes, safer/risky/yolo modes, agent self-protection via /tinman check, local Oilcan event streaming, and plain-language dashboard setup via /tinman oilcan
Tinman is a forward-deployed research agent that discovers unknown failure modes in AI systems through systematic experimentation.
Security and Trust Notes
This skill intentionally declares install.pip and session/file permissions because scanning requires local analysis of session traces and report output.
The default watch gateway is loopback-only (ws://127.0.0.1:18789) to reduce accidental data exposure.
Remote gateways require explicit opt-in with --allow-remote-gateway and should only be used for trusted internal endpoints.
Event streaming is local (~/.openclaw/workspace/tinman-events.jsonl) and best-effort; values are truncated and obvious secret patterns are redacted.
Oilcan bridge should stay loopback by default; only allow LAN access when explicitly needed.
What It Does
Checks tool calls before execution for security risks (agent self-protection)
Scans recent sessions for prompt injection, tool misuse, context bleed
Before executing bash, read, or write tools, run:
/tinman check <tool><args>
If BLOCKED: refuse and explain why
If REVIEW: ask user for approval
If SAFE: proceed
/tinman mode
Set or view security mode for the check system.
/tinman mode # Show current mode
/tinman mode safer # Default: ask human for REVIEW, block BLOCKED
/tinman mode risky # Auto-approve REVIEW, still block S3-S4
/tinman mode yolo # Warn only, never block (testing/research)
Mode
SAFE
REVIEW (S1-S2)
BLOCKED (S3-S4)
safer
Proceed
Ask human
Block
risky
Proceed
Auto-approve
Block
yolo
Proceed
Auto-approve
Warn only
/tinman allow
Add patterns to the allowlist (bypass security checks for trusted items).
/tinman watch --stop # Stop background watch process
Heartbeat Integration: For scheduled scans, configure in heartbeat:
# In gateway heartbeat configheartbeat:jobs:-name:tinman-security-scanschedule:"0 * * * *"# Every hourcommand:/tinmanscan--hours1
/tinman oilcan
Show local Oilcan setup/status in plain language.
/tinman oilcan # Human-readable status + setup steps
/tinman oilcan --json # Machine-readable status payload
/tinman oilcan --bridge-port 18128
This command helps users connect Tinman event output to Oilcan and reminds them that
the bridge may auto-select a different port if the preferred one is already in use.
/tinman sweep
Run proactive security sweep with 288 synthetic attack probes.
/tinman sweep # Full sweep, S2+ severity
/tinman sweep --severity S3 # High severity only
/tinman sweep --category prompt_injection # Jailbreaks, DAN, etc.
/tinman sweep --category tool_exfil # SSH keys, credentials
/tinman sweep --category context_bleed # Cross-session leaks
/tinman sweep --category privilege_escalation