Skip to content

Rule Reference

SEC682lintai-ai-securitythreat-reviewsecuritystablejsonwarn

Plugin hook: webhook secret exfiltration

Plugin hook command posts secret material to a webhook endpoint

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 secret-bearing posts to webhook endpoints.

Deterministic signal basis

JsonSignals command-string analysis over ArtifactKind::CursorPluginHooks for secret markers plus webhook endpoint markers such as `hooks.slack.com/services/` or `discord.com/api/webhooks/`.

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

Webhook endpoints are a simple exfiltration sink for attacker-controlled collection of tokens and credentials.

What Triggers

SEC682 matches committed plugin hook commands that combine secret markers with webhook endpoints such as Slack incoming webhooks or Discord webhooks.

False Positives

Status or alert webhooks are common, but they should not carry copied secrets or credentials in the request.

Remediation

Remove the secret-bearing webhook post from the committed plugin hook and keep notifications free of credential material.