executing-spark
Pass
Audited by Gen Agent Trust Hub on Jul 21, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSREMOTE_CODE_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses
subprocess.runto executeaz account get-access-tokenfor authentication and thefabtool to retrieve workspace identifiers. These operations are required for normal interaction with the Microsoft Fabric environment.\n- [EXTERNAL_DOWNLOADS]: The skill performs network requests toapi.fabric.microsoft.comto communicate with the Livy API for session management and code submission.\n- [REMOTE_CODE_EXECUTION]: A core feature of the skill is submitting PySpark and Python code to be executed on remote Spark compute clusters.\n- [PROMPT_INJECTION]: The skill processes data from lakehouse tables, which introduces a surface for indirect prompt injection if those tables contain malicious instructions.\n - Ingestion points: Lakehouse data is read using
spark.sqlqueries within the Spark session.\n - Boundary markers: No delimiters or instructions to ignore embedded commands are present in the code templates.\n
- Capability inventory: The skill has the ability to execute shell commands locally and arbitrary code on the remote Spark cluster.\n
- Sanitization: There is no evidence of sanitization or validation performed on the data retrieved from external tables.
Audit Metadata