Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

git-bouncer

Latest version: v1.0.1

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: ylove
8 Stars
0 Forks
3 Versions
JavaScript Repo language

Scan summary

git-bouncer was last scanned on 29 Nov 2026 at version 1.0.1. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 3 versions, all published within 2 days (28 and 29 Nov 2026).
  • Findings: No rules fired in version 1.0.1.

Versions

3 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.0.1 LATEST 29 Nov 2026 No rules fired
1.0.0 28 Nov 2026 No rules fired
0.0.0-stage 28 Nov 2026 Not shown

No rules fired in 1.0.1

Findings

Findings for v1.0.1. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 1.0.1; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

git-bouncer

Don't just git clone. Let the bouncer check it first.

CI

Malicious repositories are now a routine way to attack developers: poisoned "starter kits", fake take-home tests from fake recruiters, and look-alike accounts like micr0s0ft. Open one in your editor, or run npm install on your everyday laptop, and it can take your SSH keys and GitHub tokens, then push malware into your repos.

git-bouncer is a door check for code you didn't write.

npm install -g git-bouncer

bouncer clone <url>      # instead of: git clone <url>
git bouncer <url>        # the same thing, as a git subcommand

What it does

  1. ID check, on your machine, before anything downloads. Who published this repo, and are they who they look like? Look-alike owners (micr0s0ft, vercell), impersonated famous projects, accounts that changed hands, brand-new accounts, and repos named in public malware reporting.
  2. Pat-down, in a throwaway container with none of your credentials: no capabilities, read-only filesystem, nothing from your machine mounted. The repo is cloned there and checked for the techniques real campaigns use. None of its code is run.
  3. Verdict. Clean: it asks before cloning to your machine, fetching only the exact commit it checked (a one-commit copy, with no history), verifies the files on disk, and installs npm dependencies from the verified lockfile with install scripts off (git-bouncer never runs install scripts for you). Not clean: it tells you what it found, in plain language, and deletes the sandbox.
What the pat-down looks for
  • Runs when you open the folder: VS Code tasks set to folderOpen, dev container commands that run on your host, AI-agent hooks and MCP servers.
  • Runs when you install: every install script npm would run (including binding.gyp builds and workspace scripts), plus .npmrc, .yarnrc and .pnpmfile.cjs tricks that work even with --ignore-scripts.
  • Poisoned dependencies: known-malicious packages (OSV), checksum mismatches against the lockfile, invalid registry signatures, typosquats, packages from outside the registry.
  • Hidden code: payloads pushed off-screen with whitespace, decode-then-execute, fake font files that are JavaScript, blockchain command-and-control, invisible Unicode and Trojan Source.
  • Git tricks: symlinks out of the repo, .git look-alike paths, case collisions, odd submodules. The clone itself happens inside the sandbox, because malicious repos have attacked git clone itself.

Every check, with its severity and a plain-language explanation: docs/checks.md. The ID check: docs/id-check.md.

No Docker?

  • Podman works with the same command: free, open source, no account. If you have neither, git-bouncer offers to install Podman (or Docker Desktop), one yes per step.
  • Your own cloud: --runtime gcp (Cloud Build) or --runtime aws (CodeBuild), with --dry-run to see exactly what it would run. These cost money and aren't live-tested by the maintainer; see docs/cloud.md for setup and what to check. Issues and PRs for other providers are welcome.
  • GitHub Codespaces: coming in #23.

More ways to use it

bouncer scan <url> Check only; never touches your disk. Exit code 0 let in, 1 turned away, 3 warning, 2 incomplete/error. Good for scripts.
bouncer clone <url> --ref v1.2.3 Check a branch, tag or exact commit.
bouncer scan <url> --json Machine-readable result. Never asks, never installs.
bouncer doctor Which sandbox runtimes and extras it can use here.
bouncer shell-init Opt in to git clone <url> --bouncer (details).

If you already use Snyk, git-bouncer offers to run it on copies of the dependency manifests. Your Snyk token stays on your machine and never enters the sandbox.

What it can't do

A clean result means no known red flags, not "safe". Static checks can be evaded, brand-new malware isn't in the databases yet, and nothing is run, so behavior that only shows up at runtime isn't seen. git-bouncer shrinks the blast radius of your first contact with an unfamiliar repo. It doesn't replace your judgment. The full list is in THREAT_MODEL.md.

Built in public

Every change landed through a pull request, and every pull request was attacked by an adversarial reviewer before it merged. Their findings, the fixes and the arguments are all on GitHub, and every finding became a regression test. If you're learning how a security tool gets built, read the issues and then the pull requests in order. #14, #15 and #16 are good starting points.

  • How it's put together: docs/DESIGN.md
  • Contributing (new detections especially welcome): CONTRIBUTING.md
  • Found a vulnerability in git-bouncer itself? Please report it privately: SECURITY.md
  • Releases are published from CI with npm provenance and no long-lived tokens: RELEASING.md

Licensed under Apache-2.0.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm git-bouncer

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Vulnerability Insights

Compromised Claude Code extensions (versions 2.1.312 & 2.1.313) in Cursor try to install a backdoor

Frame 2085668439 (1)
Group 1261154229