Skip to content

Sync Python port with detect-agent 1.2.0 - #17

Merged
blainekasten merged 1 commit into
mainfrom
cursor/detect-agent-python-port-sync-ec15
Aug 12, 2026
Merged

Sync Python port with detect-agent 1.2.0#17
blainekasten merged 1 commit into
mainfrom
cursor/detect-agent-python-port-sync-ec15

Conversation

@cursor

@cursor cursor Bot commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Summary

  • sync upstream agent-name changes for Claude Code, Codex CLI, Gemini CLI, and OpenCode
  • add Kimi Code and Grok Build detection rules and shared upstream test cases
  • expose matching Python constants and update supported-agent docs

Verification

  • python3 -m pytest (54 passed)
  • python3 -m ruff check .
  • python3 -m ruff format --check .
  • python3 -m mypy detect_agent
  • vendored agents.json and testcases.json are byte-identical to upstream 3ab1df1
Open in Web View Automation 

Co-authored-by: Blaine Kasten <blainekasten@gmail.com>
@broly-code-security-scanner

Copy link
Copy Markdown

Broly Security Scan

Note

Clean scan
No vulnerabilities detected in this PR.

Note

Re-scan this PR anytime with /broly scan — useful after /broly undismiss, or to refresh findings without a new push.

Broly — SAST (zai-org/GLM-5.2) · Secrets · SCA · IaC · GH Actions · Base Images · Supply Chain Threats · Exploit Chains · Adversarial Verification

We're continuously improving Broly's accuracy and finding quality — your feedback is valuable. False positives, missed findings, bugs, and feature requests all welcome.

Ask in #security-engineering   Powered by Together AI

@cursor
cursor Bot requested a review from blainekasten August 12, 2026 14:03
@blainekasten
blainekasten marked this pull request as ready for review August 12, 2026 16:28
@blainekasten
blainekasten merged commit d5a501c into main Aug 12, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants