Awesome Devsecops Overview
Curating the best DevSecOps resources and tooling.
🏠 Home · 🔥 Feed · 📮 Subscribe · ❤️ Sponsor · 😺 TaptuIT/awesome-devsecops · ⭐ 751 · 🏷️ Security
[ Daily / Weekly / Overview ]
Curating the best DevSecOps resources and tooling.
DevSecOps is an extension of the DevOps movement that aims to bring security practices into the development lifecycle through developer-centric security tooling and processes.
Contributions welcome. Add links through pull requests or create an issue to start a discussion.
- Related Lists
- Our Approach to Employee Security Training - Pager Duty - Guidelines to running security training within an organisation.
- Alice and Bob Learn Application Security - Tanya Janca - An accessible and thorough resource for anyone seeking to incorporate, from the beginning of the System Development Life Cycle, best security practices in software development.
- MyDevSecOps - Snyk - A community that runs conferences, a blog, a podcast and a Slack workspace dedicated to DevSecOps.
- AppSec Day - OWASP - An Australian application security conference run by OWASP.
- DevSecCon - Snyk - A network of DevSecOps conferences run by Snyk.
- Shift Security Left - Cossack Labs - A free biweekly newsletter for security-aware developers covering application security, secure architecture, DevSecOps, cryptography, incidents, etc. that can be useful for builders and (to a lesser extent) for breakers.
- Absolute AppSec - Seth Law & Ken Johnson - Discussions about current events and specific topics related to application security.
- Application Security Podcast - Security Journey - Interviews with industry experts about specific application security concepts.
- BeerSecOps - Aqua Security - Breaking down the silos of Dev, Sec and Ops, discussing topics that span these subject areas.
- DevSecOps Podcast Series - OWASP - Discussions with thought leaders and practitioners to integrate security into the development lifecycle.
- The Secure Developer - Snyk - Discussion about security tools and best practices for software developers.
Secure Development Guidelines
- Application Security Verification Standard - OWASP - A framework of security requirements and controls to help developers design and develop secure web applications.
- Coding Standards - CERT - A collection of secure development standards for C, C++, Java and Android development.
- Fundamental Practices for Secure Software Development - SAFECode - Guidelines for implementing key secure development practices throughout the SDLC.
- Proactive Controls - OWASP - OWASP's list of top ten controls that should be implemented in every software development project.
- Secure Coding Guidelines - Mozilla - A guideline containing specific secure development standards for secure web application development.
- Secure Coding Practices Quick Reference Guide - OWASP - A checklist to verify that secure development standards have been followed.
Secure Development Lifecycle Framework
- Building Security In Maturity Model (BSIMM) - Synopsys - A framework for software security created by observing and analysing data from leading software security initiatives.
- Secure Development Lifecycle - Microsoft - A collection of tools and practices that serve as a framework for the secure development lifecycle.
- Secure Software Development Framework - NIST - A framework consisting of practices, tasks and implementation examples for a secure development lifecycle.
- Software Assurance Maturity Model (⭐391) - OWASP - A framework to measure and improve the maturity of the secure development lifecycle.
- Cloud Security and DevSecOps Best Practices and Securing Web Application Technologies (SWAT) Checklist - SANS - A poster containing the Securing Web Application Technologies (SWAT) Checklist, SANS Cloud Security Curriculum, Cloud Security Top 10, Top 12 Kubernetes Threats, and Secure DevOps Toolchain.
- Periodic Table of DevOps Tools - XebiaLabs - A collection of DevSecOps tooling categorised by tool functionality.
- Application Security Education (⭐59) - Duo Security - Training materials created by the Duo application security team, including introductory and advanced training presentations and hands-on labs.
- Cybrary - Cybrary - Subscription based online courses with dedicated categories for cybersecurity and DevSecOps.
- PentesterLab - PentesterLab - Hands on labs to understand and exploit simple and advanced web vulnerabilities.
- Practical DevSecOps - Practical DevSecOps - Learn DevSecOps concepts, tools, and techniques from industry experts with practical DevSecOps using state of the art browser-based labs.
- SafeStack - SafeStack - Security training for software development teams, designed to be accessible to individuals and small teams as well as larger organisations.
- Secure Code Warrior - Secure Code Warrior - Gamified and hands-on secure development training with support for courses, assessments and tournaments.
- SecureFlag - OWASP - Hands-on secure coding training for Developers and Build/Release Engineers.
- Security Training for Engineers - Pager Duty - A presentation created and open-sourced by PagerDuty to provide security training to software engineers.
- Security Training for Everyone - Pager Duty - A presentation created and open-sourced by PagerDuty to provide security training employees.
- Web Security Academy - PortSwigger - A set of materials and labs to learn and exploit common web vulnerabilities.
- WeHackPuple - WeHackPurple - Online courses that teach application security theory and hands-on technical lessons.
- DevSecOps Hub - Snyk - Introduction to key DevSecOps concepts, processes and technologies.
- SecureFlag Knowledge Base - OWASP - A repository of information about software vulnerabilities and how to prevent them.
Open source software packages can speed up the development process by allowing developers to implement functionality without having to write all of the code. However, with the open source code comes open source vulnerabilities. Dependency management tools help manage vulnerabilities in open source packages by identifying and updating packages with known vulnerabilities.
- Deepfence ThreatMapper (⭐2.3k) - Apache v2, powerful runtime vulnerability scanner for kubernetes, virtual machines and serverless.
- Dependabot - GitHub - Automatically scan GitHub repositories for vulnerabilities and create pull requests to merge in patched dependencies.
- Dependency-Check - OWASP - Scans dependencies for publicly disclosed vulnerabilities using CLI or build server plugins.
- Dependency-Track - OWASP - Monitor the volume and severity of vulnerable dependencies across multiple projects over time.
- JFrog XRay - JFrog - Security and compliance analysis for artifacts stored in JFrog Artifactory.
- NPM Audit - NPM - Vulnerable package auditing for node packages built into the npm CLI.
- Renovate - WhiteSource - Automatically monitor and update software dependencies for multiple frameworks and languages using a CLI or git repository apps.
- Requires.io - Olivier Mansion & Alexis Tabary - Automated vulnerable dependency monitoring and upgrades for Python projects.
- Snyk Open Source - Snyk - Automated vulnerable dependency monitoring and upgrades using Snyk's dedicated vulnerability database.
Dynamic Analysis Security Testing (DAST) is a form of black-box security testing where a security scanner interacts with a running instance of an application, emulating malicious activity to find common vulnerabilities. DAST tools are commonly used in the initial phases of a penetration test, and can find vulnerabilities such as cross-site scripting, SQL injection, cross-site request forgery and information disclosure.
- Automatic API Attack Tool (⭐343) - Imperva - Perform automated security scanning against an API based on an API specification.
- BurpSuite Enterprise Edition - PortSwigger - BurpSuite's web application vulnerability scanner used widely by penetration testers, modified with CI/CD integration and continuous monitoring over multiple web applications.
- Gauntlt (⭐929) - Gauntlt - A Behaviour Driven Development framework to run security scans using common security tools and test output, defined using Gherkin syntax.
- Netz (⭐339) - Spectral - Discover internet-wide misconfigurations, using zgrab2 and others.
- SSL Labs Scan (⭐1.6k) - SSL Labs - Automated scanning for SSL / TLS configuration issues.
- Zed Attack Proxy (ZAP) (⭐10k) - OWASP - An open-source web application vulnerability scanner, including an API for CI/CD integration.
Infrastructure as Code Analysis
Infrastructure as Code allows applications to be deployed reliably to a consistent environment. This not only ensures that infrastructure is consistently hardened, but also provides an opportunity to statically and dynamically analyse infrastructure definitions for vulnerable dependencies, hard-coded secrets, insecure configuration and unintentional changes in security configuration. The following tools facilitate this analysis.
- Checkov (⭐4.8k) - Bridgecrew - Scan Terraform, AWS CloudFormation and Kubernetes templates for insecure configuration.
- KICS (⭐1.2k) - Checkmarx - Find security vulnerabilities, compliance issues, and infrastructure misconfigurations early in the development cycle.
- Spectral DeepConfig - Spectral - Find misconfiguration both in infrastructure as well as apps as early as commit time.
- Terrascan (⭐3.3k) - Accurics - Detect compliance and security violations across Infrastructure as Code to mitigate risk before provisioning cloud native infrastructure.
- Cfn Nag (⭐1.1k) - Stelligent - Scan AWS CloudFormation templates for insecure configuration.
- Anchore Engine - Anchore, Inc - Deep inspection of Docker images for CVEs and checking against custom policies. Engine behind their enterprise products that integrate against registries, orchestrators and CI/CD products.
- Clair (⭐9.1k) - Quay - Scan App Container and Docker containers for publicly disclosed vulnerabilities.
- Dagda (⭐1k) - Elías Grande - Compares OS and software dependency versions installed in Docker containers with public vulnerability databases, and also performs virus scanning.
- Docker-Bench-Security (⭐8k) - Docker - The Docker Bench for Security is a script that checks for dozens of common best-practices around deploying Docker containers in production.
- Hadolint (⭐7.6k) - Hadolint - Checks a Dockerfile against known rules and validates inline bash code in RUN statements.
- Snyk Container - Snyk - Scan Docker and Kubernetes applications for security vulnerabilities during CI/CD or via continuous monitoring.
- Trivy (⭐14k) - Aqua Security - Simple and comprehensive vulnerability scanner for containers.
- Regula (⭐790) - Fugue - Evaluate Terraform infrastructure-as-code for potential security misconfigurations and compliance violations prior to deployment.
- Terraform Compliance - terraform-compliance - A lightweight, security and compliance focused test framework against terraform to enable negative testing capability for your infrastructure-as-code.
- Tfsec (⭐5.2k) - Liam Galvin - Scan Terraform templates for security misconfiguration and noncompliance with AWS, Azure and GCP security best practice.
- Kube-Score (⭐2k) - Gustav Westling - Scan Kubernetes object definitions for security and performance misconfiguration.
- Kubectrl Kubesec (⭐431) - ControlPlane - Plugin for kubesec.io to perform security risk analysis for Kubernetes resources.
- Ansible-Lint (⭐2.9k) - Ansible Community - Checks playbooks for practices and behaviour that could potentially be improved. As a community backed project ansible-lint supports only the last two major versions of Ansible.
Intentionally Vulnerable Applications
Intentionally vulnerable applications are often useful when developing security tests and tooling to provide a place you can run tests and make sure they fail correctly. These applications can also be useful for understanding how common vulnerabilities are introduced into applications and let you practice your skills at exploiting them.
- Bad SSL (⭐2.4k) - The Chromium Project - A container running a number of webservers with poor SSL / TLS configuration. Useful for testing tooling.
- Cfngoat (⭐78) - Bridgecrew - Cloud Formation templates for creating stacks of intentionally insecure services in AWS. Ideal for testing the Cloud Formation Infrastructure as Code Analysis tools above.
- Damn Vulnerable Web App - Ryan Dewhurst - A web application that provides a safe environment to understand and exploit common web vulnerabilities.
- Juice Shop (⭐7.3k) - OWASP - A web application containing the OWASP Top 10 security vulnerabilities and more.
- NodeGoat (⭐1.6k) - OWASP - A Node.js web application that demonstrates and provides ways to address common security vulnerabilities.
- Terragoat (⭐822) - Bridgecrew - Terraform templates for creating stacks of intentionally insecure services in AWS, Azure and GCP. Ideal for testing the Terraform Infrastructure as Code Analysis tools above.
- Vulnerable Web Apps Directory - OWASP - A collection of vulnerable web applications for learning purposes.
It's not enough to test and harden our software in the lead up to a release. We must also monitor our production software for usage, performance and errors to capture malicious behavior and potential security flaws that we may need to respond to or address. A wide variety of tools are available to monitor different aspects of production software and infrastructure.
- Csper - Csper - A set of Content Security Policy tools that can test policies, monitor CSP reports and provide metrics and alerts.
The software we write needs to use secrets (passwords, API keys, certificates, database connection strings) to access resources, yet we cannot store secrets within the codebase as this leaves them vulnerable to compromise. Secret management tools provide a means to securely store, access and manage secrets.
- Ansible Vault - Ansible - Securely store secrets within Ansible pipelines.
- AWS Key Management Service (KMS) - Amazon AWS - Create and manage cryptographic keys in AWS.
- AWS Secrets Manager - Amazon AWS - Securely store retrievable application secrets in AWS.
- Azure Key Vault - Microsoft Azure - Securely store secrets within Azure.
- BlackBox (⭐6.4k) - StackExchange - Encrypt credentials within your code repository.
- Chef Vault (⭐409) - Chef - Securely store secrets within Chef.
- CredStash (⭐2k) - Fugue - Securely store secrets within AWS using KMS and DynamoDB.
- CyberArk Application Access Manager - CyberArk - Secrets management for applications including secret rotation and auditing.
- Docker Secrets - Docker - Store and manage access to secrets within a Docker swarm.
- Git Secrets (⭐11k) - Amazon AWS - Scan git repositories for secrets committed within code or commit messages.
- Gopass (⭐4.9k) - Gopass - Password manager for teams relying on Git and gpg. Manages secrets in encrypted files and repositories.
- Google Cloud Key Management Service (KMS) - Google Cloud Platform - Securely store secrets within GCP.
- HashiCorp Vault - HashiCorp - Securely store secrets via UI, CLI or HTTP API.
- Keyscope (⭐356) - Spectral - Keyscope is an open source key and secret workflow tool (validation, invalidation, etc.) built in Rust.
- Pinterest Knox (⭐1.1k) - Pinterest - Securely store, rotate and audit secrets.
- Secrets Operations (SOPS) (⭐11k) - Mozilla - Encrypt keys stored within YAML, JSON, ENV, INI and BINARY files.
- Teller (⭐1k) - Spectral - A secrets management tool for developers - never leave your command line for secrets.
Source control is not a secure place to store secrets such as credentials, API keys or tokens, even if the repo is private. Secrets scanning tools can scan and monitor git repositories and pull-requests for secrets, and can be used to prevent secrets from being committed, or to find and remove secrets that have already been committed to source control.
- CredScan - Microsoft - A credential scanning tool that can be run as a task in Azure DevOps pipelines.
- Detect Secrets (⭐2.5k) - Yelp - An aptly named module for (surprise, surprise) detecting secrets within a code base.
- GitGuardian - GitGuardian - A web-based solution that scans and monitors public and private git repositories for secrets.
- Gitleaks (⭐11k) - Zachary Rice - Gitleaks is a SAST tool for detecting hardcoded secrets like passwords, api keys, and tokens in git repositories.
- git-secrets (⭐11k) - AWS Labs - Scans commits, commit messages and merges for secrets. Native support for AWS secret patterns, but can be configured to support other patterns.
- Nightfall - Nightfall - A web-based platform that monitors for sensitive data disclosure across several SDLC tools, including GitHub repositories.
- Repo-supervisor (⭐580) - Auth0 - Secrets scanning tool that can run as a CLI, as a Docker container or in AWS Lambda.
- SpectralOps - Spectral - Automated code security, secrets, tokens and sensitive data scanning.
- truffleHog (⭐9.5k) - Truffle Security - Searches through git repositories for secrets, digging deep into commit history and branches.
Static Analysis Security Testing (SAST) tools scan software for vulnerabilities without executing the target software. Typically, static analysis will scan the source code for security flaws such as the use of unsafe functions, hard-coded secrets and configuration issues. SAST tools often come in the form of IDE plugins and CLIs that can be integrated into CI/CD pipelines.
- DevSkim (⭐748) - Microsoft - A set of IDE plugins, CLIs and other tools that provide security analysis for a number of programming languages.
- Graudit (⭐1.1k) - Eldar Marcussen - Grep source code for potential security flaws with custom or pre-configured regex signatures.
- Hawkeye (⭐358) - Hawkeyesec - Modularised CLI tool for project security, vulnerability and general risk highlighting.
- LGTM - Semmle - Scan and monitor code for security vulnerabilities using custom or built-in CodeQL queries.
- RIPS - RIPS Technologies - Automated static analysis for PHP, Java and Node.js projects.
- SemGrep - r2c - Semgrep is a fast, open-source, static analysis tool that finds bugs and enforces code standards at editor, commit, and CI time.
- SonarLint - SonarSource - An IDE plugin that highlights potential security security issues, code quality issues and bugs.
- SonarQube - SonarSource - Scan code for security and quality issues with support for a wide variety of languages.
C / C++
- FlawFinder (⭐295) - David Wheeler - Scan C / C++ code for potential security weaknesses.
- Puma Scan (⭐413) - Puma Security - A Visual Studio plugin to scan .NET projects for potential security flaws.
- Conftest (⭐2.4k) - Instrumenta - Create custom tests to scan any configuration file for security flaws.
- Deep Dive - Discotek.ca - Static analysis for JVM deployment units including Ear, War, Jar and APK.
- Find Security Bugs (⭐2k) - OWASP - SpotBugs plugin for security audits of Java web applications. Supports Eclipse, IntelliJ, Android Studio and SonarQube.
- SpotBugs (⭐2.9k) - SpotBugs - Static code analysis for Java applications.
- Golang Security Checker (⭐6.4k) - securego - CLI tool to scan Go code for potential security flaws.
- Security Code Scan (⭐796) - Security Code Scan - Static code analysis for C# and VB.NET applications.
- Phan (⭐5.3k) - Phan - Broad static analysis for PHP applications with some support for security scanning features.
- PHPCS Security Audit (⭐643) - Floe - PHP static analysis with rules for PHP, Drupal 7 and PHP related CVEs.
- Progpilot (⭐268) - Design Security - Static analysis for PHP source code.
- Bandit (⭐4.6k) - Python Code Quality Authority - Find common security vulnerabilities in Python code.
- Brakeman (⭐6.5k) - Justin Collins - Static analysis tool which checks Ruby on Rails applications for security vulnerabilities.
- DawnScanner (⭐673) - Paolo Perego - Security scanning for Ruby scripts and web application. Supports Ruby on Rails, Sinatra and Padrino frameworks.
Supply Chain Security
Supply chain attacks come in different forms, targeting parts of the SDLC that are inherently 3rd party: tools in CI, external code that's been executed, and more. Supply chain security tooling can defend against these kinds of attacks.
- Harden Runner GitHub Action (⭐153) - StepSecurity - installs a security agent on the GitHub-hosted runner (Ubuntu VM) to prevent exfiltration of credentials, detect compromised dependencies and build tools, and detect tampering of source code during the build.
- Preflight (⭐136) - Spectral - helps you verify scripts and executables to mitigate supply chain attacks in your CI and other systems, such as in the recent Codecov hack.
- Sigstore - sigstore is a set of free to use and open source tools, including fulcio (⭐385), cosign (⭐2.6k) and rekor (⭐598), handling digital signing, verification and checks for provenance needed to make it safer to distribute and use open source software.
Threat modelling is an engineering exercise that aims to identify threats, vulnerabilities and attack vectors that represent a risk to something of value. Based on this understanding of threats, we can design, implement and validate security controls to mitigate threats. The following list of tools assist the threat modelling process.
- Awesome Threat Modelling (⭐769) - Practical DevSecOps - A curated list of threat modelling resources.
- SecuriCAD - Forseeti - Treat modelling and attack simulations for IT infrastructure.
- IriusRisk - IriusRisk - Draw threat models and capture threats and countermeasures and manage risk.
- Raindance Project (⭐39) - DevSecOps - Use attack maps to identify attack surface and adversary strategies that may lead to compromise.
- SD Elements - Security Compass - Identify and rank threats, generate actionable tasks and track related tickets.
- Threat Dragon - OWASP - Threat model diagramming tool.
- Threat Modelling Tool - Microsoft - Threat model diagramming tool.
- Threatspec - Threatspec - Define threat modelling as code.
- Awesome Dynamic Analysis (⭐611) - Matthias Endler - A collection of dynamic analysis tools and code quality checkers.
- Awesome Static Analysis (⭐10k) - Matthias Endler - A collection of static analysis tools and code quality checkers.
- Awesome Threat Modelling (⭐769) - Practical DevSecOps - A curated list of threat modeling resources.
- Vulnerable Web Apps Directory - OWASP - A collection of vulnerable web applications for learning purposes.