arc-shield
Output sanitization for agent responses - prevents accidental secret leaks
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/arc-claw-bot/arc-shieldWhat This Skill Does
Arc-shield serves as the final line of defense for OpenClaw agents by providing real-time output sanitization. Unlike input filters that scan incoming data, arc-shield inspects outbound messages—ensuring that your agent does not accidentally leak sensitive credentials, PII, or internal tokens to external channels like Discord, Slack, or web interfaces. It performs deep analysis on message payloads, using both pattern matching for known key structures (OpenAI keys, AWS secrets, private keys) and high-entropy detection to identify anomalous strings that suggest hidden credentials. In --strict mode, the agent will block any transmission containing a high-risk secret, while the --redact flag allows the agent to scrub the specific sensitive token from the message while keeping the rest of the context intact.
Installation
To install arc-shield, navigate to your skill directory and clone the repository:
cd ~/.openclaw/workspace/skills
git clone <arc-shield-repo> arc-shield
chmod +x arc-shield/scripts/*.sh arc-shield/scripts/*.py
Alternatively, use the clawhub command for seamless integration:
clawhub install openclaw/skills/skills/arc-claw-bot/arc-shield
Use Cases
Arc-shield is critical for developers who leverage AI agents for debugging or automation. Common use cases include:
- Log Sanitization: Automatically strip secrets from raw log files before sending them to a support channel.
- Code Review: Ensure that AI-generated code snippets do not contain real API keys or database connection strings.
- Policy Enforcement: Block the transmission of sensitive data like social security numbers or credit cards in customer-facing communication channels.
- Credential Leak Prevention: Catch unintentional pastes of environment variables when an agent displays its current configuration during troubleshooting.
Example Prompts
- "Scan this log output for any AWS tokens or hardcoded database passwords before sending to the team Slack channel."
- "Redact any sensitive API keys from the generated code output in the response and send the result to the repository manager."
- "Run a strict check on the current session summary to ensure no PII or credit card numbers are included before finalizing the report."
Tips & Limitations
- Strict vs. Redact: Always use --strict in automated production pipelines to ensure no message is sent if a leak is detected. Use --redact for interactive sessions where you want to maintain the flow of conversation.
- False Positives: High-entropy detection might occasionally flag safe strings. If you experience frequent blocking, consider fine-tuning your local ignore-list in the config file.
- Not an Input Filter: Remember that arc-shield does not protect against malicious incoming requests; it is exclusively an output guard. Use it in conjunction with clawdefender for full-stack security.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-arc-claw-bot-arc-shield": {
"enabled": true,
"auto_update": true
}
}
}Tags
Flags: file-read
Related Skills
undertow
Skill discovery engine for AI coding agents. Recommends and installs the right skill when you need it — code review, test generation, debugging, commit messages, PR preparation, security scanning, dependency audits, Docker setup, CI/CD pipelines, API documentation, refactoring, performance optimization, bundle analysis, git recovery, README generation, license compliance, migration guides, dead code removal, and secret detection. One install gives your agent access to a curated library of 20+ developer workflow skills. Use when the user asks for help with any development workflow, code quality, DevOps, security, testing, documentation, or project setup task.
AURA Security Scanner
Scan AI agent skills for malware, credential theft, prompt injection, and dangerous permissions before installing them
secret-exposure-gate
在发布前检查目录中是否含秘钥、token、私有 URL、证书片段或凭证文件。;use for secrets, security, preflight workflows;do not use for 显示完整密钥值, 修改用户文件.
doctorbot-ci-validator
Stop failing in production. Validate your GitHub Actions, GitLab CI & Keep workflows offline with surgical precision. Born from Keep bounty research, perfected for agents.
website-audit
Website Audit mit 230+ Rules für SEO, Performance, Security, Technical und Content Issues. LLM-optimierte Reports mit Health Scores und Handlungsempfehlungen.