xlsx
Warn
Audited by Gen Agent Trust Hub on Jun 29, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: Runtime compilation and process injection.
- File:
scripts/office/soffice.py - Evidence: The script contains embedded C source code and uses
subprocess.run()to executegccfor compiling a shared library (lo_socket_shim.so) at runtime. This library is then injected into thesofficeprocess using theLD_PRELOADenvironment variable to modify low-level socket handling and bypass environment restrictions. - [COMMAND_EXECUTION]: Programmatic macro creation and execution.
- File:
scripts/recalc.py - Evidence: The script writes a StarBasic macro (
Module1.xba) to the local LibreOffice user configuration directory and invokes it via thesofficecommand line to automate formula recalculation within Excel workbooks. - [COMMAND_EXECUTION]: Unsafe processing of untrusted archives.
- File:
scripts/office/unpack.py - Evidence: The script uses
zipfile.ZipFile.extractall()to unpack Office documents without verifying path safety, creating a potential Zip Slip vulnerability surface when processing malicious files. - [COMMAND_EXECUTION]: Subprocess calls for system utilities.
- Files:
scripts/recalc.py,scripts/office/soffice.py,scripts/office/validators/redlining.py - Evidence: Frequent use of
subprocess.run()to execute binaries such assoffice,gcc,gtimeout, andgitbased on user input or file content. - [COMMAND_EXECUTION]: Indirect prompt injection attack surface.
- Files:
scripts/recalc.py,scripts/office/unpack.py - Ingestion points: Data is read from external Excel workbooks via
pandasandopenpyxl. - Boundary markers: Absent. No specific instructions are provided to the agent to disregard or sanitize natural language instructions that might be embedded in the spreadsheet cells.
- Capability inventory: The skill has the ability to write to the file system, execute arbitrary shell commands (via
gcc,soffice), and run office macros. - Sanitization: Minimal. The skill relies on standard parsers;
defusedxmlusage is optional and not enforced in the code logic. - [PROMPT_INJECTION]: Contradictory author and provenance metadata.
- Files:
SKILL.md,LICENSE.txt - Evidence: The
SKILL.mdfrontmatter identifies the author as "K-Dense Inc.", while theLICENSE.txtfile explicitly claims copyright by "Anthropic, PBC". This contradiction in authorship information is misleading regarding the skill's origin and may mask the true source of the code.
Audit Metadata