Security · Personal2026
SafeSuspiciousDangerous
Repo-Safety
Checks an untrusted repo or ZIP, like a "take-home test", for hidden auto-run malware before you open it. 11 rules, never runs code.
- TypeScript
- Node.js
- VS Code
- Chrome MV3
05 / Security
A static scanner that checks an untrusted repo or ZIP, like a “take-home test”, for hidden auto-run malware before you open it.
Repo-Safety / Security / 2026
02 / Overview
Repo-Safety reads a folder, ZIP or GitHub link without ever running it, and looks for the tricks that make code execute the moment you open, install or build it. Each finding comes with the file, the line and a plain-English reason, and everything rolls up into a Safe, Suspicious or Dangerous verdict with a 0–100 risk score.
Repo-Safety / how the parts connect
03 / The problem
Fake recruiters send developers “take-home tests” that hide malware in places that run automatically: editor tasks that fire when a folder opens, install hooks, git hooks and download-and-run scripts. Most people never look in those places before they trust a project.
04 / How it works
Reads a folder or ZIP into memory with size, file and depth limits, and rejects zip bombs and zip-slip.
11 rules look for folder-open tasks, install hooks, hidden git hooks, download-and-run scripts, obfuscation and typosquats.
Findings roll up into a Safe / Suspicious / Dangerous verdict and a 0–100 risk score.
Every finding points to a file and line with a plain-English reason.
One engine behind a CLI, a VS Code extension, a web app and a Chrome extension.
05 / Key decisions
Decision 01
Never. Static analysis only, and no git clone: repos are fetched as archives.
It is safe to point at hostile input, which is the whole point.
Decision 02
Suspicious-only repos are capped below the Dangerous range, and every rule is tested against popular projects.
Normal install scripts never look like a real trap.
Decision 03
One scanning engine shared by the CLI, VS Code, the web app and the browser extension.
The same verdict wherever a developer meets the repo.
06 / The flow
What it looks like from the side of the person using it — the path through Repo-Safety in 4 steps.
Repo-Safety / user flow
07 / Outcome