协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
openclaw-signet-pro【开发与工程】Full cryptographic verification suite: SHA-256 skill signing and tamper detection, plus automatic rejection of unsigned skills, quarantine of tampered ones, trusted snapshots, and restoration. Everything in openclaw-signet (free) plus automated countermeasures.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Everything in openclaw-signet (free) plus automated countermeasures.
Free version alerts. Pro version subverts, quarantines, and defends.
Generate SHA-256 content hashes for all installed skills and store in trust manifest.
python3 {baseDir}/scripts/signet.py sign --workspace /path/to/workspace
python3 {baseDir}/scripts/signet.py sign openclaw-warden --workspace /path/to/workspace
Compare current skill state against trusted signatures. Reports exactly which files were modified, added, or removed.
python3 {baseDir}/scripts/signet.py verify --workspace /path/to/workspace
python3 {baseDir}/scripts/signet.py verify openclaw-warden --workspace /path/to/workspace
Display the trust manifest with hashes, file counts, and quarantined skills.
python3 {baseDir}/scripts/signet.py list --workspace /path/to/workspace
One-line health check: verified, tampered, unsigned, quarantined counts.
python3 {baseDir}/scripts/signet.py status --workspace /path/to/workspace
Remove unsigned skills from the workspace. Moves them to .quarantine/signet/ with metadata recording why they were rejected.
# Reject all unsigned skills
python3 {baseDir}/scripts/signet.py reject --workspace /path/to/workspace
# Reject a specific unsigned skill
python3 {baseDir}/scripts/signet.py reject untrusted-skill --workspace /path/to/workspace
Disable a skill by renaming its directory with a .quarantined- prefix so the agent will not load it. Records tampering evidence (expected vs actual hashes, changed files) in .quarantine/signet/{skill}-evidence.json.
python3 {baseDir}/scripts/signet.py quarantine bad-skill --workspace /path/to/workspace
Restore a quarantined skill to its original name. Warns that it should be re-signed before trusting.
python3 {baseDir}/scripts/signet.py unquarantine bad-skill --workspace /path/to/workspace
Create a trusted backup of a signed skill. Only succeeds if the skill currently passes verification (hash matches manifest). Snapshots are stored in .signet/snapshots/{skill}/.
python3 {baseDir}/scripts/signet.py snapshot openclaw-warden --workspace /path/to/workspace
Restore a skill from its trusted snapshot. Verifies snapshot integrity before restoring. Updates the trust manifest to match the restored state.
python3 {baseDir}/scripts/signet.py restore openclaw-warden --workspace /path/to/workspace
Full automated protection sweep. Recommended for session startup.
--reject-unsigned flag, off by default)# Standard protection (quarantine tampered, snapshot clean)
python3 {baseDir}/scripts/signet.py protect --workspace /path/to/workspace
# Strict protection (also reject unsigned skills)
python3 {baseDir}/scripts/signet.py protect --reject-unsigned --workspace /path/to/workspace
{
"hooks": {
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "python3 scripts/signet.py protect",
"timeout": 30
}
]
}
]
}
}
Add to HEARTBEAT.md for periodic protection:
- Run skill signature protection (python3 {skill:openclaw-signet-pro}/scripts/signet.py protect)
| Command | Action |
|---|---|
protect | Full sweep: verify + quarantine tampered + snapshot clean |
protect --reject-unsigned | Full sweep + reject unsigned skills |
reject [skill] | Remove unsigned skills to quarantine area |
quarantine <skill> | Disable tampered skill with evidence |
unquarantine <skill> | Restore quarantined skill (re-sign recommended) |
snapshot <skill> | Create trusted backup of verified skill |
restore <skill> | Restore from trusted snapshot |
0 -- All skills verified / action succeeded1 -- Unsigned skills detected / warnings2 -- Tampered skills detected / critical issuesPython standard library only. No pip install. No network calls. Everything runs locally.
Works with OpenClaw, Claude Code, Cursor, and any tool using the Agent Skills specification.