Back to skill

Security audit

meta-ads-copywriter

Security checks for vulnerabilities and agentic risk

Overview

The skill is openly for Meta Ads creation, but it gives an agent live ad-publishing and update authority through a third-party gateway without enough scoping, confirmation, or data-handling detail.

Install only if you intend to let an agent work with live Meta Ads assets through Habilis. Use least-privilege, account-limited, short-lived tokens; confirm every upload, creative creation, or ad update manually; and clarify gateway logging, retention, token handling, and spend safeguards before using production accounts.

Vulnerability Patterns
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
  • 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
Findings (1)

T05 · Unauthorized Access and Privilege Escalation

Warning
Location
SKILL.md:22
Finding

Privileged Meta Ads Operations Delegated to a Third-Party MCP Gateway Without Documented Access Controls

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (6)

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · README.md (reported line 24)May include surrounding context.

🚀 Quick Onboarding & First-Time Setup

  1. Get your Habilis MCP Token:
  2. Configure Environment Variables:
    bash
    export HABILIS_API_KEY="hab_live_..."
    

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The README explicitly says the skill can autonomously generate and publish ad variations to Meta Ads, but it does not clearly warn that using the skill can perform live account-changing actions with financial and operational consequences. In an agent-skill context, missing this warning increases the chance of unintended ad creation or modification by users or autonomous agents acting without sufficient confirmation.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
89% confidence
Finding

The README instructs users to configure credentials and connect to a remote MCP gateway, but it does not disclose what data may be transmitted to that third-party service, how credentials are scoped, or what privacy/security guarantees apply. In a marketing-copy skill, user prompts, ad content, tracking parameters, and account metadata may be sensitive business data, so omission of transmission and privacy warnings is security-relevant.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The trigger list contains broad terms such as 'copywriter' and 'gerar criativo' that are likely to match ordinary writing or marketing requests, causing this skill to activate outside a clearly scoped Meta Ads context. Because the skill can publish or update live ad creatives through MCP tools, accidental invocation can lead to unintended ad modifications or external API actions.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

The skill advertises copywriting and creative generation but does not clearly warn that it can also upload images, create ad creatives, and update existing live ads. This missing disclosure is dangerous because users may invoke what appears to be a content-generation skill without realizing it can perform state-changing actions against production advertising accounts.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
79% confidence
Finding

The natural-language instructions, triggers, and operational guidance are entirely in Portuguese, and the skill does not state that users may choose another language or locale. If organizational policy requires language choice or opt-in, this is a locale/language constraint presented without user selection.

Content

No source excerpt is available for this finding.