Policy Guided Secret Leakage Auditing in Plugin Based Financial LLM Workflows and Tool Calls

Authors

  • Sho Okabe Faculty of Science, University of Auckland, Auckland, New Zealand

Keywords:

Large Language Models, Secret Leakage, Financial Technology, Policy-Guided Auditing

Abstract

The integration of Large Language Models into the financial sector has revolutionized how institutions handle customer service, portfolio management, and automated trading. To extend their capabilities, these models increasingly rely on plugin-based architectures that allow them to interact with external databases, execution environments, and third-party application programming interfaces. However, this extended functionality introduces severe security vulnerabilities, particularly concerning the leakage of highly sensitive financial secrets such as personally identifiable information, trading algorithms, and access credentials. This paper presents a comprehensive, policy-guided secret leakage auditing framework specifically designed for plugin-based Large Language Model workflows within financial services. By deploying a dynamic flow analysis engine coupled with a declarative policy specification language, the proposed system is capable of tracking sensitive data elements as they propagate through the model and its interconnected plugins. The auditing mechanism evaluates data transmissions against pre-defined compliance policies derived from financial regulations, flagging unauthorized data exfiltration before it occurs. Extensive evaluation in simulated banking environments demonstrates that the framework achieves high detection accuracy with minimal computational overhead, thereby ensuring that financial institutions can safely harness the power of artificial intelligence without compromising data security. The findings underscore the critical necessity of implementing robust, policy-driven safeguards in the rapidly evolving landscape of financial technology.

References

1. Hu, X., Wan, Z., & Zhou, Q. (2025). The Profitability Puzzle of On-Demand Carpooling: Pricing, Matching, and Route Compatibility. HKU Jockey Club Enterprise Sustainability Global Research Institute Paper, (2025/001).

2. Yang, Z., Ji, W., & Wang, Z. (2024). Adaptive joint configuration optimization for collaborative inference in edge-cloud systems. Science China Information Sciences, 67(4), 149103.

3. Wang, S., Zhang, X., Wang, P., & Li, X. (2026). Design of Magnetic Sensor Array-Based PUFs for IoT Security. IEEE Transactions on Instrumentation and Measurement, 75, 1-9.

4. Zhou, D. (2025, December). M-VP2: Microservice-Oriented Vulnerability Patch Planning-A Cost-Aware Approachusing Multi-Agent Reinforcement Learning. In 2025 5th International Conference on Computer, Internet of Things and Control Engineering (CITCE) (pp. 248-254). IEEE.

5. Li, C., Chen, H., & Cai, W. (2026, April). From Slang to Standards: Consensus-Driven Airdrop Hunter Definition as a Baseline for Cryptocurrency Ecosystem Security and Governance. In Proceedings of the 2026 CHI Conference on Human Factors in Computing Systems (pp. 1-18).

6. Guo, Hanzhong, et al. "Real-time identity defenses against malicious personalization of diffusion models." arXiv preprint arXiv:2412.09844 (2024).

7. Li, X., Wang, P., Li, G., Ni, L., & Zhang, Y. (2023). Design of interface circuits and lightweight PUF for TMR sensors. IEEE Sensors Journal, 23(11), 11754-11761.

8. Yang, Z., Liang, B., & Ji, W. (2021). An intelligent end–edge–cloud architecture for visual IoT-assisted healthcare systems. IEEE internet of things journal, 8(23), 16779-16786.

9. Li, S. (2025). Momentum, volume and investor sentiment study for us technology sector stocks—A hidden markov model based principal component analysis. PloS one, 20(9), e0331658.

10. Qu, D., & Ma, Y. (2025, August). Edge–Mesh–Ledger: Federated AI and Blockchain Framework for Scalable Global Sustainability Solutions. In 2025 International Conference on Artificial Intelligence for Sustainable Innovation (AI-SI) (pp. 1-6). IEEE.

11. Zhao, H., Huang, H., & Li, X. (2025, November). PP-Pose: Privacy-Preserving Human Pose Estimation Using Random High-Frequency Channel Combinations. In Australasian Joint Conference on Artificial Intelligence (pp. 191-203). Singapore: Springer Nature Singapore.

12. Zhou, D. (2026). AI-Driven Hybrid SAST–DAST–SCA–IAST Framework for Risk-Based Vulnerability Prioritization in Microservice Architectures.

13. Yang, W., Qin, Y., & Yang, Y. (2021). Characterizing the multicast nature of malicious flows in CCN via SIS epidemic model. IEEE Systems Journal, 16(2), 2240-2250.

14. Yang, Z., Ji, W., Guo, Q., Zhao, J., Zhao, C., Zhang, X., ... & You, Y. (2026). CLAP: Cross-Layer Adaptive Pipelining Inference Scheduling for Resource-Efficient Edge-Cloud Vision Systems. ACM Transactions on Architecture and Code Optimization.

15. Zhao, Y., & Han, Z. (2025, December). Safe and Adaptive Cloud Healing: Verifying LLM-Generated Recovery Plans with a Neural-Symbolic World Model. In 2025 7th International Academic Exchange Conference on Science and Technology Innovation (IAECST) (pp. 89-94). IEEE.

16. Yang, Z., Ji, W., Guo, Q., & Wang, Z. (2023, October). Javp: Joint-aware video processing with edge-cloud collaboration for dnn inference. In Proceedings of the 31st ACM International Conference on Multimedia (pp. 9152-9160).

17. Shokri, R., Stronati, M., Song, C., & Shmatikov, V. (2017). Membership inference attacks against machine learning models. In Proceedings of the IEEE Symposium on Security and Privacy.

18. Wuyang Zhang and Shichao Pei. 2026. Your LLM Agent Can Leak Your Data: Data Exfiltration via Backdoored Tool

Use. arXiv:2604.05432 [cs.CR] doi:10.48550/arXiv.2604.05432

19. Shen, B., Wang, Y., Shang, D., & Ning, T. (2026). Self-Commitment Latency: A Reward-Free Probe for Prompted Implicit Hacking. Publication date: 2026-06-04.

20. Chen, Y., Zhao, C., & Gao, Y. (2025). Blockchain applications in health insurance: a review of applications, challenges, and prospects. Frontiers in Blockchain, 8, 1699290.

21. Jia, Y., Wang, T., Xiao, K., & Guo, C. (2020). How to reduce opportunism through contractual governance in the cross-cultural supply chain context: evidence from Chinese exporters. Industrial Marketing Management, 91, 323-337.

Downloads

Published

2026-06-05