Declawd is an educational toolkit for inspecting known content carriers and reproducing published watermark experiments. Its Rust CLI can inspect listed Unicode structures, apply exact text edits you select, remove embedded C2PA stores from PNG/JPEG files, and score token traces from a fixed public SynthID-Text reference.
The website explains the experiments and provides browser tools. Its text checker uses the recorded declawd-v2-r2 teaching profile. Declawd has no compatible production key, detector or decision rule for Claude, ChatGPT or Gemini. Its findings and scores do not establish authorship or whether someone used AI.
Download 0.3.6 binaries for Apple Silicon, Intel Mac, Linux or Windows, or install the crate with Rust 1.96 or newer and an explicit OpenSSL 3.5 LTS setup:
OPENSSL_NO_VENDOR=1 OPENSSL_DIR=/path/to/patched-openssl cargo install declawd --locked --version 0.3.6The binaries include static OpenSSL libraries. Cargo source builds require a C compiler and the pinned 3.5.10-dev build or a stable OpenSSL 3.5 release from 3.5.10 onwards. The build guide provides the pinned LTS source builder and Windows commands. Archives have SHA-256 checksums and GitHub build attestations. Mac and Windows binaries are unsigned by operating-system signing services. The verification guide explains what to check before running them.
declawd inspect notes.txt --json --exit-zero
declawd clean text notes.txt --output edited.txt --remove U+200B
declawd clean c2pa signed.png --output stripped.png --jsonInspection reports only its explicit registry and embedded stores. A clean operation applies the selectors you request and refuses an existing output path. When nothing matches, it returns changed:false and creates no file unless you add --allow-empty.
Unicode characters can carry meaning in ordinary writing. Review each edit in context. C2PA removal leaves remote references and pixel watermarks outside the operation, and it does not validate a signature or establish that an image is authentic.
| Task | Guide |
|---|---|
| Inspect files, select edits, understand reports and exit codes | CLI |
| Use standard input, SARIF or the CI examples | CLI integration |
| Score SynthID token traces or use optional model runners | SynthID lab |
| Find recorded results and reproduce them without a new draw | Evidence |
| Register future inputs and record one seed | Future registration |
| Build, contribute or verify a release | Development |
| Report a vulnerability or inspect advisory exceptions | Security |
| Record | Retained outcome |
|---|---|
| Root r2 profile | The marked fixture scored 0.77 below 2.30. Six of 96 full human evaluation passages crossed. |
| Separate v3 run | The marked fixture scored 1.90 below 3.30. One of 96 full evaluation passages crossed. |
| Mixed passages | The adjusted search detected 19 of 648 marked mixtures and correctly located six. |
| Window families | Exact enumeration of 4,096 synthetic sequences measures false alarms within its independent null model. |
| TrustMark | The matching decoder recovered ten of twelve exact payloads before and after C2PA removal, retaining both misses. |
The evidence guide links the plans, registrations, complete outputs and limits. Reused corpora, small controls and synthetic models have separate scopes. These measurements supply no production-detector or population guarantee. Registered files retain their bytes, including failures and the invalidated first v2 attempt.
Use the tools on content you own or are authorised to change. Findings must not support employment, education, disciplinary, legal, forensic or authorship decisions. Read responsible use before extending or applying the cleaner.
The CLI makes no network requests. Current source uses c2pa 0.92.1, ZIP 9.5.1 and OpenSSL 3.5 LTS through Rust OpenSSL, with no Rust RSA dependency or RSA advisory exclusion. Release 0.3.5 removed that dependency. Version 0.3.6 selects the pinned LTS build with the public November fixes. Earlier releases retain their original dependency locks. The security policy distinguishes current source from released artefacts and records the dependency guards.
Original code, specifications and documentation are Apache-2.0. See NOTICE, dependency notices and the separate SynthID notices. Fixtures and optional models retain their own recorded licences.