Skip to content

Rule Reference

SEC753lintai-ai-securitystablejsonwarn

package.json: direct archive URL dependency source

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

Provider
lintai-ai-security
Surface
json
Scope
per_file
Tier
stable
Severity
warn
Confidence
high
Detection
structural
Remediation
message_only

Activation Model

Preset Membership

This rule is part of the builtin activation graph through these preset memberships.

Lifecycle

Stable Lifecycle Contract

State

stable_gated

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 intended as a high-precision check with deterministic evidence.

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.