Back to skill

Security audit

SocQ Kwai Research

Security checks for vulnerabilities and agentic risk

Overview

This is a disclosed SocQ integration for collecting public Kwai data, with normal cautions around API-key use, billing, and an unpinned CLI fallback.

Before installing, users should understand that requests and the SocQ API key are used with SocQ-hosted tools, jobs may consume credits, and the CLI fallback currently relies on the latest @socq/cli package unless the user pins or preinstalls a vetted version.

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

The skill permits use of npx and installs @socq/cli without any version pinning, which creates a supply-chain risk because future package updates or a compromised release could be pulled at execution time. In an agent skill context, this is more dangerous because automated environments may execute the tool non-interactively and repeatedly, amplifying exposure to a malicious upstream package.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
98% confidence
Finding

The command npx @socq/cli fetches and runs the latest published package by default, exposing the agent to remote code execution through a malicious or compromised npm release. Because this skill is specifically instructing automated fallback execution when MCP is unavailable, the unpinned npx path materially increases the chance of unsafe package retrieval in production workflows.

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 Kwai data tools"
      transport: "streamable_http"
      url: "https://api.socq.ai/mcp?platforms=kwai"

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 Kwai data tools"
      transport: "streamable_http"
      url: "https://api.socq.ai/mcp?platforms=kwai"

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