T08 · Insecure Dependencies
- Location
SKILL.md:70- Finding
Unpinned Playwright Package Execution Through npx
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill mostly does what it says, but its board-snapshot workflow can run an unpinned Playwright package through npx, so it should be reviewed before installation.
Install only if you trust the ChessGuardian endpoint and are comfortable with the skill making network requests and running local bot processes. Before using board snapshots, prefer installing and pinning Playwright in a controlled environment instead of allowing `npx` to resolve packages at runtime; also restrict custom `--url` use to trusted ChessGuardian instances.
SKILL.md:70Unpinned Playwright Package Execution Through npx
scripts/autoplay_minimax.py:250Missing HTTP Request Timeouts in Minimax Autoplay Client
scripts/autoplay_stockfish.py:38Missing HTTP Request Timeouts in Stockfish Autoplay Client
The skill explicitly instructs the agent to use both network access and shell execution, but it declares no tool scope or permission boundaries. That means an orchestrator may expose broader capabilities than intended, increasing the chance of arbitrary command execution, external requests, or unsafe chaining when the skill is invoked.
The manifest description says to use the skill for specific chess actions and then broadens scope to 'analyze a chess position, or any chess-related interaction.' That catch-all phrasing is ambiguous and could cause unintended invocation on ordinary chess discussion rather than only when the user wants API-backed gameplay or board operations.
Using npx playwright without a pinned version allows the runtime to resolve whatever package version is current or otherwise available at execution time. This creates a supply-chain risk and undermines reproducibility, because behavior or dependencies could change unexpectedly and potentially introduce malicious or vulnerable code into the skill's execution path.
Data from a source is assigned to a variable that is later passed to a sink, creating a variable-mediated taint flow.
def get_state(base_url, game_id):
resp = requests.get(f"{base_url}/api/live/{game_id}")
resp.raise_for_status()
return resp.json()
Data from a source is assigned to a variable that is later passed to a sink, creating a variable-mediated taint flow.
def make_move(base_url, game_id, move):
resp = requests.post(f"{base_url}/api/live/{game_id}/move", json={"move": move})
return resp.json()
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
def start_new_game(base_url):
resp = requests.post(f"{base_url}/api/live/start", json={"mode": "ai"})
resp.raise_for_status()
data = resp.json()
game_id = data["id"]
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
def start_new_game(base_url):
resp = requests.post(f"{base_url}/api/live/start", json={"mode": "ai"})
resp.raise_for_status()
data = resp.json()
game_id = data["id"]
Data from a source is assigned to a variable that is later passed to a sink, creating a variable-mediated taint flow.
def get_state(base_url, game_id):
resp = requests.get(f"{base_url}/api/live/{game_id}")
resp.raise_for_status()
return resp.json()
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
def make_move(base_url, game_id, move):
resp = requests.post(f"{base_url}/api/live/{game_id}/move", json={"move": move})
return resp.json()
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
def make_move(base_url, game_id, move):
resp = requests.post(f"{base_url}/api/live/{game_id}/move", json={"move": move})
return resp.json()
Data from a source is assigned to a variable that is later passed to a sink, creating a variable-mediated taint flow.
def make_move(base_url, game_id, move):
resp = requests.post(f"{base_url}/api/live/{game_id}/move", json={"move": move})
return resp.json()