audit-permissions
Pass
Audited by Gen Agent Trust Hub on Sep 15, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- Command Execution: The skill utilizes the
Bashtool to run local configuration checks, invoke the Power Platform CLI (pac env who), and execute specific metadata discovery scripts (query-table-lookups.js,query-table-relationships.js, andvalidate-permissions-schema.js). These operations are restricted to querying the environment's own API endpoint and local workspace settings, which is standard for an analysis and auditing tool. - Indirect Prompt Injection Consideration: The skill processes local site source code and Dataverse metadata to generate its report, creating a potential surface for encountering untrusted data.
- Ingestion points: Source code files and table configuration YAML files are read dynamically from the workspace via the
Glob,Grep, andReadtools in Step 2. - Boundary markers: Specific delimiters instructing the model to ignore natural language instructions embedded within the target files are absent during the analysis phase.
- Capability inventory: The skill executes local helper scripts via the
Bashtool, writes files to the workspace or temp directory, and can optionally spawn a dedicated agent using theAgenttool if authorized by the user. - Sanitization: The generated HTML report template (
assets/audit-report.html) contains explicit client-side escaping routines (escandescAttr) to ensure that data populated from the findings is safely rendered in the web browser.
Audit Metadata