build-crypto-inventory
Build a hash-backed cryptographic bill of materials from authorized repository evidence without collecting secrets or raw key material.
- License 许可
- MIT
- 所属仓库
- dasobral/skills
- 最近更新
- 2026-08-15
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- build-crypto-inventory
- description
- Build a hash-backed cryptographic bill of materials from authorized repository evidence without collecting secrets or raw key material.
02 资源文件 7
- 参考文档references/authoritative-sources.md548 B
- 参考文档references/cbom.schema.json2.5 KB
- 参考文档references/crypto-policy.schema.json514 B
- 参考文档references/evidence-collection.schema.json1.6 KB
- 脚本scripts/build_inventory.py1.1 KB
- 脚本scripts/collect_evidence.py5.0 KB
- 脚本scripts/contract_utils.py1.9 KB
03 SKILL.md 正文
Build Crypto Inventory
- Read
references/authoritative-sources.mdandreferences/cbom.schema.json. - Inventory source, dependencies, binaries, configuration, certificates, and only explicitly authorized runtime observations.
- Run
python3 scripts/collect_evidence.py < requests.json > collection.jsonto extract normalized CBOM asset candidates from authorized source, dependency, configuration, binary, and public-certificate files. It rejects every symlink component and sensitive resolved name; missing files produceevidence-gap. - Record algorithm, parameters, mode, protocol, provider boundary, key purpose, fallback, owner, confidence, evidence state, and evidence hash.
- Run
python3 scripts/build_inventory.py < candidate.json > cbom.json; the Draft 2020-12 contract rejects undeclared fields. - Report unavailable evidence as
evidence-gap; never infer it.
For native hooks, register a policy conforming to references/crypto-policy.schema.json under external PLUGIN_DATA/crypto-change-radar (or the explicit plugin state directory). Approval requires a detached Ed25519 signature verified against the public key selected by CRYPTO_CHANGE_RADAR_TRUST_ROOT inside the explicit CRYPTO_CHANGE_RADAR_TRUST_BOUNDARY. Trust-path components must be non-symlink, root- or CRYPTO_CHANGE_RADAR_TRUSTED_UID-owned, non-writable by group/other, and non-replaceable by the invoking unprivileged process. The signed payload binds plugin, decision, approver identity, timestamp, policy digest, and prior ledger entry. The local HMAC chain is only tamper-evident storage after signature verification; it is not approval authority.
Evidence states are exactly pass, fail, unknown, not-applicable, and evidence-gap. They describe evidence, never a review or migration decision.
Do not collect, print, hash, or retain secrets, private keys, symmetric key bytes, seed material, tokens, or raw production key material. Certificate metadata and public-key fingerprints are allowed. This workflow produces evidence, does not certify FIPS status, compliance, security, or fitness for use.
04 同仓库更多 Skills
fixture-skill
Fixture skill used to prove trust inventory coverage.
write-conformant-code
Write code in any language that matches project conventions exactly. Reads CODING_REQUIREMENTS.md, prior review output, or built-in defaults before writing. Part of Codecraft pipeline: analyze → write → review → audit. Use when implementing features, functions, or any code that should fit seamlessly into an existing codebase.
test-crypto-interoperability
Record reproducible cryptographic interoperability cases, including negotiation, fallback, sizes, latency, fragmentation, and negative tests.
scientific-platform-architect
Design scientific computing platforms combining HPC kernels with modern infrastructure. Enforces compute-layer separation (Rust/PyTorch/Python), emulator-first thinking, and right-sized infrastructure. Use for MCMC pipelines, neural emulators, platform design, or scientific code review.
rust-systems
Rust systems engineering for daemons, HTTP APIs, and AOS components. Enforces Tokio/Axum async-first, LiteLLM-compatible OpenAI APIs, workspace layouts, tracing, and systemd-compatible daemon design. Part of AOS Stack plugin. Use for .rs files, Cargo.toml, daemons, or Rust orchestrator services.
run-agent-attack-replay
Aggregate isolated agent attack trials with deterministic side-effect assertions, Wilson intervals, and preserved trace evidence.