dsh-standards 1.6.9 → 1.6.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/31-DS-C/346/235/241/346/254/276.md +5 -5
- package/31-DSH-ENTRY/345/205/245/351/227/250/350/247/204/350/214/203.md +0 -0
- package/34-/344/270/211/345/261/202/345/210/206/347/272/247/346/250/241/345/236/213-GB-GBT-GBZ/347/261/273/346/257/224.md +0 -0
- package/40-checker/README.md +0 -0
- package/40-checker/bin/dsh-flow-collect.mjs +0 -0
- package/40-checker/bin/dsh-plugin-verify.mjs +0 -0
- package/40-checker/fixtures/bad/index.mjs +0 -0
- package/40-checker/fixtures/bad/package.json +0 -0
- package/40-checker/fixtures/bad-manifest/index.js +0 -0
- package/40-checker/fixtures/bad-manifest/package.json +0 -0
- package/40-checker/fixtures/bundle/cordis.patch.yml +0 -0
- package/40-checker/fixtures/bundle/package.json +0 -0
- package/40-checker/fixtures/bundle/server.mjs +0 -0
- package/40-checker/fixtures/bundle-patch-only/cordis.patch.yml +0 -0
- package/40-checker/fixtures/bundle-patch-only/package.json +0 -0
- package/40-checker/fixtures/bundle-v0/cordis.patch.yml +0 -0
- package/40-checker/fixtures/bundle-v0/package.json +0 -0
- package/40-checker/fixtures/bundle-v0/server.mjs +0 -0
- package/40-checker/fixtures/c12-command-arg/index.mjs +0 -0
- package/40-checker/fixtures/c12-command-arg/package.json +0 -0
- package/40-checker/fixtures/c12-comment/index.mjs +0 -0
- package/40-checker/fixtures/c12-comment/package.json +0 -0
- package/40-checker/fixtures/c12-compare/index.mjs +0 -0
- package/40-checker/fixtures/c12-compare/package.json +0 -0
- package/40-checker/fixtures/c12-doc-string/index.mjs +0 -0
- package/40-checker/fixtures/c12-doc-string/package.json +0 -0
- package/40-checker/fixtures/c12-grant/index.mjs +0 -0
- package/40-checker/fixtures/c12-grant/package.json +0 -0
- package/40-checker/fixtures/c12-string/index.mjs +0 -0
- package/40-checker/fixtures/c12-string/package.json +0 -0
- package/40-checker/fixtures/client-missing/client.js +0 -0
- package/40-checker/fixtures/client-missing/index.js +0 -0
- package/40-checker/fixtures/client-missing/package.json +0 -0
- package/40-checker/fixtures/declaration-file/index.d.ts +0 -0
- package/40-checker/fixtures/declaration-file/index.mjs +0 -0
- package/40-checker/fixtures/declaration-file/package.json +0 -0
- package/40-checker/fixtures/flow-config/index.js +0 -0
- package/40-checker/fixtures/flow-config/package.json +0 -0
- package/40-checker/fixtures/fs-write/index.mjs +0 -0
- package/40-checker/fixtures/fs-write/package.json +0 -0
- package/40-checker/fixtures/good/index.mjs +0 -0
- package/40-checker/fixtures/good/package.json +0 -0
- package/40-checker/fixtures/hang/index.mjs +0 -0
- package/40-checker/fixtures/hang/package.json +0 -0
- package/40-checker/fixtures/import-local-side-effect/index.mjs +0 -0
- package/40-checker/fixtures/import-local-side-effect/package.json +0 -0
- package/40-checker/fixtures/import-local-side-effect/side-effectful.mjs +0 -0
- package/40-checker/fixtures/import-open-readonly/index.mjs +0 -0
- package/40-checker/fixtures/import-open-readonly/package.json +0 -0
- package/40-checker/fixtures/import-package-only/index.mjs +0 -0
- package/40-checker/fixtures/import-package-only/package.json +0 -0
- package/40-checker/fixtures/import-parse-error/index.mjs +0 -0
- package/40-checker/fixtures/import-parse-error/package.json +0 -0
- package/40-checker/fixtures/import-side-effect/index.mjs +0 -0
- package/40-checker/fixtures/import-side-effect/package.json +0 -0
- package/40-checker/fixtures/import-side-effect-nonentry/index.mjs +0 -0
- package/40-checker/fixtures/import-side-effect-nonentry/package.json +0 -0
- package/40-checker/fixtures/import-side-effect-nonentry/selfcheck.mjs +0 -0
- package/40-checker/fixtures/import-void-main/index.mjs +0 -0
- package/40-checker/fixtures/import-void-main/package.json +0 -0
- package/40-checker/fixtures/known-answer/expected.json +0 -0
- package/40-checker/fixtures/market-index-real.json +0 -0
- package/40-checker/fixtures/market-index.json +0 -0
- package/40-checker/fixtures/negative/bad-entry/package.json +0 -0
- package/40-checker/fixtures/negative/no-entry/package.json +0 -0
- package/40-checker/fixtures/negative/no-patch/package.json +0 -0
- package/40-checker/fixtures/negative/root-missing/cordis.patch.yml +0 -0
- package/40-checker/fixtures/negative/root-missing/package.json +0 -0
- package/40-checker/fixtures/negative/workspace/package.json +0 -0
- package/40-checker/fixtures/no-source/package.json +0 -0
- package/40-checker/fixtures/parse-error-nonentry/index.mjs +0 -0
- package/40-checker/fixtures/parse-error-nonentry/package.json +0 -0
- package/40-checker/fixtures/parse-error-nonentry/references/broken.js +0 -0
- package/40-checker/fixtures/security/sec11-cred-declared/index.mjs +0 -0
- package/40-checker/fixtures/security/sec11-cred-declared/package.json +0 -0
- package/40-checker/fixtures/security/sec11-cred-list/index.mjs +0 -0
- package/40-checker/fixtures/security/sec11-cred-list/package.json +0 -0
- package/40-checker/fixtures/security/sec11-cred-undeclared/index.mjs +0 -0
- package/40-checker/fixtures/security/sec11-cred-undeclared/package.json +0 -0
- package/40-checker/fixtures/security/sec15-clean/index.mjs +0 -0
- package/40-checker/fixtures/security/sec15-clean/package.json +0 -0
- package/40-checker/fixtures/security/sec15-install-cred/index.mjs +0 -0
- package/40-checker/fixtures/security/sec15-install-cred/install.js +0 -0
- package/40-checker/fixtures/security/sec15-install-cred/package.json +0 -0
- package/40-checker/fixtures/security/sec15-install-curl/index.mjs +0 -0
- package/40-checker/fixtures/security/sec15-install-curl/package.json +0 -0
- package/40-checker/fixtures/security/sec15-install-curl/scripts/install.sh +0 -0
- package/40-checker/fixtures/security/sec15-install-danger/index.mjs +0 -0
- package/40-checker/fixtures/security/sec15-install-danger/install.js +0 -0
- package/40-checker/fixtures/security/sec15-install-danger/package.json +0 -0
- package/40-checker/fixtures/security/sec15-install-download-safe/index.js +0 -0
- package/40-checker/fixtures/security/sec15-install-download-safe/package.json +0 -0
- package/40-checker/fixtures/security/sec15-install-download-safe/scripts/install.js +0 -0
- package/40-checker/fixtures/security/sec15-install-download-safe/scripts/local-util.cjs +0 -0
- package/40-checker/fixtures/security/sec15-install-dynamic/index.js +0 -0
- package/40-checker/fixtures/security/sec15-install-dynamic/package.json +0 -0
- package/40-checker/fixtures/security/sec15-install-dynamic/scripts/install.js +0 -0
- package/40-checker/fixtures/security/sec15-install-remote-literal/index.js +0 -0
- package/40-checker/fixtures/security/sec15-install-remote-literal/package.json +0 -0
- package/40-checker/fixtures/security/sec15-install-remote-literal/scripts/install.js +0 -0
- package/40-checker/fixtures/security/sec15-install-safe/index.mjs +0 -0
- package/40-checker/fixtures/security/sec15-install-safe/install.js +0 -0
- package/40-checker/fixtures/security/sec15-install-safe/package.json +0 -0
- package/40-checker/fixtures/security/sec15-missing-ref/index.mjs +0 -0
- package/40-checker/fixtures/security/sec15-missing-ref/package.json +0 -0
- package/40-checker/fixtures/security/sec15-node/index.mjs +0 -0
- package/40-checker/fixtures/security/sec15-node/package.json +0 -0
- package/40-checker/fixtures/security/sec15-node/scripts/build.mjs +0 -0
- package/40-checker/fixtures/security/sec15-pipe/index.mjs +0 -0
- package/40-checker/fixtures/security/sec15-pipe/package.json +0 -0
- package/40-checker/fixtures/security/sec16-base64-clean/index.mjs +0 -0
- package/40-checker/fixtures/security/sec16-base64-clean/package.json +0 -0
- package/40-checker/fixtures/security/sec16-base64-eval/index.mjs +0 -0
- package/40-checker/fixtures/security/sec16-base64-eval/package.json +0 -0
- package/40-checker/fixtures/security/sec16-client/index.mjs +0 -0
- package/40-checker/fixtures/security/sec16-client/lib/client.js +0 -0
- package/40-checker/fixtures/security/sec16-client/package.json +0 -0
- package/40-checker/fixtures/security/sec16-declared/index.mjs +0 -0
- package/40-checker/fixtures/security/sec16-declared/package.json +0 -0
- package/40-checker/fixtures/security/sec16-eval/index.mjs +0 -0
- package/40-checker/fixtures/security/sec16-eval/package.json +0 -0
- package/40-checker/fixtures/security/sec16-exec-curl/index.mjs +0 -0
- package/40-checker/fixtures/security/sec16-exec-curl/package.json +0 -0
- package/40-checker/fixtures/security/sec16-import-only/index.mjs +0 -0
- package/40-checker/fixtures/security/sec16-import-only/package.json +0 -0
- package/40-checker/fixtures/security/sec16-require/index.mjs +0 -0
- package/40-checker/fixtures/security/sec16-require/package.json +0 -0
- package/40-checker/fixtures/security/sec16-spawn-shell/index.mjs +0 -0
- package/40-checker/fixtures/security/sec16-spawn-shell/package.json +0 -0
- package/40-checker/fixtures/security/sec16-subprocess-safe/index.mjs +0 -0
- package/40-checker/fixtures/security/sec16-subprocess-safe/package.json +0 -0
- package/40-checker/fixtures/security/sec16-vendor-bundle/lib/index.js +0 -0
- package/40-checker/fixtures/security/sec16-vendor-bundle/package.json +0 -0
- package/40-checker/fixtures/security/sec16-vendor-decoy/lib/index.js +0 -0
- package/40-checker/fixtures/security/sec16-vendor-decoy/package.json +0 -0
- package/40-checker/fixtures/security/sec16-vendor-path/index.mjs +0 -0
- package/40-checker/fixtures/security/sec16-vendor-path/package.json +0 -0
- package/40-checker/fixtures/security/sec16-vendor-path/vendor/schemastery.mjs +0 -0
- package/40-checker/fixtures/security/sec17-alias-clean/data.txt +0 -0
- package/40-checker/fixtures/security/sec17-alias-clean/index.mjs +0 -0
- package/40-checker/fixtures/security/sec17-alias-clean/package.json +0 -0
- package/40-checker/fixtures/security/sec17-alias-read/index.mjs +0 -0
- package/40-checker/fixtures/security/sec17-alias-read/package.json +0 -0
- package/40-checker/fixtures/security/sec17-base64-path/index.mjs +0 -0
- package/40-checker/fixtures/security/sec17-base64-path/package.json +0 -0
- package/40-checker/fixtures/security/sec17-base64-path-clean/data/config.json +0 -0
- package/40-checker/fixtures/security/sec17-base64-path-clean/index.mjs +0 -0
- package/40-checker/fixtures/security/sec17-base64-path-clean/package.json +0 -0
- package/40-checker/fixtures/security/sec17-cred-exfil/index.mjs +0 -0
- package/40-checker/fixtures/security/sec17-cred-exfil/package.json +0 -0
- package/40-checker/fixtures/security/sec17-env/index.mjs +0 -0
- package/40-checker/fixtures/security/sec17-env/package.json +0 -0
- package/40-checker/fixtures/security/sec17-home-env/index.js +0 -0
- package/40-checker/fixtures/security/sec17-home-env/package.json +0 -0
- package/40-checker/fixtures/security/sec17-home-env-clean/index.mjs +0 -0
- package/40-checker/fixtures/security/sec17-home-env-clean/package.json +0 -0
- package/40-checker/fixtures/security/sec17-seam/index.mjs +0 -0
- package/40-checker/fixtures/security/sec17-seam/package.json +0 -0
- package/40-checker/fixtures/security/sec17-ssh/index.mjs +0 -0
- package/40-checker/fixtures/security/sec17-ssh/package.json +0 -0
- package/40-checker/fixtures/security/sec18-bad/index.mjs +0 -0
- package/40-checker/fixtures/security/sec18-bad/package.json +0 -0
- package/40-checker/fixtures/security/sec18-good/index.mjs +0 -0
- package/40-checker/fixtures/security/sec18-good/package.json +0 -0
- package/40-checker/fixtures/security/sec18-split-fetch/index.mjs +0 -0
- package/40-checker/fixtures/security/sec18-split-fetch/package.json +0 -0
- package/40-checker/fixtures/security/sec18-split-fetch-clean/index.mjs +0 -0
- package/40-checker/fixtures/security/sec18-split-fetch-clean/package.json +0 -0
- package/40-checker/fixtures/security/sec18-undeclared/index.mjs +0 -0
- package/40-checker/fixtures/security/sec18-undeclared/package.json +0 -0
- package/40-checker/fixtures/security/sec19-blob/index.mjs +0 -0
- package/40-checker/fixtures/security/sec19-blob/package.json +0 -0
- package/40-checker/fixtures/security/sec19-clean/index.mjs +0 -0
- package/40-checker/fixtures/security/sec19-clean/package.json +0 -0
- package/40-checker/fixtures/security/sec19-wasm/blob.wasm +0 -0
- package/40-checker/fixtures/security/sec19-wasm/index.mjs +0 -0
- package/40-checker/fixtures/security/sec19-wasm/package.json +0 -0
- package/40-checker/fixtures/security/sec20-unwrapped/index.mjs +0 -0
- package/40-checker/fixtures/security/sec20-unwrapped/package.json +0 -0
- package/40-checker/fixtures/security/sec20-wrapped/index.mjs +0 -0
- package/40-checker/fixtures/security/sec20-wrapped/package.json +0 -0
- package/40-checker/fixtures/security/sec21-known/index.mjs +0 -0
- package/40-checker/fixtures/security/sec21-known/package.json +0 -0
- package/40-checker/fixtures/security/sec21-typosquat/index.mjs +0 -0
- package/40-checker/fixtures/security/sec21-typosquat/package.json +0 -0
- package/40-checker/fixtures/security/sec22-attested/index.mjs +0 -0
- package/40-checker/fixtures/security/sec22-attested/package.json +0 -0
- package/40-checker/fixtures/security/sec22-none/index.mjs +0 -0
- package/40-checker/fixtures/security/sec22-none/package.json +0 -0
- package/40-checker/package.json +0 -0
- package/40-checker/samples/README.md +0 -0
- package/40-checker/samples/entry18.json +0 -0
- package/40-checker/samples/frame.json +0 -0
- package/40-checker/scripts/apply-overlay.mjs +0 -0
- package/40-checker/scripts/attestation-check.mjs +0 -0
- package/40-checker/scripts/build-offline-kit.mjs +4 -1
- package/40-checker/scripts/build-sidecar.mjs +9 -2
- package/40-checker/scripts/bundle-smoke.mjs +0 -0
- package/40-checker/scripts/claim-check.mjs +0 -0
- package/40-checker/scripts/clause-map.mjs +0 -0
- package/40-checker/scripts/collect-fixtures.mjs +0 -0
- package/40-checker/scripts/dashboard.mjs +0 -0
- package/40-checker/scripts/dco-check.mjs +0 -0
- package/40-checker/scripts/dependabot-check.mjs +0 -0
- package/40-checker/scripts/doc-commands-check.mjs +0 -0
- package/40-checker/scripts/entry-scan.mjs +0 -0
- package/40-checker/scripts/entry-validate.mjs +0 -0
- package/40-checker/scripts/entry18-attribution.mjs +0 -0
- package/40-checker/scripts/entry18-ci.mjs +0 -0
- package/40-checker/scripts/entry18-realweb-summary.mjs +0 -0
- package/40-checker/scripts/entry18-web.mjs +0 -0
- package/40-checker/scripts/evidence-chain.mjs +0 -0
- package/40-checker/scripts/flow-collect.mjs +7 -6
- package/40-checker/scripts/flow-index.mjs +0 -0
- package/40-checker/scripts/flow-sample-ci.mjs +0 -0
- package/40-checker/scripts/governance-check.mjs +0 -0
- package/40-checker/scripts/host-farm.mjs +0 -0
- package/40-checker/scripts/journey-config-observe.mjs +0 -0
- package/40-checker/scripts/journey-disclosure-shape.mjs +0 -0
- package/40-checker/scripts/journey-runtime.mjs +0 -0
- package/40-checker/scripts/journey.mjs +0 -0
- package/40-checker/scripts/label-drift.mjs +0 -0
- package/40-checker/scripts/label-sync.mjs +0 -0
- package/40-checker/scripts/label-verify.mjs +0 -0
- package/40-checker/scripts/landlock-exec.c +0 -0
- package/40-checker/scripts/level-audit.mjs +0 -0
- package/40-checker/scripts/m1-sidecar.mjs +0 -0
- package/40-checker/scripts/m2-runner.mjs +0 -0
- package/40-checker/scripts/round-robin.mjs +0 -0
- package/40-checker/scripts/run-tests.mjs +0 -0
- package/40-checker/scripts/runtime-child.mjs +0 -0
- package/40-checker/scripts/sample-frame.mjs +0 -0
- package/40-checker/scripts/sample20-ci.mjs +0 -0
- package/40-checker/scripts/sample60-ci.mjs +0 -0
- package/40-checker/scripts/sign-evidence.mjs +0 -0
- package/40-checker/scripts/stale-check.mjs +0 -0
- package/40-checker/scripts/surveillance.mjs +0 -0
- package/40-checker/scripts/web-probe.mjs +0 -0
- package/40-checker/src/author-cli.mjs +0 -0
- package/40-checker/src/author-report.mjs +0 -0
- package/40-checker/src/bundle-static.mjs +0 -0
- package/40-checker/src/cli.mjs +0 -0
- package/40-checker/src/client-shape.mjs +0 -0
- package/40-checker/src/declarations.mjs +46 -3
- package/40-checker/src/flow-evidence.mjs +4 -3
- package/40-checker/src/index.mjs +0 -0
- package/40-checker/src/install-spec.mjs +0 -0
- package/40-checker/src/label.mjs +0 -0
- package/40-checker/src/manifest.mjs +0 -0
- package/40-checker/src/npm-command.mjs +22 -0
- package/40-checker/src/permissions.mjs +0 -0
- package/40-checker/src/remediation.mjs +0 -0
- package/40-checker/src/report.mjs +0 -0
- package/40-checker/src/result.mjs +0 -0
- package/40-checker/src/runtime-child.mjs +0 -0
- package/40-checker/src/runtime.mjs +0 -0
- package/40-checker/src/sandbox-env.mjs +0 -0
- package/40-checker/src/sandbox-run.mjs +0 -0
- package/40-checker/src/security.mjs +0 -0
- package/40-checker/src/semver.mjs +0 -0
- package/40-checker/src/signature.mjs +0 -0
- package/40-checker/src/util.mjs +0 -0
- package/40-checker/vendor/babel/README.md +0 -0
- package/40-checker/vendor/babel/index.cjs +0 -0
- package/40-checker/vendor/babel/node_modules/@babel/helper-string-parser/LICENSE +0 -0
- package/40-checker/vendor/babel/node_modules/@babel/helper-string-parser/README.md +0 -0
- package/40-checker/vendor/babel/node_modules/@babel/helper-string-parser/lib/index.d.ts +0 -0
- package/40-checker/vendor/babel/node_modules/@babel/helper-string-parser/lib/index.js +0 -0
- package/40-checker/vendor/babel/node_modules/@babel/helper-string-parser/package.json +0 -0
- package/40-checker/vendor/babel/node_modules/@babel/helper-validator-identifier/LICENSE +0 -0
- package/40-checker/vendor/babel/node_modules/@babel/helper-validator-identifier/README.md +0 -0
- package/40-checker/vendor/babel/node_modules/@babel/helper-validator-identifier/lib/identifier-browser.js +0 -0
- package/40-checker/vendor/babel/node_modules/@babel/helper-validator-identifier/lib/identifier.js +0 -0
- package/40-checker/vendor/babel/node_modules/@babel/helper-validator-identifier/lib/index.d.ts +0 -0
- package/40-checker/vendor/babel/node_modules/@babel/helper-validator-identifier/lib/index.js +0 -0
- package/40-checker/vendor/babel/node_modules/@babel/helper-validator-identifier/package.json +0 -0
- package/40-checker/vendor/babel/node_modules/@babel/parser/CHANGELOG.md +0 -0
- package/40-checker/vendor/babel/node_modules/@babel/parser/LICENSE +0 -0
- package/40-checker/vendor/babel/node_modules/@babel/parser/README.md +0 -0
- package/40-checker/vendor/babel/node_modules/@babel/parser/bin/babel-parser.js +0 -0
- package/40-checker/vendor/babel/node_modules/@babel/parser/lib/index.d.ts +0 -0
- package/40-checker/vendor/babel/node_modules/@babel/parser/lib/index.js +0 -0
- package/40-checker/vendor/babel/node_modules/@babel/parser/package.json +0 -0
- package/40-checker/vendor/babel/node_modules/@babel/parser/typings/babel-parser.d.ts +0 -0
- package/40-checker/vendor/babel/node_modules/@babel/types/LICENSE +0 -0
- package/40-checker/vendor/babel/node_modules/@babel/types/README.md +0 -0
- package/40-checker/vendor/babel/node_modules/@babel/types/lib/index-legacy.d.ts +0 -0
- package/40-checker/vendor/babel/node_modules/@babel/types/lib/index.d.ts +0 -0
- package/40-checker/vendor/babel/node_modules/@babel/types/lib/index.js +0 -0
- package/40-checker/vendor/babel/node_modules/@babel/types/lib/index.js.flow +0 -0
- package/40-checker/vendor/babel/node_modules/@babel/types/package.json +0 -0
- package/CHANGELOG.md +14 -0
- package/LICENSE +0 -0
- package/LICENSE-APACHE +0 -0
- package/LICENSE-CC-BY +0 -0
- package/NOTICE +0 -0
- package/NOTICE.md +0 -0
- package/README.en.md +6 -0
- package/README.es.md +0 -0
- package/README.hi.md +0 -0
- package/README.md +6 -0
- package/README.pt.md +0 -0
- package/SECURITY.md +0 -0
- package/bin/dsh-flow-collect.mjs +0 -0
- package/bin/dsh-levels.mjs +0 -0
- package/bin/dsh-standards.mjs +0 -0
- package/docs/BOOST-FIXTURES-2026-11-02.md +0 -0
- package/docs/DEVELOPER-JOURNEY.md +0 -0
- package/docs/HOST-J3-BUG-REPORT-DRAFT.md +0 -0
- package/docs/HOST-J3-CONFIG-REPRO-2026-11-02.md +0 -0
- package/docs/NAMING-FALLBACK.md +0 -0
- package/docs/SIGNING.md +0 -0
- package/docs/assets/dsh-standards-flow-dark.svg +0 -0
- package/docs/assets/dsh-standards-flow-light.svg +0 -0
- package/docs/assets/dsh-standards-flow-v3-dark.svg +0 -0
- package/docs/assets/dsh-standards-flow-v3-light.svg +0 -0
- package/docs/assets/dsh-standards-flow-v4-dark.svg +0 -0
- package/docs/assets/dsh-standards-flow-v4-light.svg +0 -0
- package/docs/assets/dsh-standards-hero-en-dark.webp +0 -0
- package/docs/assets/dsh-standards-hero-en-light.webp +0 -0
- package/docs/assets/dsh-standards-hero-zh-dark.webp +0 -0
- package/docs/assets/dsh-standards-hero-zh-light.webp +0 -0
- package/docs/coverage.md +0 -0
- package/docs/fork-policy.md +0 -0
- package/docs/full-test-plan-2026-11-02.md +0 -0
- package/docs/incident.md +0 -0
- package/docs/onboarding.md +0 -0
- package/docs/privacy.md +0 -0
- package/docs/release.md +0 -0
- package/docs/scope-security.md +0 -0
- package/docs/status-taxonomy.md +0 -0
- package/docs/sunset.md +0 -0
- package/docs/translating.md +0 -0
- package/package.json +1 -1
- package/spec/README.md +0 -0
- package/spec/boost/README.md +0 -0
- package/spec/clauses.json +0 -0
- package/spec/coverage-contract.md +0 -0
- package/spec/dsc-clauses.json +1 -1
- package/spec/entry/README.md +0 -0
- package/spec/examples/boost-card.example.json +0 -0
- package/spec/examples/flow-evidence.example.json +0 -0
- package/spec/flow/README.md +0 -0
- package/spec/flow-evidence.schema.json +0 -0
- package/spec/levels.json +0 -0
- package/spec/levels.schema.json +0 -0
- package/spec/reference-suite.json +0 -0
- package/spec/remediation.json +3 -3
- package/spec/schemas/advice.schema.json +0 -0
- package/spec/schemas/attestation.schema.json +0 -0
- package/spec/schemas/boost-card.schema.json +0 -0
- package/spec/schemas/conformance.schema.json +0 -0
- package/spec/schemas/evidence.schema.json +0 -0
- package/spec/schemas/report.schema.json +0 -0
- package/spec/schemas/sidecar.schema.json +0 -228
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -40,6 +40,7 @@ import {
|
|
|
40
40
|
sha256File, sha256Value, treeSha256, validateFlowEvidence,
|
|
41
41
|
} from '../src/flow-evidence.mjs'
|
|
42
42
|
import { sanitizedEnv } from '../src/sandbox-env.mjs'
|
|
43
|
+
import { npmCommand } from '../src/npm-command.mjs'
|
|
43
44
|
import {
|
|
44
45
|
assertNoCredentialEnv, buildSandboxPlan, runInProcessTree, sandboxArgv,
|
|
45
46
|
} from '../src/sandbox-run.mjs'
|
|
@@ -51,15 +52,15 @@ const JOURNEY_RUNTIME = path.join(HERE, 'journey-runtime.mjs')
|
|
|
51
52
|
const GIT = process.platform === 'win32' ? 'git.exe' : 'git'
|
|
52
53
|
|
|
53
54
|
/**
|
|
54
|
-
* npm's Windows launcher is `npm.cmd`. Since Node 18.20/20.12 a
|
|
55
|
+
* npm's Windows launcher is `npm.cmd`. Since Node 18.20/20.12 a bare
|
|
55
56
|
* spawnSync('npm.cmd', ...) without a shell fails with EINVAL (the
|
|
56
|
-
* CVE-2024-27980 mitigation).
|
|
57
|
-
*
|
|
58
|
-
* is testable without
|
|
57
|
+
* CVE-2024-27980 mitigation). `npm-command.mjs` routes Windows through
|
|
58
|
+
* `cmd.exe /d /s /c`, which also avoids the shell:true DEP0190 warning; POSIX
|
|
59
|
+
* keeps a direct spawn. Exported so the platform choice is testable without
|
|
60
|
+
* running npm.
|
|
59
61
|
*/
|
|
60
62
|
export function npmPackInvocation(platform = process.platform, args = ['pack', '--ignore-scripts', '--json']) {
|
|
61
|
-
|
|
62
|
-
return { command: 'npm', args, shell: false }
|
|
63
|
+
return npmCommand(platform, args)
|
|
63
64
|
}
|
|
64
65
|
|
|
65
66
|
const STATIC_CHECK_IDS = {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/40-checker/src/cli.mjs
CHANGED
|
File without changes
|
|
File without changes
|
|
@@ -35,6 +35,37 @@ const TRIGGERS = [
|
|
|
35
35
|
{ cap: 'network:egress', pattern: /ctx\.web\b|\bfetch\s*\(/g },
|
|
36
36
|
]
|
|
37
37
|
|
|
38
|
+
// C-11.5 observation evidence (NOT C-11.2 triggers). The coarse `ctx.fs` trigger
|
|
39
|
+
// cannot see direct `node:fs` use, and it cannot tell reads from writes: a plugin
|
|
40
|
+
// that declares fs:read/fs:write and reads/writes through node:fs was told its
|
|
41
|
+
// declaration was "over-declared" (#5). These patterns only suppress that false
|
|
42
|
+
// positive; they never produce a new FAIL.
|
|
43
|
+
const FS_CTX_READ = /ctx\.fs\.(?:readText|streamText|readBytes|readByteRange|listDir|stat|lstat)\s*\(/g
|
|
44
|
+
const FS_CTX_WRITE = /ctx\.fs\.(?:writeText|editText|patchText|deleteFile|moveFile)\s*\(/g
|
|
45
|
+
const NODE_FS_IMPORT = /(?:from\s*['"](?:node:)?fs(?:\/promises)?['"]|require\(\s*['"](?:node:)?fs(?:\/promises)?['"])/g
|
|
46
|
+
const NODE_FS_READ = /\b(?:readFileSync|readFile|createReadStream|readdirSync|readdir|statSync|stat|lstatSync|lstat|existsSync|accessSync|access|readlinkSync|readlink|realpathSync|realpath)\s*\(/g
|
|
47
|
+
const NODE_FS_WRITE = /\b(?:writeFileSync|writeFile|appendFileSync|appendFile|createWriteStream|mkdirSync|mkdir|rmSync|rm|rmdirSync|rmdir|unlinkSync|unlink|renameSync|rename|copyFileSync|copyFile|chmodSync|chmod|symlinkSync|symlink|truncateSync|truncate|writeSync)\s*\(/g
|
|
48
|
+
|
|
49
|
+
// Capabilities with no static observation surface in this checker version. C-11.5
|
|
50
|
+
// is reported as not-run for them instead of a permanent, misleading WARN.
|
|
51
|
+
const NO_OBSERVATION_SURFACE = new Set(['credentials:provider'])
|
|
52
|
+
|
|
53
|
+
/** Per-capability observation evidence for C-11.5 (never used by C-11.2). */
|
|
54
|
+
function observationEvidence(sources) {
|
|
55
|
+
const out = new Map()
|
|
56
|
+
const add = (cap, hits) => {
|
|
57
|
+
if (hits.length > 0) out.set(cap, [...(out.get(cap) ?? []), ...hits])
|
|
58
|
+
}
|
|
59
|
+
add('fs:read', regexHits(sources, FS_CTX_READ))
|
|
60
|
+
add('fs:write', regexHits(sources, FS_CTX_WRITE))
|
|
61
|
+
for (const source of sources) {
|
|
62
|
+
if (regexHits([source], NODE_FS_IMPORT).length === 0) continue
|
|
63
|
+
add('fs:read', regexHits([source], NODE_FS_READ))
|
|
64
|
+
add('fs:write', regexHits([source], NODE_FS_WRITE))
|
|
65
|
+
}
|
|
66
|
+
return out
|
|
67
|
+
}
|
|
68
|
+
|
|
38
69
|
function capabilityList(manifest) {
|
|
39
70
|
const value = manifest?.dsh?.capabilities
|
|
40
71
|
if (value === undefined) return { defined: false, list: [], error: null }
|
|
@@ -622,6 +653,7 @@ export function checkCapabilities(manifest, sources, patch) {
|
|
|
622
653
|
const hits = regexHits(sources, trigger.pattern)
|
|
623
654
|
if (hits.length > 0) triggered.set(trigger.cap, hits)
|
|
624
655
|
}
|
|
656
|
+
const observedEvidence = observationEvidence(sources)
|
|
625
657
|
if (!caps.defined) {
|
|
626
658
|
for (const [cap, hits] of triggered) {
|
|
627
659
|
details.push(detail('C-11.2', 'WARN', `trigger for ${cap} observed but dsh.capabilities is absent`, hitEvidence(hits)))
|
|
@@ -637,9 +669,20 @@ export function checkCapabilities(manifest, sources, patch) {
|
|
|
637
669
|
details.push(detail('C-11.2', 'FAIL', `static trigger ${cap} is not declared in dsh.capabilities`, hitEvidence(hits)))
|
|
638
670
|
}
|
|
639
671
|
}
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
672
|
+
if (sources.length === 0) {
|
|
673
|
+
details.push(detail('C-11.5', 'NA', 'not-run: no source files were scanned, so no capability can be observed', []))
|
|
674
|
+
} else {
|
|
675
|
+
for (const cap of caps.list) {
|
|
676
|
+
if (NO_OBSERVATION_SURFACE.has(cap)) {
|
|
677
|
+
details.push(detail('C-11.5', 'NA', `not-run: no static observation surface for ${cap} in this checker version`, []))
|
|
678
|
+
continue
|
|
679
|
+
}
|
|
680
|
+
// `fs:write` used to be "observed" by any `ctx.fs` use; that let a
|
|
681
|
+
// read-only plugin declare a write capability and pass. Read and write
|
|
682
|
+
// are now observed independently (ctx.fs method + direct node:fs).
|
|
683
|
+
const observed = triggered.has(cap) || observedEvidence.has(cap)
|
|
684
|
+
if (!observed) details.push(detail('C-11.5', 'WARN', `declared capability ${cap} was not observed statically (this is not proof it is unused: node:fs, dynamic calls and scan truncation are outside the trigger surface)`, ['package.json#dsh.capabilities']))
|
|
685
|
+
}
|
|
643
686
|
}
|
|
644
687
|
}
|
|
645
688
|
|
|
@@ -28,6 +28,7 @@ import fs from 'node:fs'
|
|
|
28
28
|
import os from 'node:os'
|
|
29
29
|
import path from 'node:path'
|
|
30
30
|
import { spawnSync } from 'node:child_process'
|
|
31
|
+
import { npmPackInvocation } from './npm-command.mjs'
|
|
31
32
|
import { signEvidence } from './signature.mjs'
|
|
32
33
|
|
|
33
34
|
// Signing helpers live in signature.mjs; re-exported here so callers that
|
|
@@ -167,8 +168,6 @@ export function treeSha256(dir, { exclude = [] } = {}) {
|
|
|
167
168
|
return { hash: sha256Value(rows.join('\n')), files: rows.length, bytes }
|
|
168
169
|
}
|
|
169
170
|
|
|
170
|
-
const NPM = process.platform === 'win32' ? 'npm.cmd' : 'npm'
|
|
171
|
-
|
|
172
171
|
function subjectFields(subject) {
|
|
173
172
|
if (!isPlainObject(subject)) return null
|
|
174
173
|
return {
|
|
@@ -193,7 +192,9 @@ export function recomputeSubject(dir, { exclude = [], timeoutMs = 120_000 } = {}
|
|
|
193
192
|
const tree = treeSha256(root, { exclude })
|
|
194
193
|
const destination = fs.mkdtempSync(path.join(os.tmpdir(), 'dsh-subject-'))
|
|
195
194
|
try {
|
|
196
|
-
const
|
|
195
|
+
const invocation = npmPackInvocation(process.platform, ['pack', '--ignore-scripts', '--json', '--pack-destination', destination])
|
|
196
|
+
const run = spawnSync(invocation.command, invocation.args, {
|
|
197
|
+
shell: invocation.shell,
|
|
197
198
|
cwd: root, encoding: 'utf8', timeout: timeoutMs, maxBuffer: 16 * 1024 * 1024,
|
|
198
199
|
})
|
|
199
200
|
if (run.error) throw new Error(`npm pack failed to start: ${run.error.message}`)
|
package/40-checker/src/index.mjs
CHANGED
|
File without changes
|
|
File without changes
|
package/40-checker/src/label.mjs
CHANGED
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* npm's Windows launcher is `npm.cmd`. Since Node 18.20/20.12 a bare
|
|
3
|
+
* `spawnSync('npm.cmd', ...)` without a shell fails with EINVAL (the
|
|
4
|
+
* CVE-2024-27980 mitigation). On Windows route the call through
|
|
5
|
+
* `cmd.exe /d /s /c npm.cmd ...`; keeping the arguments separate lets Node's
|
|
6
|
+
* own Windows quoting handle paths with spaces, and unlike `shell: true` it
|
|
7
|
+
* does not emit the DEP0190 deprecation warning. POSIX keeps a direct spawn.
|
|
8
|
+
*/
|
|
9
|
+
export function npmCommand(platform = process.platform, args = []) {
|
|
10
|
+
if (platform === 'win32') {
|
|
11
|
+
return {
|
|
12
|
+
command: process.env.ComSpec || 'cmd.exe',
|
|
13
|
+
args: ['/d', '/s', '/c', 'npm.cmd', ...args],
|
|
14
|
+
shell: false,
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
return { command: 'npm', args, shell: false }
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export function npmPackInvocation(platform = process.platform, args = ['pack', '--ignore-scripts', '--json']) {
|
|
21
|
+
return npmCommand(platform, args)
|
|
22
|
+
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/40-checker/src/util.mjs
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/40-checker/vendor/babel/node_modules/@babel/helper-validator-identifier/lib/identifier.js
CHANGED
|
File without changes
|
package/40-checker/vendor/babel/node_modules/@babel/helper-validator-identifier/lib/index.d.ts
CHANGED
|
File without changes
|
package/40-checker/vendor/babel/node_modules/@babel/helper-validator-identifier/lib/index.js
CHANGED
|
File without changes
|
package/40-checker/vendor/babel/node_modules/@babel/helper-validator-identifier/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## 1.6.10 — 2026-11-13
|
|
2
|
+
|
|
3
|
+
### Fixed
|
|
4
|
+
|
|
5
|
+
- **C-11.5 no longer calls a static blind spot "over-declaration".** The clause fired for plugins that declare `fs:read`/`fs:write` and use `node:fs` directly, because the only trigger was `ctx.fs`; the remediation even told authors to delete a declaration they were really using. Direct `node:fs` reads/writes are now observation evidence (only for C-11.5 — they never produce a new C-11.2 FAIL), and `ctx.fs` reads/writes are observed separately instead of `fs:write` borrowing `fs:read`'s hit.
|
|
6
|
+
- **C-11.5 records `NA` instead of `WARN` when nothing can be observed**: no source files were scanned, or the capability has no static observation surface in this checker version (`credentials:provider`). Wording across `31-DS-C条款.md`, `60-权限与标注规范.md`, `spec/dsc-clauses.json` and `spec/remediation.json` now says "静态未观测(不等于未使用)" and no longer advises deleting a real declaration.
|
|
7
|
+
|
|
1
8
|
## 1.6.9 — 2026-11-08
|
|
2
9
|
|
|
3
10
|
### Fixed
|
|
@@ -270,6 +277,13 @@
|
|
|
270
277
|
|
|
271
278
|
# Changelog
|
|
272
279
|
|
|
280
|
+
## 1.6.10 — 2026-11-13
|
|
281
|
+
|
|
282
|
+
### Fixed
|
|
283
|
+
|
|
284
|
+
- **C-11.5 no longer calls a static blind spot "over-declaration".** The clause fired for plugins that declare `fs:read`/`fs:write` and use `node:fs` directly, because the only trigger was `ctx.fs`; the remediation even told authors to delete a declaration they were really using. Direct `node:fs` reads/writes are now observation evidence (only for C-11.5 — they never produce a new C-11.2 FAIL), and `ctx.fs` reads/writes are observed separately instead of `fs:write` borrowing `fs:read`'s hit.
|
|
285
|
+
- **C-11.5 records `NA` instead of `WARN` when nothing can be observed**: no source files were scanned, or the capability has no static observation surface in this checker version (`credentials:provider`). Wording across `31-DS-C条款.md`, `60-权限与标注规范.md`, `spec/dsc-clauses.json` and `spec/remediation.json` now says "静态未观测(不等于未使用)" and no longer advises deleting a real declaration.
|
|
286
|
+
|
|
273
287
|
## 2026-11-04 — 0.2.2-alpha.3 baseline in the three-level docs
|
|
274
288
|
|
|
275
289
|
- Add the 0.2.2-alpha.3 baseline table and six PR-review evidence gates to `35`.
|
package/LICENSE
CHANGED
|
File without changes
|
package/LICENSE-APACHE
CHANGED
|
File without changes
|
package/LICENSE-CC-BY
CHANGED
|
File without changes
|
package/NOTICE
CHANGED
|
File without changes
|
package/NOTICE.md
CHANGED
|
File without changes
|
package/README.en.md
CHANGED
|
@@ -48,6 +48,12 @@ The old npm reservation `dsh-standards@0.0.3` only held the name; this 1.x line
|
|
|
48
48
|
|
|
49
49
|
Fixed anchor, recorded in `spec/levels.json` and in every report: `repo=deepseek-ai/deepseek-harness`, `commit=ce7073d51254`, `dsh=0.2.2-alpha.2`, `cordis=4.0.6-alpha.1`. Pass a different runtime version explicitly and the report records which ruler you measured with.
|
|
50
50
|
|
|
51
|
+
### Upstream and usage (facts, 2026-11)
|
|
52
|
+
|
|
53
|
+
- **dsh-plugin-hub** — a version-aware npm metadata check is on main ([`4f3a560`](https://github.com/dshplugin/dsh-plugin-hub/commit/4f3a560), 2026-11-09). Scope: install-time npm metadata only (package/version existence and the `repository` back-link); it does not run ENTRY and is not an endorsement of any plugin.
|
|
54
|
+
- **Usage** (npm registry, 2026-11): `dsh-plugin-guide` ~12.6k/month, `dsh-standards` ~4.4k/month, `dsh-plugin-start` ~1.65k/month. Downloads are not unique users and are not a ranking, certification, or security claim.
|
|
55
|
+
- **Toolchain**: `dsh-plugin-guide` (guide / skill), `dsh-plugin-start` (scaffolder with the check and an advisory CI snippet in its output), `dsh-check-action` (read-only ENTRY Action), `dsh-plugin-spec` (clause text), `dsh-primer` (older development skill / CLI).
|
|
56
|
+
|
|
51
57
|
### Current hard numbers
|
|
52
58
|
|
|
53
59
|
- 18 packages, entry static: **18/18 recognized, 0 clean**;
|
package/README.es.md
CHANGED
|
File without changes
|
package/README.hi.md
CHANGED
|
File without changes
|
package/README.md
CHANGED
|
@@ -42,6 +42,12 @@ DSH 插件的采用深度分三层,每层一个问题、一套证据状态,*
|
|
|
42
42
|
| 2 | **DSH-FLOW 顺畅规范** | 用户能否安装、配置、使用、恢复、升级、卸载而不出意外? | draft;fixture 上 J1/J2/J4/J6 **12 PASS**;J3/J7 fixture runtime;J5/J8 static preflight;10 个真实包 **78 PASS / 4 FAIL / 2 blocked / 66 not-run** |
|
|
43
43
|
| 3 | **DSH-BOOST 加速实践** | 插件是否用 Cordis 原语(effect、inject、volatile、事件、seam、job、有界并行)让开发和使用可测量地更省? | draft;LEV-1–8 **8/8 measured**(loader / context / provider-capture / synthetic timer;非生产基线) |
|
|
44
44
|
|
|
45
|
+
### 上游与使用(事实,2026-11)
|
|
46
|
+
|
|
47
|
+
- **dsh-plugin-hub** —— 版本感知的 npm 元数据校验已合入 main([`4f3a560`](https://github.com/dshplugin/dsh-plugin-hub/commit/4f3a560),2026-11-09)。范围仅安装侧的 npm 元数据(包/版本存在性、`repository` 回链);不运行 ENTRY,也不构成对任何插件的背书。
|
|
48
|
+
- **使用量**(npm registry,2026-11):`dsh-plugin-guide` ≈12.6k/月、`dsh-standards` ≈4.4k/月、`dsh-plugin-start` ≈1.65k/月。下载量不是独立用户数,也不构成排名、认证或安全结论。
|
|
49
|
+
- **工具链**:`dsh-plugin-guide`(指南 / skill)、`dsh-plugin-start`(生成器,产物自带检查与 advisory CI)、`dsh-check-action`(只读 ENTRY 的 Action)、`dsh-plugin-spec`(条款原文)、`dsh-primer`(旧版开发 skill / CLI)。
|
|
50
|
+
|
|
45
51
|
仓里就三样东西:`40-checker/`(DS-C 一致性检查器与全部证据脚本)、`bin/`(两个公开入口 `dsh-standards` 与 `dsh-levels`),以及 `spec/` 与 `31`–`35` 号规范正文。工具只读目标包,不改被检对象;结论只认证据,`not-run`、`NA`、`static` 都不会被写成 PASS。
|
|
46
52
|
|
|
47
53
|
npm 上的旧占位 `dsh-standards@0.0.3` 只是名字预留,这条 1.x 线取代了它(当前 `1.6.x`);两个 bin 分别叫 `dsh-standards` 与 `dsh-levels`。
|
package/README.pt.md
CHANGED
|
File without changes
|
package/SECURITY.md
CHANGED
|
File without changes
|
package/bin/dsh-flow-collect.mjs
CHANGED
|
File without changes
|
package/bin/dsh-levels.mjs
CHANGED
|
File without changes
|
package/bin/dsh-standards.mjs
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/docs/NAMING-FALLBACK.md
CHANGED
|
File without changes
|
package/docs/SIGNING.md
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/docs/coverage.md
CHANGED
|
File without changes
|
package/docs/fork-policy.md
CHANGED
|
File without changes
|
|
File without changes
|
package/docs/incident.md
CHANGED
|
File without changes
|
package/docs/onboarding.md
CHANGED
|
File without changes
|
package/docs/privacy.md
CHANGED
|
File without changes
|
package/docs/release.md
CHANGED
|
File without changes
|
package/docs/scope-security.md
CHANGED
|
File without changes
|
package/docs/status-taxonomy.md
CHANGED
|
File without changes
|
package/docs/sunset.md
CHANGED
|
File without changes
|
package/docs/translating.md
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-standards",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.10",
|
|
4
4
|
"description": "DSH plugin standards and conformance checks: ENTRY/FLOW checks plus BOOST guidance. Non-official; no certification or ranking.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "40-checker/src/index.mjs",
|
package/spec/README.md
CHANGED
|
File without changes
|
package/spec/boost/README.md
CHANGED
|
File without changes
|
package/spec/clauses.json
CHANGED
|
File without changes
|
|
File without changes
|
package/spec/dsc-clauses.json
CHANGED
package/spec/entry/README.md
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/spec/flow/README.md
CHANGED
|
File without changes
|
|
File without changes
|
package/spec/levels.json
CHANGED
|
File without changes
|
package/spec/levels.schema.json
CHANGED
|
File without changes
|
|
File without changes
|
package/spec/remediation.json
CHANGED
|
@@ -336,9 +336,9 @@
|
|
|
336
336
|
"severityHint": "warn"
|
|
337
337
|
},
|
|
338
338
|
"C-11.5": {
|
|
339
|
-
"title": "
|
|
340
|
-
"why": "
|
|
341
|
-
"fix": "
|
|
339
|
+
"title": "声明了能力但静态未观测到",
|
|
340
|
+
"why": "静态触发面看不到该能力,可能是确实没用,也可能是通过 node:fs、动态调用或扫描截断走到了触发面之外。它不等于过度声明。",
|
|
341
|
+
"fix": "先确认实现是否经由 node:fs/动态路径使用该能力;确实不用再删,仍在用就在 README 说明「为什么声明了但静态看不到」。不要为了消掉这条 WARN 而删掉真实使用的声明。",
|
|
342
342
|
"docs": "docs/entry.md#capability-triggers",
|
|
343
343
|
"severityHint": "warn"
|
|
344
344
|
},
|
|
File without changes
|
|
File without changes
|