laohan-bianpai
Pass
Audited by Gen Agent Trust Hub on Oct 22, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The orchestrator script
scripts/bianpai.mjsutilizeschild_process.spawnSyncto execute various system commands and local scripts. - Evidence: Spawns
node,bash,ffprobe, andffmpegto perform metadata extraction, contract verification, and vendor synchronization. - Mitigation: Command paths are constructed relative to the project root or via environment variables (
LAOHAN_SKILLS_ROOT), limiting execution to known local scripts. - [DYNAMIC_EXECUTION]: The skill dynamically executes sub-validators and specialized tools within the production ecosystem at runtime.
- Evidence: Executes scripts such as
check-script-contract.mjsandcheck-topic-contract.mjslocated in peer skill directories. - Context: As an orchestrator, this behavior is central to its function. The execution is restricted to the vendor's own suite of tools (
hanzhcn). - [INDIRECT_PROMPT_INJECTION]: The skill represents a surface for indirect prompt injection as its orchestration logic depends on the contents of various project files that could be influenced by external data.
- Ingestion points: Reads numerous JSON and Markdown files including
00-选题.json,01-口播稿.md, and09-导演/director-state.mdto determine the production state. - Boundary markers: The skill employs strict "mechanical contracts" and state markers (e.g.,
CLEAR,COMPLETED,PARTIAL) to delimit valid data. - Capability inventory: The script can spawn subprocesses (Node.js/Bash) based on the state determined from ingested files.
- Sanitization: Implements high-quality sanitization by using
realpathSyncand prefix-matching to prevent path traversal when reading files (e.g.,realpathSync(target).startsWith(episodeRealRoot + '/')). It also enforces strict SHA-256 integrity checks for production artifacts.
Audit Metadata