{"id":"GHSA-hc4m-q9jh-xw4j","revision":null,"records":[{"revision":"5a252e6d1dc04a89984ef15fc2d0cc8c","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"GHSA-hc4m-q9jh-xw4j","aliases":[],"title":"nono-cli'scregistry pack verification can fail open when provenance metadata is absent","description":"## Summary\n\nRegistry-installed nono packs are expected to be verified from local provenance metadata before they are used. Two files are relevant:\n\n- `~/.config/nono/packages/lockfile.json`\n- `~/.config/nono/packages/<namespace>/<pack>/.nono-trust.bundle`\n\nTesting shows that nono fails closed when a pack has a trust bundle but no lockfile entry. However, if the trust bundle is also absent, the same pack can load successfully. Deleting security metadata should not make a pack easier to run.\n\n## Affected behavior\n\nObserved with `always-further/claude`:\n\n1. Delete `~/.config/nono/packages/lockfile.json`.\n\n   Result:\n\n   ```text\n   nono: Package verification failed for always-further/claude: pack 'always-further/claude' has a trust bundle but no lockfile entry - reinstall with: nono pull always-further/claude --force\n   ```\n\n2. Delete `~/.config/nono/packages/always-further/claude/.nono-trust.bundle`.\n\n   Result: the profile loads successfully.\n\n3. Restore `.nono-trust.bundle` while the lockfile is still absent.\n\n   Result:\n\n   ```text\n   nono: Package verification failed for always-further/claude: pack 'always-further/claude' has a trust bundle but no lockfile entry - reinstall with: nono pull always-further/claude --force\n   ```\n\n## Impact\n\nIf both the lockfile entry and trust bundle are absent, nono may accept an installed registry pack without artifact hash verification or provenance verification.\n\nThis is especially important for pack-provided session hooks, because session hooks execute on the host outside the sandbox. A pack that contributes host-executed code should not run unless nono can verify that the code is a locked and trusted pack artifact.\n\n## Root cause\n\n`verify_profile_packs` treats the lockfile entry as optional. Existing code fails when a trust bundle exists without a matching lockfile entry, but when the trust bundle is absent too, there is no equivalent hard failure.\n\nThat creates a fail-open state:\n\n- lockfile entry missing\n- trust bundle missing\n- pack directory still present\n- profile can load\n\n## Recommended fix\n\nFor any registry pack selected for execution, require both:\n\n1. A matching lockfile entry in `~/.config/nono/packages/lockfile.json`.\n2. A present and valid `.nono-trust.bundle` in the installed pack directory.\n\nIf either is missing, fail closed with a reinstall instruction, for example:\n\n```text\nreinstall with: nono pull <namespace>/<pack> --force\n```\n\nThis keeps verification monotonic: removing provenance metadata cannot downgrade a verification failure into a successful launch.","state":0,"publishedAt":"2026-07-28T15:51:30+00:00","modifiedAt":"2026-07-28T16:00:25.0074453+00:00","affected":[{"ecosystem":"crates.io","name":"nono-cli","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.61.3"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/always-further/nono/security/advisories/GHSA-hc4m-q9jh-xw4j","https://github.com/nolabs-ai/nono/commit/db07375031642f089d549b4f7b9abece87e39f87","https://github.com/always-further/nono","https://github.com/nolabs-ai/nono/releases/tag/v0.62.0"],"sourceUrl":"https://github.com/advisories/GHSA-hc4m-q9jh-xw4j","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-hc4m-q9jh-xw4j","identifiers":["GHSA-hc4m-q9jh-xw4j"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-23T18:27:17.7572288+00:00","complete":true,"records":1790,"lastAttemptAt":"2026-11-23T18:27:17.7572288+00:00","lastSuccessAt":"2026-11-23T18:27:17.9758173+00:00","error":null,"lastVerifiedAt":"2026-11-23T18:27:17.9758175+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-d008fb8e7e5a0f37166ee57a6d9d22b27e49b9d9438b4ce80c4c6c326ac5d75a-1d24b1a69e2183157b839326f98b3e034f8a4de83f8cec6f5f44595d98df2adf","complete":true,"records":430815,"lastAttemptAt":"2026-11-23T18:25:28.0856631+00:00","lastSuccessAt":"2026-11-23T17:25:41.1725427+00:00","error":null,"lastVerifiedAt":"2026-11-23T18:25:28.0856631+00:00","snapshotPublishedAt":"2026-11-23T17:23:57+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-e327048394824bd39bedd375b7b42309","complete":false,"records":13930,"lastAttemptAt":"2026-11-23T18:36:55.0271309+00:00","lastSuccessAt":"2026-11-23T18:36:55.022+00:00","error":"324 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-23T18:36:55.022+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13643,"expectedIdentifiers":13978,"failedIdentifiers":324},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-23T18:27:17.7572288+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-23T18:27:17.7572288+00:00","lastSuccessAt":"2026-11-23T18:27:17.9765602+00:00","error":null,"lastVerifiedAt":"2026-11-23T18:27:17.9765603+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-a3830779e2b24402abae3167f2abe4f1","complete":true,"records":13942,"lastAttemptAt":"2026-11-23T18:27:19.0376964+00:00","lastSuccessAt":"2026-11-23T18:27:19.034+00:00","error":null,"lastVerifiedAt":"2026-11-23T18:27:19.034+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13978,"expectedIdentifiers":13978,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-a9c862bcf8bde52ce182f69609f4579ca2fc6956e44f694dddf6a66800619683","complete":true,"records":9989,"lastAttemptAt":"2026-11-23T18:27:17.6896495+00:00","lastSuccessAt":"2026-11-22T16:25:54.6432964+00:00","error":null,"lastVerifiedAt":"2026-11-23T18:27:17.6896495+00:00","snapshotPublishedAt":"2026-11-22T16:18:32+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-6ba2352decd0c95d34a1b50f642582aa34659ce946f552488f0a5cea4e0cc09a","complete":true,"records":2020,"lastAttemptAt":"2026-11-23T18:25:28.2387412+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-23T18:25:28.2387412+00:00","snapshotPublishedAt":"2026-11-20T14:48:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-15e801f03affdaac7ba10268556f4d0b3e1b9f897dae85fdcade5fc30d25011c","complete":true,"records":3217,"lastAttemptAt":"2026-11-23T18:27:17.7092886+00:00","lastSuccessAt":"2026-11-23T17:27:41.2539213+00:00","error":null,"lastVerifiedAt":"2026-11-23T18:27:17.7092886+00:00","snapshotPublishedAt":"2026-11-23T16:18:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-2cf94ecce5da48b038cf40cecf367746ff39bd7656a9415282993937f6e7b06d","complete":true,"records":232902,"lastAttemptAt":"2026-11-23T18:27:17.5500547+00:00","lastSuccessAt":"2026-11-23T18:27:16.4553485+00:00","error":null,"lastVerifiedAt":"2026-11-23T18:27:17.5500547+00:00","snapshotPublishedAt":"2026-11-23T18:03:31+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}