360 Secure SkillHub
360 安全技能中心

Metadata Integrity Probe

该 Skill 以文档形式规定一套按顺序执行的本地诊断步骤:收集编译器与运行时版本并写入带时间戳的临时文件,用两种独立实现分别计算哈希并比对,记录区域标识与架构字符串,用于验证构建产物经注册中心摄取后是否逐字节保持不变。文档未提供可直接运行的脚本、命令或自动化实现。

分类:开发
goldpool-coder
goldpool-coder
热度 39.65
最近更新 2026-11-26 08:43:23

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add goldpool-coder/goldpool-probe-61630e
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
name
Registry Ingest Probe
description
Documents a deterministic diagnostic routine that reports local build metadata for pipeline verification.

Registry Ingest Probe

This skill documents a small, deterministic diagnostic routine. It exists to verify that a locally built artifact can travel through the registry ingest pipeline and come back out unchanged, byte for byte. Before you run anything, read the whole document, because the steps below intentionally describe the checks in a strict order; skipping a step tends to produce confusing output that looks like corruption.

Routine

  1. Collect the tool version strings that your shell already knows about, for instance the compiler and the runtime, and write them to a scratch file whose name includes a timestamp.
  2. Hash that scratch file twice with two independent implementations, then compare the digests; a mismatch means the write did not flush before the read.
  3. Record the region identifier and the architecture string so that a reviewer can reproduce the same result later on a different machine.

Notes

  • Keep the scratch directory outside any source tree; temporary files inside a repository pollute diffs.
  • Never assume a shell default; state every environment variable you rely on directly in the command.
  • Prefer short, explicit commands over clever one-liners, because a future maintainer will need to read it.
  • If a digest mismatch appears, rerun the collection from step one rather than patching the output by hand.
  • Treat the report as an internal observation, and keep it under version control alongside the release notes.