凡自治之物 · LGD 治理学 · 创造术家族 | 评测协议:skill-quality-gate
English
When to use
For supply-chain security — identity verification when receiving electronic files or devices bearing a badge certificate. For compliance audits — verifying the certificate's anti-tamper fingerprint and whether evidence-hash formats meet the standard. For inventory management — confirming the badge serial exists in the ledger and is not currently revoked.
Usage
Run the script badge_verify.py; the --serial parameter (string) does a fast check by certificate serial. Call the verify_integrity() action to read a file and recompute the fingerprint and compare hash formats. For ledger reconciliation, use reconcile_ledger(serial) with the database connection info.
Workflow
- Load the dependency script
badge_verify.pyinto the runtime sandbox. - Parse the input for the certificate serial or file path.
- Run the fingerprint-recompute algorithm against the raw data to detect tampering.
- Validate that evidence-hash formats meet the required cryptographic standard.
- Query the internal ledger to confirm the serial exists and is not marked revoked.
- Aggregate all checks and output the final pass/fail verdict.
Evidence & safety statement
- Evidence: TBD (no evaluation / badge link yet; update here once it is produced)
- Version: 1.0.1
- Security: no independent security scan has been performed (TBD); the conclusion is pending and no endorsement is given until it is completed.
中文
何时用
适用于供应链安全场景,当接收带有徽章证书的电子文件或设备时进行身份核验。适用于合规审计场景,需要验证证书指纹防篡改能力及证据哈希格式是否符合标准。适用于库存管理场景,需确认徽章序列号在台账中存在且当前未被吊销的状态。
用法
执行脚本 badge_verify.py,支持参数 --serial(字符串型,输入证书序列号)进行快速校验。可调用动作 verify_integrity() 读取文件并执行指纹重算与哈希格式比对。若需台账对账功能,使用动作 reconcile_ledger(serial) 并传入数据库连接信息。
流程
- 加载技能依赖脚本
badge_verify.py至运行沙箱环境。 - 解析输入参数获取证书序列号或文件路径数据。
- 执行指纹重算算法比对原始数据,防止篡改修改。
- 校验证据哈希格式是否符合系统规定的加密标准。
- 查询内部台账确认该序列号存在且状态未标记为吊销。
- 汇总所有校验结果并输出最终验证通过或不通过判定。
证据与安全声明
- 证据:TBD(暂无评测/徽章链接;产生后在此更新实际链接)
- 版本:1.0.1
- 安全:未做独立安全扫描(TBD),结论待补;补全前不作推荐背书。
