TrickyZone
Home / Online tools

CloneGuard

github.com

Scan a project for credential-stealing tricks before you run npm install or open it in your editor.

Visit github.com
HighlightIt only reads files, so the suspicious project never gets a chance to run while it is being checked.
Developer toolsFree and open source (MIT)Date added Nov 16, 2026Last reviewed Nov 16, 2026

What it does

CloneGuard is a small, dependency-free command-line tool written in Go, built after a fake recruiter's demo app tried to steal its author's SSH and AWS keys. The attack it targets is common: someone sends a take-home assignment or demo project, and an install hook or an editor task quietly uploads your SSH keys, cloud credentials, browser passwords or crypto wallets the moment you install dependencies or open the folder. CloneGuard gives you a quick first look before that happens. It only reads files and never runs, installs or imports anything from the project. You can clone and scan a repository in one step, scan an existing folder, or get JSON output for scripts. Findings are grouped by severity, such as code that reaches for your secrets while talking to a suspicious server, or a VS Code task that runs when the folder opens. Exit codes from clean to dangerous make it easy to use in a git hook. It builds with Go 1.24 or later and is MIT licensed.

Who it’s for

Developers who often clone code from strangers, such as job seekers and open-source maintainers.

Use cases

  • Checking a take-home assignment from a recruiter before running it
  • Scanning an unfamiliar repository before opening it in VS Code
  • Adding a malware check to a script or git hook

Related sites