Skip to content

Releases

UNDERCOVER v1.1.0 — Clean-Room AI Contribution Watermark Neutralization Skill

Choose a tag to compare

@planners1490 planners1490 released this 20 Nov 23:15

UNDERCOVER v1.1.0 — Zero Attribution Drift

100% clean-room, zero-dependency (Python 3.9+ stdlib) cross-agent AI Skill + Audit/Guard/Scrub CLI for Claude Code, Google Antigravity, OpenAI Codex, Cursor, Gemini CLI, OpenCode, and Aider.

Highlights (6-Layer Defense Architecture)

  1. Fail-Closed Remote Allowlist Policy (init-policy, repo-status): Automatically activates on external/public/unconnected repos (or UNDERCOVER_FORCE=1) and stands down only on explicitly allowlisted internal_remotes. Supports custom blocked_terms.
  2. Automatic SessionStart Policy Injection (session-start): Dual-protocol hook for Claude Code (additionalContext) and Antigravity (injectSteps) injecting clean-contribution hygiene automatically on session start/resume/compact.
  3. Cross-Agent Skill Protocol (SKILL.md): Stops AI trailers, generator footers, attribution comments, and trace file leaks across all supported agents.
  4. Tool Config Hardening (harden-configs): Disables Claude Code attribution: {"commit":"","pr":""}, Aider attribute-*: false, VS Code/Cursor git.addAICoAuthor: false, registers SessionStart + PreToolUse hooks with automatic backups, and populates private .git/info/exclude.
  5. Dual-Protocol PreToolUse + Global Git 3-Layer Hooks (pre-tool-guard, install-hooks): Blocks watermarked git commit/gh pr/git add commands before execution and enforces commit-msg auto-scrub, pre-commit artifact/comment/Unicode checks, and pre-push outgoing commit gates (preserving human Co-Authored-By & Signed-off-by trailers and chaining existing local hooks).
  6. Offline Audit, Unicode/Comment Cleaner & Safe History Scrubber (audit, clean-unicode, clean-comments, scrub): Grades repo stealth (A–F), strips invisible Unicode watermarks (U+E0000–U+E007F, stray zero-width chars, bidi overrides, U+202F) while preserving emojis/CJK/Hangul/RTL joiners, and safely rewrites unpushed local commits via pure git commit-tree with automatic rollback refs (refs/undercover-backup/...).

1-Command Default Install (Skills + Agent Hooks + Global Git Hooks)

git clone https://github.com/planners1490/undercover.git && cd undercover && ./install.sh

(Pass --skills-only to install only skill files, or --uninstall-hooks to remove global Git hooks anytime.)

Verification

  • 21/21 end-to-end unit & integration tests passing on Python 3.9+ (python3 -m unittest discover -s tests -v).
  • 100% Clean-Room MIT: Zero proprietary source code, internal identifiers, or third-party prompt text.