Back to skill

Security audit

SocQ Facebook Research

Security checks for vulnerabilities and agentic risk

Overview

The skill is coherent for SocQ Facebook research, but it needs review because it can run an unpinned npm CLI while handling a SocQ API key.

Install only if you trust SocQ and are comfortable giving the skill access to a SocQ API key for public Facebook data collection. Prefer a configured hosted MCP server or a preinstalled, pinned `socq` CLI over runtime `npx @socq/cli`, and review credit costs before allowing broad or repeated collection jobs.

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

Rp1

Medium
Category
MCP Rug Pull
Confidence
94% confidence
Finding

The skill permits execution via npx without pinning an exact package version, which creates a supply-chain risk: a future compromised or maliciously updated package could be fetched and run at invocation time. In an agent skill context, this is more dangerous because the tool may be installed or executed automatically with access to environment secrets such as SOCQ_API_KEY.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
97% confidence
Finding

The instruction to use npx @socq/cli pulls and executes the latest package by default, exposing users to dependency hijacking or upstream compromise. Because this skill is explicitly designed to handle authenticated API operations, exploitation could lead to arbitrary code execution in the agent environment and theft or misuse of the API key.

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

md
value: "socq"
      description: "Hosted SocQ Facebook data tools"
      transport: "streamable_http"
      url: "https://api.socq.ai/mcp?platforms=facebook"

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 · agents/openai.yaml (reported line 11)May include surrounding context.

yaml
value: "socq"
      description: "Hosted SocQ Facebook data tools"
      transport: "streamable_http"
      url: "https://api.socq.ai/mcp?platforms=facebook"