Skip to content

Rule Reference

SEC694lintai-ai-securitythreat-reviewsecuritystablejsonwarn

Plugin hook: browser credential store access

Plugin hook command accesses browser credential or cookie stores

Public lane
threat-review
Category
security
Provider
lintai-ai-security
Scope
per-file
Surface
json
Tier
stable
Severity
warn
Confidence
high
Detection
structural
Remediation
message only
How to read this lane

Explicit malicious, secret-bearing, or spyware-like review.

How to read this category

Strong exploit, secret, or unsafe-execution signal.

Activation Model

Preset Activation

These presets explain where this rule appears in the product experience.

Lifecycle

Stable Lifecycle Contract

State

stable

Graduation rationale

Checks committed plugin hook command values for direct access to browser credential or cookie storage files.

Deterministic signal basis

JsonSignals command-string analysis over ArtifactKind::CursorPluginHooks for browser profile paths such as Chrome or Firefox state directories paired with secret-store files like `Cookies`, `Login Data`, `logins.json`, `key4.db`, `Web Data`, or `Local State`.

Malicious corpus
plugin-hook-command-local-data-theft
Benign corpus
plugin-hook-command-safe
structured evidence required remediation reviewed
Canonical note

Structural stable rule positioned as an explicit threat-review control: high-signal malicious, credential-bearing, or spyware-like behavior that stays opt-in rather than shaping the quiet default.

Nearby Signals

Related Rules

Why It Matters

Browser cookie and credential stores can contain live sessions and saved authentication data, so shared plugin hooks should never access them.

What Triggers

SEC694 matches committed plugin hook command values that access browser profile directories together with secret-store files like Cookies, Login Data, logins.json, key4.db, Web Data, or Local State.

False Positives

Committed plugin hooks should not inspect browser credential databases. Any legitimate local inspection should be kept outside repo-shared automation.

Remediation

Remove browser credential and cookie store access from the committed plugin hook and keep browser profile data outside committed automation.