跳到正文
TakoAPI
返回技能列表

security-guardian

由 1999azzar 提供

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

简介

Automated security auditing for OpenClaw projects.

描述

该技能的功能

Scans project directories for hardcoded secrets (API keys, tokens) and Docker images for CVEs using Trivy. Outputs structured reports with file paths and line numbers. Works alongside mema-vault to move detected secrets into a credential store.

Combines secret detection and container CVE scanning in one workflow, eliminating the need to configure and interpret separate tools for each concern.

何时使用

  • Catching leaked API keys before a production push
  • Auditing a Docker image for HIGH and CRITICAL CVEs before deployment
  • Finding hardcoded tokens in source files during a code review
  • Replacing plaintext credentials with vault lookups after detection
  • Checking container base images for known vulnerabilities during CI

示例工作流

输入

User asks: 'Scan ./src for hardcoded credentials'

智能体
  1. 1

    Run scan_secrets.py against the target directory

  2. 2

    Parse the report for findings, noting each file path and line number

  3. 3

    Flag each hardcoded secret as a high-severity finding

  4. 4

    Invoke mema-vault to store the secret securely

  5. 5

    Replace the plaintext value in source code with a vault lookup or environment variable reference

输出

Structured report listing affected files and line numbers, with secrets removed from source and stored in mema-vault

前置要求

  • trivy (CLI, installed on host)
  • mema-vault skill

安装

clawhub install 1999azzar/security-guardian

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

链接