docx

Warn

Audited by Socket on Sep 20, 2026

2 alerts found:

Anomalyx2
AnomalyLOW
scripts/office/soffice.py

The apparent purpose is to launch LibreOffice, with a Linux compatibility shim for systems where AF_UNIX sockets are unavailable. No direct credential theft, network exfiltration, persistence, reverse shell, or destructive behavior is visible in the supplied fragment. However, dynamic compilation and LD_PRELOAD injection are high-impact behaviors, and the missing `_SHIM_SOURCE` prevents verification of the most security-sensitive component. The code cannot execute as provided because it is syntactically incomplete.

Confidence: 97%Severity: 56%
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
Sep 20, 2026, 03:53 AM
Package URL
pkg:socket/skills-sh/agentscope-ai%2Fqwenpaw%2Fdocx%2F@e191696a1aa7a6e96c6d0690c3781754531185435a96269efa36cb7614c0de46