Back to skill

Security audit

jftech-open-pro-ptz-control

Security checks for vulnerabilities and agentic risk

Overview

The skill appears to be a real JF camera-control tool, but it can send sensitive camera/API credentials to any endpoint named in an environment variable.

Install only if you trust the publisher and can control the runtime environment. Set JF_ENDPOINT only to the official JF API host you intend to use, avoid running this in environments where other software can alter JF_* variables, and review the physical/device-state impact of preset, tour, mask, and PTZ commands before use.

Vulnerability Patterns
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • 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
Findings (1)

T09 · Insecure Skill Coding Practices

Error
Location
scripts/jf_open_pro_ptz_control.py:108
Finding

Unrestricted API Endpoint Override Can Expose Authentication and Device Data

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • 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
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (3)

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
89% confidence
Finding

The skill explicitly requires environment variables and remote API access, but it does not declare an explicit tool scope such as allowed-tools or permissions. This creates a governance gap: an agent runtime may grant broader-than-necessary access or fail to enforce least privilege, increasing the risk of unintended network use or credential exposure through overly permissive execution context.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The skill description and all operational documentation are presented exclusively in Chinese, which effectively imposes a specific language on users. The stated 'language: python' metadata at L051 refers to implementation language, not user-facing locale choice, and there is no indication that users may choose another language or that the restriction is region-specific.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

This code file contains user-facing documentation and CLI output entirely in Chinese, beginning in the module docstring and continuing throughout the script. Under the policy rule, forcing a specific language without user opt-in is a natural-language policy violation unless the locale restriction is explicitly documented and justified, which is not present here.

Content

No source excerpt is available for this finding.