LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

gixy

Nginx configuration security analyzer

TLDR

Analyze nginx config
$ gixy [/etc/nginx/nginx.conf]
copy
Run only specific tests
$ gixy --tests [http_splitting,ssrf] [/etc/nginx/nginx.conf]
copy
Output in JSON format
$ gixy -f json [/etc/nginx/nginx.conf]
copy
Skip specific tests
$ gixy --skips [host_spoofing,low_keepalive_requests] [/etc/nginx/nginx.conf]
copy
Report only high severity issues
$ gixy -lll [/etc/nginx/nginx.conf]
copy

SYNOPSIS

gixy [options] config

DESCRIPTION

gixy analyzes nginx configuration files for security issues. It detects common misconfigurations that could lead to vulnerabilities like SSRF, host spoofing, and path traversal.The tool includes plugins for various security checks and provides detailed explanations of issues found. It is used in security audits and CI pipelines to catch nginx misconfigurations before deployment.

PARAMETERS

CONFIG

Nginx configuration file.
--tests TESTS
Comma-separated list of tests to run.
--skips TESTS
Comma-separated list of tests to skip.
-l, --level
Report issues of a given severity level or higher. Use -l for LOW, -ll for MEDIUM, -lll for HIGH.
-f FORMAT, --format FORMAT
Output format: text, json, console.
-o FILE, --output FILE
Write report to a file.
-c FILE, --config FILE
Path to configuration file.
-d, --debug
Enable debug mode.
--disable-includes
Disable processing of include directives.
--help
Display help information.

CAVEATS

Python tool. The original yandex/gixy project is unmaintained; gixy-next is a maintained fork. May need updates for latest nginx features. False positives possible. Some plugins expose additional options configurable via CLI flags or a configuration file.

HISTORY

gixy was created by Yandex to automate nginx security configuration review.

SEE ALSO

nginx(1)

Copied to clipboard
Kai