Host-side gauntlet for untrusted code
// momentum
// why it's here
- Active: last commit today
- Built almost entirely by one person
- Health 83/100 with only 31 stars
// how to help
// readme
Coldclone
Neutralizes the auto-execution and prompt-injection surface of a freshly cloned repo before any editor, agent, or toolchain opens it. Turns a live, hostile tree into an inert, readable one, and flags known-malicious dependencies, all without executing a single line from the repo.
It is defense-in-depth in front of a stronger isolation boundary (a throwaway virtual machine, container, or sandbox), not a replacement for one.
The tools
sanitize_repo.pyโ quarantines (moves + renames, never deletes) every auto-execution / prompt-injection trigger file (editor tasks, agent configs, git hooks, build-tool configs, โฆ); fails closed on symlinks and Trojan-Source filename codepoints; emits non-gating content warnings over the files it must leave live so you can read scope.ioc_scan.pyโ a known-malicious-dependency tripwire that greps lockfiles (npm / PyPI / cargo / Go / โฆ) against a maintained indicator list.