runtime-sentinel
Runtime security guardian for OpenClaw agents. Use this skill whenever the user mentions security, skill safety, prompt injection, malware, suspicious behavior, credential leaks, network monitoring, skill integrity, or the ClawHavoc attack. Also trigger for phrases like "is this skill safe", "audit my skills", "check for threats", "my agent is acting weird", "scan for malware", "protect my agent", or any concern about what installed skills are doing at runtime. runtime-sentinel provides five active defenses: skill integrity hashing, prompt injection detection, credential exposure auditing, network egress monitoring, and process anomaly detection. Free tier covers hashing and basic injection scanning. Premium features (continuous daemon, egress monitoring, process anomaly detection) are gated via x402 USDC micropayments on Base — no account or API key required.
What this skill does
# runtime-sentinel A runtime security skill for OpenClaw. Defends against the threat landscape exposed by ClawHavoc: backdoored skills, prompt injection via external data, credential exfiltration, and process-level abuse. **Free tier**: skill integrity checks, basic injection scanning. **Premium** (x402/USDC/Base): continuous daemon monitoring, network egress monitoring, process anomaly detection, full audit log. --- ## Quick start ``` # One-shot audit of all installed skills (free) sentinel audit # Continuous guardian daemon (premium — will prompt for x402 payment) sentinel daemon start # Scan a single skill before installing sentinel check <skill-path-or-clawhub-id> ``` --- ## What runtime-sentinel defends against See `references/threat-model.md` for the full threat matrix. In brief: | Threat | Feature | Tier | |---|---|---| | Tampered skill files post-install | Integrity hashing | Free | | Prompt injection via email/web/skill output | Injection scanner | Free | | Plaintext secrets in skill dirs / SOUL.md | Credential auditor | Free | | Unexpected outbound connections | Egress monitor | Premium | | Shell commands outside declared behavior | Process anomaly | Premium | | Continuous real-time protection | Daemon mode | Premium | --- ## Workflow ### 1 — First-time setup ```bash # Install the binary (built from scripts/src/) cargo install --path scripts/ --bin sentinel # Verify installation and print wallet address sentinel setup ``` `sentinel setup` will: - Generate or import a Base wallet (BIP-39, stored in `~/.sentinel/wallet`) - Print the wallet address so the user can fund it with USDC for premium - Run a free baseline audit and print results ### 2 — On-demand audit (free) When the user says anything like "scan my skills", "audit", "check for threats": ```bash sentinel audit [--path ~/.openclaw/skills] ``` Output: a structured report of hash mismatches, injection patterns, and exposed credentials. No payment required. ### 3 — Single skill check before install (free) When the user wants to vet a skill before running `clawhub install`: ```bash sentinel check <skill-directory-or-clawhub-id> ``` Prints a risk score (LOW / MEDIUM / HIGH / CRITICAL) with findings. ### 4 — Premium features via x402 When the user asks for daemon mode, egress monitoring, or process anomaly detection, `sentinel` will automatically: 1. Hit the sentinel API endpoint 2. Receive a `402 Payment Required` with price in the `X-Payment-Request` header (typically $0.01–$0.05/day for daemon mode) 3. Sign the USDC transfer from `~/.sentinel/wallet` 4. Retry the request — access granted for the paid period The user will see the price *before* their wallet signs anything. All non-custodial. See `references/x402-payment.md` for the full payment flow. ### 5 — Daemon mode (premium) ```bash sentinel daemon start # runs in foreground, writes to ~/.sentinel/daemon.log # Run in background from your shell if needed: # sentinel daemon start > ~/.sentinel/daemon.log 2>&1 & # disown sentinel daemon status sentinel daemon stop sentinel daemon logs # tail the audit log ``` The daemon watches: - `~/.openclaw/skills/**` for file mutations (inotify / FSEvents) - `~/.openclaw/SOUL.md` and `MEMORY.md` for unauthorized writes - Network connections made by skill subprocesses - Child process trees for undeclared shell commands Alerts are delivered via OpenClaw's notification system and written to the audit log. --- ## Interpreting results ### Risk levels - **LOW**: No findings, or informational only (e.g. skill requests network but declares it) - **MEDIUM**: Undeclared permission, suspicious pattern, or stale hash - **HIGH**: Known malicious pattern, credential exposure, or undeclared egress - **CRITICAL**: Active exfiltration attempt, reverse shell indicator, or SOUL.md mutation ### What to do on HIGH / CRITICAL 1. `sentinel isolate <skill-name>` — quarantines the skill (moves it out of the active skills directory) 2. Review the finding in `~/.sentinel/audit.log` 3. Check the skill's ClawHub VirusTotal report 4. If confirmed malicious, `clawhub uninstall <skill>` and report via `sentinel report <skill-name>` --- ## Reference files Read these when you need deeper detail: - `references/threat-model.md` — Full threat matrix and attack descriptions from ClawHavoc and similar campaigns - `references/x402-payment.md` — x402 payment flow, wallet setup, and troubleshooting - `references/binary-build.md` — How to build `sentinel` from source, cross- compilation targets, CI/CD --- ## Wallet setup for premium features ```bash sentinel wallet show # print address and USDC balance sentinel wallet fund # print QR code and address to send USDC sentinel wallet export # export mnemonic for backup (handle carefully) sentinel wallet recover # restore from mnemonic on a new machine ``` Minimum recommended balance for uninterrupted daemon mode: **$1 USDC** (roughly 20–100 days of coverage depending on scan frequency). --- ## Privacy `sentinel` is fully local. No skill content, file paths, or scan results are sent to any server. The only outbound calls are: 1. x402 payment verification to the Base facilitator (amount + wallet address only) 2. Optional: VirusTotal hash lookups (hash only, no file content) Both can be disabled with `--offline` for air-gapped environments (free tier only in offline mode).
Related in Backend & APIs
jfrog
IncludedInteract with the JFrog Platform via the JFrog CLI and REST/GraphQL APIs. Use this skill when the user wants to manage Artifactory repositories, upload or download artifacts, manage builds, configure permissions, manage users and groups, work with access tokens, configure JFrog CLI servers, search artifacts, manage properties, set up replication, manage JFrog Projects, run security audits or scans, look up CVE details, query exposures scan results from JFrog Advanced Security, manage release bundles and lifecycle operations, aggregate or export platform data, or perform any JFrog Platform administration task. Also use when the user mentions jf, jfrog, artifactory, xray, distribution, evidence, apptrust, onemodel, graphql, workers, mission control, curation, advanced security, exposures, or any JFrog product name.
cupynumeric-migration-readiness
IncludedPre-migration readiness assessor for porting NumPy to cuPyNumeric. Use BEFORE substantial porting work begins when the user asks whether code will scale on GPU, whether they should migrate to cuPyNumeric, which NumPy patterns transfer cleanly, what must be refactored before porting, or mentions pre-port assessment, scaling analysis, or refactor planning. Inspect the user's source code, look up NumPy usage, cross-reference the cuPyNumeric API support manifest, and distinguish distributed-scaling-friendly patterns from blockers such as unsupported APIs, scalar synchronization, host round-trips, Python/object-heavy control flow, shape/data-dependent branching, and in-place mutation hazards. Produce a verdict of READY, LIGHT REFACTOR, SIGNIFICANT REFACTOR, or NOT RECOMMENDED, with concrete refactor pointers.
alibabacloud-data-agent-skill
IncludedInvoke Alibaba Cloud Apsara Data Agent for Analytics via CLI to perform natural language-driven data analysis on enterprise databases. Data Agent for Analytics is an intelligent data analysis agent developed by Alibaba Cloud Database team for enterprise users. It automatically completes requirement analysis, data understanding, analysis insights, and report generation based on natural language descriptions. This tool supports: discovering data resources (instances/databases/tables) managed in DMS, initiating query or deep analysis sessions, real-time progress tracking, and retrieving analysis conclusions and generated reports. Use this Skill when users need to query databases, analyze data trends, generate data reports, ask questions in natural language, or mention "Data Agent", "data analysis", "database query", "SQL analysis", "data insights".
token-optimizer
IncludedReduce OpenClaw token usage and API costs through smart model routing, heartbeat optimization, budget tracking, and native 2026.2.15 features (session pruning, bootstrap size limits, cache TTL alignment). Use when token costs are high, API rate limits are being hit, or hosting multiple agents at scale. The 4 executable scripts (context_optimizer, model_router, heartbeat_optimizer, token_tracker) are local-only — no network requests, no subprocess calls, no system modifications. Reference files (PROVIDERS.md, config-patches.json) document optional multi-provider strategies that require external API keys and network access if you choose to use them. See SECURITY.md for full breakdown.
resend-cli
IncludedUse this skill when the task is specifically about operating Resend from an AI agent, terminal session, or CI job via the official resend CLI: installing/authenticating the CLI, sending/listing/updating/cancelling emails, batch sends, domains and DNS, webhooks and local listeners, inbound receiving, contacts, topics, segments, broadcasts, templates, API keys, profiles, or debugging Resend CLI/API failures. Trigger on mentions of Resend CLI, `resend`, `resend doctor`, `resend emails send`, `resend domains`, `resend webhooks listen`, `resend emails receiving`, or agent-friendly terminal automation.
alibabacloud-odps-maxframe-coding
IncludedUse this skill for MaxFrame SDK development and documentation navigation on Alibaba Cloud MaxCompute (ODPS). Helps answer MaxFrame API, concept, official example, and supported pandas API questions; create data processing programs; read/write MaxCompute tables; debug jobs (remote or local); and build custom DPE runtime images. Trigger when users mention MaxFrame, MaxCompute with MaxFrame, ODPS table processing, DPE runtime, MaxFrame docs/examples, DataFrame/Tensor operations, or GPU runtime setup. Works for both English and Chinese queries about Alibaba Cloud data processing with MaxFrame.