Stage 8 · Lesson 5 of 6
Licences, data settings and AI policies
Generated code occasionally matches public code closely, and that code may carry a with conditions such as attribution or sharing your changes. Some tools can block or flag such matches: , for example, can show code references with the source and licence, or block matching suggestions, depending on settings.
Data settings matter too: whether prompts can be kept or used for training depends on the tool, your plan and whether you use a personal or company account; Cursor's , for instance, stops your code being used for training. Finally, your , clients and university set rules on which tools may touch which code and whether you must disclose AI use.
Common trapassuming a tool installed on a work laptop is approved for every .
A question to check yourself, an AI practice session and 3 cheat sheet entries come when you add the roadmap to your account. Add it
Resources for this stage
Start with· follow one of these
- GuideFreeSecurity-Focused Guide for AI Code Assistant Instructions
OpenSSF · Intermediate
Free guidance from OpenSSF on writing security instructions for AI coding tools
- GuideFreeOWASP Top Ten
OWASP · Intermediate
The most common web security risks, which AI-generated code repeats