xlsx

Warn

Audited by Socket on Jul 12, 2026

2 alerts found:

SecurityAnomaly
SecurityMEDIUM
scripts/office/soffice.py

The fragment implements a high-impact capability: when a Unix-domain socket check fails, it writes embedded C code to disk, compiles it with gcc, and injects the resulting shared object into LibreOffice via LD_PRELOAD. This is a common mechanism for behavior hooking (network/socket interception) and is also used in malware; however, the provided snippet is incomplete because _SHIM_SOURCE is not shown, so the actual shim behavior cannot be verified. Treat this as a security alert requiring inspection/reproducible build verification of the embedded native source and the produced .so before allowing execution.

Confidence: 45%Severity: 72%
AnomalyLOW
scripts/recalc.py

The main security-relevant behavior is not typical Python data processing; it is provisioning and executing a LibreOffice Basic macro in a persistent per-user macro directory, using soffice in headless mode to run Standard.Module1.RecalculateAndSave against the supplied spreadsheet. No direct network exfiltration or credential theft is evident in the Python fragment, but the macro contents (RECALCULATE_MACRO) and the imported get_soffice_env are decisive for actual maliciousness. This pattern should be treated as medium-to-high risk and requires inspection of the macro string and the office.soffice module for any additional actions beyond recalculation.

Confidence: 62%Severity: 68%
Audit Metadata
Analyzed At
Jul 12, 2026, 03:13 PM
Package URL
pkg:socket/skills-sh/tuyndoan%2Fscientific-agent-skills%2Fxlsx%2F@dd4ad7b30aa433ad00219856d3bde7f098a253287d6ada61f403473cfc3e07a0