PerryLink/dsh-image-integrity ↗★ 0

dsh-image-integrity

Image integrity checks for DeepSeek Harness: zero-dependency 8-bit PNG decoding (grey/RGB/RGBA) with mean-threshold block fingerprints and NCC confirmation to find duplicated or mirrored regions inside one figure or shared between two figures, plus REP evidence and Markdown/SARIF reports. Finds reused pixels, not manipulation intent; JPEG is out of scope in v0.1.

Package
dsh-image-integrity
Compatibility
Unverified
Harness peer range
>=0.2.1-0 <0.3.0 || >=0.2.2-0 <0.3.0
Cordis peer range
^4.0.5-alpha.1
Version
0.1.2
License
Apache-2.0
Last updated
Nov 8, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:PerryLink/dsh-image-integrity

Configuration

KeyDefaultMeaning
enabledtruefalse mounts nothing
root.image-integritystore/record root
workspaceRootprocess.cwd()paths must resolve inside it
maxBytes20971520file cap (fails, never truncates)
maxPixels4000000decoded pixel cap
persisttruestore images as REP evidence + record
blockSize / maxShiftBits16 / 6block side (2–256); bit tolerance (0–blockSize²)
minVariance / nccThreshold6 / 0.97texture floor; NCC confirmation