Skip to main content
← Back to list
01Issue
BugClosedSwamp CLIPublicEnterprise
Assigneesstack72

Relationships

#657 `extension quality` false-positive bare-import detection on string literal "flexible"

Opened by webframp · 6/16/2026

Summary

swamp extension quality manifest.yaml fails on @webframp/cloudflare-audit with:

Extension uses bare import specifiers that cannot be resolved by the server-side scorer: "flexible".
Use explicit npm: or jsr: prefixes in your source files (e.g., "npm:package@version").

No actual import of "flexible" exists anywhere in the extension. The string appears only as a Cloudflare SSL mode value in conditionals and messages within the report file:

} else if (ssl === "flexible") {
  findings.push({
    check: "Zone",
    severity: "warn",
    message: 'SSL mode is "flexible" — traffic between Cloudflare and origin is unencrypted',
  });

Reproduction

cd cloudflare-audit   # in the swamp-extensions monorepo
swamp extension quality manifest.yaml

Environment

  • swamp version: 20260615.105123.0-sha.6ace6971
  • Extension: @webframp/cloudflare-audit@2026.05.24.1
  • All imports in the extension use npm:, jsr:, relative paths, or import-mapped @systeminit/swamp-testing

Notes

The @webframp/cloudflare extension (which cloudflare-audit depends on) passes quality at 14/14 on its own. The false positive only triggers when scoring cloudflare-audit, which bundles the dependency.

This was found in the swamp-extensions monorepo (each extension is its own swamp repo). If this is an expected limitation of the scorer's heuristic in this environment, feel free to close as invalid.

02Bog Flow
✓OPEN○TRIAGED○IN PROGRESS◉CLOSED+ 1 MOREASSIGNED+ 1 MOREREVIEW+ 3 MOREPR_MERGED

Closed

6/16/2026, 7:47:16 PM

No activity in this phase yet.

03Sludge Pulse
stack72 assigned stack726/16/2026, 10:34:51 AM
Editable. Press Enter to edit.

stack72 commented 6/16/2026, 5:15:06 PM

Thanks @webframp for reporting this! The fix has been merged and a release is on its way. We appreciate your contribution to swamp.

Sign in to post a ripple.