GitHub App · Free · Open Source

Your repos push code.
We make sure it's yours.

RepoGuard scans every commit for malicious code, blocks dangerous pushes, and opens fix pull requests automatically — before damage reaches your default branch.

repoguard · security scan

Results shown in GitHub check runs and pull requests — no CLI required

0+
Detection Rules
#0
Cost to Install
0+
Typosquat Signatures
<2s
Scan Time per Push
How it works

Install once. Protected forever.

RepoGuard plugs into GitHub's event system. No configuration required — it starts scanning the moment you install it.

STEP 01
🔌

Install on GitHub

One click from the Marketplace. Grant repository access and RepoGuard immediately scans your entire codebase for existing threats.

STEP 02
🔍

Every push is scanned

Each commit triggers a scan of changed files. A GitHub Check Run reports the result — clean or blocked — directly in your pull request.

STEP 03
🔒

Fix PRs opened automatically

When issues are found, RepoGuard opens a detailed pull request with the patches applied, findings explained, and your repo admins requested as reviewers.

Flexible Deployment

Use RepoGuard Your Way

Choose the right setup for your stack — from full 1-click cloud automation to native CI/CD workflows and zero-dependency libraries.

Recommended
GitHub App

RepoGuard App

1-click install for organizations and developers. Automatically blocks malicious merges, creates automated Fix PRs, enables the interactive /fix issue command, and sends real-time Slack alerts.

Install App Free
CI/CD Action

GitHub Action

Run threat scans directly in your GitHub Actions runners. Supports PR check annotations, custom .repoguard.yml configs, and zero server infrastructure.

uses: ALADETAN-IFE/repoguard-action@v1
View on GitHub Marketplace
TypeScript Engine

@repoguard/scanner

Zero-dependency security engine published on npm with dual ESM/CJS build. Integrate rule scanning directly into pre-commit scripts, custom security CLI tools, or microservices.

$ npm i @repoguard/scanner
View on npm
Compare Features

How we stack up

Unlike traditional vulnerability checkers, RepoGuard focuses directly on active developer supply chain threat vectors.

Security FeatureRepoGuardDependabotGitHub CodeQL
Instant scan-on-push hooks Yes (Blocked) No (Periodic) Yes (CI Action)
Malware injection rules (RCE, shells) Full coverage (37+) None (CVE database only) Partial static patterns
Package typosquatting scans Yes (100+ signatures) No No
Interactive post-push Auto-Fix PRs Yes (Applies diff) Yes (Updates version) No
Average setup runtime < 30 seconds3 minutes15+ minutes config
Detection coverage

What RepoGuard catches

Rules are written from real attack patterns — not theoretical threats. Every rule maps to a documented malware campaign or CVE-class vulnerability.

CRITICAL
Remote Code Execution (curl|bash)

Detects curl|bash patterns — the most prevalent malware delivery mechanism in compromised open-source repos.

CRITICAL
Remote Code Execution (wget|sh)

Detects wget piped directly into sh, bash, or dash execution pipes in scripts and build configurations.

CRITICAL
Reverse Shells

Catches bash -i >& /dev/tcp, netcat, perl, python, and ruby interactive socket reverse shells before landing on main.

CRITICAL
Obfuscated Base64 Payloads

Identifies base64-encoded eval() chains and obfuscated string array patterns used to disguise hostile payloads.

CRITICAL
Obfuscated Malware Pattern

Flags multi-stage decoding routines combining character arithmetic with runtime code invocation.

CRITICAL
Remote Eval Backdoor

Catches dynamic HTTP/HTTPS payload fetching passed directly into eval() or dynamic compiler functions.

CRITICAL
Python exec(compile())

Dynamic exec(compile()) marshaling patterns — the hallmark toolkit of PyPI malware campaigns.

CRITICAL
JS CharCode Obfuscation

Detects String.fromCharCode arrays concatenated and executed dynamically to evade static signature analysis.

CRITICAL
JS Constructor Obfuscation

Catches Function() constructor invocations and anonymous prototype evasion designed to hide malicious execution.

CRITICAL
JS Hex Escaped Payloads

Identifies dense hexadecimal string escapes (\xNN) decoded and executed in runtime scripts.

CRITICAL
Python Base64 Execution

Catches base64.b64decode() passed directly into Python exec() or eval() blocks.

CRITICAL
Python Subprocess Network

Flags Python subprocess execution combined with raw network sockets or HTTP requests for C2 communication.

Questions

Frequently Asked Questions

Everything you need to know about setting up RepoGuard.

FREE — NO CREDIT CARD

Your next commit
could be the one that matters.

Takes 30 seconds to install. Works on every repo, every push, immediately.

Install RepoGuard Free →