Back to skill

Security audit

AgentMailer Events

Security checks for vulnerabilities and agentic risk

Overview

This is a documentation-only AgentMailer events skill whose webhook and realtime API guidance is disclosed, scoped, and aligned with its stated purpose.

Before installing, confirm you want agents to use AgentMailer event APIs. Use scoped credentials, prefer explicit event subscriptions, keep signing secrets out of prompts and logs, and require human confirmation before deleting endpoints or rotating secrets in production.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Tool MisuseTool Parameter Abuse, Chaining Abuse, Unsafe Defaults
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (2)

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
80% confidence
Finding

Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).

Content

Scanner excerpt · references/events-api.md (reported line 9)May include surrounding context.

md
- `POST /v1/webhooks`: create an endpoint; requires `webhooks:write`.
- `GET /v1/webhooks/{webhookId}`: inspect one endpoint.
- `PATCH /v1/webhooks/{webhookId}`: update URL, subscribed event types, description, or enabled state.
- `DELETE /v1/webhooks/{webhookId}`: delete an endpoint.
- `POST /v1/webhooks/{webhookId}/rotate-secret`: rotate the signing secret.

Creation accepts an HTTPS `url`, optional `podId` or `inboxId`, up to 50 `eventTypes`, and an optional description. An empty event-type list follows the server's current all-events behavior; prefer an explicit least-privilege list for production consumers.

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · SKILL.md (reported line 8)May include surrounding context.

md
# AgentMailer events

Use signed webhooks for durable server-to-server delivery and the Pod-scoped WebSocket stream for low-latency agent reactions. The current schemas are published at `https://api.agentmailer.ai/openapi.json`.

## Webhooks