docx

Warn

Audited by Socket on Sep 15, 2026

2 alerts found:

SecurityAnomaly
SecurityMEDIUM
scripts/accept_changes.py

This module is a document-processing utility that performs headless LibreOffice execution by installing and running a LibreOffice Basic macro from a runtime-writable profile in /tmp. The wrapper itself shows no network access or credential theft, but it provides a strong code-execution primitive (macro write + macro execution via UNO script). Because the macro payload (ACCEPT_CHANGES_MACRO) is not present in the provided fragment, its behavior cannot be verified; if that payload were malicious or tampered, the impact could be substantial within the LibreOffice execution context. Additionally, timeout handling may misreport success, which can undermine output integrity.

Confidence: 45%Severity: 70%
AnomalyLOW
scripts/office/soffice.py

The file drinks a high-risk pattern where C code is written at runtime, compiled with gcc, and preloaded into the soffice process via LD_PRELOAD. Because the _SHIM_SOURCE is not provided, the exact payload cannot be confirmed; therefore, the code should be reviewed in isolation and subjected to rigorous runtime validation and integrity checks before use.

Confidence: 62%Severity: 78%
Audit Metadata
Analyzed At
Sep 15, 2026, 01:13 PM
Package URL
pkg:socket/skills-sh/anthropics%2Fskills%2Fdocx%2F@e539ec0027a639516d6e61c14c4fbbbc1064a2d9f4283766c265cbd569e806fe
Security Audit — socket — docx