Cybersecurity
The Engineer's Guide to Automated Security in CI/CD Pipelines
A deep dive into integrating automated security testing and validation directly into your continuous integration and delivery workflows to ship more secure code, faster.
Automated security in CI/CD pipelines involves integrating security tools and practices directly into the software development and delivery workflow, a foundational principle of modern DevSecOps. As software supply chains grow more complex and AI-driven threats evolve, embedding security checks directly into the pipeline is no longer just a best practice but an operational necessity to manage risk without slowing down innovation.
This guide provides a practical framework for embedding automated security throughout your CI/CD workflow. We will cover the optimal placement of key security scanners, including Static Application Security Testing (SAST), Software Composition Analysis (SCA), secret scanning, Infrastructure as Code (IaC) analysis, and container scanning. The objective is to create an intelligent, context-aware feedback loop that empowers developers to remediate issues efficiently on a secure 'paved road' for development.
Latest briefings on The Engineer's Guide to Automated Security in CI/CD Pipelines
Security
Old Virus Secretly Altered Calculations
A newly analyzed computer virus from over 20 years ago, named fast16.sys, reveals an early Stuxnet-style attack. The malware was designed to selectively target high-precision calculation software, subtly altering results in memory. This highlights a long-standing threat of data manipulation in critical systems.
Neeraj Dhiman ·
AI
Security Concerns Now Slow AI Adoption
A new Linux Foundation report finds that security readiness is the biggest obstacle to AI adoption. A widening gap exists between the rush to deploy AI and the ability to secure it. The report notes 67% of teams face pressure to accelerate deployment despite security risks.
Neeraj Dhiman ·
Security
Django Patches Critical Flaw Allowing Remote Server Takeover
Django maintainers have released emergency security updates to resolve a critical flaw dubbed Django4shell. The bug carries a 9.0 severity rating and allows remote attackers to execute unauthorized code via GeoDjango form validation.
Neeraj Dhiman ·
Security
One Unescaped Quote Puts Haml Apps at Risk
A vulnerability was found in the popular Ruby templating engine Haml. It fails to properly handle single quote characters, allowing attackers to inject malicious HTML and perform cross-site scripting (XSS) attacks on applications using it.
Neeraj Dhiman ·
Security
How a Docker Bug Could Steal Your AI Keys
A flaw in Docker Sandboxes, a tool for testing AI agents, could let attackers steal your secret API keys. Malicious updates to third-party agent kits can exploit the bug to leak sensitive credentials from your development environment.
Neeraj Dhiman ·
AI
AWS Just Open Sourced Its AI Software Engineers
AWS has open-sourced Strands Factory, a system of autonomous AI agents designed to handle engineering tasks like fixing bugs, reviewing code, and maintaining the codebase, aiming to automate routine developer work.
Neeraj Dhiman ·
Infra
Google Tool Ends App vs Network Blame Game
Google Cloud released Network Services Monitoring for GKE in preview. The tool helps teams quickly determine if connection errors are caused by the application or the underlying network, ending the common blame game between developers and network admins.
Ashish Kale ·
Security
A Common Data Library Has Serious Security Holes
A widely used library for scientific data, CFITSIO, has two critical security flaws. One allows attackers to run arbitrary code, while the other can cause crashes or leak data, putting sensitive research and analysis systems at risk.
Neeraj Dhiman ·
Security
Flaw in Popular C++ Library Allows Code Execution
A critical vulnerability in the widely used POCO C++ library affects major Ubuntu LTS releases. The flaw could allow attackers to crash applications or even execute arbitrary code, requiring immediate patching for affected systems.
Neeraj Dhiman ·
Security
HyperSQL Flaw Let Attackers Run Arbitrary Code
A critical vulnerability in the popular HyperSQL Java database allowed SQL queries to execute arbitrary code. By default, any Java class on the classpath was callable, creating a major remote code execution risk for many applications.
Neeraj Dhiman ·
Security
A Go Security Flaw Lets One Attack Become Two
A security flaw in the popular Gorilla CSRF library for Go allows attackers to bypass protections. If they can perform a cross-site scripting attack on a related domain, they can then execute unauthorized actions on a user's behalf.
Neeraj Dhiman ·
Infra
AI Coding Gains Depend on More Than AI
AI coding assistants didn't immediately increase software deployment rates. A new analysis of 2,406 companies shows that gains only appeared after two years, and only for teams with the right processes and tools in place.
Ashish Kale ·
Security
How an Image File Could Give Hackers Control
A security flaw in the OpenEXR image library could allow an attacker to crash systems or run malicious code. The vulnerability, affecting Ubuntu 22.04 LTS, is triggered by how the library processes specific types of image data.
Neeraj Dhiman ·
Security
A Git Library Flaw Could Let Attackers Intercept Traffic
A vulnerability in the popular libgit2 library could allow attackers to intercept encrypted traffic. The flaw involves incorrect security certificate validation, creating a risk for man-in-the-middle attacks, especially on older systems running Ubuntu 14.04.
Neeraj Dhiman ·
Security
Hackers Turn AI Hub Into a Malware Trap
Attackers have flooded AI platform Hugging Face and GitHub with over 5,000 fake game cheats. These pages trick users into downloading malware designed to steal browser passwords, cookies, and sensitive session data from their computers.
Neeraj Dhiman ·
Security
New Windows Spyware Evades Defenses with Simple Tricks
Researchers have uncovered a new Windows spyware called Protopterus, used in targeted spear-phishing attacks. The discovery shows how attackers continue to develop novel tools to evade detection and compromise specific, high-value targets.
Neeraj Dhiman ·
Security
Hackers' New AI Tool Can Be Hacked Right Back
A popular AI hacking tool used by criminals can be turned against them. Security researchers found that target systems can trick the tool into running malicious code, giving defenders root access to the attacker's own system.
Neeraj Dhiman ·
Security
Hackers May Be Using AI to Breach Governments
Canada's military export system was breached by hackers suspected of using AI-enabled tools. This incident highlights a new, sophisticated threat vector that could make attacks faster, more scalable, and harder for security teams to detect.
Neeraj Dhiman ·
Security
A Simple SVG Can Crash Apps Using Qt
A vulnerability in the Qt framework's SVG module allows a specially crafted image file to crash applications. This denial-of-service flaw affects any software using QtSvg, creating a risk of service disruption for users and businesses.
Neeraj Dhiman ·
Security
Your Ubuntu 22.04 Servers Could Be at Risk
Ubuntu has issued an urgent security notice for its 22.04 LTS release. Multiple high-severity flaws in the Mbed TLS library could allow attackers to crash servers, steal data, or even recover private keys.
Neeraj Dhiman ·
Security
PostgreSQL Tool Flaw Exposes User Credentials
A critical vulnerability in Pgpool-II, a popular connection manager for PostgreSQL, could allow attackers to steal database user credentials. The flaw affects several widely used Ubuntu long-term support server versions, requiring immediate attention from administrators.
Neeraj Dhiman ·
Security
Ubuntu Kernel Flaw Traced to Gaming Gear Driver
A security flaw in the OpenRazer driver for gaming peripherals on Ubuntu could let a malicious USB device access sensitive kernel memory. The vulnerability affects popular long-term support versions, requiring immediate patching for affected users.
Neeraj Dhiman ·
Infra
Vercel Board Now Runs on Your Own Database
Vercel Board now lets developers connect their own backend, starting with Postgres. This gives teams full control over their data, addressing critical compliance and data ownership needs while using Vercel's collaborative tools.
Ashish Kale ·
Security
Your Metadata Scrubber May Be Leaking Files
The metadata removal tool mat2 has a security flaw on Ubuntu systems. A specially crafted ZIP file can trick the tool into exposing sensitive information, turning a privacy feature into a potential data leak.
Neeraj Dhiman ·
Security
Medical Imaging Files Can Hide Malicious Code
A critical vulnerability in the GDCM library, used for medical imaging, lets attackers execute code on a system. The flaw is triggered when a user or automated process opens a specially crafted DICOM medical file.
Neeraj Dhiman ·
Security
Hackers Breached Turnitin Systems for Nearly Two Months
Education platform Turnitin confirmed hackers accessed its systems for nearly two months, from October 1 to November 23. The company is still investigating the full scope of the data breach and its impact on student information.
Neeraj Dhiman ·
Infra
Vercel Now Connects to AWS Without Access Keys
Vercel has launched a new AWS connector that lets applications access services like S3 and Bedrock without storing long-lived access keys. This improves security by using temporary, automatically rotated credentials for each request.
Ashish Kale ·
Security
Ubuntu Is Removing Untrusted Security Certificates
Ubuntu has updated its ca-certificates package, removing untrusted authorities like emSign and refreshing its entire root store. This crucial maintenance helps protect servers from man-in-the-middle attacks and ensures secure connections continue to work.
Neeraj Dhiman ·
Security
A Security Fix for Exim Created a New Flaw
A recent security patch for the widely-used Exim mail server on Ubuntu systems accidentally introduced a new, critical vulnerability. This regression requires an immediate second update to prevent potential data leaks and system instability on multiple LTS versions.
Neeraj Dhiman ·
Security
Same AI Weights Can Now Produce Different Results
A new attack called Weight2Shell can hide backdoors in AI models that only activate on specific hardware. This breaks the core assumption that the same model weights will always produce the same results, creating a major new supply chain risk.
Neeraj Dhiman ·
Frequently asked questions
What is the difference between SAST, DAST, and SCA?
SAST (Static Application Security Testing) analyzes source code for vulnerabilities without running it. SCA (Software Composition Analysis) identifies open-source dependencies and checks for known vulnerabilities within them. DAST (Dynamic Application Security Testing) tests the running application from the outside to find runtime vulnerabilities. SAST and SCA are used early in the pipeline, while DAST is used later on a deployed application.
Where in the CI/CD pipeline should container scanning be performed?
Container scanning is a multi-stage process. Scan base images before use, scan your application layers during the build, and perform a final scan on the complete image before pushing it to a registry. Crucially, images must also be continuously monitored in the registry and at runtime, as new vulnerabilities are disclosed daily.
How can we avoid overwhelming developers with security alerts?
Prevent alert fatigue with risk-based prioritization. Use security platforms to aggregate and de-duplicate findings, enriching them with exploitability data (e.g., EPSS scores) and business context. Automated policies should only fail builds on a small subset of critical, reachable vulnerabilities, allowing developers to focus on what matters most.
What is the best practice for managing secrets in a CI/CD pipeline?
Secrets must never be stored in source code or CI/CD environment variables. Use a dedicated secrets management service like HashiCorp Vault, AWS Secrets Manager, or Google Cloud Secret Manager. Pipeline jobs should authenticate to these services using short-lived credentials via workload identity federation (OIDC) to fetch secrets just-in-time.