Back to skill

Security audit

Video Prompt Generator

Security checks for vulnerabilities and agentic risk

Overview

This skill coherently generates video prompts through the NanoPhoto API and clearly discloses the API key, network call, and optional public image URL inputs it uses.

Install only if you are comfortable sending prompt topics, selected options, and any provided public image URLs to NanoPhoto.AI using your NANOPHOTO_API_KEY. Use the platform's secure environment-variable setting for the key and avoid private or sensitive image URLs.

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 (2)

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
91% confidence
Finding

The skill documents capabilities that access environment variables, read local configuration files, and perform network requests, but it does not declare any explicit tool scope or allowed-tools boundary. This weakens least-privilege controls and can cause the platform or user to approve a skill without clear visibility into what resources it can access, increasing the risk of unintended secret exposure or external communication.

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 · SKILL.md (reported line 118)May include surrounding context.

Manual API call

bash
curl -X POST "https://nanophoto.ai/api/sora-2/generate-prompt" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $NANOPHOTO_API_KEY" \
  --data-raw '{

Static analysis

No suspicious patterns detected.