Skip to content

Rule Reference

SEC456lintai-ai-securitysupply-chainhardeningstablemarkdownwarn

AI markdown: pip http find-links

AI-native markdown installs Python packages with insecure `http://` find-links

Public lane
supply-chain
Category
hardening
Provider
lintai-ai-security
Scope
per-file
Surface
markdown
Tier
stable
Severity
warn
Confidence
high
Detection
structural
Remediation
message only
How to read this lane

Reproducibility, provenance, and dependency hardening review.

How to read this category

Least-privilege, provenance, or operational hygiene 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 AI-native markdown for `pip install` examples that point package discovery at `http://` find-links sources.

Deterministic signal basis

MarkdownSignals exact `pip install` token analysis with `--find-links http://`, `--find-links=http://`, or `-f http://` detection inside parsed markdown regions.

Malicious corpus
skill-pip-http-find-links
Benign corpus
skill-pip-https-find-links-safe
structured evidence required remediation reviewed
Canonical note

Structural stable rule positioned as a supply-chain hardening control: high-precision and actionable, but not a blanket claim of direct repository compromise.

Nearby Signals

Related Rules

SEC456 / MD-PIP-HTTP-FIND-LINKS

SEC456 flags AI-native markdown when a pip install example uses --find-links http://..., --find-links=http://..., or -f http://....

Why It Matters

pip install --find-links http://... points package discovery at an insecure transport. In shared AI-native instructions, that turns an integrity-bypassing supply-chain pattern into copy-pastable setup guidance.

What Triggers It

  • AI-native markdown surface
  • the same parsed markdown region contains a matching pip install, pip3 install, or python -m pip install form
  • the same region also contains one of:
    • --find-links http://
    • --find-links=http://
    • -f http://

The finding points to http://.

What Does Not Trigger It

  • https:// find-links sources
  • --index-url http://... and --extra-index-url http://... because those are covered by SEC449
  • unrelated prose that mentions http:// outside a matching pip install form

Example

Bad:

bash
pip install --find-links http://packages.example.test/simple demo

Better:

bash
pip install --find-links https://packages.example.test/simple demo

Remediation

Replace the insecure http:// find-links source with a normal TLS-verified https:// source.