apps-script-ui
Warn
Audited by Gen Agent Trust Hub on Sep 13, 2026
Risk Level: MEDIUMDYNAMIC_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The function
showProgressgenerates a client-side script by interpolating theserverFunctionNamevariable directly into a script block withinHtmlService.createHtmlOutput. This implementation creates a surface for dynamic code injection if the function name is not strictly validated or comes from an external source. - [EXTERNAL_DOWNLOADS]: The
exportSheetAsPdffunction performs a network request usingUrlFetchApp.fetchto download a PDF version of the spreadsheet. The request includes an OAuth Bearer token for authentication and targets a URL dynamically constructed from the spreadsheet's own location on Google's trusted domain. - [INDIRECT_PROMPT_INJECTION]: The skill provides UI templates that ingest untrusted user input through
ui.prompt()and sidebar input fields. \n- Ingestion points: Input fields inshowSidebarand result ofui.prompt(). \n- Boundary markers: None present in the provided templates to delimit untrusted data. \n- Capability inventory:UrlFetchApp.fetchandgoogle.script.run. \n- Sanitization: The templates do not demonstrate input sanitization or validation before processing data server-side.
Audit Metadata