design-export-repair
Audited by Socket on Aug 10, 2026
1 alert found:
SecurityThis module is primarily a headless LibreOffice PDF converter, but it contains a highly sensitive native-code injection mechanism: it can write C source to a temporary directory, compile it at runtime with gcc, and then inject the resulting shared library into the soffice subprocess via LD_PRELOAD. The contents/intent of the shim (_SHIM_SOURCE) are not visible in the provided snippet, so benign vs malicious behavior cannot be confirmed from this fragment alone; however, the execution primitive (LD_PRELOAD of a runtime-compiled library) is inherently high-risk and should be treated as a potential supply-chain/sandbox-evasion/tampering vector pending full review of the actual shim source and build provenance.