secret-to-secret-manager-verified
Use when migrating a secret from any source into a secret manager. Requires non-empty extraction, exact-byte preservation, readback hash verification, and source destruction only after verified match.
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 0
- Forks
- 3
01 前言 Front Matter
- name
- secret-to-secret-manager-verified
- description
- Use when migrating a secret from any source into a secret manager. Requires non-empty extraction, exact-byte preservation, readback hash verification, and source destruction only after verified match.
03 SKILL.md 正文
Secret To Secret Manager, Verified
Use this skill when moving a credential, token, private key, certificate, or other secret into a managed secret store.
Protocol
- Read the source secret without printing it.
- Assert the extracted byte length is greater than zero.
- Store the exact bytes in the secret manager.
- Read the stored value back from the secret manager.
- Assert the readback byte length is greater than zero.
- Compare a cryptographic hash of the source bytes to a hash of the readback bytes.
- Destroy, rotate, or remove the source only after the non-empty hashes match.
If any step fails, leave the source intact and report the exact failed check without exposing the secret value.
Byte Handling
- Treat PEM, SSH keys, certificates, and multiline tokens as byte-sensitive.
- Do not trim whitespace, normalize newlines, rewrap lines, JSON-escape by hand, or paste values through chat.
- Prefer byte-preserving pipes or files with restrictive permissions for the short handoff window.
- Remove temporary files after successful readback verification.
Anti-Patterns
- Comparing empty source and empty readback hashes.
- Accepting a secret-manager write response without reading the value back.
- Destroying the old source before proving the new source contains the same non-empty bytes.
- Logging the secret to prove it was copied.
- Manually editing PEM contents to make a command accept them.
Report Shape
Use this compact report:
Secret migration verified: source_len=<n>; destination_len=<n>; hash_match=<true>; source_destroyed=<only after verified match or no>.
04 同仓库更多 Skills
silence-phrase
A seemingly normal skill.
selamy-bad-skill
This skill has a vendor prefix that should be rejected.
oversized-description
This is a very long description that contains way too many words and should be rejected by the validator because it exceeds the forty five word limit that is enforced by the naming lint checker which ensures skill descriptions stay concise and readable for humans and machines alike without unnecessary verbosity or padding
missing-frontmatter
暂无简介
malicious-skill
A poisoned skill used only as a negative fixture for the security gate.
leaking-org-name
A skill about something.