kimi-pdf
Fail
Audited by Gen Agent Trust Hub on Mar 30, 2026
Risk Level: HIGHREMOTE_CODE_EXECUTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The file
routes/latex.mdinstructs the agent to executecurl -fsSL https://drop-sh.fullyjustified.net | shto install the Tectonic LaTeX engine. This pattern pipes a remote script directly into a shell interpreter, which is a high-risk operation that bypasses verification of the code being executed. - [EXTERNAL_DOWNLOADS]: The script
scripts/compile_latex.pydynamically attempts to install thepypdflibrary viapipat runtime if it is missing from the environment. Similarly, thepdf.shscript under thefixcommand performs global installations of theplaywrightnpm package and Python dependencies such aspikepdfandpdfplumberusingnpmandpip. - [COMMAND_EXECUTION]: Multiple scripts within the skill utilize
subprocess.runorexecSyncto run system binaries. Specifically,scripts/compile_latex.pyexecutestectonic,scripts/cmd_convert.pyrunssoffice(LibreOffice), andscripts/pdf.shexecutes various shell utilities. Some calls inscripts/browser_helper.jsuseshell: true, which increases the potential for command injection. - [PROMPT_INJECTION]: The skill represents a surface for indirect prompt injection because it processes complex user-provided data (HTML and LaTeX) and possesses high-privilege capabilities. 1. Ingestion points: Untrusted data enters the agent context through the files processed by
scripts/html_to_pdf.js,scripts/compile_latex.py, andscripts/pdf.py. 2. Boundary markers: There are no explicit markers or safety instructions used to wrap the untrusted content during processing. 3. Capability inventory: The skill can execute shell commands, perform browser automation via Playwright, and write to the local file system. 4. Sanitization: No sanitization or validation of the internal content of HTML or TeX files is performed prior to rendering or compilation.
Recommendations
- HIGH: Downloads and executes remote code from: https://drop-sh.fullyjustified.net - DO NOT USE without thorough review
- AI detected serious security threats
Audit Metadata