Methods and Systems of Information Protection, Information Security

A SECURE CI/CD PIPELINE USING FALCO FOR ATTACK DETECTION IN KUBERNETES

Download PDF Article on eLIBRARY.RU

Abstract

This article examines an approach to improving CI/CD pipeline security by integrating the Falco threat detection system into a Kubernetes cluster. The purpose of the work is to investigate whether standard Falco system monitoring can be extended to detect application-layer attacks and whether this verification can be incorporated into an automated pipeline. The experimental environment is built on Kubernetes deployed with Kind and includes the vulnerable OWASP Juice Shop application, an Nginx web server, and Falco. At the first stage, the basic Falco configuration confirmed its ability to register dangerous system activity, including access to the /etc/shadow file, but it did not detect a DOM XSS attack. To analyze application traffic, an Nginx log processing plugin and a specialized ruleset based on request macros and signatures were added to Falco. Testing produced alerts for SQL injection attempts, XSS attacks, path traversal, and access to the confidential /.env file. The environment was then integrated into GitHub Actions: the pipeline automatically creates an isolated cluster, deploys all components, runs test attacks, and checks Falco events. The results confirm that Falco's extensible architecture can be used for web-threat detection in DevOps workflows, while automated pre-deployment validation improves the reproducibility and controllability of security checks.

Online viewer

References

  1. What is a CI/CD Pipeline // RU-CENTER URL: https://www.nic.ru/help/chto-takoe-cicd-pajplajn_11681.html?utm_source=google.com&utm_medium=organic&utm_campaign=goo gle.com&utm_referrer=google.com (accessed: 11/23/2025).
  2. What is Falco? // Falco URL: https://falco.org/docs/ (accessed: 11/22/2025).
  3. juice-shop // GitHub URL: https://github.com/juice-shop/juice-shop (accessed: 11/24/2025).
  4. Kubernetes Components // kubernetes URL: https://kubernetes.io/docs/concepts/overview/components/ (accessed: 11/15/2025).
  5. falco-plugin-nginx // GitHub URL: https://github.com/takaosgb3/falco-plugin-nginx (accessed: 12/12/2025).
  6. Uimin A. G. Development of a Testing Methodology for Automated Process Control System Security Based on a Corporate Standard / A. G. Uimin // Automation and Informatization of the Fuel and Energy Complex – 2024. - №5 (610). - P. 59-65.
  7. How to Integrate Security Testing into a CI/CD Pipeline: From Preparation to Data Analysis // Performance Lab URL: https://www.performance-lab.ru/blog/kak-integrirovat-testirovanie-bezopasnosti-v-ci-cd-pipeline (accessed: 12/10/2025).

License

Copyright (c) 2026 T. R. Abdullin (Author)

Keywords