Live · Free Forever

NeuronX Guard

AI-powered code review for every pull request. Security scanning. Multi-model LLM consensus. 14 languages. Zero config.

256K+Code Patterns
19Security Rules
62Language Rules
14Languages
2–3LLM Consensus

One click · All repos · No credit card

From install to first review in under a minute

Nothing changes in your workflow. Open a PR — Guard reviews it.

01

Install on GitHub

Click the install button, select your repos. Takes 10 seconds. Guard creates a welcome issue to confirm.

02

Open a Pull Request

Push code and create a PR as usual. Nothing else changes in your workflow.

03

Guard Reviews Automatically

Within seconds, Guard runs 9 review layers: security patterns, language rules, LLM consensus, pattern database, dependency CVE scan, cross-file analysis, duplication detection, and more.

04

Get Fixes, Not Just Warnings

Every issue includes a one-click fix suggestion. CWE/OWASP tags on security findings. AI-generated PR summary. Quality gates block merge if thresholds exceeded. Ask @neuronx-guard questions in comments.

9 Review Layers

Every PR gets a comprehensive multi-layer review — powered by the NeuronX AI platform.

Security Scan

19 rules: hardcoded secrets, SQL injection, eval/exec, command injection, timing attacks, pickle deserialization.

LLM Consensus

2-3 LLMs review independently. Only reports issues they agree on. Knowledge Graph enriches prompts with codebase context.

Language Rules

62 rules across 14 languages: JS/TS, Go, Java, Rust, C/C++, Ruby, PHP, Shell, Kotlin, Swift.

Dependency CVE Scan

Checks requirements.txt, package.json, go.mod, Cargo.toml against OSV.dev. Shows fix versions.

AST Complexity

Python AST for cyclomatic complexity, bare except clauses, and structural issues.

Cross-File Analysis

Detects broken imports, duplicate definitions, removed functions still referenced.

Pattern Database

23K+ learned code patterns + 189K FAISS vectors. Matches your code against known vulnerabilities instantly.

Auto-Fix Suggestions

Every issue includes a fix. 40+ deterministic fixes, pattern-based reference code, and LLM-generated repairs.

Knowledge Graph

3,900 nodes, 38K edges. Enriches LLM reviews with codebase context — related concepts, dependencies, known patterns.

Before vs After Guard

Without Guard

def get_user(name):
    password = "admin123"
    conn = sqlite3.connect("db")
    q = f"SELECT * FROM users WHERE name='{name}'"
    try:
        return conn.execute(q)
    except:
        return None

After Guard Review

def get_user(name):
    password = os.getenv("DB_PASSWORD")
    conn = sqlite3.connect("db")
    q = "SELECT * FROM users WHERE name=?"
    try:
        return conn.execute(q, (name,))
    except Exception as e:
        logger.error(f"Query failed: {e}")
        return None

Guard found: hardcoded password, SQL injection, bare except — and suggested fixes on exact lines

Example Review

api/auth.py:14 — ERROR
Hardcoded password: password = "admin123"
Fix: Use os.getenv('DB_PASSWORD') instead of hardcoded strings
api/auth.py:16 — ERROR
SQL injection: f-string in query [3/3]
Fix: Use cursor.execute('SELECT ... WHERE id=?', (id,))
api/auth.py:18 — WARNING
Bare except: found
Fix: except:except Exception as e:
app.js:42 — WARNING
Loose equality == — use strict equality
Fix: Replace == with ===
requirements.txt — CVE
[email protected] has 3 known vulnerabilities (GHSA-68rp, GHSA-m2qf). Upgrade to >=3.1.3
utils/parser.py — PATTERN
Pattern match: unsafe_deserialization (quality=0.9) — known vulnerability pattern from 23K database

Smart Features

Guard learns from your team and gets smarter over time.

Auto-Learn from Dismissals

Dismiss an issue 3 times? Guard auto-suppresses it on that repo. No more repeat noise.

Reaction Feedback

React with thumbs up/down on Guard's comments. Thumbs-down lowers the issue's quality score. Auto-suppressed after enough downvotes.

Exact Line Comments

Inline comments appear on the exact changed line — not line 1. Maps through diff hunks to find the precise position in the new file.

PR Quality Checks

Flags empty descriptions, missing test plans, no linked issues, short titles. Encourages good PR hygiene.

Suggested Reviewers

Recommends human reviewers based on who contributed most to the changed files. Uses git history to find domain experts.

Approve / Request Changes

Guard uses GitHub's native review actions: APPROVE when clean, REQUEST_CHANGES when errors found.

AI PR Summary

Every review starts with a 3-5 bullet summary of what the PR does — a changelog of the actual changes.

@neuronx-guard Chat

Mention @neuronx-guard in any PR comment. "Why is this dangerous?" "Fix this for me." Context-aware AI answers.

Quality Gates

Block merges if thresholds exceeded. Configure max_errors: 0 in .neuronx-guard.yml — enterprise-grade CI enforcement.

CWE/OWASP Tags

Every security finding tagged with CWE ID + OWASP 2021 category. [CWE-89] [OWASP A03:2021] — enterprise compliance ready.

Comment any command on a PR

CommandWhat it does
/guard explainDetailed explanation of each finding — why it matters, bad/good examples, OWASP/CWE references
/guard dismissCollapse Guard's review comment and record dismissed patterns for auto-suppression
/guard re-reviewTrigger a fresh review (useful after pushing fixes)
/guard qualityShow code quality score (0-100, grade A-F) and trend for this repo
/guard leaderboardDeveloper leaderboard — who writes the cleanest code, ranked by score
/guard reportPost a compliance-ready markdown report (for SOC2/ISO audits)
/guard configShow current .neuronx-guard.yml configuration or defaults
/guard feedbackCollect reaction data from Guard's inline comments on this PR
@neuronx-guard [question]Ask Guard anything about the PR — context-aware AI chat

