stranger-danger
Give your AI agent a safe word. Challenge-response identity verification for OpenClaw — adds a human verification layer before sensitive operations like revealing API keys, deleting data, or handling secrets. Answer is bcrypt-hashed and stored in macOS Keychain.
Why use this skill?
Add a human verification layer to OpenClaw. Use Stranger-Danger to password-protect sensitive tasks like API key retrieval and data deletion using secure bcrypt hashing.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/jamesalmeida/stranger-dangerWhat This Skill Does
Stranger-Danger is a robust identity verification layer designed for the OpenClaw AI ecosystem. Its primary function is to introduce a human-in-the-loop security gate before the AI agent performs high-stakes operations. Rather than blindly trusting a request, the agent challenges the user to provide a pre-configured safe word or answer to a secret question. The technical implementation is highly secure; the provided answer is never stored in plaintext. Instead, the skill uses salted bcrypt hashing to process inputs, with the hash securely stored in the macOS Keychain, ensuring that even if your configuration files are accessed, your secret remains safe. The question itself is kept in a local JSON configuration for quick retrieval.
Installation
To add this layer of security to your agent, use the OpenClaw CLI package manager. Run the following command in your terminal:
clawhub install openclaw/skills/skills/jamesalmeida/stranger-danger
Once installed, you must initialize the skill to establish your challenge parameters. Execute stranger-danger setup to define your secret question and the corresponding answer. After configuration, you can verify your setup by running stranger-danger test to confirm the interactive flow is working as expected.
Use Cases
This skill is essential for users who grant their AI agents access to sensitive assets. Use it when:
- Secret Management: Protecting your agent from revealing stored API keys, environment variables, or private tokens.
- Data Integrity: Preventing accidental deletion or catastrophic file system modifications by forcing a verification step.
- Authentication Guard: Adding a second factor of authentication before the agent performs tasks on your behalf in external third-party services.
- Edge Cases: Stopping the agent when it receives an unusual, high-risk command that significantly deviates from its standard operating procedures.
Example Prompts
- "OpenClaw, please display my OpenAI API key from the secret vault. (Note: The agent will trigger Stranger-Danger before proceeding)."
- "I need to delete the entire 'experimental_logs' directory. Proceed with caution."
- "Can you show me the current stored password for my administrative portal?"
Tips & Limitations
- Security First: Never use an answer that can be easily guessed or found in your public social media profiles.
- Workflow Design: Incorporate
stranger-danger verifyas a pre-condition in your agent's system prompt to ensure it never executes destructive actions without calling the skill first. - Platform Constraint: This skill relies on the macOS Keychain, meaning it is currently optimized for macOS environments. Ensure your system's keychain is unlocked and accessible to the shell session.
- Data Safety: The skill does not log answers. If you forget your safe word, you must use
stranger-danger resetto clear the credentials, effectively disabling the protection until you complete the setup process again.
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-jamesalmeida-stranger-danger": {
"enabled": true,
"auto_update": true
}
}
}Tags
Flags: file-read, file-write
Related Skills
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.
arc-shield
Output sanitization for agent responses - prevents accidental secret leaks
AURA Security Scanner
Scan AI agent skills for malware, credential theft, prompt injection, and dangerous permissions before installing them
verify-before-done
Prevent premature completion claims, repeated same-pattern retries, and weak handoffs. Use this skill to improve verification, strategy switching, and blocked-task reporting without changing personality or tone.
sbom-explainer
把依赖清单或 SBOM 翻译成非技术可读的风险说明,按影响面排序。;use for sbom, dependencies, risk workflows;do not use for 伪造 CVE 状态, 替代专业漏洞扫描.