security-shield

Block dangerous tool calls and redact secrets from tool outputs.

1|Updated Mar 30, 2026
One-click install
npx skills add https://github.com/Arry8/openclaw-edge --skill security-shield-arry8
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security-shield
Source: https://github.com/Arry8/openclaw-edge/tree/main/extensions/security-shield/skills/security-shield
Command: npx skills add https://github.com/Arry8/openclaw-edge --skill security-shield-arry8

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Security Shield protects users by blocking dangerous tool calls and redacting sensitive values from all tool outputs, reducing risk of data leakage and system disruption.

Core Features & Use Cases

  • Blocks destructive commands (rm -rf, mkfs, reverse shells) before execution.
  • Redacts credentials and secrets from tool output (e.g., API keys, tokens).
  • Logs all tool activity to ~/.openclaw/security-audit.jsonl for compliance and audit reviews.
  • Applies by default to new conversations and can be configured for exceptions.

Quick Start

Show how Security Shield blocks a dangerous tool call and redacts secrets in its output.

Frequently Asked Questions about security-shield

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I block destructive commands like rm -rf from executing in an automated workflow?

To block destructive commands like rm -rf, you need a runtime guardrail that intercepts tool calls before execution. Security Shield enforces this by blocking dangerous commands such as reverse shells and mkfs across all tool interactions.

Can I redact API keys and tokens from tool outputs automatically?

Yes, you can redact API keys and tokens from tool outputs automatically. Security Shield inspects tool outputs and redacts sensitive credentials to prevent data leakage during development and incident-response scenarios.

How does audit logging work for tracking tool activity and compliance?

Audit logging for tool activity works by recording all interactions to a local JSONL file. Security Shield logs all tool activity to ~/.openclaw/security-audit.jsonl, providing a persistent record for compliance reviews and security audits.

Does this secret detection and command blocking apply to all new conversations by default?

Yes, secret detection and command blocking apply to all new conversations by default. Security Shield operates across all tool interactions by default, but you can configure specific exceptions if certain tools require unfiltered access.

What is the best way to prevent data exfiltration during incident response tasks?

The best way to prevent data exfiltration during incident response is to enforce runtime monitoring and output redaction. Security Shield guards against unauthorized commands and redacts secrets from tool outputs to protect the user.

Are there limitations when configuring exceptions for destructive command blocking?

Configuring exceptions for destructive command blocking bypasses the default runtime monitoring. You should only configure exceptions for trusted tools, as disabling guardrails removes the protection against data exfiltration and system disruption.