xlsx
Warn
Audited by Socket on Aug 6, 2026
1 alert found:
SecuritySecurityscripts/office/soffice.py
MEDIUMSecurityMEDIUM
scripts/office/soffice.py
This module contains a high-risk native-code injection pattern: it can dynamically write C code, compile it with gcc at runtime, and preload the resulting shared object into the LibreOffice (soffice) process via LD_PRELOAD. While the apparent intent may be compatibility around UNIX socket behavior, the mechanism is also a common substrate for malicious runtime sabotage. The snippet does not include the actual value of _SHIM_SOURCE, so the specific payload behavior cannot be confirmed as benign; therefore, the safest assessment is that the code should undergo manual review of the full shim source, and runtime behavior validation in an isolated environment before use.
Confidence: 62%Severity: 78%
Audit Metadata