Skill 1.4.1
Interpret security impact of using AI-assisted tools
Key Concepts
Prompts and the context that tools gather, such as open files, schema and query results, are sent to a model service, so organizations govern which tools and models are allowed and use business plans whose data is not used for training. Secrets and personal data must stay out of prompts, instruction files and sample data. Generated SQL can be wrong or unsafe, for example concatenating input into dynamic SQL, missing a WHERE clause or granting broad permissions, so it needs the same review and testing as human code.
In agent mode, tools act with the permissions of the identity they run as. A database connection used by an agent should use a least-privilege login, ideally read-only or limited to specific objects, and write actions should require approval. MCP servers are code that runs locally or remotely, so only trusted servers should be configured, and tool output can contain prompt-injection text that tries to make the agent run other actions. Copilot in Fabric and the MSSQL extension ask for approval before actions that modify data.