# SonarQube \+ OpenAI：代理式开发——Killian Carlsen-Phelan（Sonar）

- 原标题：SonarQube \+ OpenAI: Agentic Development — Killian Carlsen-Phelan, Sonar
- 类型：课程
- 来源：YouTube
- 学期：未标注
- 首次精选：2026-10-26 16:31
- 分级：值得看
- 学习层级：进阶
- 主题：[code-review-verification](<https://oplearnx.com/md/topics/code-review-verification.md>)（第 6 位）、[agents-tool-use](<https://oplearnx.com/md/topics/agents-tool-use.md>)（第 37 位）
- 原文链接：[https://youtube.com/watch?v=bI8WyG9YB0I](<https://youtube.com/watch?v=bI8WyG9YB0I>)
- 本站页面：[https://oplearnx.com/resources/pk\_3b51e6d13b47](<https://oplearnx.com/resources/pk_3b51e6d13b47>)

## 摘要

一个会议工作坊视频。演讲者用一个预埋硬编码 API 密钥、SQL 注入路径等问题的 Python 小项目演示流程：用 SonarQube 扫描并把结果带入 Codex，让智能体修复存在漏洞的查询（把字符串拼接改为参数化查询），再通过验证钩子重新检查被修改的代码，把安全反馈放进编码循环。现场搭建了 SonarQube Cloud、其 CLI、插件和 MCP 服务器，展示秘密检测钩子拦截提示词中的伪造凭据、问题列表技能为智能体提供证据、上下文增强在生成前提供编码指引，以及智能体式分析实时检查改动。问答涉及钩子如何被绕过、哪些步骤在本地或容器中运行、哪些功能依赖组织权限。

## 原文涉及

- [GitHub - SonarSource/sonarqube-cli: Command-line interface for SonarQube with AI agent integration. Scan for secrets and get fast feedback on code quality and security from your terminal.](<https://github.com/sonarsource/sonarqube-cli>)

---
来源：LearnMap · 学径（https://oplearnx.com）
