LaunchKit · 2026
Back to Skills

Scans your OpenClaw environment for leaked secrets — API keys, tokens, credentials in .env files, installed.

0
1.2k downloads
by @sukiraman

Setup & Installation

openclaw skills install @sukiraman/canary

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install canary

What This Skill Does

Canary scans your OpenClaw environment for leaked secrets, including API keys, tokens, passwords, and credentials left in config files, installed skills, shell history, and local directories. It runs a silent check on every startup and a full deep scan on demand, then offers to fix any issues it finds with your confirmation.

Unlike one-time audit scripts, Canary runs automatically on every startup, covers 30+ secret formats across dozens of file locations, and applies fixes directly rather than just reporting problems.

When to use it

  • Catching an API key accidentally pasted into terminal history
  • Finding hardcoded credentials in a skill before publishing it
  • Auditing .env file permissions on a shared or multi-user machine
  • Locating credential files left in Downloads or Desktop folders
  • Checking a workspace for secrets committed to a git repo

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: Am I leaking any secrets?

AGENT
  1. 1Announces a full secrets scan is starting
  2. 2Scans .env files, installed skill directories, shell history, SSH keys, cloud credential files, git repos, and local directories like Downloads and Desktop
  3. 3Groups findings by severity: critical (action needed), moderate (heads up), and clean
  4. 4Presents each finding in plain language with the real-world risk and an offer to fix it
  5. 5Summarizes total issues found with counts by severity
OUTPUT

A severity-grouped report of exposed secrets, each with a plain-language explanation and a one-step fix offer, followed by a summary such as '3 issues found: 1 critical, 2 moderate. Everything else looks good.'