Builds SHA-256 hash chains for tamper-evident append-only logs from syslog, JSON, or text files. Verifies integrity, pinpoints tampering, and anchors checkpoints to timestamp services.
How this skill is triggered — by the user, by Claude, or both
Slash command
/cybersecurity-skills-zh:implementing-log-integrity-with-blockchainThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
1. 安装依赖:`pip install requests`
pip install requestspython scripts/agent.py --log-file /var/log/syslog --chain-file log_chain.json --verify --output integrity_report.json
{"index": 42, "timestamp": "2024-01-15T10:30:00Z", "content_hash": "a1b2c3...",
"prev_hash": "d4e5f6...", "chain_hash": "SHA256(prev_hash + timestamp + content_hash)"}
若第 42 条条目被修改,chain_hash[42] 将不匹配 SHA256(chain_hash[41] + ...),从第 42 条起的所有条目都将被标记为无效。
npx claudepluginhub killvxk/cybersecurity-skills-zhBuilds append-only log integrity chain using SHA-256 hash chaining for tamper detection. Supports ingestion from syslog/JSON/text, chain verification, pinpoint tampering identification, and external timestamp anchoring.
Builds an append-only log integrity chain using SHA-256 hash chaining for tamper detection. Useful for ensuring log immutability and detecting modifications.
Builds an append-only log integrity chain using SHA-256 hash chaining for tamper detection. Useful for ensuring log immutability and detecting modifications.