docx
Fail
Audited by Gen Agent Trust Hub on Jul 10, 2026
Risk Level: HIGHREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The script
scripts/office/soffice.pycontains logic to write C source code to a temporary file, compile it into a shared object (.so) usinggcc, and then inject that object into thesofficeprocess execution using theLD_PRELOADenvironment variable. This pattern is highly characteristic of process-injection attacks. - [COMMAND_EXECUTION]: Multiple scripts execute arbitrary system commands via
subprocess.run, includingscripts/office/soffice.py(which invokesgccandsoffice),scripts/accept_changes.py(which invokessoffice), andscripts/office/validators/redlining.py(which invokesgit diff). - [PROMPT_INJECTION]: The skill possesses a vulnerability surface for indirect prompt injection.
- Ingestion points: Untrusted document data is ingested through
scripts/office/unpack.pyandscripts/office/validate.py. - Boundary markers: None. No delimiters or instructions to ignore embedded commands are present in the processing pipeline.
- Capability inventory: The skill has significant capabilities including file writing and arbitrary command execution through
sofficeandgccas defined inscripts/office/soffice.py. - Sanitization: The skill employs
defusedxmlfor XML parsing, which provides protection against XML External Entity (XXE) attacks, but does not sanitize natural language content that may influence agent logic.
Recommendations
- AI detected serious security threats
Audit Metadata