4. Security, resilience and agent authority

AI security is connected to ordinary system security; linking a model to data and tools also adds new paths into that system.

Maintain security throughout the lifecycle

NCSC’s secure AI development guidance connects four areas: design, development, deployment and operation. The initial decision on AI suitability, selection of data and suppliers, testing before release and monitoring afterwards form one chain. A model or retrieval-index change may alter service behavior; such a change needs an owner, acceptance evidence and a way to revert.Source: [17] [18]

Do not abandon foundational controls because the technology is new: asset inventory, updates, least privilege, device protection, backups and trustworthy identity remain necessary. Multi-factor authentication1 should be paired with account recovery and protection of privileged roles. Password policy and phishing defense must also be usable; pressuring users to follow rules incompatible with actual work creates workarounds.Source: [10] [12] [13] [14]

Finding vulnerabilities with AI is not the end of the work. Prioritization, remediation, assessment of change impacts and verification that weaknesses have been fixed all require capacity. If an organization produces a flood of findings without owners or time for remediation, the new tool has not necessarily improved protection.Source: [16]

Input text must not become execution authority

Prompt injection2 becomes a concern when untrusted text, including a retrieved document or external message, steers a model toward unintended behavior. A large language model3 does not provide a reliable security boundary between data and instructions. Filtering suspicious phrases or asking a second model to judge may help, but does not independently guarantee prevention of unauthorized action.Source: [23]

A threat model4 should ask where an attacker can exert influence and what is the greatest harm that can actually be carried out. A document-reading tool differs from one that sends email, modifies records or executes commands. Least privilege5, a distinct agent identity, short-lived credentials, permitted destinations and checks on every call in the execution layer constrain consequences. Both direct and indirect network access must be considered.Source: [20] [25]

The author’s proposal: an agent action boundary

The model may propose an action; an independent gate checks permission and constraints before execution.

  1. Untrusted input

    Documents, messages and tool outputs are received as data.

  2. Model proposal

    The proposed action, destination and parameters are explicit.

  3. Independent control

    Identity, permission, limits, required approval and duplication are checked.

  4. Bounded execution

    Only the permitted tool and scope are available.

  5. Recording and review

    The actual result, errors and effects remain traceable.

Source: [20] [25]

Make testing represent real consequences

The test set should cover ordinary cases and difficult boundaries: no source, conflicting documents, requests beyond authority, manipulated inputs, sensitive data and tool outages. The objective extends beyond counting correct answers. Observe when the system stops, when it escalates and whether unauthorized action is blocked before execution. Red teaming6 is part of evaluation, not proof of invulnerability.Source: [17]

Version models, data, prompts, indexes, tools and settings. Drift in behavior or data7 can occur without a deliberate release on your part; the mix of requests or the provider’s model may change, for example. Define criteria for retesting and restricting use in advance. Rebuilding a known-good configuration does not necessarily mean reproducing every answer from a probabilistic model word for word.Source: [18] [4]

From logging to response and recovery

Logging8 enables reconstruction; monitoring is the active analysis of that evidence to inform decisions. A Security Operations Centre9 should fit the organization’s threats, assets and resources. Large-scale log collection without an analysis owner and response authority is not a complete operational capability. Test the health of the logging path itself, trustworthy time, protection from tampering and access during a crisis.Source: [11] [4]

For AI, record versions, retrieval sources, tool calls, approvals and actual action results within permitted limits. Storing all citizens’ content is not an appropriate default; purpose, sensitivity, access and retention must be decided. A model’s fluent explanation of its own behavior is also no substitute for independent execution evidence.

The response plan should identify responsibility for containment, communication, evidence preservation, continuity and authorization to restart. A version rollback10 is different from remedying a decision or corrupted data. If wrong outputs have entered case files, restoring the previous model is insufficient; affected cases must be found and corrected. A tabletop exercise helps test authority and coordination but does not replace technical testing and actual recovery.Source: [7]

Demonstrate readiness with evidence

NCSC’s assessment of 3 November 2026 concerning the 2028 horizon presents plausible scenarios and explicitly does not call them predictions. Its assessment of threats and UK critical infrastructure must not be recast as findings about Iran. For decisions today, readiness in asset inventory, rapid remediation, identity, monitoring and response is more useful than repeating exciting numbers about model power.Source: [24]

  • Authorization test: an unauthorized request is rejected in the tool layer even if the model agrees to it.
  • Stop test: the responsible person can stop the action path and associated access within the required time.
  • Evidence test: a hypothetical incident can be reconstructed from versions, permissions and action results.
  • Recovery test: the essential service is restored with valid data and the necessary dependencies.
  • Learning test: each weakness found has an owner, remediation date and evidence of closure.

Services such as Early Warning and NCSC provider-assurance schemes have specific scope and eligibility. Learning from their principles does not mean an Iranian agency can access the same service, has NCSC approval or is legally compliant.

Footnotes

  1. Multi-factor authentication Multi-Factor Authentication — MFA

    Checking identity using more than one independent type of factor. Account recovery and phishing resistance also need assessment; MFA methods do not all provide equal resistance.

    ↩
  2. Prompt injection Prompt injection

    The influence of untrusted instructions in inputs or retrieved content on a model’s behavior. Tool permission boundaries must hold independently of whether the model agrees or refuses.

    ↩
  3. Large language model Large Language Model — LLM

    A model that learns language patterns from data and generates text or other outputs. Fluency is not evidence of correctness, legal competence or permission to act.

    ↩
  4. Threat model Threat model

    A description of assets, attack paths, threat actors, trust boundaries and possible consequences used to select proportionate controls. It needs review as the system and its use change.

    ↩
  5. Least privilege Least privilege

    Granting the minimum access needed, only for the required task, scope and duration. The principle applies to humans, service accounts and AI agents.

    ↩
  6. Red teaming Red teaming

    Organized assessment using adversarial scenarios and inputs to find weaknesses. Results depend on the scope and method and do not rule out every future risk.

    ↩
  7. Drift in behavior or data Drift

    Changes in data, environment or performance that can reduce the validity of earlier evaluation. Monitoring and retest conditions should fit the service.

    ↩
  8. Logging Logging

    Keeping evidence of significant system events for investigation and response. Purpose, time accuracy, protection, access and retention must be clear; recording more data is not always better.

    ↩
  9. Security Operations Centre Security Operations Centre — SOC

    An organizational capability for security detection and response, combining people, processes and tools. Its scope must fit threats and resources; it is more than a room or a software product.

    ↩
  10. Version rollback Rollback

    Returning software, a model or settings to a previously accepted state. Corrupted data or harmful decisions may require separate remedial actions.

    ↩

Author

Danial Samiei

Assistant Professor of Management and researcher in public administration and human resources

Danial Samiei is an assistant professor in a university management department and a member of its public administration group. According to his own account, he has held advisory roles at the National Cyberspace Center and the National Center for Numbering Goods and Services, served as a fund’s CEO, and been a CEO, founder or co-founder of technology companies, alongside managerial responsibilities in the public sector. His formal academic field is human resource management; artificial intelligence, futures studies, neuromarketing and neuroleadership are also areas of his study.

This work presents the author’s independent analysis, not the official position of his university, advisory centers or organizations where he has worked. The professional background described draws on his existing résumé and direct statements as the owner of this work; areas of study are not presented as formal neuroscience qualifications. The educational examples in this collection are not accounts of personal experience or results from a real project.