Search arXiv⌕ Search

arXiv subjects

Damodar Dhital

Publications and source records attributed to Damodar Dhital.

2 recordsLinked to original sources

Beyond Artifact Fidelity: Measuring Epistemic Drift in LLM-Assisted Digital Forensics

Large language models (LLMs) can reproduce digital-forensic artifacts while generating conclusions that exceed their evidentiary support. We characterize such changes in evidentiary status as \emph{epistemic drift}, including turning a planned action into a completed action, an unresolved question into an observed fact, or temporal proximity into causality. We propose a three-level evaluation framework separating artifact fidelity, relationship grounding, and epistemic fidelity. We assess forensic claims as Supported, Reasonable Inference, Unsupported, or Contradicted, with a separate epistemic-drift label. Using Gemini 3.6 Flash, we analyze three forensic scenarios under four prompting conditions with ten repetitions each, yielding 120 model outputs and 1,256 audited claims. All conditions achieved 100\% recall of the predefined target artifacts, but the full study contained 26 unsupported claims and 21 drift events. Schema-only one-shot prompting produced 320 supported and nine reasonable-inference claims among 329 claims, with no observed unsupported claims or drift events. The drift rates for zero-shot, content-rich one-shot, and evidence-constrained prompting were 2.28\%, 2.24\%, and 2.28\%, respectively. Explicit epistemic-status labels exposed uncertainty but did not eliminate epistemic overreach. These findings demonstrate an artifact--reasoning gap in this controlled, single-model study and motivate claim-level, evidence-grounded evaluation alongside artifact-level correctness.

cs.AI↗

Prompt Injection as a Systemic Vulnerability in LLM-Based Tools: Threat Models, Empirical Analysis, and Mitigation Strategies

Large language models (LLMs) deployed as autonomous agents with tool access, retrieval pipelines, and persistent memory expose an expanded attack surface. We formalize prompt injection as a control-boundary violation arising from the conflation of trusted instructions and untrusted data within LLM context windows. We introduce a threat model spanning user input, retrieval pipelines, tool outputs, and persistent memory, and develop a structured taxonomy of attack vectors. We conduct a controlled empirical evaluation across three system architectures (chatbot, retrieval-augmented system, autonomous agent) and three major LLM families (GPT-4, Claude 3.5 Sonnet, Gemini 1.5 Pro), totaling 2,100 trials (N=50 per configuration). Results show a monotonic increase in attack success as system autonomy expands, with memory poisoning reaching 94% (95% CI: 83.8-98.2%) in autonomous configurations. Through systematic ablation of six mitigation strategies, we find that prompt-level defenses provide limited protection ($\leq$3.2 percentage points), while architectural controls---specifically tool permission gating, memory write filtering, and provenance tracking---reduce memory poisoning from 94% to 11%. These findings demonstrate that prompt injection is fundamentally a system-level vulnerability requiring external policy enforcement rather than prompt engineering alone.

cs.CR↗