lnjoy0/Agentic Code Sec Reviewer
用于 Python 项目的 PR 增量代码审计系统,首先通过传统扫描器以及 LLM 扫描器扫描出漏洞告警,然后使用多智能体进行漏洞研判,最终将真正的安全问题以评论的形式反馈到 PR 中。
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jun 23, 2026
- License
- MIT
Pinned Snippet
uses: lnjoy0/agentic-code-sec-review@3d71c81ba50e8a93f9ab1b4469bdecd861e76ea1 # no releases — HEAD as of 2026-07-11tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| github_token | 用于发表 PR 评论和获取代码 (Required) | yes | — |
| log_level | 日志级别 (DEBUG, INFO, WARNING, ERROR) | no | INFO |
| github_timeout | GitHub API 请求超时时间 | no | 30 |
| github_max_retries | GitHub API 请求最大重试次数 | no | 3 |
| llm_model_name | 大语言模型名称 | yes | — |
| llm_base_url | 大语言模型 API 基础路径 | yes | — |
| llm_api_key | 大语言模型 API Key | yes | — |
| agent_max_rounds | Agent 最大行动轮数 | no | 40 |
| max_critical_rounds | 批判节点的最大审查轮数 | no | 2 |
| scan_context_max_lines | LLM 扫描器的单次扫描上下文最大行数 | no | 500 |
| retrieval_context_max_lines | 代码检索器的检索上下文最大行数 | no | 100 |
| semgrep_rules | Semgrep 的扫描规则 | no | --config=p/default --config=p/security-audit --config=p/secrets --config=p/r2c-security-audit --config=p/insecure-transport --config=p/python --config=p/django --config=p/flask --config=p/sql-injection |
| semgrep_severity | Semgrep 过滤等级 | no | ERROR |
| trivy_severity | Trivy 过滤等级 | no | HIGH,CRITICAL |
| scanner_temperature | Scanner 角色的 temperature | no | 0.23 |
| scanner_top_p | Scanner 角色的 top_p | no | 0.76 |
| router_temperature | Router 角色的 temperature | no | 0.1 |
| router_top_p | Router 角色的 top_p | no | 0.36 |
| injection_expert_temperature | Injection_Expert 角色的 temperature | no | 0.14 |
| injection_expert_top_p | Injection_Expert 角色的 top_p | no | 0.62 |
| data_asset_expert_temperature | Data_Asset_Expert 角色的 temperature | no | 0.14 |
| data_asset_expert_top_p | Data_Asset_Expert 角色的 top_p | no | 0.62 |
| infra_supply_expert_temperature | Infra_Supply_Expert 角色的 temperature | no | 0.14 |
| infra_supply_expert_top_p | Infra_Supply_Expert 角色的 top_p | no | 0.62 |
| logic_identity_expert_temperature | Logic_Identity_Expert 角色的 temperature | no | 0.2 |
| logic_identity_expert_top_p | Logic_Identity_Expert 角色的 top_p | no | 0.7 |
| general_expert_temperature | General_Expert 角色的 temperature | no | 0.25 |
| general_expert_top_p | General_Expert 角色的 top_p | no | 0.75 |
| critic_temperature | Critic 角色的 temperature | no | 0.12 |
| critic_top_p | Critic 角色的 top_p | no | 0.45 |
Outputs
no outputs