academic-paper-writer-pro-2
Fail
Audited by Gen Agent Trust Hub on Apr 19, 2026
Risk Level: HIGHREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [REMOTE_CODE_EXECUTION]: The main
SKILL.mdfile (§1.0) contains instructions for the AI agent to auto-update the skill by executingnpx skills addpointing to a different GitHub repository (tfboy1/academic-paper-writer) than the current skill's author (BoHeFan/academic-paper-writer-pro-2). This introduces a supply chain risk where the agent could be tricked into downloading and running code from an unverifiable source. - [COMMAND_EXECUTION]: The script
docx/scripts/office/soffice.pydynamically writes a C shim to the system's temporary directory and compiles it into a shared library usinggcc. This library is then injected into the execution environment of other processes using theLD_PRELOADvariable to intercept system calls likesocketandaccept. This is a highly invasive technique typically used for bypassing security sandboxes. - [COMMAND_EXECUTION]: The skill makes extensive use of
subprocess.runto execute system-level binaries includingsoffice(LibreOffice),pandoc,mmdc(Mermaid CLI),git, andgcc. These commands are executed with arguments derived from document content and configuration files. - [EXTERNAL_DOWNLOADS]: The skill provides numerous download links in
templates/README.mdfor official conference templates (IEEE, ACM, APA, Springer). While these specific links point to well-known academic domains, the skill's instructions encourage the agent to download and process arbitrary binary files (.docx,.pdf) from these external locations. - [COMMAND_EXECUTION]: In
SKILL.md(§3.3), the Mermaid diagram generation pipeline explicitly disables Chromium's security sandbox by passing the--no-sandboxand--disable-setuid-sandboxarguments tommdc(Puppeteer), which increases the risk if processing untrusted or malicious Mermaid code.
Recommendations
- AI detected serious security threats
Audit Metadata