Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
ansible-collection-hardening — This Ansible collection provides battle tested hardening for Linux, SSH, nginx, MySQL | Kitploit
Tools/GitHubGitHub/dev-sec/ansible-collection-hardening
Cloud Infrastructure SecurityVulnerability ScannersConfiguration AuditingDevSecOpsMisconfigurationTop in Configuration Auditing #15Top in Misconfiguration #15
GitHubdev-sec/ansible-collection-hardening

ansible-collection-hardening

This Ansible collection provides battle tested hardening for Linux, SSH, nginx, MySQL

View RepositoryWebsite
5.4k83055Dec 3, 2026Reviewed by Kitploit
Share

Ansible Collection - devsec.hardening

devsec.os_hardening devsec.os_hardening VM devsec.ssh_hardening devsec.ssh_hardening VM devsec.ssh_hardening with custom tests devsec.nginx_hardening devsec.mysql_hardening

Description

This collection provides battle tested hardening for:

  • Linux operating systems:
    • CentOS Stream 9
    • AlmaLinux 8/9/10
    • Rocky Linux 8/9/10
    • Debian 11/12/13
    • Ubuntu 22.04/24.04/26.04
    • Amazon Linux (some roles supported)
    • Arch Linux (some roles supported)
    • Fedora 42/43/44 (some roles supported)
    • Suse Tumbleweed (some roles supported)
  • MySQL
    • MariaDB >= 5.5.65, >= 10.1.45, >= 10.3.17
    • MySQL >= 5.7.31, >= 8.0.3
  • Nginx 1.0.16 or later
  • OpenSSH 5.3 and later

The hardening is intended to be compliant with the Inspec DevSec Baselines:

  • https://github.com/dev-sec/linux-baseline
  • https://github.com/dev-sec/mysql-baseline
  • https://github.com/dev-sec/nginx-baseline
  • https://github.com/dev-sec/ssh-baseline

Looking for the old roles?

The roles are now part of the hardening-collection. We have kept the old releases of the os-hardening role in this repository, so you can find the them by exploring older tags. The last release of the standalone role was 6.2.0.

The other roles are in separate archives repositories:

  • apache_hardening
  • mysql_hardening
  • nginx_hardening
  • ssh_hardening
  • windows_hardening

Minimum required Ansible-version

  • Ansible >= 2.16

Included content

  • os_hardening
  • mysql_hardening
  • nginx_hardening
  • ssh_hardening

In progress, not working:

  • apache_hardening
  • windows_hardening

Installation

Install the collection via ansible-galaxy:

ansible-galaxy collection install devsec.hardening

Using this collection

Please refer to the examples in the readmes of the role.

See Ansible Using collections for more details.

Contributing to this collection

See the contributor guideline.

Release notes

See the changelog.

Roadmap

Todos:

  • Work on apache_hardening and windows_hardening
  • Add support for more operating systems

More information

General information:

  • Ansible Collection overview
  • Ansible User guide
  • Ansible Developer guide
  • Ansible Collections Checklist
  • Ansible Community code of conduct
  • The Bullhorn (the Ansible Contributor newsletter)
  • Changes impacting Contributors

Licensing

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Download Tool

Related Tools

  • prowler

    Prowler is the world’s most widely used open-source cloud security platform that automates security and compliance across any cloud environment. Connect your agents now and build on the Agentic Cloud Defender.

  • ScoutSuite

    Multi-cloud security auditing tool that leverages cloud provider APIs to gather configuration data, assess security posture, and generate HTML reports highlighting risk areas and attack surface.

  • cloud-custodian

    Rules engine for cloud security, cost optimization, and governance, DSL in yaml for policies to query, filter, and take actions on resources

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    Callisto

    jetp1ane/callisto

    Automated binary vulnerability analysis tool that decompiles executables via Ghidra, scans pseudo-C code with Semgrep, and validates findings using GPT-3.5-Turbo to reduce false positives.

    2.2k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    One-tap Android kernel exploit app for CVE-2026-43499, providing privilege escalation via kernel module loading, with offset extraction and on-device analysis tools.

    801
  • 3

    DFRoot

    a2333c/dfroot

    Android root tool for Samsung Galaxy S25 Ultra (SM-S938B) that chains DirtyFrag CVE-2026-43284 and CVE-2026-43499 to gain root automatically at boot via KernelSU.

    455
  • 4

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    392
  • 5

    faraday

    infobyte/faraday

    Open-source and AI-powered cybersecurity tools for offensive security, vulnerability management, and autonomous pentesting. Built by hackers in Latin America, used worldwide.

    350
  • 6

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    332

Explore all tools

Browse our collection of tools

View all tools →