skills/zhinkgit/embeddedskills/serial/Gen Agent Trust Hub

serial

Pass

Audited by Gen Agent Trust Hub on Nov 27, 2026

Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill executes background processes via subprocess.Popen in scripts/serial_mux.py to launch the socat utility and a local multiplexing server. These processes are used to allow multiple applications to share access to a single serial port by creating a virtual PTY and a TCP broadcast server.
  • [INDIRECT_PROMPT_INJECTION]: The skill exhibits an indirect prompt injection surface by processing data from external hardware sources:
  • Ingestion points: Data enters the agent context through ser.read() and ser.readline() calls in scripts/serial_monitor.py, scripts/serial_hex.py, and scripts/serial_log.py.
  • Boundary markers: No explicit delimiters or instructions are provided to the agent to treat the incoming serial stream as untrusted data.
  • Capability inventory: The skill possesses capabilities to execute subprocesses in scripts/serial_mux.py and write to the local file system in scripts/serial_log.py and scripts/serial_runtime.py.
  • Sanitization: The implementation uses encoding error replacement (e.g., errors='replace') but lacks sanitization to prevent the agent from interpreting natural language instructions embedded in the serial data.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 27, 2026, 01:43 AM