Skip to content

Rule Reference

SEC753lintai-ai-securitysupply-chainhardeningstablejsonwarn

package.json: direct archive URL dependency source

package.json installs a dependency from a direct archive URL source

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 direct archive URL sources that bypass the normal registry release path.

Deterministic signal basis

JsonSignals package manifest analysis over dependency sections for direct `http://` or `https://` archive-like specs ending in `.tgz`, `.tar.gz`, `.tar`, `.zip`, or containing `/tarball/`.

Malicious corpus
package-manifest-direct-url-dependency
Benign corpus
package-manifest-registry-archive-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

Direct archive URLs bypass the normal package registry release path and make dependency review, provenance, and reproducibility harder. The package bytes can change independently of normal registry controls and metadata.

What Triggers

SEC753 matches dependency specs in package.json when they point directly to an http:// or https:// archive-like source such as:

  • .tgz
  • .tar.gz
  • .tar
  • .zip
  • tarball-style URLs containing /tarball/

False Positives

The rule is intentionally narrow. It only evaluates dependency sections and only flags direct archive-style URLs, not ordinary semver versions or normal registry package names.

Remediation

Prefer a published registry release with a reviewed explicit version instead of a direct archive URL dependency.