PromptShield raises LLM security to >93% precision and CIAF improves ransomware detection in cloud logs
The integrated GenAI framework improves both LLM resistance to prompt injection and cloud forensic ransomware detection accuracy
AI/ML arXiv 5 Apr 2026 Defense Prototype evidence
Published as “Automating Cloud Security and Forensics Through a Secure-by-Design Generative AI Framework”
Why it matters
The framework can make cloud forensic investigations faster and more reliable while hardening LLM-based tools against prompt-injection attacks, offering immediate benefits for incident response teams in multi-cloud environments.
Summary
PromptShield, an ontology-driven input validator, achieves precision, recall, and F1 scores above 93% even when faced with prompt-injection attacks, and the Cloud Investigation Automation Framework (CIAF) attains 94% accuracy in detecting ransomware on Azure logs. The authors evaluate both components on real-world AWS and Azure datasets, reporting detailed confusion matrices and classification reports. Evidence is strong in that the reported metrics come from actual cloud environments, though the authors note the data are unbalanced and the evaluation is limited to a single ransomware scenario.
What they found 2
- PromptShield attains >93% precision, recall, and F1 under adversarial prompt injection.
“PromptShield boosts classification performance under attack conditions, achieving precision, recall, and F1 scores above 93%”
- CIAF classifies ransomware vs. legitimate behavior with 94% overall accuracy.
“The overall classification accuracy reaches 94%, with both macro and weighted averages confirming uniform and reliable model performance across the dataset.”
Caveats 2
- Because our data are unbalanced, the accuracy does not provide relevant information.
- Balancing robustness and adaptability. Ontology-driven validation introduces constraints that enhance security, but may also limit the expressive capacity of LLMs.
What’s new here 4
- Introduces PromptShield, an ontology-driven proactive defense against prompt injection attacks for LLMs.
- Integrates LLM security with a full six-phase cloud forensic automation pipeline (CIAF).
- Applies Likert-scaled performance features to improve ransomware detection in cloud logs.
- Provides a unified framework evaluated on real AWS and Azure environments.