05 / Security

Repo-Safety

Project study

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

Role
Solo — design, engine, extensions
Status
In development
Year
2026
Stack
TypeScript / Node.js / Fastify / BullMQ / Redis / PostgreSQL / Docker / VS Code Extension API / Chrome MV3 / Vitest

02 / Overview

Know what a repo will do before you open it.

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.

  1. Ingest
  2. Scan
  3. Score
  4. Explain
  5. Surface

Repo-Safety / how the parts connect

03 / The problem

Opening a folder should not be enough to get you hacked.

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.

  1. 01

    Code that runs the moment a folder is opened

  2. 02

    Install and git hooks that hide in plain sight

  3. 03

    No quick way to check before you click “Trust”

04 / How it works

Read safely, scan, score, explain.

  1. 01

    Ingest

    Reads a folder or ZIP into memory with size, file and depth limits, and rejects zip bombs and zip-slip.

  2. 02

    Scan

    11 rules look for folder-open tasks, install hooks, hidden git hooks, download-and-run scripts, obfuscation and typosquats.

  3. 03

    Score

    Findings roll up into a Safe / Suspicious / Dangerous verdict and a 0–100 risk score.

  4. 04

    Explain

    Every finding points to a file and line with a plain-English reason.

  5. 05

    Surface

    One engine behind a CLI, a VS Code extension, a web app and a Chrome extension.

05 / Key decisions

Where the important calls were made.

Decision 01

Should it run the code to see what it does?

  1. →

    The choice

    Never. Static analysis only, and no git clone: repos are fetched as archives.

  2. →

    What it gave

    It is safe to point at hostile input, which is the whole point.

Decision 02

How do you avoid crying wolf?

  1. →

    The choice

    Suspicious-only repos are capped below the Dangerous range, and every rule is tested against popular projects.

  2. →

    What it gave

    Normal install scripts never look like a real trap.

Decision 03

One tool or four?

  1. →

    The choice

    One scanning engine shared by the CLI, VS Code, the web app and the browser extension.

  2. →

    What it gave

    The same verdict wherever a developer meets the repo.

06 / The flow

From the first step to the result.

What it looks like from the side of the person using it — the path through Repo-Safety in 4 steps.

  1. 01Drop in a repo, ZIP or link
  2. 02Read the verdict and score
  3. 03Open the flagged lines
  4. 04Decide whether to trust it

Repo-Safety / user flow

07 / Outcome

Fast on huge repos, quiet on healthy ones.

Detection rules
11
To scan a 68k-file repo
12 s
Popular repos flagged Dangerous
0 / 21
06 / Next project SupplierInv Turns unstructured supplier invoices into validated data with generative AI, then reconciles them with no manual review.