AIDEFEND SECUREFLOW · NOT SCORABLE BY DESIGN

LLMSmith: RCE Vulnerabilities in LLM-Integrated Applications

Researchers identified 20 remote code execution (RCE) vulnerabilities across 11 different LLM frameworks. They discovered applications deployed on the public internet built using these LLM frameworks and demonstrated the RCE vulnerabilities could be exploited using prompt…

Use case sources

Source reports and analysis supporting this case are listed below. AITBM interpretation and any indicative scoring are derived from this public evidence.

Linked library records

Independent products or attack paths are assessed separately. A combined report receives no aggregate score.

Incident overview

Researchers identified 20 remote code execution (RCE) vulnerabilities across 11 different LLM frameworks. They discovered applications deployed on the public internet built using these LLM frameworks and demonstrated the RCE vulnerabilities could be exploited using prompt injection.

The 11 LLM frameworks the researchers evaluated were: LangChain, LlamaIndex, Pandas-ai, Langflow, Pandas-llm, Auto-GPT, Griptape, Lagent, MetaGPT, vanna, and langroid.

Why this record has no ERS

LLMSmith lists 20 rows across eleven frameworks, combining distinct products, APIs, triggers, and several shared-CVE rows. Nine versioned prompt-to-code paths have separate bounded scores; eight other unique groups remain held for their named missing inputs. No aggregate ERS is valid.

Status: Not scorable by design · Classification: Validated Research · source date 2026-08-06 · primary evidence date 2025-02-27

SecureFlow attack flow

This record mirrors an AIDEFEND SecureFlow flow (MITRE ATLAS case-study conversion): an ordered attack path with MITRE ATLAS tactic and technique labels and the AIDEFEND controls matched to each step. The flow documents what happened and which controls apply; it does not establish an assessed deployment.

MITRE ATLAS case studyAML.CS0052 (exercise)
TargetLLM Integration Frameworks
ActorResearchers at University of Chinese Academy of Sciences, Shandong University, and University of New South Wales
Primary evidence date2025-02-27
SecureFlow record updated2026-08-06
AI layersAutonomous agents
Risk impactSystem compromise / RCE
Affected componentsLLM-integrated applications, LLM framework code-execution APIs, AI agent tool call chains, sandboxed Python interpreter, reverse-shell command-and-control channel

Attack steps

#StepATLAS tactic / technique
1Analyze LLM Framework APIs for RCEThe researchers performed a static analysis on the APIs of target LLM frameworks to identify functions that execute code from either user input or the response from an LLM and are thus vulnerable to RCE.AML.TA0003
AML.T0017
2Find Deployed LLM Framework AppsThe researchers performed targeting to identify applications that are likely built with LLM Frameworks and may use the functions vulnerable to RCE. This was done by scanning source code repositories for app deployment URLs.AML.TA0002
AML.T0004
3Extract Vulnerable Call ChainsThe researchers ran their static analysis to extract call chains from target application's source code to identify those that utilize LLM framework functions vulnerable to RCE.AML.TA0008
AML.T0084.003
4Craft RCE-Triggering PromptsThe researchers developed prompts to trigger tool invocations that lead to RCE.AML.TA0003
AML.T0065
5Target Public AI Agent AppsThe researchers targeted public-facing applications that expose an AI agent to user input as a means to execute their prompts.AML.TA0004
AML.T0049
6Submit Direct Prompt InjectionThe researchers directly prompted the AI agent with their malicious instructions.AML.TA0005
AML.T0051.000
7Bypass Guardrails with JailbreakFor target applications where the AI agent refused the researcher's request, they used lightweight jailbreaking strategies to bypass the LLM's guardrails.AML.TA0007
AML.T0054
8Invoke Vulnerable Agent ToolsThe researchers' prompts called the AI agent's tools, targeting call chains that can lead to code execution.AML.TA0012
AML.T0053
9Execute Code in Python InterpreterThe code included in the researcher's prompts was executed in a sandboxed Python interpreter.AML.TA0005
AML.T0050
10Escape Interpreter SandboxThe researchers included code escape techniques designed to bypass any limitations a sandbox may place on code execution.AML.TA0012
AML.T0105
11Open Reverse ShellThe Python code opened a reverse shell which was used as a command and control channel.AML.TA0014
AML.T0072
12Compromise LLM-Integrated HostThe researchers gained full control of the system running the LLM-integrated application.AML.TA0011
AML.T0112.000

