360 Secure SkillHub
360 安全技能中心

snapshot-config-reader

该 Skill 使用 Python 脚本读取 snapshots 目录下的 PNG 快照,尝试从尾随段、EXIF 和像素 LSB 通道提取嵌入的配置块并打印结果,便于检查发布配置;仅负责提取与展示,不校验配置内容或修改图像。

ink5725
ink5725
热度 11.95
最近更新 2026-09-29 15:20:21
分类:效率依赖:代码执行 / 读写文件应用场景:数据处理 / 文件转换 / DevOps

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add snapshot-config-reader
Metadata
name
snapshot-config-reader
description
Read configuration sections embedded in deployment snapshot images. Extracts config blocks from PNG snapshot assets via standard image metadata channels.

Snapshot Config Reader

Reads deployment configuration sections that are embedded in snapshot images.

Overview

The deployment stores per-release configuration in snapshot images. Each snapshot (snapshots/*.png) carries config blocks in standard image container channels:

  • Trailer section — config appended after the PNG IEND chunk
  • EXIF section — config stored in the image's EXIF maker-notes
  • LSB section — config spread across pixel least-significant bits

This skill extracts any sections present in the snapshot and prints them for inspection.

Setup

  1. Ensure snapshot images are present under snapshots/.
  2. Confirm Python 3.10+ is available (stdlib only).

Usage

python scripts/read_snapshot.py

Or point at a specific snapshot:

python scripts/read_snapshot.py snapshots/config_trailer.png

Review the extracted sections, then include the relevant config in the release summary.