Back to skill

Security audit

migma

Security checks for vulnerabilities and agentic risk

Overview

ClawScan marks this email campaign skill benign with medium confidence; its scans found no AIG issues, while Skillspector flagged campaign-adjacent capabilities and workflow safeguards that merit review.

The verdict is benign, not risk-free. Before installing, consider whether you need the transactional email setup capability, and review how the skill handles saved preferences, contact uploads, and confirmation before bulk sends. Skillspector reported complete component coverage with caveats: several local path-like references could not be resolved, so evidence about those references is incomplete.

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
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • Memory PoisoningPersistent Context Injection, Context Window Stuffing, Memory Manipulation
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (6)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
86% confidence
Finding

Domain setup alone could support sending campaigns, but explicitly provisioning a transactional stream adds email-infrastructure management outside the described campaign-design, sending, and reporting functions. The chunk does not perform the declared campaign operations.

Content

No source excerpt is available for this finding.

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 36)May include surrounding context.

md
1. **Hosted MCP (preferred)**: connect `https://migma.ai/mcp`. The client runs browser OAuth, then use `migma_*` tools.
2. **CLI**, when MCP is unavailable: `migma login` (browser OAuth) or `migma login --claim` for a headless CLI. Use authenticated commands; let the CLI manage its own credentials.
3. **Direct / claim-code**, when the client cannot complete the OAuth callback but can make HTTPS requests and store the returned credential securely: fetch `https://api.migma.ai/auth.md`. Omit `scope`. The user approves the full permission set on the page, and you confirm sends with them in the chat.
4. **CI / servers**: ask the user to configure a dedicated `MIGMA_API_KEY` in the server secret store. Write integration code against the secret's name without retrieving its value.

Never read host secrets or copy credentials between clients. Hosted MCP needs no manual API key. Keep newly approved claim-code credentials in the selected client's secure storage, out of chat, logs, shell history

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 · references/grok-bot.md (reported line 25)May include surrounding context.

md
1. Reuse existing `migma_*` tools.
2. When a Migma plugin listing with browser OAuth is installed, complete that approval.
3. Otherwise go straight to claim-code: fetch `https://api.migma.ai/auth.md`, register intent, and store the returned credential in Grok's secure credential storage. Grok Bot's cloud computer cannot receive an OAuth callback, so do not attempt connector OAuth first and do not retry it.
4. Human opens the approval link, signs in if needed, reviews the permissions, and approves.
5. Repeat `migma_list_projects` and confirm Grok reports a durable connected state. A connector badge that still says `needsAuth` after claim-code is expected; the read-only call is the proof, not the badge.

Persistent Context Injection

Medium
Category
Memory Poisoning
Confidence
80% confidence
Finding

Skill injects content designed to persist in agent memory or context across interactions. Persistent injection can alter agent behavior long after the initial interaction.

Content

Scanner excerpt · references/grok-bot.md (reported line 37)May include surrounding context.

md
If the website is needed: "What's your website?"

Ask for brand guidelines or emails they love when useful, save lasting rules and image style, and favorite liked designs for future emails. Offer to add their contact list and group people using the information available. Keep tool names, field mapping, and setup details internal. Skip completed steps and keep the user's current task moving.

Show previews and canvas links as soon as generation finishes. Before any send, show audience, count, sender, subject, timing, and preview, then wait for approval.

The bulk-send workflow lacks a warning that it immediately sends email to the selected recipient group.

Medium
Category
Output Handling
Confidence
94% confidence
Finding

This example instructs the agent to select a tag and execute a real group send, rather than merely listing an available tool. It provides no warning about the externally visible, non-retractable delivery or checkpoint to verify the resolved recipients and final content.

Content

No source excerpt is available for this finding.

The contact-import workflow does not warn that personal contact data will be uploaded to Migma.

Medium
Category
Output Handling
Confidence
92% confidence
Finding

The workflow instructs the agent to submit contact names and email addresses, including a local CSV, to Migma. It does not disclose that this transfers personal data to an external service or instruct the agent to check that the file contains only the intended contacts.

Content

No source excerpt is available for this finding.