ConstraintGuard: Exploitability Analysis for CPS CI/CD

CI/CD pipeline with constraint-aware exploitability scoring and run-time anomaly recovery
Build-time scoring in the pipeline, run-time detection and recovery on the vehicle

The problem

Static analysis tools report many findings on embedded code, and a team cannot fix all of them before a release. On a cyber-physical system, the useful question is not only whether a finding is a weakness, but whether it can be reached and whether it can push the system past a physical or timing limit.

The approach

  • Build and scan every commit in the CI/CD pipeline and collect the findings (CWE classes).
  • Model the constraints of the target: deadlines, memory budgets and safety limits.
  • Score each finding by how likely it is to be exploitable under those constraints, and use the score as a release gate.
  • On the deployed system, learn normal behaviour, flag anomalies, link them to components, and recover through safe mode, restart or rollback.

Publication

G. Camargo and M. A. Maruf, “Constraint-Aware Exploitability Analysis and Anomaly Recovery for CPS CI/CD Pipelines,” IEEE International Conference on Machine Learning and Applications (ICMLA), 2026.