Engineering and Technology | Open Access | DOI: https://doi.org/10.37547/tajet/Volume08Issue09-03

Trust-Aware LLM Code Generation for Secure and Dependable Enterprise Applications

Abstract

Large Language Models (LLMs) are increasingly capable of generating software artifacts from natural-language requirements, programming specifications, and contextual prompts. Although this capability can accelerate enterprise software development, generated code introduces significant concerns regarding correctness, security, behavioral consistency, traceability, and operational dependability. The central challenge is therefore not merely improving code-generation capability but establishing sufficient trust in generated artifacts before their integration into enterprise systems. This research presents a trust-aware conceptual framework for LLM-assisted enterprise application development grounded in verification, validation, traceability, model differencing, process diagnostics, and digital-twin-oriented assurance principles. The methodology synthesizes the supplied literature to define a multi-stage pipeline encompassing requirement interpretation, contextual generation, semantic inspection, verification, behavioral validation, trace analysis, and deployment-oriented trust assessment. The framework treats generated code as an artifact requiring systematic evidence rather than unconditional acceptance. Verification and validation principles provide the foundation for separating syntactic correctness from functional adequacy, while trace-oriented techniques support the identification of behavioral inconsistencies and deviations. Model-driven engineering and digital-twin concepts further contribute mechanisms for maintaining alignment between intended and implemented system behavior. The resulting analysis indicates that trust in LLM-generated enterprise software should be understood as an evidence-based, continuously evaluated property rather than a binary characteristic. The proposed approach provides a research foundation for integrating LLM productivity with enterprise-grade security and dependability requirements.

Keywords

Large Language Models, Code Generation, Trustworthy AI, Secure Software Development

References

ASME V&V 20-2009, Standard for Verification and Validation in Computational Solid Mechanics. New York, NY, USA : American Society for Mechanical Engineers, 2009.

R. P. J. C. Bose and W. M. P. van der Aalst, “Process diagnostics using trace alignment: Opportunities, issues, and challenges,” Inf. Syst., vol. 37, no. 2, pp. 117–141, 2012.

F. Bordeleau, B. Combemale, R. Eramo, M. van den Brand, and M. Wimmer, “Towards model-driven digital twin engineering: Current opportunities and future challenges,” in System Modelling and Management, Cham, Switzerland : Springer International Publishing, 2020, pp. 43–54.

M. Dalibor, “A cross-domain systematic mapping study on software engineering for digital twins,” J. Syst. Softw., vol. 193, 2022, Art. no. 111361.

Digital Twin Consortium, “Glossary of digital twins,” 2021. Accessed: Oct. 13, 2024. [Online]. Available: https://www.digitaltwinconsortium.org/glossary/index.htm

D. C. Gross, “Report from the fidelity implementation study group,” in Proc. Fall Simul. Interoperability Workshops, 1999, pp. 99S-SIW-167.

P. Langer, T. Mayerhofer, and G. Kappel, “Semantic model differencing utilizing behavioral semantics specifications,” in Model-Driven Eng. Lang. Syst., Cham, Switzerland : Springer International Publishing, 2014, pp. 116–132.

D. Leroy, E. Bousse, A. Megna, B. Combemale, and M. Wimmer, “Trace comprehension operators for executable DSLs,” in Proc. Modelling Found. Appl. - 14th Eur. Conf., (ECMFA@STAF), Toulouse, France, vol. 10890, Cham, Switzerland : Springer, 2018, pp. 293–310.

G. Lugaresi, S. Gangemi, G. Gazzoni, and A. Matta, “Online validation of digital twins for manufacturing systems,” Comput. Ind., vol. 150, 2023, Art. no. 103942.

P. Mu∼noz, J. Troya, and A. Vallecillo, “A conceptual architecture for building digital twins,” in Proc. STAF Workshops TTC 2023, MeSS 2023 AgileMDE 2023, Leicester, United Kingdom, vol. 3620, 2023. [Online]. Available: https://ceur-ws.org/Vol-3620/mess23_paper01.pdf

R. G. Sargent, “Verification and validation of simulation models,” J. Simul., vol. 7, no. 1, pp. 12–24, 2013.

Kongari, S. S. R., Kumar, S. K. ., & Kumar, A. . (2026). Trustworthy and Secure LLM-Assisted Code Generation for Enterprise Software Development. International Journal of Data Science and Machine Learning, 6(01), 222-237. https://doi.org/10.55640/ijdsml-06-01-04.

Download and View Statistics

Views: 0   |   Downloads: 0

Copyright License

Download Citations

How to Cite

Santos, M., & Reyes, A. (2026). Trust-Aware LLM Code Generation for Secure and Dependable Enterprise Applications. The American Journal of Engineering and Technology, 8(09), 30–37. https://doi.org/10.37547/tajet/Volume08Issue09-03