Back to skill

Security audit

SocQ Facebook Research

Security checks for vulnerabilities and agentic risk

Overview

This skill is a coherent SocQ integration for user-directed public Facebook research, with disclosed API use and reasonable cost and credential guardrails.

Before installing, confirm you trust SocQ with the Facebook research inputs and results, keep SOCQ_API_KEY scoped and rate-limited where possible, prefer a pinned or preinstalled SocQ CLI over live npx execution, and use the skill only for authorized, compliant collection of public Facebook data.

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 (5)

Rp1

Medium
Category
MCP Rug Pull
Confidence
70% confidence
Finding
npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.

Rp1

Medium
Category
MCP Rug Pull
Confidence
93% confidence
Finding
The skill instructs use of `npx @socq/cli` without pinning an exact version, which can cause execution of whatever package version is current at runtime. That creates a supply-chain risk: a compromised upstream package, malicious publish, or breaking update could execute code in the agent environment and potentially access `SOCQ_API_KEY` or other local context.

External Transmission

Medium
Category
Data Exfiltration
Content
value: "socq"
      description: "Hosted SocQ Facebook data tools"
      transport: "streamable_http"
      url: "https://api.socq.ai/mcp?platforms=facebook"
Confidence
50% confidence
Finding
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

External Transmission

Medium
Category
Data Exfiltration
Content
value: "socq"
      description: "Hosted SocQ Facebook data tools"
      transport: "streamable_http"
      url: "https://api.socq.ai/mcp?platforms=facebook"
Confidence
50% confidence
Finding
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Missing User Warnings

Medium
Confidence
90% confidence
Finding
This is a markdown file, so SQP-2 applies to omissions in user-facing safety disclosures. The file advertises multiple capabilities that retrieve public social-media data, but it provides no warning about privacy implications, consent expectations, or downstream handling of collected personal content.

Static analysis

Detected: suspicious.exposed_secret_literal

File appears to expose a hardcoded API secret or token.

Critical
Code
suspicious.exposed_secret_literal
Location
SKILL.md:32