Token导航 LogoToken导航TokenDH.com
开发敏感数据clawhub未标认证来源可访问clear审计通过

secretssecrets 开发

Agent Skill

用于辅助安全审计、权限检查、凭据风险、认证流程和常见漏洞排查。它适合让 Agent 梳理敏感配置、检查依赖风险、分析鉴权逻辑或生成安全复核清单。使用时不能把工具输出直接当最终结论,涉及密钥、令牌、用户数据或生产系统时,应先确认最小权限、脱敏方式和操作边界。

总安装

4,054

周安装

164

GitHub Stars

公开资料未说明

下载量

1,273
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:secrets(secrets 开发)
来源仓库:https://github.com/mike47512/secrets
安装命令:
openclaw skills install secrets
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install secrets

简介

secrets 深入讲解 secrets 全生命周期管理流程,包括分类、存储、轮换与应急响应。

  • 适用于 DevOps 团队设计企业级密钥管理体系或应对合规审计要求。
  • 提供开发人员友好的人机交互建议,平衡安全性与开发效率之间的关系。
  • 强调最小权限原则与自动化轮换机制,减少人为失误导致的数据泄露概率。
  • 事件响应部分包含检测、遏制、根除与恢复四阶段操作指南,需定期演练验证有效性。

SKILL.md

name
secrets
description
Deep workflow for secrets lifecycle—classification, storage (Vault/KMS/cloud), rotation, least privilege, developer ergonomics, audit, and incident response. Use when removing hardcoded secrets, designing secret backends, CI/CD secret injection, or reviewing secret handling in code and infra.

Secrets Management (Deep Workflow)

Guide the user through end-to-end secrets governance: what counts as a secret, where it may live, how it is injected and rotated, who can access what, and how misuse is detected. Act as a structured reviewer and architect, not a checklist robot.

When to Offer This Workflow

Trigger conditions:

  • User mentions API keys, tokens, passwords, TLS private keys, signing keys, OAuth client secrets, DB credentials, or “hardcoded secret”
  • Designing Vault/KMS/Parameter Store/Secrets Manager integration
  • CI/CD needs secrets; local dev vs prod parity questions
  • Audit/compliance asks for access logs or rotation evidence

Initial offer:

Explain you will use five stages: (1) inventory & classification, (2) storage & access model, (3) lifecycle & rotation, (4) developer & CI ergonomics, (5) verification & ongoing operations. Ask if they want this full pass or a narrower slice (e.g., “rotate one class of keys”).

If they decline the workflow, help freeform but still flag non-negotiables: no long-lived secrets in git, minimize blast radius, auditable access.


Stage 1: Inventory & Classification

Goal: Know what exists, where it is, who needs it, and blast radius if leaked.

Questions to Ask

  1. What environments exist (local, staging, prod, partner)? Are boundaries strict?
  2. What secret *types* are in scope: symmetric keys, asymmetric private keys, bearer tokens, DB passwords, cloud IAM, third-party API keys?
  3. Where might secrets already be duplicated (repos, wikis, tickets, Slack, laptops)?
  4. What compliance or contractual constraints apply (PCI, SOC2, customer DPAs)?

Actions

  • Build a rough inventory table: secret class → consumers → storage today → rotation frequency → owner team.
  • Explicitly hunt high-risk items: signing keys, encryption-at-rest master keys, long-lived admin credentials, cross-env reuse.
  • Call out anti-patterns: secrets in env files committed to git, shared “team password”, same DB password everywhere.

Exit Condition

User can name owners for each critical class and agrees on classification (public / internal / confidential / regulated).

Transition: Move to choosing storage and access patterns that match classification and scale.


Stage 2: Storage & Access Model

Goal: Pick mechanisms so secrets are encrypted at rest, scoped, and auditable.

