Loading
Add security guidance and least-privilege example to flow YAML template
What does this MR do and why?
Updates DEFAULT_FLOW_YML_STRING in ee/app/assets/javascripts/ai/catalog/constants.js to:
- Include a top-level security notice warning about untrusted content and prompt injection risks, with a link to the security threats documentation.
- Provide a concrete two-agent least-privilege "Documentation Gardener" example (
analyze->report) demonstrating how to separate processing untrusted MR content from acting on the structured summary.
References
- Closes #589580
How to set up and validate locally
yarn jest ee/spec/frontend/ai/catalog/components/ai_catalog_flow_form_spec.jsMR acceptance checklist
Please evaluate this MR against the MR acceptance checklist.