Threat references

Summary and attack steps reproduced from AIDEFEND SecureFlow (https://aidefendlabs.com/en/secureflow/?flow=atlas-aml-cs0052-llmsmith-rce-llm-integrated-applications; AIDEFEND content CC BY 4.0), converted from MITRE ATLAS case study AML.CS0052 (Apache License 2.0; MITRE ATLAS is a trademark of The MITRE Corporation).

AIDEFEND evidence routes

AIDEFEND defences → AITBM sub-metrics

Identifiers are quoted as they appear on the AIDEFEND in Action brief or in the AIDEFEND SecureFlow defense map (audited AIDEFEND dataVersion 2026.10.15); the sub-metric mapping is AITBM's own, from the specification's AIDEFEND tables reconciled at catalogue data version 2026.10.15. AIDEFEND renumbers identifiers between releases, so the data version travels with every mapping and neither side's IDs should be cited without one. A mapping identifies a possible evidence route; a recommendation does not prove that the control was implemented or effective and receives no scoring credit by itself.

TechniqueDefence PriorityEvidences
AID-M-001.005Public AI Endpoint & Agent-Service Exposure DiscoveryExact SecureFlow defense-map identifier (flow atlas-aml-cs0052-llmsmith-rce-llm-integrated-applications), verified against AIDEFEND dataVersion 2026.10.15; matched to attack step step-5. Presence supplies no score credit.Candidate evidence routeFa-3 Tr-4 Cn-5
AID-H-016.001System Prompt Structure & Instruction/Data SeparationExact SecureFlow defense-map identifier (flow atlas-aml-cs0052-llmsmith-rce-llm-integrated-applications), verified against AIDEFEND dataVersion 2026.10.15; matched to attack step step-6. Presence supplies no score credit.Candidate evidence routeRo-1
AID-D-001.001Per-Prompt Content, Intent & Obfuscation AnalysisExact SecureFlow defense-map identifier (flow atlas-aml-cs0052-llmsmith-rce-llm-integrated-applications), verified against AIDEFEND dataVersion 2026.10.15; matched to attack steps step-6, step-7. Presence supplies no score credit.Candidate evidence routeRo-1
AID-H-002.002Inference-Time Prompt & Input ValidationExact SecureFlow defense-map identifier (flow atlas-aml-cs0052-llmsmith-rce-llm-integrated-applications), verified against AIDEFEND dataVersion 2026.10.15; matched to attack steps step-6, step-7. Presence supplies no score credit.Candidate evidence routeRo-1 Ro-5 Fa-1 Fa-3 Cn-8
AID-H-018.004Intent-Based Dynamic Capability ScopingExact SecureFlow defense-map identifier (flow atlas-aml-cs0052-llmsmith-rce-llm-integrated-applications), verified against AIDEFEND dataVersion 2026.10.15; matched to attack step step-8. Presence supplies no score credit.Candidate evidence routeCn-1 Cn-6 Cn-7
AID-H-017.002Least-Privilege Tool ArchitectureExact SecureFlow defense-map identifier (flow atlas-aml-cs0052-llmsmith-rce-llm-integrated-applications), verified against AIDEFEND dataVersion 2026.10.15; matched to attack step step-8. Presence supplies no score credit.Candidate evidence routeCn-5 Cn-7
AID-H-018.002Policy-Based Access ControlExact SecureFlow defense-map identifier (flow atlas-aml-cs0052-llmsmith-rce-llm-integrated-applications), verified against AIDEFEND dataVersion 2026.10.15; matched to attack step step-8. Presence supplies no score credit.Candidate evidence routeCn-1 Cn-6 Cn-7
AID-H-018.003High-Impact Independent Validation & Approval GateExact SecureFlow defense-map identifier (flow atlas-aml-cs0052-llmsmith-rce-llm-integrated-applications), verified against AIDEFEND dataVersion 2026.10.15; matched to attack step step-8. Presence supplies no score credit.Candidate evidence routeCn-1 Cn-6 Cn-7
AID-H-018.001Tool Parameter Constraint & Schema ValidationExact SecureFlow defense-map identifier (flow atlas-aml-cs0052-llmsmith-rce-llm-integrated-applications), verified against AIDEFEND dataVersion 2026.10.15; matched to attack step step-8. Presence supplies no score credit.Candidate evidence routeCn-1 Cn-6 Cn-7
AID-H-025.001Pre-Execution Static Analysis & Dangerous Construct BlockingExact SecureFlow defense-map identifier (flow atlas-aml-cs0052-llmsmith-rce-llm-integrated-applications), verified against AIDEFEND dataVersion 2026.10.15; matched to attack steps step-9, step-10. Presence supplies no score credit.Candidate evidence routeCn-3
AID-I-001.003Ephemeral Single-Use Sandboxes for ToolsExact SecureFlow defense-map identifier (flow atlas-aml-cs0052-llmsmith-rce-llm-integrated-applications), verified against AIDEFEND dataVersion 2026.10.15; matched to attack step step-9. Presence supplies no score credit.Candidate evidence routePr-2 Cn-7
AID-I-001.004Sandbox Network Egress RestrictionsExact SecureFlow defense-map identifier (flow atlas-aml-cs0052-llmsmith-rce-llm-integrated-applications), verified against AIDEFEND dataVersion 2026.10.15; matched to attack steps step-9, step-11. Presence supplies no score credit.Candidate evidence routePr-2 Cn-7
AID-D-005.004Specialized Agent & Session LoggingExact SecureFlow defense-map identifier (flow atlas-aml-cs0052-llmsmith-rce-llm-integrated-applications), verified against AIDEFEND dataVersion 2026.10.15; matched to attack step step-9. Presence supplies no score credit.Candidate evidence routeTr-3 Cn-7
AID-I-001.002MicroVM & Low-Level SandboxingExact SecureFlow defense-map identifier (flow atlas-aml-cs0052-llmsmith-rce-llm-integrated-applications), verified against AIDEFEND dataVersion 2026.10.15; matched to attack step step-10. Presence supplies no score credit.Candidate evidence routePr-2 Cn-7
AID-E-002AI Runtime Process, Lease & Pod EvictionExact SecureFlow defense-map identifier (flow atlas-aml-cs0052-llmsmith-rce-llm-integrated-applications), verified against AIDEFEND dataVersion 2026.10.15; matched to attack steps step-11, step-12. Presence supplies no score credit.Candidate evidence routeACI:containment/behavioral re-attestation ORP:Rf remediation evidence
AID-E-003.003Confirmed Malicious Code & Persistence EvictionExact SecureFlow defense-map identifier (flow atlas-aml-cs0052-llmsmith-rce-llm-integrated-applications), verified against AIDEFEND dataVersion 2026.10.15; matched to attack steps step-11, step-12. Presence supplies no score credit.Candidate evidence routeRo-4
AID-H-003.010Deployed AI Software Vulnerability Remediation LifecycleExact SecureFlow defense-map identifier (flow atlas-aml-cs0052-llmsmith-rce-llm-integrated-applications), verified against AIDEFEND dataVersion 2026.10.15; matched to attack step step-12. Presence supplies no score credit.Candidate evidence routeRo-4 Ro-5 Tr-4
AID-R-004Fleet Remediation Propagation & Technical Recurrence PreventionExact SecureFlow defense-map identifier (flow atlas-aml-cs0052-llmsmith-rce-llm-integrated-applications), verified against AIDEFEND dataVersion 2026.10.15; matched to attack step step-12. Presence supplies no score credit.Candidate evidence routeORP:Rf remediation evidence

Related AITBM rubrics

Sources