Back to skill

Security audit

用户痛点分析 · 小红书消费者洞察 Consumer insight

Security checks for vulnerabilities and agentic risk

Overview

The verdict is benign with medium confidence: the scans report no AIG findings and identify purpose mismatch and undeclared capabilities, while the tool’s additional link-processing features and network use are presented as supporting a broader API workflow rather than clear malicious behavior.

The verdict is benign, but it does not mean risk-free. Before installing, consider that the reported client sends submitted links or share text to a remote service, offers capabilities beyond the stated Xiaohongshu purpose, and has no declared tool scope; the service’s handling and runtime permission boundaries could not be verified from these results.

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
  • Taint TrackingDirect Taint Flow, Variable-Mediated Taint Flow, Credential Exfiltration Chain
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
Findings (3)

Tainted flow: 'req' from os.environ.get (line 103, credential/environment) → urllib.request.urlopen (network output)

Critical
Category
Data Flow
Confidence
90% confidence
Finding

Credentials or environment variables flow to a network sink. This is a high-confidence indicator of credential exfiltration.

Content

Scanner excerpt · scripts/linkdigest.py (reported line 111)May include surrounding context.

python
if data is not None:
        req.add_header("Content-Type", "application/json")
    try:
        with urllib.request.urlopen(req, timeout=timeout, context=_SSL["context"]) as resp:
            status, headers, raw = resp.status, resp.headers, resp.read()
    except urllib.error.HTTPError as err:
        status, headers, raw = err.code, err.headers, err.read()

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

The declared Xiaohongshu consumer-insight workflow is supported through the --insight API option, but the executable exposes several additional user-facing capabilities not disclosed in the description. These extend beyond supporting implementation details. Network submission, API-key authentication, polling, and output formatting are consistent supporting behavior. The code delegates extraction, insight generation, quotation verification, pricing, and caching to the remote service; those server-side guarantees cannot be verified from this chunk. No unrelated local-file collection or Xiaohongshu cookie access is evident.

Content

No source excerpt is available for this finding.

Skill declares no tool scope ('permissions' or 'allowed-tools') but code capabilities were detected: env, network, shell.

Medium
Category
MCP Least Privilege
Confidence
70% confidence
Finding

Without declared permissions the skill's intent is opaque and cannot be validated.

Content

No source excerpt is available for this finding.