Back to skill

Security audit

stock-sentiment

Security checks for vulnerabilities and agentic risk

Overview

The skill provides read-only stock research through SentiSense, with disclosed API authentication and no bundled trading, destructive, or persistent behavior.

Use a dedicated SentiSense key and keep it private. SentiSense receives your requested tickers and searches; optional client or agent identification can be omitted. Requests consume API quota, and results may be delayed or limited to preview 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
  • Taint TrackingDirect Taint Flow, Variable-Mediated Taint Flow, Credential Exfiltration Chain
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (2)

Tainted flow: 'req' from os.environ.get (line 57, credential/environment) → urllib.request.build_opener.open (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/sentiment_client.py (reported line 59)May include surrounding context.

python
"(free key: https://app.sentisense.ai/get-api-key)")
    req = urllib.request.Request(url, headers={"X-SentiSense-API-Key": key})
    try:
        with urllib.request.build_opener(NoRedirect).open(req, timeout=20) as r:
            return json.load(r)
    except urllib.error.HTTPError as e:
        retry = e.headers.get("Retry-After")

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.