pptx

Warn

Audited by Socket on Nov 4, 2026

3 alerts found:

Anomalyx3
AnomalyLOW
scripts/office/soffice.py

A wrapper launches soffice and, when Unix sockets are unavailable, writes C source to a temporary file, compiles it with gcc, and injects the resulting shared library into soffice via LD_PRELOAD. This pattern enables arbitrary native code execution inside the trusted application. The exact payload source (_SHIM_SOURCE) is not provided in the available fragment, so the specific malicious behavior cannot be fully verified from the excerpt.

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%
AnomalyLOW
scripts/office/validate.py

The fragment is a document validation CLI and contains no evident malware or intentional malicious behavior. However, extracting a user-supplied Office ZIP with extractall() without explicit safe-member validation presents a potentially serious archive path-traversal/overwrite risk, especially when processing untrusted files. The unseen validators module should be reviewed separately, particularly its repair() implementations. The code is readable and not intentionally obfuscated.

Confidence: 97%Severity: 62%
Audit Metadata
Analyzed At
Nov 4, 2026, 02:05 PM
Package URL
pkg:socket/skills-sh/jim60105%2Fcopilot-prompt%2Fpptx%2F@4e3fdcb62235106668e89e12827568db3b592e19a024abcbc680c92a38b88b11