Skip to content

Rule Reference

SEC745lintai-ai-securitysupply-chainhardeningstablejsonwarn

package.json: unbounded dependency version

package.json uses an unbounded dependency version like * or latest

Public lane
supply-chain
Category
hardening
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

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 committed package.json dependency sections for unbounded or mutable selectors that undermine reproducibility.

Deterministic signal basis

JsonSignals package manifest analysis over dependency sections for exact specs equal to `*` or `latest`.

Malicious corpus
package-manifest-unbounded-dependency
Benign corpus
package-manifest-pinned-dependency-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

Why It Matters

Unbounded dependency selectors reduce reproducibility and make installs drift over time, which increases supply-chain review risk for shared automation and CI.

What Triggers

SEC745 matches dependency entries in package.json when the version spec is exactly * or latest inside dependency sections such as dependencies, devDependencies, optionalDependencies, or peerDependencies.

False Positives

Some throwaway demos use latest or *, but committed shared manifests should prefer explicit reviewed versions or constrained ranges so installs stay predictable.

Remediation

Replace * or latest with an explicit reviewed version or a constrained range that matches your update policy.