See through a repo before it's on your disk.
Most files in a repo are just files. A few run the moment you open, install or commit. PreClone finds those without running anything.
A GitHub, GitLab or Bitbucket link, owner/repo, or a whole git clone line. Zips are read in your browser and never uploaded.
defi-dashboard-assessment/9 files · read only
- README.md
- package.jsonnpm install runs the “postinstall” scriptInstall · Critical
- .vscode/tasks.jsonOpening the folder runs a font file as a program (task “eslint-check”)Open · Critical
- public/fonts/fa-brands-regular.woff2Opening the folder runs a font file as a program (task “eslint-check”)Open · Critical
- scripts/check-node.jsnpm install runs the “postinstall” scriptInstall · Critical
- server/server.js
- server/routes/auth.js
- server/config/db.jsnpm start loads code that looks maliciousRun · Critical
- src/App.js
Malware signs. Don't open or install this.
Inert copy of a real trick. Nothing in it can run.
Full reportSix moments, in the order they'd hit you.
It downloads the archive instead of cloning, then follows every command a file would run into the files it loads. Each finding is pinned to one of these, with the file and line.
Open
Editor tasks that start on open. Cursor ships with Workspace Trust off.
.vscode · .devcontainer · .idea
Runs without a command
Agent
Settings, MCP servers and instruction files Claude Code, Cursor and Copilot load.
.claude · .mcp.json · AGENTS.md
Runs without a command
Install
Lifecycle scripts, package-manager config, git and URL dependencies.
package.json · .npmrc · setup.py
Run
npm start, followed to the file that runs. Often five requires deep.
next.config · vite.config
Commit
Husky, Lefthook and pre-commit hooks on commit, checkout and push.
.husky · lefthook.yml
Code
Fonts that are JavaScript, base64 blobs, credential grabs, invisible text.
*.woff2 · *.min.js · Unicode
A report you can read in ten seconds.
One verdict on top. Under it, what runs and when, down to the line. It never says “safe”, because reading files can't prove that.
Malware signsDon't open or install this.
When you open the folderruns without asking
Opening the folder runs a font file as a program (task “eslint-check”)
.vscode/tasks.json:7
When you installruns without asking
npm install runs the “postinstall” script
package.json:6
jsonwebtokn isn't on npm and looks like a misspelling of jsonwebtoken
package.json:16
When you run it
npm start loads code that looks malicious
package.json:7
A pattern, not a one-off.
Every one of these threads ends with “use a VM”. Almost nobody does for a 20-minute coding test. This is the ten-second version.
- Jul 2026Hacker NewsA take-home shipped a git hook that downloaded and ran a script on commit. 482 points. (source, opens in a new tab)
- Dec 2025r/cscareerquestionsA take-home's VS Code task ran a script the moment the folder opened. 593 upvotes. (source, opens in a new tab)
- Jun 2026r/webdevA fake job offer, and a nested fake dependency traced by hand. About 1.2k upvotes. (source, opens in a new tab)
- May 2026r/webdevFake Upwork and Dribbble clients sent repos that installed malware on npm install. (source, opens in a new tab)
- Apr 2026Trend MicroVoid Dokkaebi: fake interview repos tracked across hundreds of GitHub repositories. (source, opens in a new tab)
- Jun 2026ProofpointUNK_DeadDrop sent code-review and job-offer lures to about 100 organisations in six weeks. (source, opens in a new tab)
- 2026Check PointClaude Code project files could run commands and leak API tokens when a repo was opened (CVE-2025-59536). (source, opens in a new tab)
- 57well-known repos, from Express to pytest, run against every engine release. None is rated above “Worth a look”.
Use it where the link shows up.
Prefix
Put our domain in front of any GitHub link in the address bar.
preclone.dev/github.com/owner/repo
Extension
Adds “Check before cloning” to GitHub, GitLab and Bitbucket. Makes no requests of its own.
github.com/owner/repoCheck before cloning
CLI
The same engine on your machine, for links, folders and zips. Exit codes for CI.
$ npx preclone . --fail-on high
The check is free.
Charging the person who's about to be phished would be backwards. Pro is for people who check repos all day, and for private code.
Free
For anyone handed a repo by a stranger.
$0forever
- Public GitHub, GitLab and Bitbucket repos
- Zip and tarball checks in your browser
- Shareable report links and JSON export
- The CLI, the browser extension and the API
- 12 checks an hour without an account, 40 a day with one
- History of your last 20 checks
Pro
For people who open other people's code for a living.
$9a month, or $90 a year
- Everything in Free
- Private GitHub and GitLab repos: a read-only token used for one download, never stored
- Private reports only you can open
- 1,000 checks a day, by web, CLI or API
- Bigger repos: archives up to 200 MB (free: 80 MB)
- History of your last 200 checks
A team plan for agencies, bootcamps and hiring platforms is next: shared history, an org API key, and a Slack or Discord bot that checks every repo link posted in a channel.
Before you ask.
More on the checks page, and in the guides on what a repo can run when you open it, install it or start an agent in it.
Does PreClone run any of the repo's code?
No. It downloads the archive that GitHub, GitLab or Bitbucket serve for a commit, reads the files in memory and throws them away. Nothing is cloned, installed, built or executed, on our servers or on yours. Zip uploads are read inside your browser tab.
So “Nothing flagged” means the repo is safe?
No, and PreClone never says that. It means nothing risky is set to run on its own when you open the folder, install it or start an AI agent in it, and no known malware patterns turned up. Code that downloads more code later, compiled binaries and encrypted payloads can still hide from any static read. If you don't trust the sender, use a throwaway VM or Codespace anyway.
They pushed a fix and asked me to pull again. Should I check again?
Yes. Lures often arrive clean and get their payload in a later push. Paste the same link again: if the commit has changed, the report opens with what's newly set to run since the last check.
What do you keep?
For a link you check, the report (findings, file paths, the flagged lines) so the share link works. Not the code. Zips never leave your browser; only package names and versions go to our server so they can be looked up on npm and OSV.