docx

Warn

Audited by Socket on Nov 22, 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 script can write C source at runtime, compile it into a shared library with gcc, and load it into the soffice process via LD_PRELOAD. Because the native shim’s source is missing or truncated, its behavior cannot be verified, and it could execute native code within the soffice process.

Confidence: 62%Severity: 86%
Audit Metadata
Analyzed At
Nov 22, 2026, 05:25 AM
Package URL
pkg:socket/skills-sh/practicalswan%2Fagent-skills%2Fdocx%2F@1dd787a6f677a7703990d7c7561c8deb407dcf48c4ceb5d37139e7f86076c432