Design Points

  • Central secret store vs cloud-native (e.g., Vault, AWS Secrets Manager, GCP Secret Manager, Azure Key Vault) vs KMS-only patterns.
  • Identity binding: runtime identity (IAM role, K8s service account, workload identity) vs static tokens.
  • Encryption paths: envelope encryption, KMS CMKs, HSM requirements for signing keys.
  • Namespaces / paths: logical isolation per team, app, environment; avoid global buckets.

Trade-offs to Surface

  • Latency & availability: secret fetch on startup vs sidecar vs CSI driver; failure modes when store is down.
  • Break-glass: who can decrypt in emergency, with what approval and logging.
  • Multi-region: replication, failover, and consistency for secret references.

Exit Condition

A written access model: principals → permissions → secret paths → justification. No “everyone read/write production.”

Transition: Define how secrets change over time and how old values are retired safely.


Stage 3: Lifecycle & Rotation

Goal: Secrets expire, rotate, and revoke without surprise outages.

Workflow

  1. Rotation policy per class: automatic vs manual, max age, overlap window.
  2. Dual-credential periods when services must accept both old and new during rollout.
  3. Revocation: immediate invalidation paths for compromise (API key disable, cert CRL, session kill).
  4. Bootstrap: how the *first* secret gets to runtime in a new environment without chicken-and-egg (e.g., cloud IAM → fetch others).

Pitfalls to Call Out

  • Rotating DB password without connection pool drain → thundering reconnect failures.
  • Clients caching JWT signing keys without key ID rotation support.
  • Secrets embedded in container images or build artifacts.

Exit Condition

User has a rotation runbook outline and knows order of operations for at least one critical path.

Transition: Make the model usable for engineers daily without encouraging leaks.


Stage 4: Developer & CI Ergonomics

Goal: Correct behavior is the default; wrong behavior is hard or blocked.

Practices

  • Local dev: short-lived dev credentials, personal sandboxes, .env.example without values, secret scanners in pre-commit/CI.
  • CI: OIDC to cloud (no long-lived cloud keys in CI secrets if avoidable), scoped tokens, environment-specific secrets.
  • Code review: patterns for “secret passed as parameter,” logging redaction, error messages that leak tokens.

Tooling Mentions (when relevant)

  • Git secret scanning (e.g., gitleaks, trufflehog), dependency on org policy.
  • Dynamic secrets / database roles if using Vault-style patterns.

Exit Condition

Clear developer story: “I clone repo → I authenticate → I get least-privilege creds → I never paste prod keys locally unless policy allows.”

Transition: Prove the design works and stays healthy over time.


Stage 5: Verification & Operations

Goal: Evidence that controls work; readiness when things go wrong.

Verification

  • Drills: restore from backup of secret metadata (if applicable), rotate in staging with full integration tests.
  • Audit review: sample access logs; alert on anomalous read patterns.
  • Incident: playbook for “credential leaked on GitHub” — revoke order, scope, customer comms if needed.

Metrics / Signals (examples)

  • Failed authentication spikes after rotation
  • Secret fetch error rates from apps
  • Time-to-revoke for a simulated leak

Exit Condition

User can answer: “If this key leaks at 3am, what is step 1–5 and who is paged?”


Final Review Checklist

  • [ ] No production secrets in source control or public artifacts
  • [ ] Least privilege enforced at identity + path + operation level
  • [ ] Rotation and revocation paths documented with owners
  • [ ] CI and local dev paths do not encourage static prod credentials
  • [ ] Audit/logging aligned with organizational requirements

Tips for Effective Guidance

  • Prefer concrete sequences (bootstrap → fetch → use → rotate) over abstract “use a vault.”
  • Always ask blast radius and who can decrypt.
  • When user lacks org context, give options with trade-offs, not a single vendor gospel.

Handling Deviations

  • “We only need one API key”: still classify, store centrally, and set expiry where possible.
  • “Too heavy for our stage”: minimum viable—env per env, secret manager, scanner on CI, no keys in repo.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

70.76%
按下载量换算901

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills