xlsx
Audited by Socket on Sep 25, 2026
2 alerts found:
Anomalyx2This module conditionally injects a custom shared library into the 'soffice' process using LD_PRELOAD, compiling it at runtime with gcc from an embedded C source string (_SHIM_SOURCE). That mechanism is high impact and can be used for legitimate socket/compatibility shims, but it is also a common pattern for supply-chain or runtime code injection. In the provided snippet, the actual _SHIM_SOURCE content is missing/incomplete, so the presence or absence of malicious logic cannot be determined. Overall: treat as suspicious and review/confirm the shim C payload and distribution integrity.
No clear evidence of intentional malware, tracking, credential theft, or network-based exfiltration in this fragment. The primary security weakness is use of zipfile.ZipFile.extractall(output_path) on an untrusted Office ZIP without validating member paths, enabling potential ZIP Slip/path traversal and arbitrary file write outside the chosen output directory. Additional risk could be introduced by the unseen DOCX helper functions, but that behavior is not assessable from this module alone.