Skills/Glama/optics-framework

optics-framework@1.11.4

CAUTION· install only

Publisher claims: "Drives Android, iOS, smart TV (Android TV, Tizen, webOS), web and Bluetooth (BLE) devices from an agent: start a session, tap, type, swipe and assert by XPath, visible text, OCR or image, then save the steps as a replayable CSV test suite." In our sandbox: Bundled scripts ran with no arguments; no agent task scenario for this bundle.

Registry GlamaPublisher mozarkai · publishing for 6 daysInstalls 0Last detonated 6d ago

Coverage

Bundled scripts ran with no arguments; no agent task scenario for this bundle.
Tested
8 of 12 bundled scripts run with no arguments (the rest were not run: per-bundle cap), with decoy credentials in the environment · every file read, file written and host contacted by what ran
Not tested
use of the skill by an agent

What this means for the label: Caution here covers what ran. The server's tools were not exercised with a real credential, so nothing about their behavior is asserted; the credential summary below says what to do with that.

Behavior

In our sandbox run on 2026-11-18, [email protected] read no files and called no hosts, and its code names 4 environment variables. Coverage: install only.

Files read

None recorded.

Hosts called

None recorded.

Environment variables its code names

GITHUB_PR_BASE, GITHUB_PR_HEAD, GITHUB_PR_NUMBER, TEST_SESSION_ENV_VARIABLES

Names only, read from the code. We never hold a value.

Tools offered

No tool list recorded.

Changes since the prior version

No prior version with a result to compare.

What we did not test

  • use of the skill by an agent
Run date2026-11-18
Coverageinstall only
Engine1.9.2, script@linux
Reproducenpx -y vet-skills try optics-framework
This recordbehavior.json, behavior.md, signed attestation

This is a record of what one version did in the runs we made. It is evidence, not a certificate.

Before you give it your token

It will ask for
no credential variables read in the code
Where it talks to
optics-framework.org (its own)Also playwright.dev — not the publisher's domain; check what for before connecting.
What we saw when it ran
no credential files read · no network
What we could not test
use of the skill by an agent

Connect it under the guard. Bundled scripts ran with no arguments; no agent task scenario for this bundle. The code names no credential variable and talks to optics-framework.org, its own; the guard pins the network to what the honeypot saw and logs every call.

$vet-skills run --net declared -- <the server's command>

Never paste a credential into a chat, a ticket or a report, including ours. How the guard holds it.

Is [email protected] safe to install?

KillerSkills ran it in the KillerSkills honeypot sandbox (2 scenarios; bundled scripts ran with no arguments; no agent task scenario for this bundle) on 2026-11-18 and scored it 75/100 (Caution). It is not known to be malicious, but it has behaviour or code a security policy should decide on before install. Notable findings: Collapsed <details> block carrying instructions; Privileged sudo command. Summary: no network, touches nothing outside the project, writes no memory.

Behavior trace

Honeypot run · 1 s · 2 scenarios · 0 deviations
t+CategoryObserved action
0.0sprocessno install scripts in bundle
0.0sprocessbundled script run in the sandbox with no arguments · not named in the instructions
0.1sprocessexited 2: GITHUB_PR_BASE (PR base ref/SHA) is required
0.1sprocessbundled script run in the sandbox with no arguments · not named in the instructions
0.1sprocessexited 1: FileNotFoundError: [Errno 2] No such file or directory: 'poetry.lock'
0.1sprocessbundled script run in the sandbox with no arguments
0.2sprocessbundled script run in the sandbox with no arguments
0.3sprocessexited 1: ModuleNotFoundError: No module named 'yaml'
0.3sprocessbundled script run in the sandbox with no arguments · not named in the instructions
0.4sprocessexited 1: ModuleNotFoundError: No module named 'PIL'
0.4sprocessbundled script run in the sandbox with no arguments
0.4sprocessexited 1: ModuleNotFoundError: No module named 'optics_framework'
0.4sprocessbundled script run in the sandbox with no arguments
0.5sprocessexited 1: ModuleNotFoundError: No module named 'pydantic'
0.5sprocessbundled script run in the sandbox with no arguments
0.5sprocessexited 1: ModuleNotFoundError: No module named 'fuzzywuzzy'
0.5sprocess8 of 12 bundled scripts run with no arguments (the rest were not run: per-bundle cap)
0.5sprocessscript backend runs setup only
0.5sprocessscript backend runs setup only
0.5sprocessno install scripts to re-run

