xlsx
Fail
Audited by Gen Agent Trust Hub on Sep 13, 2026
Risk Level: HIGHDYNAMIC_EXECUTIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONPERSISTENCE
Full Analysis
- [DYNAMIC_EXECUTION]: The script
scripts/office/soffice.pycontains a hardcoded C source code string (_SHIM_SOURCE). At runtime, the skill writes this code to a temporary file and compiles it into a shared library usinggcc. It then uses theLD_PRELOADenvironment variable to inject this library into the LibreOffice (soffice) process to intercept and modify system-level socket calls. While this is used to fix functionality in specific environments, the capability to compile and inject arbitrary code is a high-risk pattern. - [COMMAND_EXECUTION]: The skill makes frequent use of
subprocess.runto execute system commands. Key examples include: - Invoking
gccto compile shared libraries inscripts/office/soffice.py. - Running
soffice(LibreOffice) for formula recalculation inscripts/recalc.py. - Executing
git difffor document validation inscripts/office/validators/redlining.py. - [PERSISTENCE]: In
scripts/recalc.py, the skill automatically installs a LibreOffice macro (RecalculateAndSave) into the user's application configuration directory (e.g.,~/.config/libreoffice/). This constitutes a modification of another application's environment and settings. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted Office documents while possessing significant system capabilities, creating a surface where malicious data could influence agent behavior.
- Ingestion points: Data enters via
scripts/office/unpack.pyand spreadsheet libraries inscripts/recalc.pyandSKILL.md. - Boundary markers: Absent. The skill lacks instructions to the agent to treat document content as untrusted data separate from system prompts.
- Capability inventory: Includes shell command execution and library injection capabilities across multiple scripts.
- Sanitization: Employs
defusedxmlfor XML parsing to mitigate XXE, but does not provide logic to sanitize document content for prompt injection markers.
Recommendations
- AI detected serious security threats
Audit Metadata