RepoGuard scans every commit for malicious code, blocks dangerous pushes, and opens fix pull requests automatically — before damage reaches your default branch.
Results shown in GitHub check runs and pull requests — no CLI required
RepoGuard plugs into GitHub's event system. No configuration required — it starts scanning the moment you install it.
One click from the Marketplace. Grant repository access and RepoGuard immediately scans your entire codebase for existing threats.
Each commit triggers a scan of changed files. A GitHub Check Run reports the result — clean or blocked — directly in your pull request.
When issues are found, RepoGuard opens a detailed pull request with the patches applied, findings explained, and your repo admins requested as reviewers.
Choose the right setup for your stack — from full 1-click cloud automation to native CI/CD workflows and zero-dependency libraries.
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.
Run threat scans directly in your GitHub Actions runners. Supports PR check annotations, custom .repoguard.yml configs, and zero server infrastructure.
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.
Unlike traditional vulnerability checkers, RepoGuard focuses directly on active developer supply chain threat vectors.
| Security Feature | RepoGuard | Dependabot | GitHub 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 seconds | 3 minutes | 15+ minutes config |
Rules are written from real attack patterns — not theoretical threats. Every rule maps to a documented malware campaign or CVE-class vulnerability.
Detects curl|bash patterns — the most prevalent malware delivery mechanism in compromised open-source repos.
Detects wget piped directly into sh, bash, or dash execution pipes in scripts and build configurations.
Catches bash -i >& /dev/tcp, netcat, perl, python, and ruby interactive socket reverse shells before landing on main.
Identifies base64-encoded eval() chains and obfuscated string array patterns used to disguise hostile payloads.
Flags multi-stage decoding routines combining character arithmetic with runtime code invocation.
Catches dynamic HTTP/HTTPS payload fetching passed directly into eval() or dynamic compiler functions.
Dynamic exec(compile()) marshaling patterns — the hallmark toolkit of PyPI malware campaigns.
Detects String.fromCharCode arrays concatenated and executed dynamically to evade static signature analysis.
Catches Function() constructor invocations and anonymous prototype evasion designed to hide malicious execution.
Identifies dense hexadecimal string escapes (\xNN) decoded and executed in runtime scripts.
Catches base64.b64decode() passed directly into Python exec() or eval() blocks.
Flags Python subprocess execution combined with raw network sockets or HTTP requests for C2 communication.
Everything you need to know about setting up RepoGuard.
Takes 30 seconds to install. Works on every repo, every push, immediately.
Install RepoGuard Free →