Versatile AI Risk Assessment

AI threat catalogue Reliability and Responsible Use Production

Lack of Traceability and Accountability for Agent Actions

What an AI agent does through tools and sub-agents is logged incompletely or in an alterable way and cannot be attributed to whoever commissioned it. Incidents then cannot be investigated, and obligations under the AI Act and the GDPR cannot be demonstrated.

As of: November 2026 Catalogue version 2026.11.15.2 8 mitigations 12 verified references

Description

An agent breaks a task into many steps: it calls tools, commissions sub-agents and sometimes acts under different identities. Conventional logs often capture only fragments of this, such as the prompt and the final result, but not intermediate decisions, tool parameters and the chain of delegation. Who initiated, approved and executed an action can then no longer be established and is easy to deny later (repudiation). If the logs are within reach of the agent or an attacker, they can be altered or deleted. In addition, the reasons for a decision often cannot be reconstructed, because the model does not explain them reproducibly.

Possible impact

Erroneous bookings, data leaks or complaints cannot be traced to their trigger; root-cause analysis, reversal and clarification of liability fail. Deployers of high-risk systems fail to meet the AI Act's record-keeping and retention obligations once these apply (Annex III from 2 December 2027, Annex I from 2 August 2028); controllers fail their accountability obligation under the GDPR. Towards supervisory authorities, auditors and courts, there is no evidence that the system worked as intended.

Example

Over several weeks, a customer service agent refunds an unusually large number of amounts. During the review, the log shows only the customer requests and the payments triggered. Whether a sub-agent applied the refund rules incorrectly, an injected instruction was involved or an employee approved the actions can no longer be determined.

Main lifecycle phase
Operation and monitoring
Arises in
Planning and design, Development and training, Operation and monitoring
Takes effect in
Operation and monitoring, Retirement

Recommended mitigations (8)

