minimax-pdf
Fail
Audited by Gen Agent Trust Hub on Aug 24, 2026
Risk Level: HIGHCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSREMOTE_CODE_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill makes extensive use of system commands and subprocesses via
subprocess.check_callandspawnSyncto manage its build pipeline and environment configuration. - [EXTERNAL_DOWNLOADS]: The skill fetches font resources from Google Fonts at render time and installs multiple third-party libraries, including
reportlab,pypdf,matplotlib, andplaywright, from external package registries. - [REMOTE_CODE_EXECUTION]: Several scripts, including
fill_inspect.py,fill_write.py,merge.py, andrender_body.py, includeensure_deps()functions that automatically invokepip installto add missing dependencies at runtime. Therender_cover.jsscript similarly attempts to install the Playwright browser engine if not present. These automated installations can modify the host system and introduce unverified code from remote registries. - [REMOTE_CODE_EXECUTION]: The
scripts/cover.pyscript contains a critical lack of output sanitization. User-supplied metadata such as the document title, author name, and subtitle are directly interpolated into HTML templates. Whenscripts/render_cover.jsrenders the resulting file using Playwright, a malicious user could provide input designed to perform HTML injection or XSS. This vulnerability allows for unauthorized resource loading and potential local file disclosure via the browser engine's access to the filesystem.
Recommendations
- AI detected serious security threats
Audit Metadata