6 Ways to Use Guard

Pick what fits your workflow. Use one or all.

GitHub App (Recommended)

Install once, reviews happen automatically on every PR. No configuration needed.

01

Install the GitHub App

github.com/apps/neuronx-guard — select repos or all repos

02

Open any PR

Guard reviews automatically within seconds

03

See results inline

Check Run badge, inline comments, approve/request changes

Install Now →

GitHub Actions CI

Run Guard as a CI step — no GitHub App installation needed:

name: Guard Review
on: [pull_request]
jobs:
  guard:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
        with: { fetch-depth: 0 }
      - uses: sreejagatab/neuronx-platform/.github/actions/neuronx-guard@main
        with:
          severity-threshold: warning
          fail-on-error: true

No API key needed for the free tier. Results appear in the GitHub Actions summary.

VS Code Extension

Real-time Guard feedback as you code. Scans on save, diagnostics on exact lines.

# Install from VSIX
cd vscode-extension && npm install
npx vsce package
code --install-extension neuronx-guard-1.0.0.vsix

Ctrl+Shift+G to scan. Status bar shows "Guard: clean" or "Guard: N issues". Supports 16 languages.

CLI Tool

Review code locally before pushing. Pre-commit hook support.

# Review a directory
python guard_cli.py src/

# Review staged changes only
python guard_cli.py --staged

# Install as pre-commit hook
python guard_cli.py --install-hook

Get guard_cli.py from GitHub →

Slack / Discord

Get review summaries posted to your team channel.

# .neuronx-guard.yml
notifications:
  slack_webhook: https://hooks.slack.com/...
  discord_webhook: https://discord.com/api/webhooks/...

Shows: repo, PR, author, issue count (errors/warnings), review time. Color-coded: red (errors), yellow (warnings), green (clean).

Authenticated API

Review code programmatically. Get an API key from your dashboard.

curl -X POST https://neuronx.jagatab.uk/api/guard/review \
  -H "X-Guard-Key: nxg_your_key" \
  -H "Content-Type: application/json" \
  -d '{"diff": "...", "repo": "owner/repo"}'

Rate limits: Free 20/day · Pro 200/day · Team 1,000/day

Analytics & Insights

Track your team's code quality over time.

Quality Score

0-100 score with letter grade (A-F). Tracks issues-per-PR trend. Shows if your team is improving, stable, or declining.

/guard quality

Developer Leaderboard

Ranked by cleanest code. Shows avg issues/PR, clean PR ratio, total errors. Medals for top 3.

/guard leaderboard

Compliance Reports

Full markdown report with PR metadata, findings, verdict (PASS/WARN/FAIL). Ready for SOC2/ISO audits.

/guard report

Repo Badges

Add quality + security badges to your README:

![Guard](https://neuronx.jagatab.uk/api/github/badge/OWNER/REPO.svg)
![Security](https://neuronx.jagatab.uk/api/github/security-badge/OWNER/REPO.svg)

Quality grade (A-F) + Security grade (A-F based on CWE findings). Updates on every review.

Start free. Upgrade when you need more.

Free

£0

forever

20 reviews/day
All 9 review layers
Unlimited repos
Multi-model LLM consensus
One-click auto-fix suggestions
CWE/OWASP tags on findings
Dependency CVE scanning
AI PR summary
@neuronx-guard chat
GitHub Actions CI
Install Free →

Pro

£10/mo

per organization

Everything in Free
200 reviews/day
Quality gates (block merge)
Custom review rules
Quality score + leaderboard
Compliance reports (SOC2/ISO)
Security score badge
Fix rollback + audit trail
Priority review queue
/guard explain with LLM
Upgrade to Pro

Team

£30/mo

per organization

Everything in Pro
1,000 reviews/day
Org-wide analytics dashboard
Slack/Discord notifications
Auto-commit fixes
Developer coaching reports
Priority support
SSO (coming soon)
Self-hosted option (£249/yr)
Upgrade to Team

Install the free GitHub App first, then upgrade from the Guard dashboard. No credit card to start.
Payment powered by Stripe. Cancel anytime. All prices in GBP.

How We Compare

NeuronX Guard CodeRabbit Snyk Code SonarQube Copilot
Free tier20 reviews/dayLimited100 tests/moCommunityNo review
Paid price£10/org$15/user$25/dev$150/yr$19/user
Multi-LLM consensus✓ 2-3 models
PR summary
Conversational chat✓ @neuronx-guard
One-click auto-fix✓ 56% coveragePartial
CWE/OWASP tags
Quality gates
CVE scanning✓ 6 ecosystemsPlugins
23K pattern database✓ + FAISS
Knowledge Graph✓ 4.9K nodes
Self-learning engine
Languages1420+~1030+Many
Self-hosted£249/yrEnterprise

Zero config required. Customize if you want.

Add .neuronx-guard.yml to your repo root:

enabled: true
checks:
  security: true
  complexity: true
  bare_except: true
  patterns: true
  llm_review: true
ignore_files:
  - "*.md"
  - "tests/*"
severity_threshold: warning

# Custom rules (Pro):
custom_rules:
  - pattern: "TODO|FIXME|HACK"
    message: "Resolve before merging"
    severity: info

# Quality gates (block merge on violations):
quality_gate:
  enabled: true
  max_errors: 0
  max_warnings: 10
  max_cve_critical: 0
  block_merge: true

Run /guard config on any PR to see your current config.

Start reviewing in 10 seconds.

Install on GitHub. Open a PR. Guard reviews automatically. Free forever.

Install NeuronX Guard → See a Real PR Review