Automating App Security Tests in Development with Docker
Where
Talks
LASCON 2022
Duration
45 min
Shows how Docker containers let teams run web application security scans repeatedly and automatically in development pipelines.
Summary
Gabe Schuyler introduces Docker as a lightweight way to run security tools against web applications. Containers are presented as small, single-purpose environments that start in seconds, can be discarded after each run, and are rebuilt from scratch rather than patched. The opening section makes the case for testing early and often, borrowing developers' knowledge of their own inputs and endpoints, and treating security checks as cheap enough to run on every change.
The live demonstrations launch an intentionally vulnerable web application in a container and point scanning tools at it, including ZAP and Nikto, then move to application-specific tools such as WPScan against a containerized WordPress site. Docker Compose brings up a web server and database together. The talk also shows how exit codes from containerized tools can drive pipeline decisions, how a Dockerfile can freeze a preconfigured attack image, and how parameter lists or API specifications from developers can narrow injection and fuzzing work. Fuzzing with tools such as ffuf is noted as a longer-running option.
The closing part frames this as shift-left security: running the same containerized checks during development, in CI/CD, and even in monitoring, then sharing results with developers. The main takeaway is to start small with one web application in a development environment, add a few basic scans, and grow toward pipeline integration with developer input.
Related talks
Talks·37 min
Cody Mafucci
Explains how to automate dynamic application security testing in pipelines, weighing trade-offs and running a live Docker demo.
Talks·35 min
Ankush Jain · Ankita Gupta
Shows how to catch broken authorization flaws in CI/CD pipelines using staging tests for IDOR, roles, permissions and plans.
Talks·58 min
Bertold Kolics
Walks Go developers through hardening HTTP APIs with recovery handlers, rate limiting, fuzzing and JSON Schema validation.


