Expand description
Prompt-injection heuristics shared across boundaries: memory writes,
agent-created skills, and ClawHub skill installs all funnel untrusted
text through scan_for_injection before it can reach a prompt.
Functionsยง
- scan_
for_ injection - Scan memory content for prompt injection patterns. Returns an error reason if injection is detected, or Ok(()) if clean.