iobroker.eos-admin 8.0.0 → 8.0.2
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/NEXOWATT_EOS_BUILD_INFO.json +7 -6
- package/NEXOWATT_EOS_PREBUILT_MANIFEST.json +195 -107
- package/START_HERE_8.0.1.md +36 -0
- package/START_HERE_8.0.2.md +41 -0
- package/adminWww/.vite/manifest.json +278 -278
- package/adminWww/NEXOWATT_EOS_FRONTEND_MANIFEST.json +333 -329
- package/adminWww/assets/{AccessTime-Dpa6PKHY.js → AccessTime-5f47qrw7.js} +1 -1
- package/adminWww/assets/{AceEditor-DTzNaeVy.js → AceEditor-CJ-_Ev2E.js} +1 -1
- package/adminWww/assets/{AdapterUpdateDialog-B3y8RL_5.js → AdapterUpdateDialog-QwlPbETd.js} +3 -3
- package/adminWww/assets/Adapters-gKngfaOu.js +7 -0
- package/adminWww/assets/{AdminUtils-DDT_kD8H.js → AdminUtils-CopxRJZ2.js} +1 -1
- package/adminWww/assets/{Apps-C8LE9l6Z.js → Apps-BKnx1gzD.js} +1 -1
- package/adminWww/assets/{Book-QmHxDaHb.js → Book-DrhneQH0.js} +1 -1
- package/adminWww/assets/{Cached-f77QQBQD.js → Cached-XJmxLN4E.js} +1 -1
- package/adminWww/assets/{Computer-DFIUq-fL.js → Computer-DDMBRY5r.js} +1 -1
- package/adminWww/assets/{Config-BZDUILCW.js → Config-BwTa1LdH.js} +1 -1
- package/adminWww/assets/{ConfigManager-CFuOc_kb.js → ConfigManager-DYwC4yq9.js} +1 -1
- package/adminWww/assets/{CustomModal-B8vdCRn1.js → CustomModal-DjI4oCb8.js} +1 -1
- package/adminWww/assets/{CustomTab-DSPqif6P.js → CustomTab-_HYUrXsZ.js} +1 -1
- package/adminWww/assets/{DeleteForever-BnEM-6_v.js → DeleteForever-Caoe64_y.js} +1 -1
- package/adminWww/assets/EasyMode-CCRqFtQq.js +1 -0
- package/adminWww/assets/Enums-BTurn3-x.js +92 -0
- package/adminWww/assets/{Extension-DU1jqvic.js → Extension-D-tNJv4S.js} +1 -1
- package/adminWww/assets/{Fields-DnckPMA8.js → Fields-C2Bn4V04.js} +1 -1
- package/adminWww/assets/{Files-CwUHx0pF.js → Files-XdmhxGOR.js} +1 -1
- package/adminWww/assets/Hosts-DiTMe9fw.js +120 -0
- package/adminWww/assets/{InfoOutlined-l86Si1qa.js → InfoOutlined-DIGDQvu6.js} +1 -1
- package/adminWww/assets/Instances-DA6FIgRs.js +4 -0
- package/adminWww/assets/Intro-CJpwLg8Q.js +2 -0
- package/adminWww/assets/{KeyboardArrowRight-zZUJhG9e.js → KeyboardArrowRight-DVPBjTKi.js} +1 -1
- package/adminWww/assets/Logs-CA0mEMlO.js +2 -0
- package/adminWww/assets/{MoreHoriz-CR2kD-dc.js → MoreHoriz-BYaCptH0.js} +1 -1
- package/adminWww/assets/Objects-B2IC3Bce.js +301 -0
- package/adminWww/assets/{Overview-WwP6FjK-.js → Overview-HG8fAMFM.js} +2 -2
- package/adminWww/assets/{Pageview-DBITLOzI.js → Pageview-DFHddrKX.js} +1 -1
- package/adminWww/assets/{PersonOff-ANdO5Nu4.js → PersonOff-BwYQLD1M.js} +1 -1
- package/adminWww/assets/{PushPinOutlined-DvxsqPHo.js → PushPinOutlined-CEBeTmNm.js} +1 -1
- package/adminWww/assets/Remove-BPxvNccW.js +1 -0
- package/adminWww/assets/{Schedule-BMMrgd7j.js → Schedule-BQlh1nhQ.js} +1 -1
- package/adminWww/assets/{Star-DNdm064z.js → Star-ChMjBwLn.js} +1 -1
- package/adminWww/assets/State-UGfoS6qW.js +1 -0
- package/adminWww/assets/Storage-DrC3j-wf.js +1 -0
- package/adminWww/assets/{TextSnippet-Bywi1YuG.js → TextSnippet-BQ4TSmvS.js} +1 -1
- package/adminWww/assets/{Timeline-IQCnSLiw.js → Timeline-CEyldmz2.js} +1 -1
- package/adminWww/assets/{Timer-Be9yF62g.js → Timer-I0twtyWh.js} +1 -1
- package/adminWww/assets/{UnfoldMore-Du7-8wYn.js → UnfoldMore-_DDSfPKk.js} +1 -1
- package/adminWww/assets/{Usb-Ca47vqRv.js → Usb-Dwk7qdYu.js} +1 -1
- package/adminWww/assets/{UsedResources-CMTzFOX3.js → UsedResources-B6HWeXGX.js} +2 -2
- package/adminWww/assets/Users-DFeYuC5y.js +1 -0
- package/adminWww/assets/{ViewCompact-C3SC0jFF.js → ViewCompact-BbfomOIi.js} +1 -1
- package/adminWww/assets/ViewList-1pB5VinA.js +1 -0
- package/adminWww/assets/{ViewSidebar-kHvah-XS.js → ViewSidebar-DdedDirX.js} +1 -1
- package/adminWww/assets/{VpnKey-iMA7KrB-.js → VpnKey-o8QeqmnU.js} +1 -1
- package/adminWww/assets/{WifiTethering-Da8nW7Do.js → WifiTethering-Cp63fmkC.js} +1 -1
- package/adminWww/assets/{_virtual_mf-localSharedImportMap___mfe_internal__iobroker_admin__mf_owner__1-CpelrCgN.js → _virtual_mf-localSharedImportMap___mfe_internal__iobroker_admin__mf_owner__1-uaKFfE5p.js} +1 -1
- package/adminWww/assets/{bootstrap-Bs4TZ7iA.js → bootstrap-DSDOwKWU.js} +33 -33
- package/adminWww/assets/{date-fns-Bpgjk9P-.js → date-fns-ukillHs-.js} +1 -1
- package/adminWww/assets/helpers-CDcY0YJ-.js +1 -0
- package/adminWww/assets/{hostInit-2xIZYDSq.js → hostInit-Cd61hJHh.js} +1 -1
- package/adminWww/assets/{icons-material-BLgrEUSv.js → icons-material-Dms1APQk.js} +1 -1
- package/adminWww/assets/{index-BZifaJHi.js → index-D6uhIclX.js} +2 -2
- package/adminWww/assets/{installSVGRenderer-Pe6-VnD2.js → installSVGRenderer-BR-zIijZ.js} +1 -1
- package/adminWww/assets/{lib-CE1B3iHH.js → lib-BZRGBDoe.js} +2 -2
- package/adminWww/assets/{loadShare-eager-CRNcc8D7.js → loadShare-eager-BpwDZfDr.js} +93 -93
- package/adminWww/assets/{mf-entry-bootstrap-0-a6a54377.js → mf-entry-bootstrap-0-2d631020.js} +3 -3
- package/adminWww/assets/{pendingShares-CuQbFsaK.js → pendingShares-D1Vr_qYv.js} +2 -2
- package/adminWww/assets/{sentry-B4uGc7ut.js → sentry-BFzW-2KQ.js} +1 -1
- package/adminWww/assets/{setYear-DurmWw03.js → setYear-DhVdgUBF.js} +1 -1
- package/adminWww/css/nexowatt-native-shell.css +72 -0
- package/adminWww/index.html +21 -21
- package/adminWww/js/eos-license-link.js +9 -16
- package/adminWww/js/nexowatt-native-shell.js +2 -2
- package/adminWww/mf-manifest.json +1 -1
- package/adminWww/mf-stats.json +1 -1
- package/adminWww/{remoteEntry-eos-8.0.0.js → remoteEntry-eos-8.0.2.js} +2 -2
- package/adminWww/remoteEntry.js +1 -1
- package/build/lib/eosSessionSecurity.js +12 -4
- package/build/lib/eosSessionSecurity.js.map +1 -1
- package/build/lib/vendor/webserver/LICENSE +21 -0
- package/build/lib/vendor/webserver/README.md +506 -0
- package/build/lib/vendor/webserver/build/index.d.ts +9 -0
- package/build/lib/vendor/webserver/build/index.js +42 -0
- package/build/lib/vendor/webserver/build/index.js.map +1 -0
- package/build/lib/vendor/webserver/build/lib/acmeChallenge.d.ts +65 -0
- package/build/lib/vendor/webserver/build/lib/acmeChallenge.js +149 -0
- package/build/lib/vendor/webserver/build/lib/acmeChallenge.js.map +1 -0
- package/build/lib/vendor/webserver/build/lib/certificateManager.d.ts +60 -0
- package/build/lib/vendor/webserver/build/lib/certificateManager.js +128 -0
- package/build/lib/vendor/webserver/build/lib/certificateManager.js.map +1 -0
- package/build/lib/vendor/webserver/build/lib/http2Compat.d.ts +21 -0
- package/build/lib/vendor/webserver/build/lib/http2Compat.js +109 -0
- package/build/lib/vendor/webserver/build/lib/http2Compat.js.map +1 -0
- package/build/lib/vendor/webserver/build/lib/oauth2-authcode.d.ts +167 -0
- package/build/lib/vendor/webserver/build/lib/oauth2-authcode.js +619 -0
- package/build/lib/vendor/webserver/build/lib/oauth2-authcode.js.map +1 -0
- package/build/lib/vendor/webserver/build/lib/oauth2-clients.d.ts +92 -0
- package/build/lib/vendor/webserver/build/lib/oauth2-clients.js +230 -0
- package/build/lib/vendor/webserver/build/lib/oauth2-clients.js.map +1 -0
- package/build/lib/vendor/webserver/build/lib/oauth2-model.d.ts +84 -0
- package/build/lib/vendor/webserver/build/lib/oauth2-model.js +388 -0
- package/build/lib/vendor/webserver/build/lib/oauth2-model.js.map +1 -0
- package/build/lib/vendor/webserver/build/lib/oauth2.d.ts +75 -0
- package/build/lib/vendor/webserver/build/lib/oauth2.js +625 -0
- package/build/lib/vendor/webserver/build/lib/oauth2.js.map +1 -0
- package/build/lib/vendor/webserver/build/lib/securityChecker.d.ts +6 -0
- package/build/lib/vendor/webserver/build/lib/securityChecker.js +96 -0
- package/build/lib/vendor/webserver/build/lib/securityChecker.js.map +1 -0
- package/build/lib/vendor/webserver/build/lib/usedResources.d.ts +62 -0
- package/build/lib/vendor/webserver/build/lib/usedResources.js +231 -0
- package/build/lib/vendor/webserver/build/lib/usedResources.js.map +1 -0
- package/build/lib/vendor/webserver/build/lib/utils.d.ts +35 -0
- package/build/lib/vendor/webserver/build/lib/utils.js +110 -0
- package/build/lib/vendor/webserver/build/lib/utils.js.map +1 -0
- package/build/lib/vendor/webserver/build/lib/webServer.d.ts +164 -0
- package/build/lib/vendor/webserver/build/lib/webServer.js +454 -0
- package/build/lib/vendor/webserver/build/lib/webServer.js.map +1 -0
- package/build/lib/vendor/webserver/package.json +63 -0
- package/build/lib/web.js +26 -6
- package/build/lib/web.js.map +1 -1
- package/docs/ADMIN8_MIGRATION_8.0.0_DE.md +4 -0
- package/docs/cra/CRA_IEC_GAP_ANALYSIS_2026-09-30.md +10 -0
- package/docs/security/admin8-2026-11-04/development-1.log +4 -4
- package/docs/security/admin8-2026-11-04/development-2.log +275 -233
- package/docs/security/admin8-2026-11-05/copy-update/evidence-sha256.json +0 -5
- package/docs/security/admin8-2026-11-05/login-fix/BACKEND_DIAGNOSE_DE.md +48 -0
- package/docs/security/admin8-2026-11-05/login-fix/REPORT_DE.md +47 -0
- package/docs/security/admin8-2026-11-05/login-fix/REVIEW_DE.md +7 -0
- package/docs/security/admin8-2026-11-05/login-fix/controller-adapter-api.ts.txt +122 -0
- package/docs/security/admin8-2026-11-05/login-fix/controller-file-view.ts.txt +75 -0
- package/docs/security/admin8-2026-11-05/login-fix/controller-redis-view.ts.txt +471 -0
- package/docs/security/admin8-2026-11-05/login-fix/dependency/LICENSE-webserver-3.4.0 +21 -0
- package/docs/security/admin8-2026-11-05/login-fix/dependency/REPORT_DE.md +41 -0
- package/docs/security/admin8-2026-11-05/login-fix/dependency/evidence-sha256.json +116 -0
- package/docs/security/admin8-2026-11-05/login-fix/dependency/http-consumer-check.cjs +58 -0
- package/docs/security/admin8-2026-11-05/login-fix/dependency/rejected-file-dependency/README_DE.md +9 -0
- package/docs/security/admin8-2026-11-05/login-fix/dependency/rejected-file-dependency/REJECTED-webserver-3.4.0-eos-oauth.provenance.json +263 -0
- package/docs/security/admin8-2026-11-05/login-fix/dependency/rejected-file-dependency/REJECTED-webserver-3.4.0-eos-oauth.tgz +0 -0
- package/docs/security/admin8-2026-11-05/login-fix/dependency/rejected-file-dependency/admission.log +16 -0
- package/docs/security/admin8-2026-11-05/login-fix/dependency/rejected-file-dependency/consumer-audit-stderr.log +1 -0
- package/docs/security/admin8-2026-11-05/login-fix/dependency/rejected-file-dependency/consumer-audit.json +22 -0
- package/docs/security/admin8-2026-11-05/login-fix/dependency/rejected-file-dependency/consumer-fixture-1.0.0.tgz +0 -0
- package/docs/security/admin8-2026-11-05/login-fix/dependency/rejected-file-dependency/consumer-fixture-package.json +11 -0
- package/docs/security/admin8-2026-11-05/login-fix/dependency/rejected-file-dependency/consumer-npm10-package-lock.json +387 -0
- package/docs/security/admin8-2026-11-05/login-fix/dependency/rejected-file-dependency/consumer-npm11-package-lock.json +387 -0
- package/docs/security/admin8-2026-11-05/login-fix/dependency/rejected-file-dependency/evidence-sha256.json +85 -0
- package/docs/security/admin8-2026-11-05/login-fix/dependency/rejected-file-dependency/http-consumer-npm10-node22.json +11 -0
- package/docs/security/admin8-2026-11-05/login-fix/dependency/rejected-file-dependency/http-consumer-npm11-node24.json +11 -0
- package/docs/security/admin8-2026-11-05/login-fix/dependency/rejected-file-dependency/local-tests.json +38 -0
- package/docs/security/admin8-2026-11-05/login-fix/dependency/rejected-file-dependency/tests-node22.log +168 -0
- package/docs/security/admin8-2026-11-05/login-fix/dependency/rejected-file-dependency/tests-node24.log +36 -0
- package/docs/security/admin8-2026-11-05/login-fix/dependency/source-vendor-tests-node22.log +224 -0
- package/docs/security/admin8-2026-11-05/login-fix/dependency/source-vendor-tests-node24.log +42 -0
- package/docs/security/admin8-2026-11-05/login-fix/dependency/source-vendor-tests.json +31 -0
- package/docs/security/admin8-2026-11-05/login-fix/dependency/webserver-3.4.0-upstream.tgz +0 -0
- package/docs/security/admin8-2026-11-05/login-fix/eos-session-8.0.0.js.txt +385 -0
- package/docs/security/admin8-2026-11-05/login-fix/evidence-sha256.json +59 -0
- package/docs/security/admin8-2026-11-05/login-fix/path-budget.json +6 -0
- package/docs/security/admin8-2026-11-05/login-fix/provenance.json +51 -0
- package/docs/security/admin8-2026-11-05/login-fix/release/admission.log +21 -0
- package/docs/security/admin8-2026-11-05/login-fix/release/archive-scan.json +13 -0
- package/docs/security/admin8-2026-11-05/login-fix/release/artifacts.log +6 -0
- package/docs/security/admin8-2026-11-05/login-fix/release/backend-build.log +5 -0
- package/docs/security/admin8-2026-11-05/login-fix/release/consumer-package-lock.json +3258 -0
- package/docs/security/admin8-2026-11-05/login-fix/release/copy-update-journal.json +165 -0
- package/docs/security/admin8-2026-11-05/login-fix/release/development.log +365 -0
- package/docs/security/admin8-2026-11-05/login-fix/release/frontend-build.log +149 -0
- package/docs/security/admin8-2026-11-05/login-fix/release/full-consumer-audit.json +22 -0
- package/docs/security/admin8-2026-11-05/login-fix/release/full-consumer-audit.stderr +2 -0
- package/docs/security/admin8-2026-11-05/login-fix/release/full-consumer-final-install-node22.log +9 -0
- package/docs/security/admin8-2026-11-05/login-fix/release/full-consumer-http-node22.json +15 -0
- package/docs/security/admin8-2026-11-05/login-fix/release/full-consumer-http-node22.stderr +2 -0
- package/docs/security/admin8-2026-11-05/login-fix/release/full-consumer-http-node24.json +15 -0
- package/docs/security/admin8-2026-11-05/login-fix/release/full-consumer-http-node24.stderr +0 -0
- package/docs/security/admin8-2026-11-05/login-fix/release/inventory.log +8 -0
- package/docs/security/admin8-2026-11-05/login-fix/release/npm-pack-final.json +7809 -0
- package/docs/security/admin8-2026-11-05/login-fix/release/npm-pack-final.stderr +6 -0
- package/docs/security/admin8-2026-11-05/login-fix/release/overlay-final-publish-node22.json +10213 -0
- package/docs/security/admin8-2026-11-05/login-fix/release/overlay-final-publish-node22.stderr +282 -0
- package/docs/security/admin8-2026-11-05/login-fix/release/pipeline.json +72 -0
- package/docs/security/admin8-2026-11-05/login-fix/release/seal.log +6 -0
- package/docs/security/admin8-2026-11-05/login-fix/release/vendor-final-review-node24.log +18 -0
- package/docs/security/admin8-2026-11-05/login-fix/reproduce.cjs +79 -0
- package/docs/security/admin8-2026-11-05/login-fix/reproduction.json +80 -0
- package/docs/security/admin8-2026-11-05/login-fix/upstream-LICENSE.txt +22 -0
- package/docs/security/admin8-2026-11-05/login-fix/validation.json +85 -0
- package/docs/security/admin8-2026-11-05/system-fix/BACKEND_ROLE_REVIEW_DE.md +79 -0
- package/docs/security/admin8-2026-11-05/system-fix/NAVIGATION_DE.md +30 -0
- package/docs/security/admin8-2026-11-05/system-fix/REPORT_DE.md +51 -0
- package/docs/security/admin8-2026-11-05/system-fix/REVIEW_DE.md +65 -0
- package/docs/security/admin8-2026-11-05/system-fix/SCOPE_DE.md +21 -0
- package/docs/security/admin8-2026-11-05/system-fix/SYSTEM_DE.md +44 -0
- package/docs/security/admin8-2026-11-05/system-fix/archive-scan.json +12 -0
- package/docs/security/admin8-2026-11-05/system-fix/browser/README.md +46 -0
- package/docs/security/admin8-2026-11-05/system-fix/browser/integrity.json +16 -0
- package/docs/security/admin8-2026-11-05/system-fix/browser/system-browser-result.json +3607 -0
- package/docs/security/admin8-2026-11-05/system-fix/browser/system-browser.cjs +221 -0
- package/docs/security/admin8-2026-11-05/system-fix/browser/system-fixture.cjs +60 -0
- package/docs/security/admin8-2026-11-05/system-fix/evidence-sha256.json +49 -0
- package/docs/security/admin8-2026-11-05/system-fix/license-ui-tests-node22.log +80 -0
- package/docs/security/admin8-2026-11-05/system-fix/license-ui-tests-node24.log +19 -0
- package/docs/security/admin8-2026-11-05/system-fix/navigation/lint.log +0 -0
- package/docs/security/admin8-2026-11-05/system-fix/navigation/node22-tests.log +56 -0
- package/docs/security/admin8-2026-11-05/system-fix/navigation/node24-tests.log +15 -0
- package/docs/security/admin8-2026-11-05/system-fix/navigation/source-sha256.json +11 -0
- package/docs/security/admin8-2026-11-05/system-fix/path-budget.json +7 -0
- package/docs/security/admin8-2026-11-05/system-fix/release/artifacts.log +6 -0
- package/docs/security/admin8-2026-11-05/system-fix/release/audit-root.json +22 -0
- package/docs/security/admin8-2026-11-05/system-fix/release/audit-root.stderr +1 -0
- package/docs/security/admin8-2026-11-05/system-fix/release/backend-build.log +5 -0
- package/docs/security/admin8-2026-11-05/system-fix/release/clean.log +6 -0
- package/docs/security/admin8-2026-11-05/system-fix/release/consumer-audit.json +22 -0
- package/docs/security/admin8-2026-11-05/system-fix/release/consumer-audit.stderr +2 -0
- package/docs/security/admin8-2026-11-05/system-fix/release/consumer-install.log +4 -0
- package/docs/security/admin8-2026-11-05/system-fix/release/consumer-package-lock.json +3258 -0
- package/docs/security/admin8-2026-11-05/system-fix/release/development.log +392 -0
- package/docs/security/admin8-2026-11-05/system-fix/release/frontend-build.log +149 -0
- package/docs/security/admin8-2026-11-05/system-fix/release/http-node22.json +15 -0
- package/docs/security/admin8-2026-11-05/system-fix/release/http-node24.json +15 -0
- package/docs/security/admin8-2026-11-05/system-fix/release/inventory.log +8 -0
- package/docs/security/admin8-2026-11-05/system-fix/release/overlay-journal.json +452 -0
- package/docs/security/admin8-2026-11-05/system-fix/release/overlay-publish.log +10790 -0
- package/docs/security/admin8-2026-11-05/system-fix/release/overlay-validation.json +12 -0
- package/docs/security/admin8-2026-11-05/system-fix/release/pack.json +8104 -0
- package/docs/security/admin8-2026-11-05/system-fix/release/pack.stderr +6 -0
- package/docs/security/admin8-2026-11-05/system-fix/release/retired-801.json +68 -0
- package/docs/security/admin8-2026-11-05/system-fix/release/seal.log +6 -0
- package/docs/security/admin8-2026-11-05/system-fix/review-tests.log +30 -0
- package/docs/security/admin8-2026-11-05/system-fix/role-context-before.log +86 -0
- package/docs/security/admin8-2026-11-05/system-fix/role-context-lint.log +0 -0
- package/docs/security/admin8-2026-11-05/system-fix/role-context-node22.log +44 -0
- package/docs/security/admin8-2026-11-05/system-fix/role-context-test.log +13 -0
- package/docs/security/admin8-2026-11-05/system-fix/validation.json +90 -0
- package/docs/third-party/admin8/NOTICE-PROVENANCE.json +3 -3
- package/io-package.json +13 -15
- package/package.json +10 -4
- package/release-manifests/admin8-development-validation.json +136 -43
- package/reports/security/artifact-inventory.json +822 -587
- package/reports/security/inventory-summary.json +39 -17
- package/reports/security/sbom-backend-lock.cdx.json +108 -111
- package/reports/security/sbom-frontend-lock.cdx.json +5 -5
- package/reports/security/source-runtime-manifest.json +553 -163
- package/tools/nexowatt-admin8-development-check.cjs +8 -1
- package/tools/nexowatt-artifact-inventory.cjs +8 -1
- package/tools/nexowatt-installer-ems-selftest.cjs +1 -1
- package/tools/nexowatt-lock-provenance-check.cjs +8 -3
- package/tools/nexowatt-repair-lock-metadata.cjs +3 -3
- package/tools/nexowatt-role-security-selftest.cjs +2 -2
- package/tools/nexowatt-security-inventory.cjs +22 -1
- package/tools/nexowatt-user-area-selftest.cjs +1 -1
- package/tools/nexowatt-v7109-clean-core-selftest.cjs +1 -1
- package/tools/nexowatt-vendored-webserver.cjs +69 -0
- package/tools/vendor/eos-retired-release-files.json +268 -1
- package/tools/vendor/webserver-3.4.0-source.provenance.json +244 -0
- package/adminWww/assets/Adapters-BDxfhfGe.js +0 -7
- package/adminWww/assets/EasyMode-TwIN5yxu.js +0 -1
- package/adminWww/assets/Enums-CSzSzWm7.js +0 -92
- package/adminWww/assets/Hosts-QkyuASJy.js +0 -120
- package/adminWww/assets/Instances-BaWBemTT.js +0 -4
- package/adminWww/assets/Intro-DsfrPrWv.js +0 -2
- package/adminWww/assets/Logs-Cngy2Opt.js +0 -2
- package/adminWww/assets/Objects-DY8KS7zK.js +0 -301
- package/adminWww/assets/Remove-DplJatnC.js +0 -1
- package/adminWww/assets/State-vP1o2BCL.js +0 -1
- package/adminWww/assets/Storage-COo2RkS1.js +0 -1
- package/adminWww/assets/Users-BjTGOjzL.js +0 -1
- package/adminWww/assets/ViewList-DuKCnBnc.js +0 -1
- package/adminWww/assets/helpers-DBoACUHw.js +0 -1
|
@@ -10,7 +10,14 @@ const { spawnSync } = require('node:child_process');
|
|
|
10
10
|
const root = path.resolve(__dirname, '..');
|
|
11
11
|
const receiptPath = path.join(root, 'release-manifests/admin8-development-validation.json');
|
|
12
12
|
const sha = value => crypto.createHash('sha256').update(value).digest('hex');
|
|
13
|
-
|
|
13
|
+
// These tests execute actual TypeScript/React or installed HTTP modules. They
|
|
14
|
+
// always run before sealing; a source-bound receipt is required for publication
|
|
15
|
+
// from the prebuilt ZIP when its development toolchain is not installed.
|
|
16
|
+
const DEVELOPMENT_TESTS = [
|
|
17
|
+
'eos-admin8-backend.test.cjs', 'eos-admin8-web.test.cjs', 'eos-instance-proxy.test.cjs',
|
|
18
|
+
'eos-admin8-navigation.test.cjs', 'eos-admin8-role-context.test.cjs', 'eos-system-license-ui.test.cjs',
|
|
19
|
+
'eos-system-save.test.cjs',
|
|
20
|
+
];
|
|
14
21
|
function commands() {
|
|
15
22
|
return [
|
|
16
23
|
['node_modules/mocha/bin/mocha.js', 'test/package', '--exit'],
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
const fs = require('node:fs');
|
|
5
5
|
const path = require('node:path');
|
|
6
6
|
const crypto = require('node:crypto');
|
|
7
|
+
const webserverVendor = require('./nexowatt-vendored-webserver.cjs');
|
|
7
8
|
const root = path.resolve(__dirname, '..');
|
|
8
9
|
const hash = bytes => crypto.createHash('sha256').update(bytes).digest('hex');
|
|
9
10
|
function read(base, relative, max = 32 * 1024 * 1024) {
|
|
@@ -169,11 +170,17 @@ function notices(frontend, backend) {
|
|
|
169
170
|
function main() {
|
|
170
171
|
if (process.argv.length !== 2) throw new Error('Usage: node tools/nexowatt-artifact-inventory.cjs');
|
|
171
172
|
const installed = [tree('backend', root), tree('frontend', path.join(root, 'src-admin'))];
|
|
173
|
+
const vendorIssue = webserverVendor.inspectVendoredWebserver(json(root, 'package.json').value, json(root, 'package-lock.json').value, root);
|
|
174
|
+
if (vendorIssue) throw new Error(vendorIssue);
|
|
175
|
+
const vendorProof = json(root, webserverVendor.PROVENANCE);
|
|
176
|
+
const vendoredBackend = { ...vendorProof.value, provenanceSha256: hash(vendorProof.raw),
|
|
177
|
+
verification: 'All 39 source and emitted runtime files matched the pinned upstream-byte inventory',
|
|
178
|
+
limitation: 'Source delivery uses EOS root dependency resolution, not the retained upstream package manifest.' };
|
|
172
179
|
const frontend = composition(installed[1], installed[0]), references = peers(installed), licenseNotices = notices(frontend, installed[0]);
|
|
173
180
|
const failures = installed.reduce((total, item) => total + item.failures.length, 0) + frontend.unclassifiedModules.length + references.scopes.reduce((total, scope) => total + scope.unresolvedReferenceCount - scope.optionalPeersVerified, 0);
|
|
174
181
|
const report = { schemaVersion: 1, generatedAt: new Date().toISOString(), toolSha256: hash(fs.readFileSync(__filename)),
|
|
175
182
|
environment: { node: process.version, platform: process.platform, arch: process.arch }, status: failures ? 'REVIEW_REQUIRED' : 'RESOLVED_WITH_DECLARED_LIMITATIONS',
|
|
176
|
-
limitations: 'Snapshot of local installed packages and built frontend; no CVE assessment, IEC/CRA certification, native-module execution or deployed-device attestation.', installed, frontend, references, licenseNotices };
|
|
183
|
+
limitations: 'Snapshot of local installed packages, source-vendored backend and built frontend; no CVE assessment, IEC/CRA certification, native-module execution or deployed-device attestation.', installed, vendoredBackend, frontend, references, licenseNotices };
|
|
177
184
|
fs.mkdirSync(path.join(root, 'reports/security'), { recursive: true });
|
|
178
185
|
fs.writeFileSync(path.join(root, 'reports/security/artifact-inventory.json'), `${JSON.stringify(report, null, 2)}\n`);
|
|
179
186
|
console.log(JSON.stringify({ status: report.status, installed: installed.map(item => ({ label: item.label, count: item.components.length, absentOptional: item.absentOptional.length, failures: item.failures.length })), frontend: { chunks: frontend.chunks.length, packages: frontend.packages.length, vendoredPackages: frontend.vendoredPackages.length, modules: frontend.uniqueDeclaredModules, unclassified: frontend.unclassifiedModules.length }, optionalPeers: references.scopes.map(scope => ({ label: scope.label, unresolved: scope.unresolvedReferenceCount, verifiedOptional: scope.optionalPeersVerified })), licenseNotices }));
|
|
@@ -15,7 +15,7 @@ const runtimeRole = read('adminWww/js/eos-role-ui.js');
|
|
|
15
15
|
const sourceWeb = read('src/lib/web.ts');
|
|
16
16
|
const runtimeWeb = read('build/lib/web.js');
|
|
17
17
|
|
|
18
|
-
assert.equal(pkg.version, '8.0.
|
|
18
|
+
assert.equal(pkg.version, '8.0.2', 'Installer EMS regression must run on Admin 8 release 8.0.2');
|
|
19
19
|
assert.equal(runtimeRole, sourceRole, 'built and source role runtimes must be identical');
|
|
20
20
|
|
|
21
21
|
for (const code of [sourceRole, runtimeRole]) {
|
|
@@ -5,10 +5,15 @@
|
|
|
5
5
|
const fs = require('node:fs');
|
|
6
6
|
const path = require('node:path');
|
|
7
7
|
const { integrityHashes, manifestDrift } = require('./nexowatt-security-inventory.cjs');
|
|
8
|
-
|
|
8
|
+
const vendor = require('./nexowatt-vendored-webserver.cjs');
|
|
9
|
+
function inspect(manifest, lock, root = path.resolve(__dirname, '..')) {
|
|
9
10
|
const issues = [];
|
|
10
11
|
if (![2, 3].includes(lock?.lockfileVersion) || !lock.packages || Array.isArray(lock.packages)) return [{ code: 'LOCK_STRUCTURE' }];
|
|
11
12
|
for (const issue of manifestDrift(manifest, lock)) issues.push({ code: 'MANIFEST_DRIFT', item: issue });
|
|
13
|
+
if (vendor.required(manifest)) {
|
|
14
|
+
const code = vendor.inspectVendoredWebserver(manifest, lock, root);
|
|
15
|
+
if (code) issues.push({ code, location: vendor.SOURCE_ROOT });
|
|
16
|
+
}
|
|
12
17
|
for (const [location, entry] of Object.entries(lock.packages)) {
|
|
13
18
|
if (!location) continue;
|
|
14
19
|
if (entry?.link) { issues.push({ code: 'LINK_REQUIRES_REVIEW', location }); continue; }
|
|
@@ -26,10 +31,10 @@ function inspect(manifest, lock) {
|
|
|
26
31
|
}
|
|
27
32
|
function run(root = path.resolve(__dirname, '..')) {
|
|
28
33
|
const report = { schemaVersion: 1, generatedAt: new Date().toISOString(), status: 'PASS',
|
|
29
|
-
limitations: '
|
|
34
|
+
limitations: 'Registry lock metadata admission plus exact source/runtime-byte verification of the vendored original WebServer and its direct dependencies; no CVE scan or publisher attestation.', scopes: [] };
|
|
30
35
|
for (const [name, folder] of [['backend', ''], ['frontend', 'src-admin']]) {
|
|
31
36
|
const read = file => JSON.parse(fs.readFileSync(path.join(root, folder, file), 'utf8'));
|
|
32
|
-
const issues = inspect(read('package.json'), read('package-lock.json'));
|
|
37
|
+
const issues = inspect(read('package.json'), read('package-lock.json'), path.join(root, folder));
|
|
33
38
|
report.scopes.push({ name, issues });
|
|
34
39
|
if (issues.length) report.status = 'BLOCKED';
|
|
35
40
|
}
|
|
@@ -57,7 +57,7 @@ async function repair({ root = path.resolve(__dirname, '..'), fetchMetadata = de
|
|
|
57
57
|
const manifestRaw = fs.readFileSync(manifestPath);
|
|
58
58
|
const lock = JSON.parse(original);
|
|
59
59
|
const manifest = JSON.parse(manifestRaw);
|
|
60
|
-
const issues = inspect(manifest, lock);
|
|
60
|
+
const issues = inspect(manifest, lock, path.join(root, folder));
|
|
61
61
|
if (issues.some(issue => !['STRONG_INTEGRITY_MISSING', 'REGISTRY_ORIGIN_UNVERIFIED'].includes(issue.code))) throw fail('LOCK_REQUIRES_MANUAL_REVIEW');
|
|
62
62
|
const locations = [...new Set(issues.map(issue => issue.location))];
|
|
63
63
|
for (const location of locations) {
|
|
@@ -71,7 +71,7 @@ async function repair({ root = path.resolve(__dirname, '..'), fetchMetadata = de
|
|
|
71
71
|
if (!tasks.has(key)) tasks.set(key, { expected, targets: [] });
|
|
72
72
|
tasks.get(key).targets.push({ scope, location, entry });
|
|
73
73
|
}
|
|
74
|
-
scopes.push({ scope, manifestPath, lockPath, manifestRaw, manifest, original, lock, locations });
|
|
74
|
+
scopes.push({ scope, scopeRoot: path.join(root, folder), manifestPath, lockPath, manifestRaw, manifest, original, lock, locations });
|
|
75
75
|
}
|
|
76
76
|
const queue = [...tasks.values()];
|
|
77
77
|
let cursor = 0, completed = 0, firstFailure;
|
|
@@ -99,7 +99,7 @@ async function repair({ root = path.resolve(__dirname, '..'), fetchMetadata = de
|
|
|
99
99
|
await Promise.all(Array.from({ length: Math.min(4, queue.length) }, worker));
|
|
100
100
|
if (firstFailure) throw firstFailure;
|
|
101
101
|
for (const item of scopes) {
|
|
102
|
-
if (inspect(item.manifest, item.lock).length) throw fail('REPAIRED_LOCK_NOT_ADMITTED');
|
|
102
|
+
if (inspect(item.manifest, item.lock, item.scopeRoot).length) throw fail('REPAIRED_LOCK_NOT_ADMITTED');
|
|
103
103
|
if (!fs.readFileSync(item.lockPath).equals(item.original) || !fs.readFileSync(item.manifestPath).equals(item.manifestRaw)) throw fail('CONCURRENT_INPUT_CHANGE');
|
|
104
104
|
item.output = Buffer.from(`${JSON.stringify(item.lock, null, 2)}\n`);
|
|
105
105
|
}
|
|
@@ -64,8 +64,8 @@ for (const code of [sourceMain, builtMain]) {
|
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
// Expert mode is an Admin-only control, but the administrator can freely toggle both directions.
|
|
67
|
-
assert.match(appSource, /const isEosAdministrator = \(\): boolean => \['admin', 'service'\]\.includes/);
|
|
68
|
-
assert.match(appSource, /isEosAdministrator\(\) &&/, 'expert mode must remain role-gated');
|
|
67
|
+
assert.match(appSource, /const isEosAdministrator = \(role = getEosAccessRole\(\)\): boolean => \['admin', 'service'\]\.includes\(role\)/);
|
|
68
|
+
assert.match(appSource, /isEosAdministrator\(this\.state\.eosAccessRole\) &&/, 'expert mode must remain role-gated');
|
|
69
69
|
assert.match(appSource, /data-eos-expert-control="1"/);
|
|
70
70
|
assert.match(appSource, /this\.setState\(\{ expertMode: !this\.state\.expertMode \}\)/);
|
|
71
71
|
assert.match(bootstrapBundle, /["'`]data-eos-expert-control["'`]:["'`]1["'`]/);
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
const fs = require('node:fs');
|
|
7
7
|
const path = require('node:path');
|
|
8
8
|
const crypto = require('node:crypto');
|
|
9
|
+
const webserverVendor = require('./nexowatt-vendored-webserver.cjs');
|
|
9
10
|
const TOOL_VERSION = '1.0.0';
|
|
10
11
|
const LIMITATION = 'Lockfile reference inventory only; no installed tree, bundle composition, CVE assessment, or deployed-device attestation.';
|
|
11
12
|
const hash = value => crypto.createHash('sha256').update(value).digest('hex');
|
|
@@ -172,7 +173,27 @@ function generate(rootDirectory, outputDirectory, timestamp = new Date().toISOSt
|
|
|
172
173
|
for (const [label, directory] of [['backend', ''], ['frontend', 'src-admin']]) {
|
|
173
174
|
const manifestPath = path.join(rootDirectory, directory, 'package.json');
|
|
174
175
|
const lockPath = path.join(rootDirectory, directory, 'package-lock.json');
|
|
175
|
-
const
|
|
176
|
+
const manifest = readJSON(manifestPath), lock = readJSON(lockPath);
|
|
177
|
+
const result = buildLockInventory(manifest, lock, label, { manifest: hash(fs.readFileSync(manifestPath)), lock: hash(fs.readFileSync(lockPath)) }, timestamp);
|
|
178
|
+
if (label === 'backend' && webserverVendor.required(manifest)) {
|
|
179
|
+
const issue = webserverVendor.inspectVendoredWebserver(manifest, lock, rootDirectory);
|
|
180
|
+
if (issue) throw new Error(issue);
|
|
181
|
+
const provenanceBytes = fs.readFileSync(path.join(rootDirectory, webserverVendor.PROVENANCE));
|
|
182
|
+
const provenance = JSON.parse(provenanceBytes);
|
|
183
|
+
const ref = 'nexowatt:backend:vendored-webserver';
|
|
184
|
+
result.bom.components.push({ type: 'library', 'bom-ref': ref, name: provenance.name, version: provenance.version,
|
|
185
|
+
purl: npmPurl(provenance.name, provenance.version), licenses: [{ license: { id: 'MIT' } }],
|
|
186
|
+
hashes: [{ alg: 'SHA-256', content: provenance.upstream.sha256 }],
|
|
187
|
+
properties: [{ name: 'nexowatt:delivery', value: 'source-vendored; all 39 upstream files byte-identical' },
|
|
188
|
+
{ name: 'nexowatt:runtime:location', value: webserverVendor.RUNTIME_ROOT },
|
|
189
|
+
{ name: 'nexowatt:provenance:sha256', value: hash(provenanceBytes) },
|
|
190
|
+
{ name: 'nexowatt:dependency-resolution', value: 'EOS root registry dependencies; upstream nested package manifest is not an npm install input' }] });
|
|
191
|
+
result.bom.dependencies.find(dependency => dependency.ref === 'nexowatt:backend:root').dependsOn.push(ref);
|
|
192
|
+
result.bom.dependencies.push({ ref, dependsOn: Object.keys(provenance.directDependencies).map(name => `nexowatt:backend:node_modules/${name}`) });
|
|
193
|
+
result.summary.componentCount++;
|
|
194
|
+
result.summary.vendoredSourceCount = 1;
|
|
195
|
+
result.summary.vendoredSourceProvenance = webserverVendor.PROVENANCE;
|
|
196
|
+
}
|
|
176
197
|
summary.inventories.push(result.summary);
|
|
177
198
|
artifacts.push([`sbom-${label}-lock.cdx.json`, result.bom]);
|
|
178
199
|
}
|
|
@@ -13,7 +13,7 @@ const runtimeRole = read('adminWww/js/eos-role-ui.js');
|
|
|
13
13
|
const sourceMain = read('src/main.ts');
|
|
14
14
|
const builtMain = read('build/main.js');
|
|
15
15
|
|
|
16
|
-
assert.equal(pkg.version, '8.0.
|
|
16
|
+
assert.equal(pkg.version, '8.0.2', 'security release must use its new npm version');
|
|
17
17
|
for (const web of [sourceWeb, builtWeb]) {
|
|
18
18
|
assert.match(web, /nexowatt\/readonly\/system-info/, 'read-only system information endpoint missing');
|
|
19
19
|
assert.match(web, /sendEosReadonlySystemInfo/, 'read-only system information handler missing');
|
|
@@ -21,7 +21,7 @@ const runtimeCss = read('adminWww/css/nexowatt-native-shell.css');
|
|
|
21
21
|
const drawer = read('src-admin/src/components/Drawer.tsx');
|
|
22
22
|
const index = read('adminWww/index.html');
|
|
23
23
|
|
|
24
|
-
assert.equal(pkg.version, '8.0.
|
|
24
|
+
assert.equal(pkg.version, '8.0.2', 'retained 7.10.9 clean-core regression must run on Admin 8 release 8.0.2');
|
|
25
25
|
assert.equal(sourceRole, runtimeRole, 'role source/runtime drift');
|
|
26
26
|
assert.equal(sourceBoot, runtimeBoot, 'bootstrap source/runtime drift');
|
|
27
27
|
assert.equal(sourceShell, runtimeShell, 'shell source/runtime drift');
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
// Exact-byte admission for the original upstream WebServer source distribution.
|
|
3
|
+
// Registry dependencies are declared at EOS root; no nested file: install is used.
|
|
4
|
+
const fs = require('node:fs');
|
|
5
|
+
const path = require('node:path');
|
|
6
|
+
const crypto = require('node:crypto');
|
|
7
|
+
const SOURCE_ROOT = 'src/lib/vendor/webserver';
|
|
8
|
+
const RUNTIME_ROOT = 'build/lib/vendor/webserver';
|
|
9
|
+
const PROVENANCE = 'tools/vendor/webserver-3.4.0-source.provenance.json';
|
|
10
|
+
const PROVENANCE_SHA256 = '75384d81f77481f76c76c143d68ba2a7526f58dbb3dae772243f3708bc92b302';
|
|
11
|
+
const OAUTH = 'npm:@node-oauth/oauth2-server@5.3.1';
|
|
12
|
+
function required(manifest) {
|
|
13
|
+
return manifest.name === 'iobroker.eos-admin' || manifest.dependencies?.['oauth2-server'] === OAUTH;
|
|
14
|
+
}
|
|
15
|
+
function readRegular(root, relative, maxBytes) {
|
|
16
|
+
const parts = relative.split('/');
|
|
17
|
+
if (parts.some(part => !part || part === '.' || part === '..' || part.includes('\\'))) throw new Error('PATH');
|
|
18
|
+
let current = path.resolve(root);
|
|
19
|
+
for (const [index, part] of parts.entries()) {
|
|
20
|
+
current = path.join(current, part);
|
|
21
|
+
const stat = fs.lstatSync(current);
|
|
22
|
+
if (stat.isSymbolicLink() || (index < parts.length - 1 ? !stat.isDirectory() : !stat.isFile())) throw new Error('TYPE');
|
|
23
|
+
}
|
|
24
|
+
const descriptor = fs.openSync(current, fs.constants.O_RDONLY | (fs.constants.O_NOFOLLOW || 0));
|
|
25
|
+
try {
|
|
26
|
+
const stat = fs.fstatSync(descriptor);
|
|
27
|
+
if (!stat.isFile() || stat.size > maxBytes) throw new Error('SIZE');
|
|
28
|
+
return fs.readFileSync(descriptor);
|
|
29
|
+
} finally { fs.closeSync(descriptor); }
|
|
30
|
+
}
|
|
31
|
+
function filesWithin(root, relative) {
|
|
32
|
+
const files = [];
|
|
33
|
+
function walk(directory, prefix, depth) {
|
|
34
|
+
if (depth > 5 || files.length > 39) throw new Error('BOUND');
|
|
35
|
+
for (const entry of fs.readdirSync(directory, { withFileTypes: true })) {
|
|
36
|
+
const rel = prefix ? `${prefix}/${entry.name}` : entry.name;
|
|
37
|
+
if (entry.isSymbolicLink()) throw new Error('LINK');
|
|
38
|
+
if (entry.isDirectory()) walk(path.join(directory, entry.name), rel, depth + 1);
|
|
39
|
+
else if (entry.isFile()) files.push(rel);
|
|
40
|
+
else throw new Error('TYPE');
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
walk(path.join(root, relative), '', 0);
|
|
44
|
+
return files.sort();
|
|
45
|
+
}
|
|
46
|
+
function inspectVendoredWebserver(manifest, lock, root) {
|
|
47
|
+
try {
|
|
48
|
+
const bytes = readRegular(root, PROVENANCE, 64 * 1024);
|
|
49
|
+
if (crypto.createHash('sha256').update(bytes).digest('hex') !== PROVENANCE_SHA256) return 'VENDORED_PROVENANCE_MISMATCH';
|
|
50
|
+
const provenance = JSON.parse(bytes);
|
|
51
|
+
if (manifest.dependencies?.['@iobroker/webserver'] || Object.keys(lock.packages || {}).some(name => name.endsWith('/@iobroker/webserver'))) return 'VENDORED_PACKAGE_METADATA_MISMATCH';
|
|
52
|
+
for (const [name, expected] of Object.entries(provenance.directDependencies)) {
|
|
53
|
+
const entry = lock.packages?.[`node_modules/${name}`];
|
|
54
|
+
if (manifest.dependencies?.[name] !== expected.specifier || !entry || entry.link ||
|
|
55
|
+
Object.entries(expected.entry).some(([key, value]) => entry[key] !== value)) return 'VENDORED_PACKAGE_METADATA_MISMATCH';
|
|
56
|
+
}
|
|
57
|
+
const expectedNames = provenance.files.map(file => file.path).sort();
|
|
58
|
+
for (const folder of [SOURCE_ROOT, RUNTIME_ROOT]) {
|
|
59
|
+
// lstat every parent, even when a directory itself is replaced with a symlink.
|
|
60
|
+
for (const file of provenance.files) {
|
|
61
|
+
const data = readRegular(root, `${folder}/${file.path}`, file.bytes);
|
|
62
|
+
if (data.length !== file.bytes || crypto.createHash('sha256').update(data).digest('hex') !== file.sha256) return 'VENDORED_SOURCE_BYTES_MISMATCH';
|
|
63
|
+
}
|
|
64
|
+
if (JSON.stringify(filesWithin(root, folder)) !== JSON.stringify(expectedNames)) return 'VENDORED_SOURCE_FILESET_MISMATCH';
|
|
65
|
+
}
|
|
66
|
+
} catch { return 'VENDORED_SOURCE_UNAVAILABLE'; }
|
|
67
|
+
return null;
|
|
68
|
+
}
|
|
69
|
+
module.exports = { SOURCE_ROOT, RUNTIME_ROOT, PROVENANCE, OAUTH, required, inspectVendoredWebserver };
|