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
|
@@ -662,7 +662,7 @@ export function apply(ctx: Context) {
|
|
|
662
662
|
| C-11.2 | **字段存在时**,高信号触发必须申报(映射见下表) | 字段存在且漏报 → FAIL;字段缺失 → 不评估,C-11 整体 WARN(过渡期) |
|
|
663
663
|
| C-11.3 | bundle patch 不得启用 `@deepseek-ai/dsh-plugin-manager/tools` | 启用 → FAIL |
|
|
664
664
|
| C-11.4 | 源码/配置中 `danger-full-access` 的 AST 字符串字面量;注释、等值比较、文档字符串不算(见下) | 真实授权/命令上下文或未知上下文 → WARN |
|
|
665
|
-
| C-11.5 |
|
|
665
|
+
| C-11.5 | 声明了但静态未观测到对应触发 | WARN(**不等于未使用/过度声明**:`node:fs`、动态调用、扫描截断不在触发面内;无源码或无观测面记 NA) |
|
|
666
666
|
|
|
667
667
|
**C-11.2 触发映射**:
|
|
668
668
|
|
|
@@ -686,7 +686,7 @@ export function apply(ctx: Context) {
|
|
|
686
686
|
| 值 | 条件 |
|
|
687
687
|
|---|---|
|
|
688
688
|
| PASS | C-11.1 字段存在/合法;C-11.2 无漏报;C-11.3 未启用;C-11.4 无命中 |
|
|
689
|
-
| WARN | 字段缺失(过渡期,C-11.2 不评估);C-11.4 命中;C-11.5
|
|
689
|
+
| WARN | 字段缺失(过渡期,C-11.2 不评估);C-11.4 命中;C-11.5 静态未观测(不等于过度声明);触发信号不确定(动态调用) |
|
|
690
690
|
| ERROR | AST 解析失败导致 C-11.4 not-run(coverage=not-run,不冒充 PASS) |
|
|
691
691
|
| FAIL | 非法 ID;字段存在但 C-11.2 漏报;C-11.3 启用 |
|
|
692
692
|
| NA | `dsh.kind` 非 plugin/bundle |
|
|
@@ -716,7 +716,7 @@ export function apply(ctx: Context) {
|
|
|
716
716
|
}
|
|
717
717
|
```
|
|
718
718
|
|
|
719
|
-
**建议分级**:DS-C 强制(C-11.1~C-11.3);C-11.4/C-11.5 为 WARN。
|
|
719
|
+
**建议分级**:DS-C 强制(C-11.1~C-11.3);C-11.4/C-11.5 为 WARN;C-11.5 在无源码或该能力无静态观测面时记 NA(not-run),不记 WARN。
|
|
720
720
|
|
|
721
721
|
**边界说明**:`dsh.capabilities` **不是权限门控**。宿主不读它,也没有运行时沙箱;它只是"装载期声明 + UI 披露"。一个插件完全可以声明 `[]` 然后裸 `import node:fs`,C-11 抓不到。这是 D5 的已知边界,必须在徽章文案里写明"非安全审计"。
|
|
722
722
|
|
|
@@ -1360,8 +1360,8 @@ E 路的 MVP 13 项(L0-1/2/3 + L1-1/3/4/5 + L2-1/2/4 + L3-1/3/5)只覆盖 C-
|
|
|
1360
1360
|
|
|
1361
1361
|
| ID | 触发信号(静态可判) | 说明 |
|
|
1362
1362
|
|---|---|---|
|
|
1363
|
-
| `fs:read` | `ctx.fs`
|
|
1364
|
-
| `fs:write` | `ctx.fs`
|
|
1363
|
+
| `fs:read` | `ctx.fs` 读方法(`readText`/`streamText`/`readBytes`/`readByteRange`/`listDir`/`stat`/`lstat`);直接 `node:fs` 读调用仅作 C-11.5 观测证据 | 读文件(含绕过 `ctx.fs` 的直接 `node:fs`) |
|
|
1364
|
+
| `fs:write` | `ctx.fs` 写方法(`writeText`/`editText`/`patchText`/`deleteFile`/`moveFile`);直接 `node:fs` 写调用仅作 C-11.5 观测证据 | 写文件(含绕过 `ctx.fs` 的直接 `node:fs`) |
|
|
1365
1365
|
| `shell` | `ctx.shell`/`ctx.bash` | 执行 shell |
|
|
1366
1366
|
| `subprocess` | `ctx.subprocess` | 子进程/PTY |
|
|
1367
1367
|
| `network:egress` | `ctx.web`/裸 `fetch` | 出站网络 |
|
|
File without changes
|
|
File without changes
|
package/40-checker/README.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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/40-checker/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -25,6 +25,7 @@ import os from 'node:os'
|
|
|
25
25
|
import path from 'node:path'
|
|
26
26
|
import crypto from 'node:crypto'
|
|
27
27
|
import { spawnSync } from 'node:child_process'
|
|
28
|
+
import { npmPackInvocation } from '../src/npm-command.mjs'
|
|
28
29
|
import { fileURLToPath } from 'node:url'
|
|
29
30
|
|
|
30
31
|
const HERE = path.dirname(fileURLToPath(import.meta.url))
|
|
@@ -131,7 +132,9 @@ function findTarball(root, explicit, version) {
|
|
|
131
132
|
if (fs.existsSync(candidate)) return { file: candidate, temporary: false }
|
|
132
133
|
}
|
|
133
134
|
const packDir = fs.mkdtempSync(path.join(os.tmpdir(), 'dsh-standards-pack-'))
|
|
134
|
-
const
|
|
135
|
+
const invocation = npmPackInvocation(process.platform, ['pack', '--ignore-scripts', '--pack-destination', packDir])
|
|
136
|
+
const run = spawnSync(invocation.command, invocation.args, {
|
|
137
|
+
shell: invocation.shell,
|
|
135
138
|
cwd: root,
|
|
136
139
|
encoding: 'utf8',
|
|
137
140
|
})
|
|
@@ -757,9 +757,16 @@ function main() {
|
|
|
757
757
|
if (!generatedAt) throw new Error('no --prev and no --levels generatedAt')
|
|
758
758
|
|
|
759
759
|
const checkerPkg = readPackageMeta(ROOT)
|
|
760
|
-
|
|
760
|
+
// A pure --prev refresh only recomputes lifecycle; it must not overwrite the
|
|
761
|
+
// checker metadata that records which build produced the checks. Explicit
|
|
762
|
+
// --checker-version/--checker-sha still win, and --levels rebuilds use the
|
|
763
|
+
// current package version because they add freshly produced checks.
|
|
764
|
+
const prevChecker = prev && !options.levels && prev.checker && typeof prev.checker === 'object' ? prev.checker : null
|
|
765
|
+
const checkerVersion = options.checkerVersion
|
|
766
|
+
?? (typeof prevChecker?.version === 'string' && prevChecker.version !== '' ? prevChecker.version : checkerPkg.version)
|
|
761
767
|
if (typeof checkerVersion !== 'string' || checkerVersion === '') throw new Error('cannot determine checker version')
|
|
762
|
-
const checkerSha = options.checkerSha
|
|
768
|
+
const checkerSha = options.checkerSha
|
|
769
|
+
?? (prevChecker && Object.hasOwn(prevChecker, 'sha') ? prevChecker.sha : gitHead())
|
|
763
770
|
if (checkerSha !== null && !HEX40.test(checkerSha)) throw new Error('--checker-sha must be 40 hex chars')
|
|
764
771
|
try {
|
|
765
772
|
const parsed = new URL(options.indexUrl)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|