mailgun
Integrates with Mailgun API for managing transactional emails, domains, and templates, enhancing email marketing capabilities.
Install this skill
Security score
The mailgun skill was audited on Feb 16, 2026 and we found 60 security issues across 4 threat categories. Review the findings below before installing.
Categories Tested
Security Issues
Template literal with variable interpolation in command context
| 644 | 'Authorization': `Bearer ${process.env.MATON_API_KEY}`, |
Fetch to external URL
| 639 | const response = await fetch( |
Webhook reference - potential data exfiltration
| 21 | Access the Mailgun API with managed OAuth authentication. Send transactional emails, manage domains, routes, templates, mailing lists, suppressions, and webhooks. |
Webhook reference - potential data exfiltration
| 257 | priority=0&description=My Route&expression=match_recipient(".*@example.com")&action=forward("https://example.com/webhook") |
Webhook reference - potential data exfiltration
| 287 | ### Webhooks |
Webhook reference - potential data exfiltration
| 289 | #### List Webhooks |
Webhook reference - potential data exfiltration
| 292 | GET /mailgun/v3/domains/{domain_name}/webhooks |
Webhook reference - potential data exfiltration
| 295 | #### Create Webhook |
Webhook reference - potential data exfiltration
| 298 | POST /mailgun/v3/domains/{domain_name}/webhooks |
Webhook reference - potential data exfiltration
| 301 | id=delivered&url=https://example.com/webhook |
Webhook reference - potential data exfiltration
| 304 | Webhook types: `accepted`, `delivered`, `opened`, `clicked`, `unsubscribed`, `complained`, `permanent_fail`, `temporary_fail` |
Webhook reference - potential data exfiltration
| 306 | #### Get Webhook |
Webhook reference - potential data exfiltration
| 309 | GET /mailgun/v3/domains/{domain_name}/webhooks/{webhook_type} |
Webhook reference - potential data exfiltration
| 312 | #### Update Webhook |
Webhook reference - potential data exfiltration
| 315 | PUT /mailgun/v3/domains/{domain_name}/webhooks/{webhook_type} |
Webhook reference - potential data exfiltration
| 318 | url=https://example.com/new-webhook |
Webhook reference - potential data exfiltration
| 321 | #### Delete Webhook |
Webhook reference - potential data exfiltration
| 324 | DELETE /mailgun/v3/domains/{domain_name}/webhooks/{webhook_type} |
Webhook reference - potential data exfiltration
| 688 | ### Python - Create Route and Webhook |
Webhook reference - potential data exfiltration
| 703 | 'description': 'Forward to webhook', |
Webhook reference - potential data exfiltration
| 710 | # Create webhook |
Webhook reference - potential data exfiltration
| 711 | webhook_response = requests.post( |
Webhook reference - potential data exfiltration
| 712 | f'https://gateway.maton.ai/mailgun/v3/domains/{domain}/webhooks', |
Webhook reference - potential data exfiltration
| 716 | 'url': 'https://myapp.com/webhook/delivered' |
Webhook reference - potential data exfiltration
| 719 | print(f"Webhook created: {webhook_response.json()}") |
Access to .env file
| 644 | 'Authorization': `Bearer ${process.env.MATON_API_KEY}`, |
External URL reference
| 6 | For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway). |
External URL reference
| 13 | homepage: "https://maton.ai" |
External URL reference
| 29 | req = urllib.request.Request('https://gateway.maton.ai/mailgun/v3/domains') |
External URL reference
| 38 | https://gateway.maton.ai/mailgun/v3/{resource} |
External URL reference
| 61 | 1. Sign in or create an account at [maton.ai](https://maton.ai) |
External URL reference
| 62 | 2. Go to [maton.ai/settings](https://maton.ai/settings) |
External URL reference
| 67 | Manage your Mailgun OAuth connections at `https://ctrl.maton.ai`. |
External URL reference
| 74 | req = urllib.request.Request('https://ctrl.maton.ai/connections?app=mailgun&status=ACTIVE') |
External URL reference
| 86 | req = urllib.request.Request('https://ctrl.maton.ai/connections', data=data, method='POST') |
External URL reference
| 98 | req = urllib.request.Request('https://ctrl.maton.ai/connections/{connection_id}') |
External URL reference
| 112 | "url": "https://connect.maton.ai/?session_token=...", |
External URL reference
| 126 | req = urllib.request.Request('https://ctrl.maton.ai/connections/{connection_id}', method='DELETE') |
External URL reference
| 139 | req = urllib.request.Request('https://gateway.maton.ai/mailgun/v3/domains') |
External URL reference
| 257 | priority=0&description=My Route&expression=match_recipient(".*@example.com")&action=forward("https://example.com/webhook") |
External URL reference
| 301 | id=delivered&url=https://example.com/webhook |
External URL reference
| 318 | url=https://example.com/new-webhook |
External URL reference
| 618 | "first": "https://api.mailgun.net/v3/.../pages?page=first&limit=100", |
External URL reference
| 619 | "last": "https://api.mailgun.net/v3/.../pages?page=last&limit=100", |
External URL reference
| 620 | "next": "https://api.mailgun.net/v3/.../pages?page=next&limit=100", |
External URL reference
| 621 | "previous": "https://api.mailgun.net/v3/.../pages?page=prev&limit=100" |
External URL reference
| 640 | 'https://gateway.maton.ai/mailgun/v3/example.com/messages', |
External URL reference
| 661 | 'https://gateway.maton.ai/mailgun/v3/example.com/messages', |
External URL reference
| 680 | 'https://gateway.maton.ai/mailgun/v3/domains', |
External URL reference
| 699 | 'https://gateway.maton.ai/mailgun/v3/routes', |
External URL reference
| 705 | 'action': 'forward("https://myapp.com/incoming-email")' |
External URL reference
| 712 | f'https://gateway.maton.ai/mailgun/v3/domains/{domain}/webhooks', |
External URL reference
| 716 | 'url': 'https://myapp.com/webhook/delivered' |
External URL reference
| 768 | req = urllib.request.Request('https://ctrl.maton.ai/connections') |
External URL reference
| 778 | - Correct: `https://gateway.maton.ai/mailgun/v3/domains` |
External URL reference
| 779 | - Incorrect: `https://gateway.maton.ai/v3/domains` |
External URL reference
| 789 | - [Mailgun API Documentation](https://documentation.mailgun.com/docs/mailgun/api-reference/api-overview) |
External URL reference
| 790 | - [Mailgun API Reference](https://mailgun-docs.redoc.ly/docs/mailgun/api-reference/intro/) |
External URL reference
| 791 | - [Mailgun Postman Collection](https://www.postman.com/mailgun/mailgun-s-public-workspace/documentation/ik8dl61/mailgun-api) |
External URL reference
| 792 | - [Maton Community](https://discord.com/invite/dBfFAcefs2) |