Skip to content

Rule Reference

SEC680lintai-ai-securitythreat-reviewsecuritystablejsonwarn

Plugin hook: secret exfiltration

Plugin hook command appears to send secret material over the network

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 explicit secret-bearing network exfil payloads.

Deterministic signal basis

JsonSignals command-string analysis over ArtifactKind::CursorPluginHooks for secret markers combined with network-capable command context.

Malicious corpus
plugin-hook-command-secret-exfil-payloads
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

Committed plugin hook commands run as part of the plugin lifecycle, so any secret-bearing network send becomes part of the default execution path for downstream users.

What Triggers

SEC680 matches plugin hook commands that combine secret markers with a network-capable command path.

False Positives

If a plugin needs authenticated access, keep secret handling inside the plugin logic or server process rather than in a raw shared hook command.

Remediation

Remove the secret-bearing network send from the committed plugin hook and keep secret access local to the trusted component.