360 Secure SkillHub
360 安全技能中心

snapshot-config-reader

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

分类:效率
ink5725
ink5725
热度 7.80
最近更新 2026-09-29 15:20:21

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add ink5725/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.