Control M6
Comprehensive Security Monitoring & Auditing
Implement end-to-end observability with security-focused monitoring, anomaly detection, tamper-evident logging, and advanced threat hunting to ensure accountability, enable incident response, and detect rogue agents.
- 7 threats mitigated
- 10 AISVS requirements
- 2 AISVS chapters
- 83 tasks
Threats mitigated
T2 Tool Misuse
Manipulation of tools, APIs, or environment access to perform unintended actions or access unauthorized resources, including exploitation of access to external systems.
T3 Privilege Compromise
Breaking information system boundaries through context collapse, causing unauthorized data access/leakage, or exploiting tool privileges to gain unauthorized access to systems.
T8 Repudiation & Untraceability
Making agent actions difficult to trace through workflow manipulation, obscuring decision trails in reasoning chains, or tampering with evidence in memory.
T13 Rogue Agents in Multi-Agent Systems
Compromised AI agent activity outside monitoring limits or orchestration in multi-agent systems.
T14 Human Attacks on Multi-Agent Systems
Exploits trust relationships between agents and workflows to manipulate human operators.
T16 Insecure Inter-Agent Protocol Abuse
Attackers abuse the trust and control semantics of agent interoperability protocols such as MCP and A2A: manipulating server responses, injecting context, publishing misleading tool descriptions or exploiting ambiguous consent flows.
T17 Supply Chain Compromise
Vulnerable, malicious or outdated components enter the agent through models, libraries, tools, plugins, prompt templates, build environments or framework updates.
OWASP AISVS coverage
The AISVS 1.01 chapters and verification requirements this control helps satisfy.
C9 Orchestration & Agentic Security
- C9.4.2 Level 2
Verify that agent-initiated actions are cryptographically bound to each step of the execution chain for non-repudiation.
C12 Monitoring, Logging & Anomaly Detection
- C12.1.1 Level 1
Verify that AI interactions are logged with session context and AI-specific telemetry.
- C12.1.2 Level 2
Verify that safety filtering and policy decisions are logged with sufficient detail to support audit, debugging, and forensic analysis of content moderation systems.
- C12.1.3 Level 2
Verify that log entries for AI inference events follow a structured, interoperable schema that includes at least the model identifier, token usage (input and output), provider name, and operation type.
- C12.1.4 Level 2
Verify that RAG pipeline retrieval events are logged, including the query, documents retrieved, and knowledge source.
- C12.2.1 Level 1
Verify that the system detects and alerts on known jailbreak patterns, prompt injection attempts, and adversarial inputs.
- C12.2.2 Level 2
Verify that behavioral anomaly detection identifies unusual conversation patterns, excessive retry attempts, or probing behaviors.
- C12.4.2 Level 2
Verify that audit logs capture security-critical proactive actions, including approver identity, timestamp, action parameters, and decision outcomes.
- C12.4.3 Level 2
Verify that kill-switch activations and override commands are logged.
- C12.5.3 Level 2
Verify that all model changes generate immutable audit records.
Design phase
Architecture, threat modelling and policy decisions made before code is written. 24 tasks.
Security Monitoring Architecture
- Design comprehensive logging strategy covering all agent activities and decisions
- Plan security event taxonomy and classification system
- Design real-time monitoring and alerting infrastructure
- Plan log aggregation and correlation across distributed agent systems
- Design anomaly detection algorithms for agent behavior analysis
- Plan security metrics and key performance indicators (KPIs)
- Design incident response integration with monitoring systems
- Plan compliance reporting and audit trail requirements
Logging Framework Design
- Design structured logging format with security metadata and context
- Plan log retention policies and lifecycle management
- Design tamper-evident logging with cryptographic integrity
- Plan log access controls and privacy protection mechanisms
- Design log anonymization and pseudonymization for sensitive data
- Plan log storage encryption and secure archival
- Design log correlation and analysis frameworks
- Plan log export and integration with external SIEM systems
Anomaly Detection Strategy
- Design baseline behavior modeling for agents and users
- Plan machine learning models for anomaly detection
- Design statistical process control for agent performance monitoring
- Plan threat intelligence integration for known attack patterns
- Design behavioral clustering and outlier detection
- Plan contextual anomaly detection based on agent roles and permissions
- Design ensemble anomaly detection using multiple algorithms
- Plan adaptive threshold adjustment based on environmental changes
Build phase
Implementation, testing and hardening while the agent is developed. 33 tasks.
Comprehensive Logging Infrastructure
- Implement structured logging with JSON format and standardized fields:
- Agent ID, session ID, user ID, timestamp with high precision
- Action type, tool usage, parameters, results, and error codes
- Security context including authentication method, IP address, risk score
- Payload hashes and digital signatures for integrity verification
- Performance metrics including duration, resource consumption
- Deploy tamper-evident logging with cryptographic hash chains:
- Forward integrity using Merkle trees for log verification
- Centralized logging with write-only access and role separation
- Log shipping to SIEM systems (Splunk, ELK Stack, Datadog)
- Cryptographic signing of critical security events
Anomaly Detection Implementation
- Build behavioral baseline models using machine learning:
- Time series analysis for usage patterns and resource consumption
- Statistical models for normal agent behavior and communication patterns
- Clustering algorithms for user behavior classification
- Deep learning models for complex pattern recognition
- Deploy real-time anomaly detection rules:
- Unusual tool usage patterns (frequency, sequence, parameters)
- Privilege escalation attempts and permission violations
- Data exfiltration indicators and unusual data access patterns
- Communication with unexpected endpoints and domains
- Resource usage spikes and performance anomalies
Security Event Management
- Build security event correlation and enrichment engines
- Implement automated incident creation and escalation workflows
- Deploy threat intelligence integration for IoC matching
- Build security dashboard and visualization systems
- Implement automated response and containment mechanisms
- Deploy forensic data collection and preservation systems
Advanced Monitoring Capabilities
- Build user entity behavior analytics (UEBA) for agent interactions
- Implement network traffic analysis for agent communications
- Deploy file integrity monitoring for agent configurations and models
- Build application performance monitoring with security context
- Implement database activity monitoring for agent data access
Operations phase
Monitoring, response and continuous improvement once the agent is live. 26 tasks.
Security Operations Center (SOC) Integration
- Operate 24/7 security monitoring with trained analysts
- Execute threat hunting activities using collected telemetry
- Maintain security incident response procedures and playbooks
- Deploy automated threat detection and response systems
- Execute regular security assessments and penetration testing
- Maintain threat intelligence feeds and indicator management
- Deploy security awareness training for operations personnel
Continuous Monitoring Operations
- Monitor security event volumes and processing performance
- Execute regular tuning of detection rules and thresholds
- Maintain monitoring system health and availability
- Deploy capacity planning for logging and monitoring infrastructure
- Execute backup and disaster recovery for monitoring systems
- Maintain monitoring system updates and security patching
- Deploy compliance reporting and audit support
Incident Response Operations
- Execute incident triage and severity classification
- Deploy forensic analysis capabilities for security events
- Maintain evidence collection and chain of custody procedures
- Execute incident containment and eradication procedures
- Deploy communication and notification workflows
- Maintain post-incident analysis and lessons learned processes
- Deploy legal and regulatory compliance support
Performance & Optimization
- Monitor system performance impact of security monitoring
- Execute optimization of logging and monitoring overhead
- Deploy intelligent sampling and filtering for high-volume events
- Maintain storage optimization and archival strategies
- Execute regular performance tuning and capacity planning
Tools and frameworks
SIEM & Log Management
- Enterprise SIEM: Splunk Enterprise Security, IBM QRadar, ArcSight, Sentinel
- Open Source: ELK Stack (Elasticsearch, Logstash, Kibana), Graylog, OSSIM
- Cloud SIEM: Azure Sentinel, AWS Security Hub, Google Chronicle, Sumo Logic
- Log Aggregation: Fluentd, Logstash, Vector, rsyslog with encryption
Monitoring & Analytics
- Application Monitoring: Datadog, New Relic, Dynatrace with custom metrics
- Infrastructure Monitoring: Prometheus + Grafana, Zabbix, Nagios
- ML/AI Monitoring: MLflow, Weights & Biases, Arize, WhyLabs
- Network Monitoring: Wireshark, ntopng, SolarWinds, Nagios XI
Anomaly Detection & ML
- ML Frameworks: scikit-learn, TensorFlow, PyTorch for custom models
- Time Series: Prophet, ARIMA, LSTM for temporal anomaly detection
- Clustering: DBSCAN, K-means, Isolation Forest for outlier detection
- Stream Processing: Apache Kafka, Apache Storm, Apache Flink
Security Tools
- Threat Intelligence: MISP, ThreatConnect, Recorded Future, VirusTotal
- Incident Response: TheHive, RTIR, Demisto/Phantom, IBM Resilient
- Forensics: Volatility, Autopsy, Sleuth Kit, YARA rules
- Compliance: Nessus, OpenVAS, Rapid7, Qualys for vulnerability scanning
References
Source: Agentic Security Hub controls (editorial, after OWASP Agentic AI T&M v1.1; mapped to AISVS 1.01) 2026.11 · retrieved 2026-11