Sign inSign up

getpagespeed/gixy

By getpagespeed

Updated 4 days ago

NGINX security analyzer - detect SSRF, injection, SSL/TLS issues & auto-fix them

Image
0

10K+

getpagespeed/gixy repository overview

Gixy - NGINX Security Analyzer

Prevent security misconfigurations before they become vulnerabilities.

Gixy is a powerful static analysis tool that detects security issues in your NGINX configuration files. Originally developed by Yandex and now actively maintained by GetPageSpeed.

🌐 Homepage: gixy.org

🎯 What Gixy Detects

CategorySecurity Checks
🔓 Injection & ForgerySSRF · HTTP Splitting · Host Spoofing · Origin Bypass
🔐 TLS & EncryptionWeak SSL/TLS · HTTP/2 Misdirected Request · Version Disclosure
📂 Path TraversalAlias Traversal · Proxy Pass Issues
📋 Header SecurityHSTS · Header Redefinition · Content-Type Hijacking
🚦 Access ControlACL Bypasses · Referer Validation Issues
⚙️ Config & PerformanceReDoS · Invalid Regex · Dangerous if Statements

🚀 Quick Start

# Analyze your NGINX config
docker run --rm -v /etc/nginx:/etc/nginx:ro getpagespeed/gixy /etc/nginx/nginx.conf

# Analyze a local file
docker run --rm -v $(pwd)/nginx.conf:/nginx.conf:ro getpagespeed/gixy /nginx.conf

# Auto-fix mode (preview)
docker run --rm -v /etc/nginx:/etc/nginx getpagespeed/gixy --fix-dry-run /etc/nginx/nginx.conf

🔧 Auto-Fix Mode

Gixy can automatically fix many issues it detects:

# Preview fixes (dry run)
docker run --rm -v /etc/nginx:/etc/nginx getpagespeed/gixy --fix-dry-run /etc/nginx/nginx.conf

# Apply fixes (creates .bak backups)
docker run --rm -v /etc/nginx:/etc/nginx getpagespeed/gixy --fix /etc/nginx/nginx.conf

☸️ Kubernetes Usage

Analyze NGINX Ingress Controller configs:

kubectl exec -it <nginx-ingress-pod> -- cat /etc/nginx/nginx.conf | docker run -i getpagespeed/gixy -

📦 Image Details

  • Base: Alpine Linux (minimal footprint, ~26MB)
  • Python: 3.12+
  • Architecture: Multi-platform (amd64, arm64)
  • Updates: Automatic via GitHub Actions

🔗 Resources

Tag summary

Content type

Image

Digest

sha256:af779559f

Size

24.6 MB

Last updated

14 days ago

docker pull getpagespeed/gixy