A SECURE PRE-DEPLOYMENT CI CHECK USING FALCO FOR ATTACK DETECTION IN KUBERNETES
Abstract
This article examines an approach to improving the security of a pre-deployment CI check by integrating the Falco threat detection system into a Kubernetes cluster. The relevance of the study is determined by the growing number of attacks against containerized web applications and the need to identify suspicious activity not only at the system call level, but also at the application interaction level. The main problem is that the standard Falco configuration is primarily focused on monitoring actions inside containers and on the host system; therefore, its capabilities are insufficient for detecting web attacks such as SQL injections, XSS, path traversal, and attempts to access sensitive files. To solve this problem, the article proposes extending Falco functionality by using a custom plugin for analyzing Nginx logs and specialized detection rules. During the study, an experimental Kubernetes-based environment was developed, including the vulnerable OWASP Juice Shop web application, the Nginx web server, and the Falco monitoring system. In addition, an automated CI check based on GitHub Actions was implemented to deploy the test environment and verify the correctness of the configured rules. The obtained results show that the proposed approach makes it possible to detect various types of web attacks in real time and can be used as an element for improving the security of DevOps processes when operating containerized applications.
Online viewer
References
- RU-CENTER. (2025). What is a CI/CD pipeline? Retrieved November 23, 2025, from https://www.nic.ru/help/chto-takoe-cicd-pajplajn_11681.html
- Falco. (2025). What is Falco? Retrieved November 22, 2025, from https://falco.org/docs/
- OWASP. (2025). Juice Shop. GitHub. Retrieved November 24, 2025, from https://github.com/juice-shop/juice-shop
- Kubernetes. (2025). Kubernetes components. Kubernetes Documentation. Retrieved November 15, 2025, from https://kubernetes.io/docs/concepts/overview/components/
- Takaosgb3. (2025). Falco-plugin-nginx. GitHub. Retrieved December 12, 2025, from https://github.com/takaosgb3/falco-plugin-nginx
- Uymin, A. G. (2024). Development of a testing methodology for automated process control system security based on a corporate standard. Automation and Informatiza-tion of the Fuel and Energy Complex, 5(610), 59–65.
- Performance Lab. (2025). How to integrate security testing into a CI/CD pipeline: From preparation to data analysis. Retrieved December 10, 2025, from https://www.performance-lab.ru/blog/kak-integrirovat-testirovanie-bezopasnosti-v-ci-cd-pipeline
License
Copyright (c) 2025 T. R. Abdullin (Author)