AIAuditTrack: A Framework for AI Security system

Zixun Luo, Yuhang Fan, Yufei Li, Youzhi Zhang, Hengyu Lin, Ziqi Wang

Abstract

The rapid expansion of AI-driven applications powered by large language models has led to a surge in AI interaction data, raising urgent challenges in security, accountability, and risk traceability. This paper presents AiAuditTrack (AAT), a blockchain-based framework for AI usage traffic recording and governance. AAT leverages decentralized identity (DID) and verifiable credentials (VC) to establish trusted and identifiable AI entities, and records inter-entity interaction trajectories on-chain to enable cross-system supervision and auditing. AI entities are modeled as nodes in a dynamic interaction graph, where edges represent time-specific behavioral trajectories. Based on this model, a risk diffusion algorithm is proposed to trace the origin of risky behaviors and propagate early warnings across involved entities. System performance is evaluated using blockchain Transactions Per Second (TPS) metrics, demonstrating the feasibility and stability of AAT under large-scale interaction recording. AAT provides a scalable and verifiable solution for AI auditing, risk management, and responsibility attribution in complex multi-agent environments.

Introduction

As the AI landscape shifts from standalone Large Language Models (LLMs) to complex ecosystems of autonomous agents, a critical security challenge has emerged: responsibility attribution. In a multi-agent chain—where a planner, a tool-user, and an executor collaborate—identifying the root cause of a harmful output or data leak is currently nearly impossible.

Existing interaction logs are typically siloed within individual service providers. This lack of a unified, trustless record prevents post-incident audits and makes it difficult to trace sophisticated attacks like "jailbreaks" or "tool poisoning" across different platforms. AIAuditTrack (AAT) addresses this by serving as a system-level "flight recorder" for AI interactions, ensuring that every step in an agent's trajectory is immutable and verifiable.

System Architecture and Methodology

The AAT framework treats the AI ecosystem as a complex dynamic graph. Its architecture is built upon three core pillars:

  1. Identity Management (DID + VC): Every AI entity—whether a model, a specific tool, or an autonomous agent—is assigned a Decentralized Identifier (DID). These entities hold Verifiable Credentials (VCs) that serve as digital licenses, proving their security certifications and operational capabilities.
  2. On-Chain Trajectory Recording: Interactions are assigned a unique TrajectoryID. When one entity calls another, a record containing the caller ID, callee ID, and a hash of the interaction is committed to the blockchain (implemented on the Sui blockchain using the Move language).
  3. Risk Diffusion Algorithm (ERLdiffuse): To manage security proactively, AAT calculates an Entity Risk Level (ERL). If an anomaly is detected at a specific node, the risk score propagates through the interaction graph, warning other entities that have interacted with the compromised node.
Figure 1: The AIAuditTrack interaction flow, showing how AI entities interact and record trajectories on the AAT Blockchain.

Experimental Evaluation

The framework was evaluated using a simulated multi-node platform featuring LLM nodes, decision modules, and multi-computing platform (MCP) nodes. The system was tested against four primary attack vectors: VC forgery, credential transfer (impersonation), replay attacks, and the use of revoked credentials.

Key Results

  • Attribution Accuracy: In controlled simulations, AAT achieved 100% accuracy in integrity validation, attribution (tracing the source of errors), and multi-hop traceability.
  • Scalability Analysis: To assess real-world viability, the authors modeled global AI traffic based on OpenAI and DeepSeek usage. The analysis suggests that even at 138k TPS, high-performance blockchains like Qubic (capable of 15.5M TPS) provide a redundancy ratio of over 100x, proving the framework's scalability.
  • Security Robustness: The DID/VC verification logic successfully identified and blocked all simulated credential-based attacks.

Discussion and Future Work

AIAuditTrack shifts the focus from model-centric safety to system-centric security. By modeling interactions as a graph, it allows for trustless reconciliation between disparate AI companies. However, challenges remain regarding the integration of data across different blockchains and the translation of technical attribution into legal liability.

Future iterations of AAT aim to incorporate Graph Neural Networks (GNNs) for advanced anomaly detection, moving beyond rule-based risk tracing to identify complex, non-obvious patterns of malicious behavior in the interaction graph.

Summary updated

BibTeX
@misc{luo2025aiaudittrack,
  author = {Zixun Luo and Yuhang Fan and Yufei Li and Youzhi Zhang and Hengyu Lin and Ziqi Wang},
  title = {{AIAuditTrack: A Framework for AI Security system}},
  year = {2025},
  eprint = {2512.20649},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.20649},
}
Figure