Back to skill

Security audit

SocQ Google Ad Library Research

Security checks for vulnerabilities and agentic risk

Overview

This skill is a coherent SocQ integration for public Google Ad Library research, with disclosed network/API-key use and cost controls.

Before installing, make sure you trust SocQ with the public ad research queries and your SocQ API key. Prefer a pinned or preinstalled @socq/cli version instead of ad hoc npx execution when possible, and review expected credit costs before allowing large or multi-endpoint runs.

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
96% confidence
Finding

The skill allows execution via npx without a pinned package version, which can fetch whatever package version is current at runtime. This creates a supply-chain risk: a malicious or compromised upstream release of @socq/cli could be executed by the agent without prior review or reproducibility guarantees.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
98% confidence
Finding

npx @socq/cli executes a remote package without specifying an exact version, so the actual code run may change over time. In an agent skill context, this is risky because the agent may automatically run the command, turning an upstream package compromise into arbitrary code execution in the agent environment.

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 Google Ad Library data tools"
      transport: "streamable_http"
      url: "https://api.socq.ai/mcp?platforms=google-ad-library"

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 Google Ad Library data tools"
      transport: "streamable_http"
      url: "https://api.socq.ai/mcp?platforms=google-ad-library"