Back to skill

Security audit

Facebook Ads Library API

Security checks for vulnerabilities and agentic risk

Overview

The verdict is benign because the reported findings are consistent with a skill describing an external API, though the scan is only partial and confidence is medium.

The verdict is benign, but confidence is medium because Skillspector scanned only 50% of components: one of two was fully inspected and one partially inspected. It also reports a malformed or unsupported manifest in SKILL.md. Consider this incomplete coverage when deciding whether to install.

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
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (3)

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

md
# Facebook Ads Library API (SocialAPIs)

The Meta Ad Library as JSON: every public ad a brand runs, searchable by keyword, advertiser and country. No app review, no Meta access token.

- Website: https://socialapis.io · this API: https://socialapis.io/api-sources/meta-ads-search
- Free API key: https://socialapis.io/auth/signup (200 credits a month, no card)

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

bash
curl -s -H "x-api-token: $SOCIALAPIS_API_KEY" \
  "https://api.socialapis.io/facebook/ads/search?query=nike&country=US&activeStatus=Active&sort_data=impressions"
python

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

md
import os, requests

r = requests.get(
    "https://api.socialapis.io/facebook/ads/search",
    params={"query": "nike", "country": "US", "activeStatus": "Active", "sort_data": "impressions"},
    headers={"x-api-token": os.environ["SOCIALAPIS_API_KEY"]},
    timeout=120,