Back to skill

Security audit

receiving-emails

Security checks for vulnerabilities and agentic risk

Overview

ClawScan rates this email-receiving skill benign because the flagged API examples and endpoint list appear aligned with its purpose, while noting that the review is incomplete.

The verdict is benign, not a guarantee of zero risk. Consider whether you trust the Mailtrap service and are comfortable using an API token with the documented examples. The review covered the Markdown component, but remains incomplete because some local references were unresolved.

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
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Tool MisuseTool Parameter Abuse, Chaining Abuse, Unsafe Defaults
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (7)

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 · SKILL.md (reported line 64)May include surrounding context.

md
| Resource      | Endpoints                                                                                                                                            |
| ------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- |
| Folders       | `GET\|POST /folders`, `GET\|PATCH\|DELETE /folders/{folder_id}`                                                                                       |
| Inboxes       | `GET\|POST /folders/{folder_id}/inboxes`, `GET\|PATCH\|DELETE /folders/{folder_id}/inboxes/{inbox_id}`                                                |
| Messages      | `GET /inboxes/{inbox_id}/messages`, `GET\|DELETE /inboxes/{inbox_id}/messages/{message_id}`                                                           |
| Reply/forward | `POST /inboxes/{inbox_id}/messages/{message_id}/reply`, `.../reply_all`, `.../forward`

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 · SKILL.md (reported line 65)May include surrounding context.

md
|
| ------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- |
| Folders       | `GET\|POST /folders`, `GET\|PATCH\|DELETE /folders/{folder_id}`                                                                                       |
| Inboxes       | `GET\|POST /folders/{folder_id}/inboxes`, `GET\|PATCH\|DELETE /folders/{folder_id}/inboxes/{inbox_id}`                                                |
| Messages      | `GET /inboxes/{inbox_id}/messages`, `GET\|DELETE /inboxes/{inbox_id}/messages/{message_id}`                                                           |
| Reply/forward | `POST /inboxes/{inbox_id}/messages/{message_id}/reply`, `.../reply_all`, `.../forward`                                                                |
| Threads       | `GET /inboxes/{inbox_id}/threads`, `GET\|DELE

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 · SKILL.md (reported line 66)May include surrounding context.

md
------------------------------------------------------------------------------------------------- |
| Folders       | `GET\|POST /folders`, `GET\|PATCH\|DELETE /folders/{folder_id}`                                                                                       |
| Inboxes       | `GET\|POST /folders/{folder_id}/inboxes`, `GET\|PATCH\|DELETE /folders/{folder_id}/inboxes/{inbox_id}`                                                |
| Messages      | `GET /inboxes/{inbox_id}/messages`, `GET\|DELETE /inboxes/{inbox_id}/messages/{message_id}`                                                           |
| Reply/forward | `POST /inboxes/{inbox_id}/messages/{message_id}/reply`, `.../reply_all`, `.../forward`                                                                |
| Threads       | `GET /inboxes/{inbox_id}/threads`, `GET\|DELETE /inboxes/{inbox_id}/threads/{thread_id}`                                                              |
| Forward rules | `GET\|POST /inboxes/{inbox_id}/f

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 · SKILL.md (reported line 68)May include surrounding context.

md
| Inboxes       | `GET\|POST /folders/{folder_id}/inboxes`, `GET\|PATCH\|DELETE /folders/{folder_id}/inboxes/{inbox_id}`                                                |
| Messages      | `GET /inboxes/{inbox_id}/messages`, `GET\|DELETE /inboxes/{inbox_id}/messages/{message_id}`                                                           |
| Reply/forward | `POST /inboxes/{inbox_id}/messages/{message_id}/reply`, `.../reply_all`, `.../forward`                                                                |
| Threads       | `GET /inboxes/{inbox_id}/threads`, `GET\|DELETE /inboxes/{inbox_id}/threads/{thread_id}`                                                              |
| Forward rules | `GET\|POST /inboxes/{inbox_id}/forward_rules`, `GET\|PATCH\|DELETE /inboxes/{inbox_id}/forward_rules/{rule_id}`                                       |

Inboxes are created and managed under their folder; messages, threads, and rules are addressed by inbox ID alone.

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 · SKILL.md (reported line 69)May include surrounding context.

md
| Messages      | `GET /inboxes/{inbox_id}/messages`, `GET\|DELETE /inboxes/{inbox_id}/messages/{message_id}`                                                           |
| Reply/forward | `POST /inboxes/{inbox_id}/messages/{message_id}/reply`, `.../reply_all`, `.../forward`                                                                |
| Threads       | `GET /inboxes/{inbox_id}/threads`, `GET\|DELETE /inboxes/{inbox_id}/threads/{thread_id}`                                                              |
| Forward rules | `GET\|POST /inboxes/{inbox_id}/forward_rules`, `GET\|PATCH\|DELETE /inboxes/{inbox_id}/forward_rules/{rule_id}`                                       |

Inboxes are created and managed under their folder; messages, threads, and rules are addressed by inbox ID alone.

Whitespace Padding

Medium
Category
Prompt Injection
Confidence
70% confidence
Finding

Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.

Content

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

md
| Resource      | Endpoints                                                                                                                                            |
| ------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- |
| Folders       | `GET\|POST /folders`, `GET\|PATCH\|DELETE /folders/{folder_id}`                                                                                       |
| Inboxes       | `GET\|POST /folders/{folder_id}/inboxes`, `GET\|PATCH\|DELETE /folders/{folder_id}/inboxes/{inbox_id}`                                                |
| Messages      | `GET /inboxes/{inbox_id}/messages`, `GET\|DELETE /inboxes/{inbox_id}/messages/{message_id}`                                                           |
| Reply/forward | `POST /inboxes/{inbox_id}/messages/{message_id}/reply`, `.../reply_all`, `.../forward`

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% 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 77)May include surrounding context.

bash
# 1. Folder
curl -X POST https://mailtrap.io/api/inbound/folders \
  -H "Authorization: Bearer $MAILTRAP_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"name": "Support"}'