idfa-ops
Fail
Audited by Gen Agent Trust Hub on May 14, 2026
Risk Level: HIGHREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The
recalc_via_libreofficefunction inscripts/recalc_bridge.pyis vulnerable to macro injection. It constructs a LibreOffice Basic macro by performing a simple string replacement of the{file_path}placeholder with a user-provided filename. A filename containing characters like") : Shell("calc.exe") : remcould allow an attacker to escape theConvertToURLcall and execute arbitrary shell commands with the user's permissions when the macro is executed by thesofficebinary. - [COMMAND_EXECUTION]:
scripts/recalc_bridge.pyusessubprocess.runto executesofficeand other local scripts. It specifically attempts to locate and runrecalc.pyfrom a different skill's directory (~/.claude/skills/xlsx/scripts/recalc.py), which introduces risk if that external script is compromised or malicious. It also invokes thesofficebinary to execute the generated macros. - [EXTERNAL_DOWNLOADS]: The skill uses
uv runto manage its environment, which involves automatically downloading and installing theopenpyxlpackage from PyPI at runtime based on the PEP 723 inline metadata. - [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection (Category 8) through the processing of untrusted Excel files:
- Ingestion points:
scripts/idfa_ops.py(reads Named Range values/formulas) andscripts/idfa_audit.py(reads formulas/comments). - Boundary markers: None. Spreadsheet data is returned directly to the agent context without delimiters or warnings.
- Capability inventory: Subprocess and macro execution in
recalc_bridge.pyand file writing inidfa_ops.py. - Sanitization: There is no escaping or validation of data retrieved from cell formulas or comments before it is returned to the agent as JSON.
Recommendations
- AI detected serious security threats
Audit Metadata