fabric-lakehouse-perf-remediate

Pass

Audited by Gen Agent Trust Hub on Nov 15, 2026

Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill contains PowerShell scripts (Invoke-FabricTableMaintenance.ps1, Get-DeltaTableHealth.ps1) that execute management operations against the Microsoft Fabric REST API.
  • These scripts utilize Invoke-RestMethod and Invoke-WebRequest to communicate with the well-known service endpoint at api.fabric.microsoft.com.
  • Access is governed by standard Azure authentication using Get-AzAccessToken.
  • [DYNAMIC_EXECUTION]: The PySpark templates (maintenance-notebook.py, perf-diagnostic-notebook.py) generate and execute SQL maintenance commands dynamically at runtime.
  • SQL strings for OPTIMIZE and VACUUM operations are assembled using string formatting based on a configuration list of table names.
  • These generated strings are executed via spark.sql(), which interprets and runs the dynamically created SQL code.
  • [INDIRECT_PROMPT_INJECTION]: The skill exhibits an attack surface for indirect prompt injection where malicious instructions or structural characters could be embedded in data processed by the skill (e.g., table or schema names).
  • Ingestion points: The skill reads table names, schema names, and configuration parameters from the Fabric environment and user-defined lists in TABLES variables.
  • Boundary markers: There are no explicit delimiters or safety instructions used when interpolating these values into SQL command strings or API request bodies.
  • Capability inventory: The skill possesses capabilities to modify table metadata, delete unreferenced files (VACUUM), and interact with workspace-level REST APIs.
  • Sanitization: The PySpark templates use direct f-string interpolation (e.g., f"OPTIMIZE {name}") without escaping or validating the table identifiers, creating a surface for command injection if an attacker can control table names in the Lakehouse.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 15, 2026, 06:41 AM