Add OpenClaw scanner checks#24
Conversation
|
Hey, thanks for picking this up. Really nice PR — code is clean, tests are solid, and you got the finding shape right (the EU AI Act Article 14 mapping is exactly what I wanted). Two things I want to think through with you before I merge. Neither is a dealbreaker, just curious about your thinking:
If either of those feels like more work than you signed up for, just say and I'll handle it on this branch and credit you on the merge. Unrelated — the PR body mentions an AANA-gated workflow. I run an agent-security tool (the one you just contributed to!) and the idea of using AI to scout issues and submit PRs is genuinely smart. Curious how you're running it. Want to do a 20-min Zoom this week or next? I think there might be a real way for us to work together. Thanks again. The OpenClaw scanner is useful and I want it merged once we sort those two. |
|
Hey — just bumping in case this got buried. No rush, just want to keep the door open. Either of those questions still feel right to you, or want me to take it over and credit you on the merge? |
|
Thanks for the bump, and sorry this sat for a few days. Your two points still feel right to me. The current implementation was intentionally a narrow first slice, but I agree it is too broad in both places:
I am happy for you to take it over on this branch and credit me on the merge if that is the fastest path. If you would rather I do the follow-up, I can make those changes too. And yes, I would be interested in a 20-min Zoom. AANA is being used as a verifier/correction gate around issue selection, claim boundaries, and publish readiness rather than as a security certification layer. I would be glad to walk you through how I am running it and see whether there is a useful collaboration path here. |
Closes #3.
Summary
TOOLS.md,SKILL.md,SHIELD.md,SOUL.md, andAGENTS.mdSHIELD.md, risky tool capability language without human approval language, and prompt-injection wording in OpenClaw tool/capability configScope notes
This is a narrow first slice in the CLI scanner. I did not claim full Universal IR coverage for OpenClaw because this checkout exposes the local CLI scanner, while broader server-side/IR adapter work appears to live outside this branch.
Verification
go test ./...git diff --checkAANA note
This PR was selected and published through an AANA-gated community issue workflow. AANA was used only as a verifier/correction gate for issue fit, public-claim boundaries, and publish readiness; it is not a security certification or compliance approval.
Summary by cubic
Adds a local OpenClaw scanner to the CLI to detect OpenClaw configs and surface governance risks. Flags missing
SHIELD.md, destructive tool language without human approval, and prompt-injection phrasing.TOOLS.md,SKILL.md,SHIELD.md,SOUL.md,AGENTS.mdlocally.openclaw_missing_shieldopenclaw_destructive_tool_without_approvalwhen destructive terms appear without approval wordingopenclaw_prompt_injection_vectorHybridScannerlocal scan and file filter.Written for commit 3914401. Summary will update on new commits.