xlsx

Fail

Audited by Socket on Jul 25, 2026

3 alerts found:

Anomalyx2Malware
AnomalyLOW
scripts/recalc.py

This module is primarily a LibreOffice-driven formula recalculation tool, but it also installs (writes) a persistent LibreOffice Basic macro into a user profile directory and then triggers that macro via a soffice script URL. Because the actual RECALCULATE_MACRO payload is not included in the provided fragment (and get_soffice_env is external), the code cannot be confirmed as harmless; the macro could be leveraged for sabotage or arbitrary actions depending on its content.

Confidence: 62%Severity: 60%
MalwareHIGH
scripts/office/soffice.py

This wrapper executes `soffice` with environment-variable customization and, when Unix sockets are unavailable, writes C source to `/tmp`, compiles it with `gcc`, and injects the resulting shared library into `soffice` via `LD_PRELOAD`. That LD_PRELOAD + runtime compilation pattern is highly suspicious and can enable arbitrary native code execution inside a trusted third-party application. The provided fragment is truncated (the actual `_SHIM_SOURCE` payload is missing), so the true maliciousness cannot be verified from this module excerpt alone; security should be treated as high-risk pending inspection of the shim code.

Confidence: 62%Severity: 83%
AnomalyLOW
scripts/office/unpack.py

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.

Confidence: 72%Severity: 64%
Audit Metadata
Analyzed At
Jul 25, 2026, 08:03 PM
Package URL
pkg:socket/skills-sh/adryanmoldokkr32-pixel%2Fanthropics-skills%2Fxlsx%2F@06e91587776a8ccf0094760a3d474c6c66a4165da6d689b26e3458aa223e1d07
Security Audit — socket — xlsx