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.Popeninscripts/serial_mux.pyto launch thesocatutility 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()andser.readline()calls inscripts/serial_monitor.py,scripts/serial_hex.py, andscripts/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.pyand write to the local file system inscripts/serial_log.pyandscripts/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