Back to skill

Security audit

Ai Product Description Writer

Security checks for vulnerabilities and agentic risk

Overview

This skill is a straightforward product-description generator that sends user-provided product text to the x.ai API with a user-supplied API key.

Install only if you are comfortable sending product names, features, and prompts to x.ai under your API key. Avoid using unreleased, confidential, regulated, or customer-sensitive product data unless your organization permits that sharing.

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
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (3)

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
94% confidence
Finding

The skill requires an API key and makes outbound network calls, but it does not declare any explicit tool scope such as permissions or allowed-tools. That weakens reviewability and consent because a host agent or user cannot easily see, at the policy layer, that the skill can access secrets and transmit data externally.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The skill describes generating product descriptions from product names and features, but it does not clearly warn that this input will be sent to an external AI provider. Users may unknowingly submit proprietary product plans, embargoed launches, or sensitive business information to a third party, creating confidentiality and compliance risk.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% 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 · scripts/script.sh (reported line 6)May include surrounding context.

sh
# Requires: XAI_API_KEY environment variable
set -euo pipefail

API_URL="https://api.x.ai/v1/chat/completions"

_check_key() {
    if [[ -z "${XAI_API_KEY:-}" ]]; then

Static analysis

No suspicious patterns detected.