Skip to main content

SKY-SCA-AGE001 · Supply chain and agent configuration

Dependency version younger than the release-age window

High

A release-age window is a waiting period: a new package version is not used until it has been public for a set number of hours. SKY-SCA-AGE001 reports an npm or PyPI version in your manifests or lockfiles that was published more recently than your min_release_age_hours.

Languages
requirements*.txt, pyproject.toml, uv.lock, poetry.lock, Pipfile.lock, package.json, npm, pnpm, Yarn and Bun lockfiles
Quality gate
counted toward the gate limits (full and diff scans). Counts toward max_dependency_vulnerabilities, which is 0 by default, so one finding fails --gate.
Needs
min_release_age_hours under [tool.skylos.supply_chain]; scans skip the check until it is set to a number above 0.
Finding type
review
Wrong result? Report itA false positive, a missed case or a confusing message: it goes privately to the founder.

Why it matters

When a maintainer account is taken over, the attacker publishes a new version, and most such versions are found and removed within hours. A project that installs the newest version straight away runs that code; one that waits a day or two usually never sees it.

What Skylos flags

requirements.txt · TextReported on line 1
requests==2.32.5
pyproject.toml · TOML
[project]name = "shop"version = "1.0.0"dependencies = ["requests==2.32.5"] [tool.skylos.supply_chain]min_release_age_hours = 72

What Skylos leaves alone

requirements.txt · Text
requests==2.32.4
pyproject.toml · TOML
[project]name = "shop"version = "1.0.0"dependencies = ["requests==2.32.4"] [tool.skylos.supply_chain]min_release_age_hours = 72

Why Skylos leaves it alone

The same window, but the pinned version was published long before it. Skylos looked up its publish time on PyPI and found it older than 72 hours.

How Skylos decides

  1. Runs with --sca, and only when min_release_age_hours under [tool.skylos.supply_chain] is set above 0 (the most is one year). A gate policy pulled from Skylos Cloud can raise the value but not lower it, and in pull-request CI it is read from the base commit.
  2. Skylos hands every pinned npm and PyPI version to the ca9 library, which reads the publish time from the npm registry or PyPI's JSON API. These lookups are the only network requests this rule makes.
  3. On PyPI a release's time is its newest upload: a wheel added today to an old release makes the release new again.
  4. A version younger than the window is reported, with its age and, when one exists, the newest version that is old enough.
  5. The coding-agent install hook uses the same setting, with a default of 48 hours when it is not set; scans have no default.

How to fix it

Pin the newest version that is older than the window (the message names it), or wait until the new version has aged. If you need the new version at once, for example for a security fix, read its changes first.

requirements.txt · Text · the fix, against the flagged file
Removed: requests==2.32.5Added: requests==2.32.4

When it can be wrong

  • A security release you want quickly is reported like any other new version during the window.

Seeing a case that isn't listed here? Report the wrong result so the rule can be fixed. Don't paste company code: describe the shape of it.

How to silence it

  • Like the other dependency rules ca9 decides, it is not hidden by [tool.skylos] ignore in a full scan, and dependency baselines hold only known vulnerabilities. Wait out the window, or set min_release_age_hours = 0 to stop the check.

From the Skylos rule handbook, Skylos 5.8.0 (commit 5b880b0). All rules.