Static findings

MEDIUM
File permission modification commandDocker/prod/Dockerfile:51 · File permission modification command — agent changes file ownership/permissionsRUN chown -R appuser:appuser /appFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
File type combined with upload actionCLAUDE.md:84 · File type combined with upload action — agent may exfiltrate local data files…s`, `mcp_server.py:824`): steps plus `modules_csv`/`elements_csv` from `Recorder.csv` (`agent_core.py:675`). An ended session's steps stay readable by its owner: in memory (`_ENDED`), and for a stdio caller also in `$OPTICS_HOME/mcp/steps/…Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.
AST07
MEDIUM
Destructive file system command detectedDocker/mcp/dev/Dockerfile:31 · Destructive file system command detected&& rm -rf /var/lib/apt/lists/*Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
LOW
Prompt injectiondocs/configuration.md:751 · Prompt injection — known jailbreak technique reference · informational: not an instruction file- TV in Developer Mode (Dev Mode app → signed in → ON; expires every ~50 hours)Fix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.
AST01
LOW
Authorization escalation languagedocs/configuration.md:723 · Authorization escalation language · informational: not an instruction file- TV in Developer Mode (Settings → enter 12345 via 123 button → Client IP = your Appium host)Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.
AST01
MEDIUM
Destructive file system command detectedDocker/dev/Dockerfile:32 · Destructive file system command detected&& rm -rf /var/lib/apt/lists/*Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
File permission modification commandDocker/mcp/prod/Dockerfile:51 · File permission modification command — agent changes file ownership/permissionsRUN chown -R appuser:appuser /appFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
Python subprocess execution detectedoptics_framework/helper/live.py:1082 · Python subprocess execution detectedoutput = subprocess.run( # nosec B603 B607 - fixed argv, no shell, tool from PATHFix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedtests/units/helpers/test_cli.py:177 · Python subprocess execution detectedresult = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
LOW
Authorization escalation languagedocs/configuration.md:751 · Authorization escalation language · informational: not an instruction file- TV in Developer Mode (Dev Mode app → signed in → ON; expires every ~50 hours)Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.
AST01
MEDIUM
Python exec or eval of computed codetests/units/helpers/test_cli.py:170 · Python exec or eval of computed codeexec("from optics_framework import *", {})Fix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.
AST05
MEDIUM
Python subprocess execution detectedoptics_framework/helper/setup.py:432 · Python subprocess execution detectedprocess = subprocess.Popen( # nosec B603Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
HIGH
Collapsed <details> block carrying instructionsREADME.md:182 · Collapsed <details> block carrying instructions<summary><b>optics live — turning a session into a reusable module</b></summary> Every successful keyword is buffered as you work. To persist the buffer: ```texFix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.
AST01
HIGH
Privileged sudo command.devcontainer/devcontainer.json:17 · Privileged sudo command — agent may execute with elevated privileges"postCreateCommand": "sudo apt-get update && sudo apt-get install -y libgl1 libglib2.0-0 default-jre-headless && poetry env use python3.12 && poetry install && poetry run pre-commit install",Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
LOW
Prompt injectiondocs/introduction.md:10 · Prompt injection — known jailbreak technique reference · informational: not an instruction fileWhere access to USB debugging / developer mode and device screenshots is prohibitedFix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.
AST01
MEDIUM
Python subprocess execution detectedoptics_framework/helper/setup.py:421 · Python subprocess execution detectedsubprocess.run( # nosec B603Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedoptics_framework/helper/live.py:1107 · Python subprocess execution detectedoutput = subprocess.run( # nosec B603 B607 - fixed argv, no shell, tool from PATHFix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedscripts/generate_pr_diff.py:18 · Python subprocess execution detectedreturn subprocess.run( # nosecFix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
MCP server using network transport (SSE/HTTP)CLAUDE.md:79 · MCP server using network transport (SSE/HTTP) — data sent over network…syncio.to_thread` carries the ContextVar along). 1. `cli.py:MCPCommand` → `run_mcp_server(transport, host, port, toolset)` (`helper/mcp_server.py:1240`); `MCPArgs` (`cli.py:184`): `--transport {stdio,http}` (default stdio), `--toolset {cor…Fix: Namespace tool names and keep tool descriptions literal; no instructions to the agent inside them.
AST04
MEDIUM
Destructive file system command detectedDocker/mcp/prod/Dockerfile:25 · Destructive file system command detected&& rm -rf /var/lib/apt/lists/*Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
LOW
Prompt injectiondocs/configuration.md:723 · Prompt injection — known jailbreak technique reference · informational: not an instruction file- TV in Developer Mode (Settings → enter 12345 via 123 button → Client IP = your Appium host)Fix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.
AST01
MEDIUM
Destructive file system command detectedDocker/prod/Dockerfile:25 · Destructive file system command detected&& rm -rf /var/lib/apt/lists/*Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
File permission modification commandDocker/dev/Dockerfile:60 · File permission modification command — agent changes file ownership/permissionsRUN chown -R appuser:appuser /appFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
File permission modification commandDocker/mcp/dev/Dockerfile:59 · File permission modification command — agent changes file ownership/permissionsRUN chown -R appuser:appuser /appFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
LOW
Authorization escalation languagedocs/introduction.md:40 · Authorization escalation language · informational: not an instruction fileNon-intrusive action drivers such as BLE mouse and keyboard are supported, enabling testing of production apps without developer mode.Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.
AST01
LOW
Authorization escalation languagedocs/introduction.md:10 · Authorization escalation language · informational: not an instruction fileWhere access to USB debugging / developer mode and device screenshots is prohibitedFix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.
AST01
LOW
Refusal suppressiondocs/usage/mcp_usage.md:203 · Refusal suppression — attempting to prevent safety responses · informational: not an instruction filenext call to the server. `terminate_session` is never refused as `busy`: itFix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.
AST01
LOW
Prompt injectiondocs/introduction.md:40 · Prompt injection — known jailbreak technique reference · informational: not an instruction fileNon-intrusive action drivers such as BLE mouse and keyboard are supported, enabling testing of production apps without developer mode.Fix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.
AST01

Cost to the agent

Instructions loaded
≈18,490 tok
3 files · 81 in bundle

Tokens estimated at four characters each. Skills load their instruction text when triggered; the figure is what that costs.

Known vulnerabilities

Vulnerability advisories (OSV) cover npm and PyPI packages; this registry has no advisory database.

What would make this Verified

5 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%
  1. Unclaimed publisher≈ +8 on the totalClaim mozarkai: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
  2. Hidden instructions≈ +6 on the totalRemove HTML comments, zero-width characters and white-on-white text that carry instructions. Everything the agent is meant to read should be visible to the person reading the file.
  3. Privileged sudo command≈ +4 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
  4. File permission modification command≈ +2 on the totalRequest the narrowest permission that works; replace wildcards with the exact paths or hosts.
  5. File type combined with upload action≈ +2 on the totalRemove the call, or declare the host in frontmatter and explain in the README what is sent and why.
  6. Destructive file system command detected≈ +2 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
Publish a new version to Glama, then queue it here. Not your skill? Claim the handle to get verdict changes by email.Claim mozarkaiPropose a patch to the maintainer