spanner-basics
Pass
Audited by Gen Agent Trust Hub on Sep 18, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes external data and user-supplied content which is then used to generate or execute database commands.
- Ingestion points: User input containing database designs, DDL, or SQL queries in
SKILL.mdandreferences/schema-design.md; and documentation retrieved via thesearch_documentstool of theDeveloper Knowledge MCP serveras mentioned inSKILL.md. - Boundary markers: The skill includes a "Safety" block in
SKILL.mdrequiring user confirmation for non-emulator changes, but lacks technical delimiters for user-provided data within its internal processing. - Capability inventory: The skill can generate
gcloudcommands and execute SQL/DDL through the MCP server tools listed inreferences/mcp-usage.md(e.g.,execute_sql,update_database_schema). - Sanitization: No specific instructions for sanitizing or escaping user-provided SQL or identifiers are provided.
- [EXTERNAL_DOWNLOADS]: Fetches official client libraries and documentation from Google Cloud sources.
- Downloads: Documentation and SDK installation instructions are linked from official Google Cloud domains in
references/cli-usage.mdandreferences/client-library-usage.md. - Packages: References official packages
google-cloud-spanner(Python),@google-cloud/spanner(Node.js), andcloud.google.com/go/spanner(Go). - [COMMAND_EXECUTION]: The skill generates and instructs the execution of database management and query commands.
- CLI Usage: Generates
gcloud spannercommands for instance and database management inreferences/cli-usage.md. - SQL Execution: Provides workflows for querying system tables (
SPANNER_SYS) and user data using thegcloudCLI and MCP tools.
Audit Metadata