Compare effects and implementation levels. Expand each entry for the additional classification and rationale.

  • Logging of every agent action with tool, parameters, result, time and the triggering person or agent

    Technical
    Effect
    Detective
    Implementation level
    Application, API & agents, Use & operations
    Classification and rationale

    Complementary control typeOrganizational & process-based

    Primarily technical: Software or analytical tools systematically produce and evaluate measurements, deviations, or attack indicators; complemented by binding workflows.

    Meaning, implementation and evidence
    What it means
    Every tool call by an agent is logged in structured form with tool, parameters, result, timestamp and the triggering human or agent, with sensitive content masked.
    Effect on the threat
    Only complete logs make it traceable what an agent did and on whose behalf, so incidents can be investigated and obligations demonstrated.
    When it helps
    Useful where agents act through tools and sub-agents and their actions must later be investigated, attributed or demonstrated to supervisors and affected people.
    Suggested implementation
    1. Define a uniform log format for all agents and tools.
    2. Enforce logging centrally in the gateway or orchestrator rather than in each agent.
    3. Mask or pseudonymise sensitive parameters.
    Useful evidence examples
    Log schema, configuration excerpt, sample log or masking rules.
  • Continuous identifier per task that is passed on through all sub-agents and tool calls

    Technical
    Effect
    Preventive
    Implementation level
    Application, API & agents
    Classification and rationale

    Primarily technical: Cryptographic or machine-verifiable properties protect confidentiality, integrity, or provenance.

    Meaning, implementation and evidence
    What it means
    Every task receives a unique identifier on entry that is passed to all sub-agents, tool calls and log entries together with the identity of the original requester.
    Effect on the threat
    Without a continuous identifier, delegation chains break into unconnected individual actions, and only the identifier makes an action attributable to the original requester.
    When it helps
    Useful where agents act through tools and sub-agents and their actions must later be investigated, attributed or demonstrated to supervisors and affected people.
    Suggested implementation
    1. Generate the identifier at the entry point and bind it to the requester's identity.
    2. Make propagation mandatory in all agent protocols and tool interfaces.
    3. Reject or flag calls without an identifier.
    Useful evidence examples
    Technical specification, example of a complete call chain, test report or log excerpt.
  • Tamper-protected storage of logs outside the agent's reach, for example write-once or with checksums

    Technical
    Effect
    Preventive, Detective
    Implementation level
    Infrastructure
    Classification and rationale

    Primarily technical: Cryptographic or machine-verifiable properties protect confidentiality, integrity, or provenance.

    Meaning, implementation and evidence
    What it means
    Logs are immediately transferred to separate storage on which agents have no write or delete access and are secured against later modification by immutability or chained checksums.
    Effect on the threat
    A compromised or faulty agent cannot cover its tracks, and the logs remain reliable as evidence.
    When it helps
    Useful where agents act through tools and sub-agents and their actions must later be investigated, attributed or demonstrated to supervisors and affected people.
    Suggested implementation
    1. Set up separate log storage with immutability or a checksum chain.
    2. Allow agents only to append via an interface, without read, modify or delete rights.
    3. Check log integrity regularly and automatically.
    Useful evidence examples
    Storage configuration, permission concept, integrity check report or architecture diagram.
  • Retention periods for agent logs set according to legal obligations and aligned with data minimisation

    Governance & compliance
    Effect
    Preventive
    Implementation level
    Organization, Infrastructure
    Classification and rationale

    Complementary control typeTechnical

    Primarily a governance and compliance control: Binding rules, control objectives, or oversight define permitted use and accountability; complemented by technical implementation.

    Meaning, implementation and evidence
    What it means
    Retention periods for agent logs are defined based on record-keeping and evidence obligations, for example under the EU AI Act, and balanced against data minimisation and deletion duties under the GDPR. Logs are deleted automatically when the period ends.
    Effect on the threat
    Appropriate periods ensure that logs are still available for incident investigation without storing personal data longer than necessary.
    When it helps
    Useful where agents act through tools and sub-agents and their actions must later be investigated, attributed or demonstrated to supervisors and affected people.
    Suggested implementation
    1. Determine relevant retention and deletion obligations with legal and data protection.
    2. Set and justify periods per log type.
    3. Implement automatic deletion or anonymisation after the period ends.
    Useful evidence examples
    Retention concept, entry in the records of processing, deletion configuration or deletion log.
  • Designation of a responsible person per agent who is accountable for its actions and grants approvals

    Governance & compliance
    Effect
    Preventive
    Implementation level
    Organization
    Classification and rationale

    Complementary control typeOrganizational & process-based

    Primarily a governance and compliance control: Binding rules, control objectives, or oversight define permitted use and accountability; complemented by binding workflows.

    Meaning, implementation and evidence
    What it means
    For every agent, a named person with a deputy is designated who is accountable for its behaviour, approves permissions and changes and acts as contact in incidents.
    Effect on the threat
    Clear accountability closes the attribution gap in which an agent's actions cannot be assigned to anyone.
    When it helps
    Useful where agents act through tools and sub-agents and their actions must later be investigated, attributed or demonstrated to supervisors and affected people.
    Suggested implementation
    1. Define the role and duties of the responsible person in writing.
    2. Record the owner and deputy per agent in the inventory.
    3. Make hand-over mandatory when staff change.
    Useful evidence examples
    Role description, inventory excerpt with owners, hand-over record or approval records.
  • Regular completeness checks of the logs using samples and test tasks

    Organizational & process-based
    Effect
    Detective
    Implementation level
    Use & operations, Application, API & agents
    Classification and rationale

    Complementary control typeTechnical

    Primarily organizational and process-based: A planned, repeatable assessment with ownership and documented follow-up creates the protective effect; complemented by technical implementation.

    Meaning, implementation and evidence
    What it means
    At fixed intervals, known test tasks are sent through the agent chain and real samples are drawn to check whether all actions were logged with complete fields and a continuous identifier.
    Effect on the threat
    Logging gaps often arise unnoticed through new tools or agents, and the check reveals them before an incident becomes impossible to investigate.
    When it helps
    Useful where agents act through tools and sub-agents and their actions must later be investigated, attributed or demonstrated to supervisors and affected people.
    Suggested implementation
    1. Define test tasks with a known expected sequence.
    2. Compare logs with the expected sequence and mandatory fields.
    3. Assign gaps to owners with deadlines and retest.
    Useful evidence examples
    Check report, test tasks with expected sequence, gap list or retest log.
  • Alerts on gaps, deletions or changes in the logs

    Technical
    Effect
    Detective
    Implementation level
    Infrastructure, Use & operations
    Classification and rationale

    Primarily technical: Software or analytical tools systematically produce and evaluate measurements, deviations, or attack indicators.

    Meaning, implementation and evidence
    What it means
    The logging infrastructure continuously monitors log ingestion failures, sequence gaps, deletion attempts and checksum mismatches and reports them immediately to operations and security.
    Effect on the threat
    Tampering with or failure of logging is noticed promptly instead of surfacing only during incident investigation, when the traces are already missing.
    When it helps
    Useful where agents act through tools and sub-agents and their actions must later be investigated, attributed or demonstrated to supervisors and affected people.
    Suggested implementation
    1. Set up monitoring for ingestion failures, sequence gaps and integrity errors.
    2. Alert on deletion attempts and permission changes on log storage.
    3. Route alerts to security operations with an escalation path.
    Useful evidence examples
    Alert rules, alert log, integrity reports or handling records.
  • Forensic guide for agent incidents, including reconstruction of the delegation chain

    Organizational & process-based
    Effect
    Corrective
    Implementation level
    Use & operations, Organization
    Classification and rationale

    Complementary control typeTechnical, People & competence

    Primarily organizational and process-based: A defined reporting, triage, and handling workflow turns observations into traceable follow-up actions; complemented by technical implementation as well as human expertise and judgment.

    Meaning, implementation and evidence
    What it means
    A guide describes how, in an agent incident, logs are preserved, the delegation chain is reconstructed via task identifiers, the requester is identified and findings are prepared for authorities or affected persons.
    Effect on the threat
    A tested procedure allows an incident to be fully investigated and attributed instead of stalling in unconnected individual logs.
    When it helps
    Useful where agents act through tools and sub-agents and their actions must later be investigated, attributed or demonstrated to supervisors and affected people.
    Suggested implementation
    1. Define the steps for evidence preservation and reconstruction in writing.
    2. Provide tools for linking logs via task identifiers.
    3. Rehearse the guide on a simulated incident and refine it.
    Useful evidence examples
    Forensic guide, exercise log, reconstruction example or incident report.

