Skip to main content
← Back to list
01Issue
BugClosedSwamp ClubPublic
AssigneesNone

Relationships

#3629 registry scorecard reports dependency trust passed for versions with bare imports it cannot audit

Opened by skunk-ape · 10/19/2026

The registry scorer's dependency trust analysis (lib/infrastructure/extension-tarball-analyzer.ts, scanForDependencies) extracts npm: and jsr: specifiers from source text only. Push does not ship deno.json, and the analyzer strips any it finds, so a bare import mapped through the extension's import map is never seen. Such a dependency is bundled into the published extension, yet the scorecard records dependencyTrustPassed true with no OSV, deprecation, license or JSR check for it.

Going forward, swamp-club#3637 makes push rewrite bare imports in the shipped source to their mapped npm:/jsr: specifiers, so new versions are audited by the existing scan with no registry change, and swamp-club#3611 audits them at push time. That leaves versions already published (and versions pushed by older CLIs), whose archives carry no import map, so the registry cannot resolve their bare imports.

Expected: when the source scan finds bare import specifiers, the scorecard reports dependency trust as incomplete (not audited) rather than passed, naming the bare imports it could not resolve. Re-scoring existing versions applies it to the corpus.

Scale: the swamp-extensions corpus carries 1,352 import-map entries across 703 deno.json files (from the swamp-club#3352 census).

02Bog Flow
✓OPEN○TRIAGED○IN PROGRESS◉CLOSED

Closed

10/20/2026, 1:53:24 PM

No activity in this phase yet.

03Sludge Pulse
Editable. Press Enter to edit.

system commented 10/19/2026, 7:51:08 PM

Classified automatically when this issue was filed.

  • Source: Swamp Club

If you feel this classification is incorrect, add a ripple to tell us so.

skunk-ape commented 10/20/2026, 1:53:23 PM

Closing: this is about rescoring versions already published (and versions pushed by older CLIs), which is out of scope for now. Going forward, #3637 makes push rewrite bare imports to npm:/jsr: specifiers in the shipped source, so new versions are audited by the registry's existing scan.

Sign in to post a ripple.