Back to skill

Security audit

Xplai Video

Security checks for vulnerabilities and agentic risk

Overview

This skill is a straightforward Xplai video-generation integration, with some privacy and routing caveats but no evidence of deception, persistence, or destructive behavior.

Install only if you are comfortable sending video descriptions, optional image URLs, and video IDs to Xplai's external API. Avoid using it with confidential business material, private images, secrets, or internal URLs, and avoid enabling debug mode when prompts or responses may be sensitive.

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
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
Findings (10)

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding
A second mismatch is that the skill claims full multilingual video generation from user ideas, but the analyzed behavior appears limited to status retrieval or other narrower remote API interactions. This can mislead routing logic into sending unrelated prompts or user data to a tool that does not actually satisfy the requested function, increasing privacy and integrity risks.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding
A second mismatch is that the skill claims full multilingual video generation from user ideas, but the analyzed behavior appears limited to status retrieval or other narrower remote API interactions. This can mislead routing logic into sending unrelated prompts or user data to a tool that does not actually satisfy the requested function, increasing privacy and integrity risks.

Instruction Override

High
Category
Prompt Injection
Content
parser = argparse.ArgumentParser(description="Generate video using xplai API")
    parser.add_argument("question", type=str, help="Video content description")
    parser.add_argument("-image", "--image", type=str, help="Image URL for video generation")
    parser.add_argument("-d", "--debug", action="store_true", help="Enable debug mode to print request/response details")

    args = parser.parse_args()
Confidence
70% confidence
Finding
This pattern attempts to override system instructions or ignore safety constraints. Without LLM analysis, manual review is recommended.

Instruction Override

High
Category
Prompt Injection
Content
parser = argparse.ArgumentParser(description="Generate video using xplai API")
    parser.add_argument("question", type=str, help="Video content description")
    parser.add_argument("-image", "--image", type=str, help="Image URL for video generation")
    parser.add_argument("-d", "--debug", action="store_true", help="Enable debug mode to print request/response details")

    args = parser.parse_args()
Confidence
70% confidence
Finding
This pattern attempts to override system instructions or ignore safety constraints. Without LLM analysis, manual review is recommended.

Lp3

Medium
Category
MCP Least Privilege
Confidence
89% confidence
Finding
The skill invokes an external service and therefore has network-capable behavior, but it does not declare any explicit tool scope or allowed-tools restrictions. That weakens sandboxing and reviewability, making it easier for a skill to transmit user content off-platform without clear authorization boundaries.

Vague Triggers

Medium
Confidence
95% confidence
Finding
The trigger guidance says to use this skill whenever the user asks to make a video, explain visually, show how, or create a tutorial, which is overly broad. Such expansive matching can cause unintended invocation in contexts where users did not consent to external processing or where a non-video explanation would be more appropriate.

Missing User Warnings

Medium
Confidence
95% confidence
Finding
The skill directs prompts to the xplai.ai service but does not warn users that their descriptions, ideas, images, or possibly sensitive educational/business content may be transmitted to a third party. In this context, the omission is more dangerous because the skill explicitly encourages proactive recommendations in common scenarios like math, code, news, and language learning, increasing the chance of silent external data sharing.

Missing User Warnings

Medium
Confidence
93% confidence
Finding
The debug helpers print full request parameters/JSON and full response bodies with no redaction, which can expose API keys, bearer tokens, user prompts, personal data, or generated content in logs when debugging is enabled. In a video-generation skill that may handle rich user inputs and external API responses, this increases the chance of sensitive data disclosure through console logs, CI logs, hosted runtime logs, or support captures.

Missing User Warnings

Medium
Confidence
92% confidence
Finding
The skill sends user-supplied question text and an optional image value to an external third-party API without any in-code warning, consent gate, or data-sensitivity check in the execution path. In an agent setting, users may provide sensitive text or internal URLs/images, and this code will transmit them off-platform, creating privacy and data-handling risk.

Missing User Warnings

Low
Confidence
80% confidence
Finding
This code sends the provided video_id to the remote xplai API over HTTPS, but outside of optional debug mode there is no user-facing print, warning, or comment disclosing that input will be transmitted to an external service. For a code file, network calls that transmit user data should have some visible disclosure unless clearly covered elsewhere.

Static analysis

No suspicious patterns detected.