ag2-observers-and-alerts
Pass
Audited by Gen Agent Trust Hub on Sep 23, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [SAFE]: No malicious patterns or behaviors were detected. The skill's functionality is focused on enhancing agent observability and implementing runtime safety guards.
- [INDIRECT_PROMPT_INJECTION]: The skill implements observers that ingest and process model-generated tool arguments and responses, which constitutes an attack surface for indirect prompt injection.
- Ingestion points:
event.argumentsin thePathGuardianobserver (assets/safety_guard.py) andevent.contentin thelog_responseobserver (SKILL.md). - Boundary markers: None identified in the provided code snippets.
- Capability inventory: The skill interacts with the agent's tool execution flow, specifically demonstrating a mock
write_filetool in the safety example. - Sanitization: The
PathGuardianexample uses basic string containment checks (e.g., "/etc/" inevent.arguments) to identify and block potentially dangerous operations.
Audit Metadata