diff options
| author | Jesse Zhang <j3ssezhang102@gmail.com> | 2026-08-06 14:24:05 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-08-06 16:24:05 +0300 |
| commit | fae0b2365782c59a068fa32ee441afa64626de52 (patch) | |
| tree | b3a392cfdae3340c9896bc2b44e905c372d40372 | |
| parent | 5dd20c0a9d4453896926db8a09b28fe25beaffd6 (diff) | |
fix(detect): ignore Cursor Run Everything status (#2220)
* fix(detect): ignore Cursor Run Everything status
refs #1763
* fix(detect): constrain Cursor approval controls
refs #1763
* test(detect): remove cursor manifest behavior fixture
---------
Co-authored-by: Ogulcan Celik <ogulcancelik@gmail.com>
| -rw-r--r-- | src/detect/manifests/cursor.toml | 6 | ||||
| -rw-r--r-- | website/agent-detection/cursor.toml | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/detect/manifests/cursor.toml b/src/detect/manifests/cursor.toml index c97c03d8..ee03e6db 100644 --- a/src/detect/manifests/cursor.toml +++ b/src/detect/manifests/cursor.toml @@ -1,7 +1,7 @@ id = "cursor" -version = "2026.06.10.1" +version = "2026.08.03.1" min_engine_version = 1 -updated_at = "2026-06-10T00:00:00Z" +updated_at = "2026-08-03T01:08:04Z" aliases = ["cursor-agent"] [[rules]] @@ -29,7 +29,7 @@ any = [ { line_regex = ['(?i)^\s*allow .*\(y\)'] }, { contains = ["keep (n)"] }, { contains = ["skip (esc or n)"] }, - { line_regex = ['(?i)^\s*(run |.*\(y\).*(allow|run \(once\)|→ run))'] }, + { line_regex = ['(?i)^\s*(?:→\s*)?run .*\(y\)'] }, ] [[rules]] diff --git a/website/agent-detection/cursor.toml b/website/agent-detection/cursor.toml index c97c03d8..ee03e6db 100644 --- a/website/agent-detection/cursor.toml +++ b/website/agent-detection/cursor.toml @@ -1,7 +1,7 @@ id = "cursor" -version = "2026.06.10.1" +version = "2026.08.03.1" min_engine_version = 1 -updated_at = "2026-06-10T00:00:00Z" +updated_at = "2026-08-03T01:08:04Z" aliases = ["cursor-agent"] [[rules]] @@ -29,7 +29,7 @@ any = [ { line_regex = ['(?i)^\s*allow .*\(y\)'] }, { contains = ["keep (n)"] }, { contains = ["skip (esc or n)"] }, - { line_regex = ['(?i)^\s*(run |.*\(y\).*(allow|run \(once\)|→ run))'] }, + { line_regex = ['(?i)^\s*(?:→\s*)?run .*\(y\)'] }, ] [[rules]] |
