SKY-SCA-AGE001 · Supply chain and agent configuration
Dependency version younger than the release-age window
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_hoursunder[tool.skylos.supply_chain]; scans skip the check until it is set to a number above 0.- Finding type
- review
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
requests==2.32.5[project]name = "shop"version = "1.0.0"dependencies = ["requests==2.32.5"] [tool.skylos.supply_chain]min_release_age_hours = 72What Skylos leaves alone
requests==2.32.4[project]name = "shop"version = "1.0.0"dependencies = ["requests==2.32.4"] [tool.skylos.supply_chain]min_release_age_hours = 72Why 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
- Runs with
--sca, and only whenmin_release_age_hoursunder[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. - Skylos hands every pinned npm and PyPI version to the
ca9library, which reads the publish time from the npm registry or PyPI's JSON API. These lookups are the only network requests this rule makes. - On PyPI a release's time is its newest upload: a wheel added today to an old release makes the release new again.
- A version younger than the window is reported, with its age and, when one exists, the newest version that is old enough.
- 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.
Removed: requests==2.32.5Added: requests==2.32.4When 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
ca9decides, it is not hidden by[tool.skylos] ignorein a full scan, and dependency baselines hold only known vulnerabilities. Wait out the window, or setmin_release_age_hours = 0to stop the check.