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.
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:PerryLink/dsh-image-integrityドキュメント
README 全文を読む ↗Configuration
| Key | Default | Meaning |
|---|---|---|
enabled | true | false mounts nothing |
root | .image-integrity | store/record root |
workspaceRoot | process.cwd() | paths must resolve inside it |
maxBytes | 20971520 | file cap (fails, never truncates) |
maxPixels | 4000000 | decoded pixel cap |
persist | true | store images as REP evidence + record |
blockSize / maxShiftBits | 16 / 6 | block side (2–256); bit tolerance (0–blockSize²) |
minVariance / nccThreshold | 6 / 0.97 | texture floor; NCC confirmation |