GIXY is a powerful tool designed to analyze NGINX configurations, aiming to prevent security misconfigurations and automatically detect flaws. With support for multiple Python versions, it serves as a valuable asset for system administrators keen on enhancing the security of their web servers.
Gixy is a static analysis tool designed to scrutinize NGINX configurations, effectively preventing security misconfigurations and automating vulnerability detection. This actively maintained fork of the original Gixy project by Yandex LLC supports Python versions ranging from 3.6 to 3.13, delivering robust functionality primarily on GNU/Linux systems.
Gixy can identify various security issues, including but not limited to:
add_header directive.Additional vulnerabilities can also be explored, including version disclosure and allow without deny.
By default, Gixy analyzes the NGINX configuration file located at /etc/nginx/nginx.conf. Users can specify a different path as needed:
gixy /path/to/your/nginx.conf
For instance, to run an analysis with result outputs:
gixy /etc/nginx/nginx.conf
Alternatively, users can skip specific tests when necessary:
gixy --skips http_splitting /etc/nginx/nginx.conf
Gixy can also accept standard input, allowing for flexibility in analyzing config streams:
echo "resolver 1.1.1.1;" | gixy -
Gixy is conveniently available as a Docker image, enabling seamless analysis through the following command:
docker run --rm -v `pwd`/nginx.conf:/etc/nginx/conf/nginx.conf getpagespeed/gixy /etc/nginx/conf/nginx.conf
For users already operating an NGINX container, configurations can be shared using volumes:
docker run --rm --volumes-from nginx dvershinin/gixy /etc/nginx/nginx.conf
Community contributions are vital to the development of Gixy. Contributions can include:
The project adheres to Python's PEP 8 standards for code styling and requires unit testing for new plugin submissions.
No comments yet.
Sign in to be the first to comment.