跳到正文
TakoAPI
返回技能列表

canary

由 sukiraman 提供

Coding Agents & IDEs
1.2k下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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

描述

该技能的功能

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.

何时使用

  • 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

示例工作流

输入

User asks: Am I leaking any secrets?

智能体
  1. 1

    Announces a full secrets scan is starting

  2. 2

    Scans .env files, installed skill directories, shell history, SSH keys, cloud credential files, git repos, and local directories like Downloads and Desktop

  3. 3

    Groups findings by severity: critical (action needed), moderate (heads up), and clean

  4. 4

    Presents each finding in plain language with the real-world risk and an offer to fix it

  5. 5

    Summarizes total issues found with counts by severity

输出

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.'

安装

clawhub install sukiraman/canary

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接