Preflight: Agentic Last-Mile Verification for AI Software Supply Chains
Organizations: Department of Electrical and Computer Engineering, UC San Diego La Jolla, California, USA
Abstract
Software dependencies execute within the trust boundary of downstream applications, yet provenance, static analysis, and package-level behavioral approaches do not directly determine how a released artifact behaves for a specific program. We present Preflight, a program-scoped pre-execution verifier for Python dependencies that extracts application-referenced symbols, iteratively synthesizes and validates function-level harnesses, executes resolved artifacts in a restricted environment, records behavioral fingerprints, and compares target behavior against prior versions when suitable baselines exist. We evaluate Preflight on four real software-supply-chain incidents under five application contexts, a 100-package benign corpus, and a controlled function-level versus import-only ablation. Preflight returns malicious verdicts in four incident contexts and a clean verdict in the LiteLLM client context, where the affected proxy-server path is not exercised. All 100 evaluated benign packages receive clean verdicts, with zero observed false positives. In a controlled ablation on Ultralytics and ctx, function-level harnesses expose malicious behavior in both incidents, whereas import-only probing exposes neither. Together, these results show that conditioning behavioral verification on the downstream program can expose security-relevant dependency behavior while remaining selective on benign workloads.
Figures & tables
| Context | Comparison / scope | Verdict |
|---|---|---|
| LiteLLM client | clean | |
| LiteLLM proxy | malicious | |
| Ultralytics | malicious | |
| ctx | malicious | |
| DurableTask | target-only | malicious |
| Case | Function-level harness | Import-only probe |
|---|---|---|
| Ultralytics | malicious | clean |
| ctx | malicious | clean |
| Malicious verdicts in ablation | 2/2 | 0/2 |
Software Supply Chain Security
Software supply chain security protects software components, build and release systems, and AI-driven workflows from tampering, vulnerabilities, and misuse.
See all 33 papers