Skip to content
Review Open access

Defensive Reverse Engineering of LLM Applications: A Black-Box Framework for Security Risk Scoring and Mitigation

Aug 2026 · International journal of computer information systems and industrial management applications · 0 citations

TL;DR

D-RELLM is presented, a defensive reverse-engineering framework for black-box security assessment of deployed LLM applications that treats the deployed application as a socio-technical system whose risk depends on instruction hierarchy, retrieval trust, authorization, tool agency, output handling, monitoring, and operational controls.

Abstract

Large language model (LLM) applications now combine hidden prompts, retrieval pipelines, memory stores, content filters, tool calls, delegated identities, and downstream automation. Security reviewers are increasingly asked to assess such systems without access to source code, model weights, prompt templates, vector-store configuration, or internal logs. This paper presents D-RELLM, a defensive reverse-engineering framework for black-box security assessment of deployed LLM applications. The framework maps observable application behavior to an attack-surface graph, executes bounded and non-destructive probes, converts evidence into reproducible risk scores, and links each finding to mitigation and re-test criteria. Unlike model-only jailbreak evaluation, D-RELLM treats the deployed application as a socio-technical system whose risk depends on instruction hierarchy, retrieval trust, authorization, tool agency, output handling, monitoring, and operational controls. The paper defines a threat model, a probe taxonomy, a weighted scoring equation, a confidence equation, an application-level aggregation method, an evidence schema, and a mitigation playbook. A synthetic pilot across three representative archetypes—chatbot, retrieval-augmented generation (RAG) assistant, and tool-using agent—illustrates how direct prompt injection, indirect prompt injection, retrieval poisoning exposure, excessive agency, output-handling weaknesses, and sensitive-information disclosure can be prioritized before and after remediation. The result is a practical, auditable, and publication-ready method for defenders who need to quantify residual LLM application risk from black-box evidence while avoiding unsafe exploitation.

Read PDF

Similar papers

Conference Jul 2026

A Comparative Analysis of Security Vulnerabilities and Defense Mechanisms in Large Language Models

Large Language Models (LLMs) are now deployed at an unprecedented scale across many critical sectors, rapidly transitioning from experimental AI tools to embedded components of production software systems. This accelerated adoption, often enabled by low-code integrations, has lowered technical barriers while simultaneo...

Md Abdul Barek, Md Bajlur Rashid, A. K. I. Riad et al. · 0 citations
Jul 2026

The Illusion of Secure LLM Code: Closing the Security Gap via Iterative Reprompting

It is proved that current AI coding assistants do not produce secure-by-default applications, dictating that enterprise deployments must transition from single-shot prompt engineering to continuous, standards-driven verification pipelines.

Ishpuneet Singh, Shreyas Mahajan, Gurjot Singh et al. · 0 citations
Conference Aug 2026

Security Rule Embedding and Static-Analysis-Guided Repair for LLM-Based Intelligent Multimedia UI Code Generation

Large language models (LLMs) can rapidly generate web user interface (UI) code for intelligent multimedia applications, but the resulting code may contain avoidable client-side security weaknesses. This paper presents a security governance framework that combines pre-generation rule embedding, ESLint-based static analy...

Shu-Ning Ping, Guangchi Liu · 0 citations
Preprint Aug 2026

LMSM: LLM Security Framework Inspired by Linux Security Modules

This work presents Language Model Security Modules (LMSM), a security framework that adapts the separation behind Linux Security Modules (LSM) to LLM serving and gives advances in interpretability and model-internal analysis a common path to runtime enforcement.

XiuYu Zhang, Bo-Nan Ruan, Jun-Feng Fang et al. · 0 citations
Review Open access Aug 2026

CAPS: Compositional Attack Path Scoring for LLM Deployment Stacks

Compositional Attack Path Scoring (CAPS), a framework engineered to quantify end-to-end multi-hop risks in LLM architectures, establishes a rigorous benchmark for quantitative vulnerability management in complex, agentic LLM environments.

Quang-Vinh Dang, Hoang-Viet Vu, Ngoc-Son-An Nguyen et al. · 0 citations
Book Open access Jul 2026

Latent Security Threats in Modern Software Code Logs

By analyzing the structural and contextual layers of code logs relative to the surrounding codebase, this paper proposes alternative strategies to treat logs as highly prioritized dimensional constructs and allows for the automated detection of latent vulnerabilities that currently evade standard security controls.

Rrezarta Krasniqi, A. Shruti · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.