Security Drift in Hosted LLM Agents
Measuring longitudinal stability of indirect prompt injection defenses and functional capabilities in multi-turn tool-calling agents across English, Telugu, and Tenglish.
This evaluation runs identical frozen attack scenarios against hosted model endpoints every week under controlled temperature and deterministic world-state goal predicates. Attack Success Rate (ASR) measures the percentage of trials where an indirect prompt injection payload induced unauthorized state changes (e.g. fraudulent order cancelation or shipping address redirection). Longitudinal change is tested via Logistic Generalized Estimating Equations (GEE) with scenario clustering.
Current Model Attack Success Rates
Hypothesis Evaluation Status
Longitudinal Security Drift
Weekly attack success rates over time. Solid lines depict hosted models with shaded 95% cluster-bootstrap confidence intervals; dashed line represents the pinned local reference model.
| Week | Hosted Model | Local Reference | Difference | 95% CI | Trials (n) |
|---|
Multilingual Disparity: Telugu & Tenglish
Comparative vulnerability across English, native Telugu, and transliterated Tenglish. Matched scenario pairs evaluate translation vulnerability amplification.
| Language | Scenario Origin | Attack Success Rate | 95% Interval | Sample (n) |
|---|
Controls & System Canary
Tracking benign task success, canary harness output hashes, and TOST equivalence on pinned local models.
| Model Alias | Requested Model ID | Observed Returned Model IDs | Canary Hash State |
|---|
Change Points & Provider Releases
PELT and CUSUM change-point detections aligned with documented vendor release notes.
| Week | Model | Shift Magnitude | Detection Method | Provider Event Alignment |
|---|
Trial Records Export & Schema
Browse, filter, and inspect individual agent trial executions. All records conform to the versioned 25-column schema.
View 25-Column Schema Specification
| Trial ID | Week | Model | Language | Suite | Attack | Task | Latency |
|---|
Data Quality & Telemetry
Audit trial execution completeness, HTTP retry and 429 rate-limiting events, token consumption, and response latency.
| Model | Completion | Error Rate | Mean Latency | Mean Tokens |
|---|
Weekly Evaluation Reports
Explore per-week evaluation results, compare batches across study weeks, and download Markdown and printable HTML reports.
Week of 2026-10-16
| Model Alias | Trials (n) | Attack Success Rate | ASR (Exposed) | 95% Interval | Change vs Week 1 | Completion Rate |
|---|
Findings & Cautious Assessment: Attack success rates reflect deterministic invariant evaluations in the simulated e-commerce environment. Where confidence intervals span zero when compared to prior evaluations, the data indicates no evidence of change. Observed differences reflect black-box behavioral measurements and should not be interpreted as evidence of provider optimization intent.
Formal Evaluation Report
Automated research report generated from analysis and summary contracts with pre-registered conservative wording.
Research Methods & Replication
Pre-registered hypotheses, cryptographic suite hashes, deterministic goal predicates, and instructions to test your own models.
Pre-registration protocol: TODO: Pre-registration pending
| ID | Description | Pre-Registered Decision Rule |
|---|---|---|
| H1 | Longitudinal Drift in Attack Success | Logistic GEE slope b1 statistically significant after Benjamini-Hochberg FDR control (requires >= 4 weeks). |
| H2 | Abrupt Step-Change Points | PELT/CUSUM changepoint detection with 95% cluster-bootstrap shift interval excluding zero. |
| H3 | Local Reference Model Stability | Two One-Sided Tests (TOST) on pinned local model within [-0.03, +0.03]. |
| H4 | Language Vulnerability Interaction | GEE interaction coefficients for Telugu and Tenglish showing higher drift than English. |
| H5 | Vendor Changelog Alignment | Proportion of empirical changepoints coinciding with announced provider model versions. |
| H6 | Native vs. Machine Translation Gap | Paired difference on matched scenarios testing translation artifact effects on vulnerability. |
| Suite Name | Target Scope | SHA-256 Digest |
|---|
Any OpenAI-compatible or local endpoint can be benchmarked against the identical frozen test suites.
# 1. Clone repository and set up environment git clone https://github.com/Rdvprasad36/DriftWatch-TE.git cd DriftWatch-TE python -m venv .venv && source .venv/bin/activate pip install -e . # 2. Verify frozen suite integrity driftwatch verify # 3. Run pilot evaluation on your model endpoint export LOCAL_MODEL_URL="http://localhost:11434/v1" driftwatch run --week 2026-10-26 --suites canary,attacks_v1 --models local