Files
ruflo/v3/@claude-flow/security/src
Dragan Spiridonov c4c66b2c7b fix(plugins): fail closed when the plugin registry is not verified
The live plugin registry CID is unsigned, so discovery always fell back to
the built-in plugin list, whose entries all claim trustLevel "official".
`plugins install` passed that claim on as registry trust, which runs npm
lifecycle scripts and skips the permission gate (#3557) for any listed
plugin, with nothing actually verified.

- Discovery reports `verified` + `unverifiedReason`; only a registry whose
  signature verifies against the pinned key keeps its trust labels. The
  built-in fallback and a registry fetched with requireVerification off are
  reported with every entry as 'unverified'.
- A placeholder pinned key (missing, malformed, all-zero) is never used to
  verify: the all-zero key is small-order and accepts a forged signature.
- CLAUDE_FLOW_STRICT_PLUGINS=true (ADR-145): no fallback to the built-in
  list, and `plugins install` refuses unless --allow-unverified is passed.
- `plugins install` passes registry trust, permissions and checksum only
  for a verified registry entry; `plugins list`/`info` show registry status.
- PluginIntegrityVerifier (@claude-flow/security) skips placeholder anchors,
  such as the all-zero one in trust-anchors.json, and verifies in RFC 8032
  strict mode, which rejects small-order keys.
2026-10-10 16:51:15 +02:00
..
2026-01-04 23:50:45 +00:00
2026-01-05 14:55:55 +00:00
2026-01-04 17:40:48 +00:00
2026-01-04 17:40:48 +00:00