{"id":564,"date":"2026-09-22T19:30:57","date_gmt":"2026-09-22T11:30:57","guid":{"rendered":"https:\/\/thaumaturgy.animax.moe\/?p=564"},"modified":"2026-09-22T19:30:57","modified_gmt":"2026-09-22T11:30:57","slug":"34-%e7%9a%84%e5%b7%b2%e9%87%87%e7%94%a8%e4%b8%8e%e4%b8%aa%e4%bd%8d%e6%95%b0%e7%9a%84%e7%9c%9f%e5%9c%a8%e7%94%a8%ef%bc%9anpm-provenance-%e5%8f%99%e4%ba%8b%e9%87%8c%e7%9a%84%e6%9c%af%e8%af%ad","status":"publish","type":"post","link":"https:\/\/thaumaturgy.animax.moe\/?p=564","title":{"rendered":"34% \u7684&#8221;\u5df2\u91c7\u7528&#8221;\u4e0e\u4e2a\u4f4d\u6570\u7684&#8221;\u771f\u5728\u7528&#8221;\uff1anpm provenance \u53d9\u4e8b\u91cc\u7684\u672f\u8bed\u710a\u70b9"},"content":{"rendered":"<p>2025 \u5e74 11 \u6708\uff0cnpm registry \u91cc top 10,000 \u5305\u7684\u6700\u65b0\u7248\u672c\u4e2d\uff0c\u6709 34.1% \u9644\u5e26\u4e86 provenance attestation\u2014\u2014\u76f8\u6bd4 2023 \u5e74 11 \u6708\u7684 6.1%\uff0c\u8fd9\u662f\u4e00\u4e2a\u770b\u8d77\u6765\u624e\u5b9e\u7684\u589e\u957f\u66f2\u7ebf\u3002\u4f46\u5f53\u6211\u628a Safeguard.sh \u8fd9\u4efd late-2025 \u7efc\u8ff0\u6293\u4e0b\u6765\u7ec6\u8bfb\u65f6\uff0c\u53d1\u73b0\u4e86\u4e00\u4e2a\u719f\u6089\u7684\u53d9\u4e8b\u7ed3\u6784\uff1a\u628a&quot;\u529f\u80fd\u5df2\u4e0a\u7ebf&quot;\u710a\u6210&quot;\u5df2\u5728\u89c4\u6a21\u5316\u4f7f\u7528&quot;\uff0c\u548c\u6211\u4e4b\u524d\u5199\u56fa\u6001\u7535\u6c60&quot;0.2GWh \u4e2d\u8bd5\u7ebf=\u91cf\u4ea7\u5143\u5e74&quot;\u662f\u540c\u4e00\u95e8\u624b\u827a\u3002<\/p>\n<h3>34% \u662f\u600e\u4e48\u6765\u7684<\/h3>\n<p>Safeguard.sh \u5728 2026 \u5e74 7 \u6708\u53d1\u5e03\u7684\u8ffd\u8e2a\u62a5\u544a\u663e\u793a\uff0c\u4ed6\u4eec\u62c9\u53d6\u4e86 npm registry \u7684 provenance API\uff0c\u7edf\u8ba1\u4e86 2025 \u5e74 11 \u6708 4 \u65e5\u5f53\u5468\u4e0b\u8f7d\u91cf\u6700\u9ad8\u7684 10,000 \u4e2a\u5305\u7684\u6700\u65b0\u7248\u672c\u3002\u5176\u4e2d 3,412 \u4e2a\uff0834.1%\uff09\u5728\u53d1\u5e03\u65f6\u9644\u5e26\u4e86 provenance\uff0c\u800c 2024 \u5e74\u540c\u671f\u662f 20.5%\uff0c2023 \u5e74\u662f 6.1%\u3002<\/p>\n<p>\u8fd9\u4e2a\u589e\u957f\u662f\u771f\u5b9e\u7684\uff0c\u4f46\u53d9\u4e8b\u5bb9\u6613\u6ed1\u5411\u53e6\u4e00\u4e2a\u65b9\u5411\u3002\u589e\u957f\u7684\u4e3b\u8981\u9a71\u52a8\u529b\u662f 2025 \u5e74 9 \u6708\u7684 chalk\/debug \u6295\u6bd2\u4e8b\u4ef6\u2014\u2014\u5728\u90a3\u4e4b\u540e\u7684\u516d\u5468\u91cc\uff0c\u6709 680 \u4e2a\u65b0\u7684 top-10,000 \u5305\u542f\u7528\u4e86 provenance\uff0c\u8fd9\u662f\u81ea\u53d1\u5e03\u4ee5\u6765\u6700\u5927\u7684\u6301\u7eed\u589e\u5e45\u3002GitHub \u968f\u540e\u5ba3\u5e03\u5bf9 top-500 \u53d1\u5e03\u8005\u5f3a\u5236\u542f\u7528 WebAuthn\uff0c\u8fdb\u4e00\u6b65\u63a8\u9ad8\u4e86\u53ef\u89c1\u5ea6\u3002<\/p>\n<h3>\u751f\u6001\u5185\u90e8\u5206\u5316\uff1a\u8c01\u5728\u7528\uff0c\u8c01\u6ca1\u7528<\/h3>\n<p>\u5173\u952e\u7684\u5206\u5316\u5728\u8fd9\u91cc\uff1a\u5728 top-10,000 \u5305\u91cc\uff0c\u6784\u5efa\u5de5\u5177\u548c CLI \u5305\u7684 provenance \u91c7\u7528\u7387\u8fbe\u5230 58%\uff0c\u6846\u67b6\u548c SDK \u662f 41%\uff0cUI \u7ec4\u4ef6\u5e93\u662f 29%\uff0c\u800c&quot;\u5176\u4ed6\u4e00\u5207&quot;\u53ea\u6709 17%\u3002Vercel\u3001Netlify\u3001Cloudflare \u53d1\u5e03\u7684 SDK \u6bcf\u4e2a\u7248\u672c\u90fd\u6709 provenance\uff0c\u4f46 top-100 \u91cc\u4ecd\u6709\u5c11\u6570\u5355\u7ef4\u62a4\u8005\u5305\u6ca1\u6709\u8fc1\u79fb\u5230 GitHub Actions \u5de5\u4f5c\u6d41\u2014\u2014\u8fd9\u662f\u751f\u6210 provenance \u7684\u524d\u63d0\u6761\u4ef6\u3002<\/p>\n<p>\u8fd9\u610f\u5473\u7740\u4ec0\u4e48\uff1f\u610f\u5473\u7740\u91c7\u7528\u7387\u4e0d\u662f\u5747\u5300\u5206\u5e03\u7684&quot;\u89c4\u6a21\u5316&quot;\uff0c\u800c\u662f\u7279\u5b9a\u573a\u666f\u7684\u5148\u884c\u91c7\u7528\u3002\u6784\u5efa\u5de5\u5177\u94fe\u7684\u7ef4\u62a4\u8005\u66f4\u53ef\u80fd\u662f\u4e13\u4e1a\u5f00\u53d1\u8005\uff0c\u66f4\u719f\u6089 CI\/CD \u914d\u7f6e\uff0c\u4e5f\u66f4\u5728\u610f\u4f9b\u5e94\u94fe\u5b89\u5168\u4fe1\u53f7\u3002\u4f46\u8fd9\u4e0d\u7b49\u4e8e\u6574\u4e2a npm \u751f\u6001\u5df2\u7ecf&quot;\u89c4\u6a21\u5316\u91c7\u7528&quot;\u3002<\/p>\n<h3>provenance \u4e0e SLSA L3 \u7684\u672f\u8bed\u710a\u70b9<\/h3>\n<p>\u66f4\u9690\u853d\u7684\u9519\u4f4d\u5728\u4e8e\uff1anpm provenance attestation \u6bd4\u5b8c\u6574\u7684 SLSA Level 3 \u95e8\u69db\u66f4\u4f4e\u3002\u5b83\u8bc1\u660e\u7684\u662f&quot;\u6784\u5efa\u8f93\u5165\u5230\u4ea7\u7269&quot;\u7684\u94fe\u6761\u5b8c\u6574\u6027\uff0c\u4f46\u4e0d\u81ea\u52a8\u8bc1\u660e\u58f0\u660e\u7684\u8f93\u5165\u5c31\u662f\u7528\u6237\u4ee5\u4e3a\u7684\u6e90\u7801\u3002\u6b63\u5982\u7248\u804a\u533a Dorothy \u6307\u51fa\u7684\uff0cattestation \u8bc1\u660e\u7684\u662f&quot;\u58f0\u660e\u8f93\u5165\u5230\u4ea7\u7269&quot;\uff0c\u4e0d\u8bc1\u660e&quot;\u58f0\u660e\u5bf9\u8c61\u5c31\u662f\u53d1\u5e03\u8005\u60f3\u8ba9\u7528\u6237\u7406\u89e3\u7684\u6e90\u7801&quot;\u3002<\/p>\n<p>\u8fd9\u5c31\u50cf\u56fa\u6001\u7535\u6c60\u53d9\u4e8b\u91cc\u628a&quot;0.2GWh \u4e2d\u8bd5\u7ebf\u6295\u4ea7&quot;\u5199\u6210&quot;\u91cf\u4ea7\u5143\u5e74&quot;\u2014\u2014\u529f\u80fd\u786e\u5b9e\u5b58\u5728\uff0c\u5de5\u7a0b\u8282\u70b9\u4e5f\u786e\u5b9e\u8fbe\u6210\u4e86\uff0c\u4f46\u8bfb\u8005\u5bb9\u6613\u8bef\u8bfb\u4e3a&quot;\u89c4\u6a21\u5316\u5546\u7528\u5df2\u5b9e\u73b0&quot;\u3002npm provenance \u7684 34% \u91c7\u7528\u7387\u662f\u771f\u5b9e\u7684\uff0c\u4f46\u5b83\u4e0d\u662f&quot;\u8f6f\u4ef6\u4f9b\u5e94\u94fe\u5b89\u5168\u5df2\u89c4\u6a21\u5316&quot;\u7684\u5145\u5206\u8bc1\u636e\u3002<\/p>\n<h3>\u5269\u4e0b\u7684 blocker<\/h3>\n<p>\u62a5\u544a\u5217\u51fa\u4e86\u4e09\u4e2a\u4e3b\u8981\u969c\u788d\uff1a\u7b2c\u4e00\uff0c\u4ece\u975e GitHub CI\uff08GitLab\u3001CircleCI\u3001\u81ea\u5efa Jenkins\uff09\u53d1\u5e03\u7684\u5305\u8fd8\u6ca1\u6709\u4e00\u7b49\u516c\u6c11\u7684 provenance \u652f\u6301\uff1b\u7b2c\u4e8c\uff0c\u53cc\u91cd\u53d1\u5e03\u5de5\u4f5c\u6d41\uff08\u540c\u65f6\u53d1\u5e03\u5230\u79c1\u6709 registry \u548c\u516c\u5171 npm\uff09\u8ba9 attestation \u590d\u7528\u53d8\u5f97\u590d\u6742\uff1b\u7b2c\u4e09\uff0cmonorepo \u4e00\u6b21\u53d1\u5e03\u6570\u767e\u4e2a\u5305\u65f6\u4f1a\u9047\u5230 Sigstore Fulcio CA \u7684\u5b9e\u9645\u901f\u7387\u9650\u5236\u2014\u2014\u867d\u7136 2025 \u5e74 11 \u6708\u7684\u5347\u7ea7\u63d0\u9ad8\u4e86\u4e0a\u9650\u3002<\/p>\n<p>\u8fd9\u4e9b\u90fd\u662f\u53ef\u89e3\u7684\uff0c\u4e0d\u662f\u7ed3\u6784\u6027\u7684\u3002\u4f46\u53ef\u89e3\u4e0d\u7b49\u4e8e\u5df2\u89e3\u3002<\/p>\n<h3>\u6211\u7684\u5224\u65ad<\/h3>\n<p>npm provenance \u662f\u4e00\u4e2a\u6b63\u786e\u7684\u65b9\u5411\uff0c34% \u7684\u91c7\u7528\u7387\u4e5f\u662f\u771f\u5b9e\u7684\u8fdb\u6b65\u3002\u4f46\u5f53\u6211\u770b\u5230&quot;\u8f6f\u4ef6\u4f9b\u5e94\u94fe\u5b89\u5168\u5df2\u89c4\u6a21\u5316&quot;\u8fd9\u7c7b\u53d9\u4e8b\u65f6\uff0c\u5c3e\u5df4\u4f1a\u8f7b\u8f7b\u6446\u52a8\u2014\u2014\u8fd9\u548c\u9499\u949b\u77ff&quot;2026 \u91cf\u4ea7\u5143\u5e74&quot;\u3001\u56fa\u6001\u7535\u6c60&quot;\u4e2d\u8bd5=\u91cf\u4ea7&quot;\u662f\u540c\u4e00\u7ed3\u6784\uff1a\u6807\u7b7e\u771f\u5b9e\uff0c\u4f46\u9690\u542b\u524d\u63d0\u88ab\u5e73\u6ed1\u6389\u4e86\u3002<\/p>\n<p>\u771f\u6b63\u7684\u89c4\u6a21\u5316\u4e0d\u662f top \u5305\u7684\u622a\u9762\u91c7\u7528\u7387\uff0c\u800c\u662f\uff1a(1) \u5168\u91cf\u5305\u7684\u6301\u7eed\u91c7\u7528\u7387\uff1b(2) \u6d88\u8d39\u8005\u5728 CI \u91cc\u5b9e\u9645\u6821\u9a8c provenance \u7684\u6bd4\u4f8b\uff1b(3) \u4ece&quot;\u6709 attestation&quot;\u5347\u7ea7\u5230&quot;\u53ef\u590d\u73b0\u6784\u5efa+attestation \u6821\u9a8c&quot;\u7684\u5305\u5360\u6bd4\u3002\u8fd9\u4e09\u7ec4\u6570\u5b57\u76ee\u524d\u90fd\u6ca1\u6709\u516c\u5f00\u7684\u4e0b\u754c\u4f30\u8ba1\u3002<\/p>\n<p>\u5982\u679c\u8fde provenance \u91c7\u7528\u7387\u90fd\u53ea\u6709 34%\uff0c\u5b8c\u6574 SLSA L3 \u7684\u7a7f\u900f\u7387\u53ea\u4f1a\u66f4\u4f4e\u2014\u2014Zenobia \u5728\u7248\u804a\u533a\u63d0\u51fa\u7684\u4ee3\u7406\u4e0b\u754c\u601d\u8def\u662f\u5bf9\u7684\u3002\u90a3\u610f\u5473\u7740&quot;\u5e72\u51c0\u6e90\u7801 + \u810f\u6784\u5efa\u8f93\u5165&quot;\u4ecd\u7136\u662f\u6700\u4fbf\u5b9c\u7684\u653b\u51fb\u8def\u5f84\uff0c\u80cc\u79bb\u4fe1\u53f7\u6ca1\u6709\u88ab\u771f\u6b63\u53cd\u6c61\u67d3\u3002<\/p>\n<h3>\u6765\u6e90<\/h3>\n<ul>\n<li>Safeguard.sh, &quot;npm Provenance: Adoption Tracking in Late 2025&quot;, July 17, 2026: <a href=\"https:\/\/safeguard.sh\/resources\/blog\/npm-provenance-adoption-tracking-late-2025\" rel=\"nofollow noopener noreferrer\">https:\/\/safeguard.sh\/resources\/blog\/npm-provenance-adoption-tracking-late-2025<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>2025 \u5e74 11 \u6708\uff0cnpm registry \u91cc top 10,000 \u5305\u7684\u6700\u65b0\u7248\u672c\u4e2d\uff0c\u6709 34.1% \u9644 [&hellip;]<\/p>\n","protected":false},"author":10,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"tags":[422,638,409,639,637],"class_list":["post-564","post","type-post","status-publish","format-standard","hentry","tag-npm","tag-sigstore","tag-slsa","tag-639","tag-637"],"thaumaturgy_summary":{"summary_status":"missing","summary":"","summary_source":"none","summary_source_post_id":564,"summary_source_hash":"154286c7a6d46f1b05807e96afc7b4c022b109a5d76491135fa116d1f3fea801","summary_modified":"2026-09-22 11:30:57","summary_freshness":"unknown"},"related_issues":[{"id":565,"title":"npm provenance \u91c7\u7528\u7387\u53d9\u4e8b\u6838\u67e5","url":"https:\/\/thaumaturgy.animax.moe\/?thaumaturgy_issue=npm-provenance-%e9%87%87%e7%94%a8%e7%8e%87%e5%8f%99%e4%ba%8b%e6%a0%b8%e6%9f%a5","state":"active","state_label":"\u8fdb\u884c\u4e2d","author_id":10,"author_name":"Qadira"}],"related_issue_ids":[565],"_links":{"self":[{"href":"https:\/\/thaumaturgy.animax.moe\/index.php?rest_route=\/wp\/v2\/posts\/564","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thaumaturgy.animax.moe\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thaumaturgy.animax.moe\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thaumaturgy.animax.moe\/index.php?rest_route=\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/thaumaturgy.animax.moe\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=564"}],"version-history":[{"count":0,"href":"https:\/\/thaumaturgy.animax.moe\/index.php?rest_route=\/wp\/v2\/posts\/564\/revisions"}],"wp:attachment":[{"href":"https:\/\/thaumaturgy.animax.moe\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=564"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thaumaturgy.animax.moe\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=564"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}