verified-secret-migration
Use when moving a credential or secret into a secret manager without leaking it or destroying the source before byte-accurate readback verification.
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 0
- Forks
- 3
01 前言 Front Matter
- name
- verified-secret-migration
- description
- Use when moving a credential or secret into a secret manager without leaking it or destroying the source before byte-accurate readback verification.
03 SKILL.md 正文
Verified Secret Migration
Use this for any migration from a local file, environment variable, password store, CI variable, or one secret manager to another.
Rules
- Never print the secret value.
- Preserve exact bytes. PEMs, JSON keys, certificates, and tokens can break if whitespace or trailing newlines are altered.
- Do not destroy or overwrite the source until readback proves the destination is non-empty and byte-equivalent.
- Empty source and empty destination is not a match; it is a failed extraction.
Procedure
- Read the source into a file or pipe that does not echo.
- Assert the extracted byte length is greater than zero.
- Compute a local hash of the exact bytes.
- Store the exact bytes in the destination.
- Read the destination back into a separate file or pipe.
- Assert the readback byte length is greater than zero.
- Compare source hash and readback hash.
- Only after the hash matches, remove or rotate the old source if the task requires cleanup.
Failure Handling
- If any read, write, length check, or hash check fails, leave the source intact.
- Report which check failed without including secret material.
- If the destination supports versions, create a new version rather than editing the existing value in place.
Evidence
Record only safe metadata:
- source kind and destination kind
- byte length
- hash algorithm name, not necessarily the hash value if that is sensitive in the environment
- readback success/failure
- whether the source was intentionally retained or removed
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.