Back to skill

Security audit

SocialAPIs: Facebook & Instagram data

Security checks for vulnerabilities and agentic risk

Overview

The skill's public Facebook and Instagram lookups fit its stated purpose, with disclosed API access and ordinary installation risks.

SocialAPIs receives your lookup queries and calls consume account credits. Keep the API key out of chat and source code. If using the optional local MCP server, pin a reviewed package version; REST and hosted MCP are also available.

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

MCP server referenced without pinned version: 'npx -y @socialapis/mcp'.

Medium
Category
MCP Rug Pull
Confidence
97% confidence
Finding

The optional local MCP command uses npx -y to download and execute an unpinned package without an installation confirmation. A compromised or malicious future release could execute with the agent process's permissions and access credentials, including SOCIALAPIS_API_KEY; the legitimate integration purpose does not eliminate this supply-chain risk.

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

bash
curl -s -H "x-api-token: $SOCIALAPIS_API_KEY" \
  "https://api.socialapis.io/facebook/pages/details?link=https%3A%2F%2Fwww.facebook.com%2Fnike"
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/instagram/profile/details",
    params={"username": "nike"},
    headers={"x-api-token": os.environ["SOCIALAPIS_API_KEY"]},
    timeout=120,