Framework mappings

Verified locations in OWASP, NIST AI RMF, MITRE ATLAS, the EU AI Act and further frameworks. The mappings are taxonomic, not evidence of compliance.

Verified references (12)

Every reference states the framework, the exact location and the publishing organisation.

How the catalogue relates this threat to others, with the reason.

EU AI Act obligations related to this threat

The obligations from the obligations compass whose articles the catalogue maps to this threat. Each leads to its entry with core, action step and evidence; whether it applies to you depends on role and risk class.

  • Enable logging by design Art. 12, applies from Annex III: 2 December 2027; Annex I: 2 August 2028

    Statutory roles: Provider, Product manufacturer. Classes: High-risk under Annex III, High-risk as a product or safety component.

    This reference is a review prompt. A threat match alone does not establish applicability.

  • Keep the logs for at least six months Art. 26(6), applies from Annex III: 2 December 2027; Annex I: 2 August 2028

    Statutory roles: Deployer. Classes: High-risk under Annex III, High-risk as a product or safety component.

    This reference is a review prompt. A threat match alone does not establish applicability.

All 62 obligations by role, risk class and deadline in the obligations compass

Terms on this page

Glossary terms that occur in this entry. Every link leads to the full explanation.

  • Tool use The model calls functions and services instead of only producing text.

Matching use cases

This list shows where to review this threat, rather than how high the risk is.

Particularly important for:

  • AI agentThe agent handles cases across several tools and sub-tasks. Without continuous, tamper-proof logging per request, it later cannot be established who triggered a payment or a data change.

Typical for:

For 6 further use cases, relevance depends on the system design, for example whether it calls other programs or interfaces or changes data or triggers processes. Show these use cases

Frequently asked questions

What is Lack of Traceability and Accountability for Agent Actions?
What an AI agent does through tools and sub-agents is logged incompletely or in an alterable way and cannot be attributed to whoever commissioned it. Incidents then cannot be investigated, and obligations under the AI Act and the GDPR cannot be demonstrated.
Which mitigations help against Lack of Traceability and Accountability for Agent Actions?
The catalogue lists 8 mitigations, each with control type, effect and implementation level. First among them are “Logging of every agent action with tool, parameters, result, time and the triggering person or agent”; “Continuous identifier per task that is passed on through all sub-agents and tool calls”; and “Tamper-protected storage of logs outside the agent's reach, for example write-once or with checksums”.
Which EU AI Act obligations does Lack of Traceability and Accountability for Agent Actions touch?
The catalogue maps this threat to Art. 12(1) and Art. 26(6) of the EU AI Act. In the obligations compass this leads to: Enable logging by design and Keep the logs for at least six months. Whether an obligation applies depends on role, risk class and deadline.

Assess this threat in your own system

The live demo contains all 79 threats of this catalogue, including the EU AI Act and GDPR assessment. The free single modules cover AI risk, the EU AI Act and GDPR. No sign-up; the assessment runs locally in your browser.

Cite this entry

For reports, policies or internal documents; the link leads directly to this entry.

“Lack of Traceability and Accountability for Agent Actions”. Versatile AI Risk Assessment, AI threat catalogue, as of November 2026.
https://www.versatile-ai-risk-assessment.com/en/wissensbasis/threats/agent-action-traceability/

← Back to the full catalogue