{"id":57,"date":"2026-06-29T10:17:15","date_gmt":"2026-06-29T02:17:15","guid":{"rendered":"https:\/\/genetop.top\/index.php\/2026\/06\/29\/security-mistralai-event\/"},"modified":"2026-06-29T10:17:15","modified_gmt":"2026-06-29T02:17:15","slug":"security-mistralai-event","status":"publish","type":"post","link":"https:\/\/genetop.top\/index.php\/2026\/06\/29\/security-mistralai-event\/","title":{"rendered":"Mini Shai-Hulud \u8815\u866b\u4e8b\u4ef6\uff1a\u4e00\u573a\u91cd\u5199\u4f9b\u5e94\u94fe\u4fe1\u4efb\u89c4\u5219\u7684&#8221;\u6c99\u866b\u98ce\u66b4&#8221;"},"content":{"rendered":"<blockquote>\n<p>\u6ce8\uff1a\u672c\u6587\u6d89\u53ca\u7684\u90e8\u5206\u5177\u4f53\u6570\u5b57\u3001\u7ec4\u7ec7\u540d\u4e0e\u53d7\u5f71\u54cd\u5305\u6e05\u5355\u6765\u81ea\u516c\u5f00\u62a5\u9053\uff0c\u6587\u4e2d\u5173\u4e8e <code>mistralai 2.4.6<\/code> \u7684\u65f6\u95f4\u7ebf\u4e0e\u5904\u7f6e\u7ed3\u679c\uff0c\u53ef\u5728\u5f00\u6e90\u9879\u76ee Hermes \u7684\u5b89\u5168\u516c\u544a\u8bb0\u5f55\u4e2d\u4ea4\u53c9\u5370\u8bc1\u3002<\/p>\n<\/blockquote>\n<p><strong>Mini Shai-Hulud \u8815\u866b\u4e8b\u4ef6<\/strong>\uff08\u5c24\u5176\u662f 2026 \u5e74 4 \u6708\u81f3 5 \u6708\u7206\u53d1\u7684\u8fd9\u4e00\u6ce2\uff09\u662f\u5f00\u6e90\u8f6f\u4ef6\u4f9b\u5e94\u94fe\u5b89\u5168\u53f2\u4e0a\u7684\u4e00\u5ea7\u5206\u6c34\u5cad\u3002\u5b83\u4e0d\u4ec5\u6ce2\u53ca\u4e86 <code>mistralai 2.4.6<\/code>\uff08PyPI\uff09\u3001<code>lightning 2.6.2\/2.6.3<\/code>\uff08PyTorch Lightning\uff09\u4ee5\u53ca\u8d85\u8fc7 160 \u4e2a\u9876\u7ea7 npm \u5305\uff08\u5982 TanStack\uff09\uff0c\u8fd8\u6253\u7834\u4e86\u4f20\u7edf\u7684\u9632\u5fa1\u8ba4\u77e5\u3002<\/p>\n<p>\u4ee5\u4e0b\u662f\u5173\u4e8e\u8be5\u4e8b\u4ef6\u7684\u5168\u9762\u62c6\u89e3\uff1a<\/p>\n<h2 id=\"1-mini-shai-hulud\">1. \u4ec0\u4e48\u662f Mini Shai-Hulud\uff1f<\/h2>\n<p><strong>Mini Shai-Hulud<\/strong> \u662f\u9ed1\u5ba2\u7ec4\u7ec7 <strong>TeamPCP<\/strong>\uff08\u53c8\u540d DeadCatx3\uff09\u5f00\u53d1\u7684<strong>\u81ea\u4f20\u64ad\u4f9b\u5e94\u94fe\u8815\u866b\uff08Self-propagating Supply-Chain Worm\uff09<\/strong>\u3002\u5176\u547d\u540d\u6e90\u81ea\u300a\u6c99\u4e18\u300b\u4e2d\u7684\u6c99\u866b\uff08Shai-Hulud\uff09\uff0c\u5bd3\u610f\u5176\u5728\u4ee3\u7801\u751f\u6001\u5e95\u5c42\u5982\u5de8\u866b\u822c\u541e\u566c\u4e00\u5207\u3002<\/p>\n<p>\u5b83\u7684\u6838\u5fc3\u7279\u5f81\u662f<strong>\u81ea\u52a8\u5316\u96ea\u5d29\u5f0f\u6269\u6563<\/strong>\uff1a<\/p>\n<pre><code>[ \u653b\u9677\u4e0a\u6e38 A \u5e93 ] \u2500\u2500&gt; [ \u5f00\u53d1\u8005\/CI \u4e0b\u8f7d A \u5e93\u5e76\u89e6\u53d1\u6076\u610f\u4ee3\u7801 ] \n                             \u2502\n                             \u25bc\n                    [ \u7a83\u53d6\u8be5\u73af\u5883\u7684\u53d1\u5e03\u51ed\u8bc1\/\u4e91\u5bc6\u94a5 ] \n                             \u2502\n                             \u25bc\n [ \u8815\u866b\u81ea\u52a8\u5bfb\u627e\u8be5\u51ed\u8bc1\u6709\u6743\u4fee\u6539\u7684 B\u3001C\u3001D \u5e93 ] \u2500\u2500&gt; [ \u81ea\u52a8\u63d0\u7248\u672c\u53f7\uff0c\u6295\u6bd2\u53d1\u5e03\u65b0\u5305 ]\n\n<\/code><\/pre>\n<h2 id=\"2-mistralai-ai\">2. \u6838\u5fc3\u6280\u672f\u7a81\u7834\uff1a\u5982\u4f55\u653b\u7834 <code>mistralai<\/code> \u7b49 AI \u5e93\uff1f<\/h2>\n<p>\u4ee5\u5f80\u7684\u4f9b\u5e94\u94fe\u6295\u6bd2\u901a\u5e38\u4f9d\u9760\u201c\u9493\u9c7c\u201d\u6216\u201c\u76f4\u63a5\u76d7\u53d6\u5f00\u53d1\u8005\u5bc6\u7801\u201d\uff0c\u800c 2026 \u5e74 5 \u6708 11 \u65e5\u7206\u53d1\u7684\u8fd9\u4e00\u6ce2 Mini Shai-Hulud \u91c7\u7528\u4e86\u6781\u5176\u7cbe\u5bc6\u7684 <strong>CI\/CD \u7f13\u5b58\u6295\u6bd2\u4e0e OIDC \u6ee5\u7528\uff08Trusted Publishing\uff09<\/strong>\u3002<\/p>\n<h3 id=\"pull-request-tanstack\">\u6b65\u9aa4\u4e00\uff1a\u5229\u7528 Pull Request \u673a\u5236\u6f5c\u5165 (\u4ee5 TanStack \u4e3a\u8df3\u677f)<\/h3>\n<p>\u653b\u51fb\u8005\u9996\u5148\u5728 GitHub \u4e0a Fork \u76ee\u6807\u9879\u76ee\uff0c\u4fee\u6539\u4ee3\u7801\u540e\u63d0\u4ea4\u4e00\u4e2a Pull Request\uff08PR\uff09\u3002\u7531\u4e8e\u76ee\u6807\u9879\u76ee\u7684 GitHub Actions \u914d\u7f6e\u4e86 <code>pull_request_target<\/code> \u89e6\u53d1\u5668\uff08\u4e00\u79cd\u5141\u8bb8\u5728\u7279\u6743\u4e0a\u4e0b\u6587\u4e2d\u8fd0\u884c PR \u4ee3\u7801\u7684\u914d\u7f6e\uff09\uff0c\u6076\u610f\u4ee3\u7801\u5728 CI \u7ba1\u9053\u4e2d\u88ab\u6267\u884c\u3002<\/p>\n<h3 id=\"_1\">\u6b65\u9aa4\u4e8c\uff1a\u51ed\u8bc1\u7a83\u53d6\u4e0e\u751f\u6001\u8de8\u8d8a<\/h3>\n<p>\u5728\u7ba1\u9053\u6216\u672c\u5730\u88ab\u89e6\u53d1\u540e\uff0c\u8815\u866b\u7acb\u5373\u5168\u76d8\u626b\u63cf\u4ee5\u4e0b\u654f\u611f\u4fe1\u606f\uff1a<\/p>\n<ul>\n<li><strong>\u53d1\u5e03\u51ed\u8bc1<\/strong>\uff1a<code>.pypirc<\/code>\uff08Python\uff09\u3001<code>npm tokens<\/code>\u3002<\/li>\n<li><strong>\u4e91\u4e0e\u57fa\u7840\u8bbe\u65bd\u5bc6\u94a5<\/strong>\uff1aAWS\u3001GCP\u3001Azure \u51ed\u8bc1\uff0c\u4ee5\u53ca Kubernetes \u7684 <code>kubeconfig<\/code>\u3002<\/li>\n<li><strong>CI\/CD \u5bc6\u94a5<\/strong>\uff1aGitHub Tokens\u3001HashiCorp Vault \u5bc6\u94a5\u3002<\/li>\n<\/ul>\n<h3 id=\"import\">\u6b65\u9aa4\u4e09\uff1a\u65e0\u9700\u5b89\u88c5\uff0c\u52a8\u6001\u89e6\u53d1\uff08Import \u6295\u6bd2\uff09<\/h3>\n<p>\u5bf9\u4e8e PyPI \u4e0a\u7684 <code>mistralai 2.4.6<\/code> \u548c <code>guardrails-ai 0.10.1<\/code> \u7b49 AI \u5f00\u53d1\u5e93\uff0c\u8815\u866b\u91c7\u7528\u4e86\u66f4\u5177\u9690\u853d\u6027\u7684\u7b56\u7565\uff1a<\/p>\n<ul>\n<li>\u5b83\u4e0d\u9700\u8981\u4f9d\u8d56\u4f20\u7edf\u7684\u5b89\u88c5\u751f\u547d\u5468\u671f\u94a9\u5b50\uff08\u5982 <code>setup.py<\/code> \u4e2d\u7684\u6267\u884c\u903b\u8f91\uff09\u3002<\/li>\n<li>\u6076\u610f\u4ee3\u7801\u88ab\u76f4\u63a5\u6ce8\u5165\u5230\u5305\u7684\u521d\u59cb\u5316\u6587\u4ef6\uff08\u5982 <code>__init__.py<\/code>\uff09\u4e2d\u3002<strong>\u53ea\u8981\u5f00\u53d1\u8005\u6216\u81ea\u52a8\u5316\u811a\u672c\u5728\u4ee3\u7801\u4e2d\u6267\u884c\u4e86 <code>import mistralai<\/code>\uff0c\u8815\u866b\u5c31\u4f1a\u77ac\u95f4\u6fc0\u6d3b\u3002<\/strong><\/li>\n<\/ul>\n<h3 id=\"slsa\">\u6b65\u9aa4\u56db\uff1a\u7ed5\u8fc7 SLSA \u5b89\u5168\u8ba4\u8bc1\uff08\u4f2a\u9020\u5408\u89c4\u6027\uff09<\/h3>\n<p>\u8fd9\u662f\u8be5\u4e8b\u4ef6\u6700\u6050\u6016\u7684\u5730\u65b9\u3002\u7531\u4e8e\u8815\u866b\u662f\u5728\u5408\u89c4\u7684 CI\/CD \u7ba1\u9053\u5185\u901a\u8fc7 <strong>OIDC\uff08OpenID Connect \u4fe1\u4efb\u53d1\u5e03\uff09<\/strong> \u83b7\u53d6\u7684\u5408\u6cd5\u7b7e\u540d\uff0c\u5b83\u6240\u53d1\u5e03\u7684\u6076\u610f\u7684 <code>mistralai 2.4.6<\/code> \u7adf\u7136\u5e26\u6709<strong>\u5b8c\u5907\u4e14\u5408\u6cd5\u7684 SLSA Build Level 3\uff08\u8f6f\u4ef6\u4f9b\u5e94\u94fe\u5408\u89c4\uff09\u6570\u5b57\u7b7e\u540d\u8ba4\u8bc1<\/strong>\u3002\u8fd9\u76f4\u63a5\u5ba3\u544a\u4e86\u201c\u6709\u5b98\u65b9\u7b7e\u540d\u5c31\u7edd\u5bf9\u5b89\u5168\u201d\u7684\u76f2\u76ee\u4fe1\u4efb\u65f6\u4ee3\u7834\u706d\u3002<\/p>\n<p>\u6253\u4e2a\u6bd4\u65b9\uff1a\u8fd9\u5c31\u50cf\u4e00\u6c93\u5047\u5e01\uff0c\u7528\u7684\u5374\u662f\u592e\u884c\u90a3\u53f0\u771f\u5370\u949e\u673a\u5370\u51fa\u6765\u7684\u2014\u2014\u8fde\u9a8c\u949e\u673a\u90fd\u8ba4\u3002\u7b7e\u540d\u53ea\u80fd\u8bc1\u660e\u201c\u8fd9\u4e2a\u5305\u786e\u5b9e\u7531\u5b98\u65b9\u6d41\u6c34\u7ebf\u4ea7\u51fa\u201d\uff0c\u4f46\u5f53\u6d41\u6c34\u7ebf\u672c\u8eab\u88ab\u653b\u9677\u65f6\uff0c\u5b83\u53cd\u800c\u6210\u4e86\u201c\u5408\u6cd5\u5730\u8f93\u51fa\u6bd2\u836f\u201d\u7684\u5b8c\u7f8e\u80cc\u4e66\u3002<\/p>\n<h2 id=\"3\">3. \u4e8b\u4ef6\u7684\u65f6\u95f4\u7ebf\u4e0e\u6f14\u8fdb<\/h2>\n<ul>\n<li><strong>2025 \u5e74 9 \u6708 &#8211; 12 \u6708\uff08\u524d\u8eab\u51fa\u73b0\uff09<\/strong>\uff1aShai-Hulud 1.0 \u548c 2.0 \u9996\u6b21\u5728 npm \u88ab\u53d1\u73b0\uff0c\u4e3b\u8981\u901a\u8fc7\u5077\u6765\u7684 Token \u6eda\u96ea\u7403\u5f0f\u8513\u5ef6\uff0c\u540e\u671f\u52a0\u5165\u4e86\u6587\u4ef6\u64e6\u9664\uff08Wiper\uff09\u529f\u80fd\u3002<\/li>\n<li><strong>2026 \u5e74 4 \u6708 29 \u65e5 &#8211; 30 \u65e5\uff08Mini \u7248\u7206\u53d1\uff09<\/strong>\uff1a\u8815\u866b\u8fdb\u5316\u4e3a Mini \u7248\u672c\uff0c\u6210\u529f\u611f\u67d3 4 \u4e2a SAP \u5b98\u65b9\u7ec4\u4ef6\uff0c\u5e76\u9996\u6b21\u8de8\u8d8a\u751f\u6001\u6295\u6bd2\u4e86 PyPI \u4e0a\u7684 <strong>PyTorch Lightning<\/strong>\uff08\u5f71\u54cd 2.6.2 \u548c 2.6.3 \u7248\u672c\uff0c\u5468\u4e0b\u8f7d\u91cf\u8d85 200 \u4e07\uff09\u3002<\/li>\n<li><strong>2026 \u5e74 5 \u6708 11 \u65e5 &#8211; 12 \u65e5\uff08AI \u751f\u6001\u5927\u5730\u9707\uff09<\/strong>\uff1a\u5927\u7206\u53d1\u3002TeamPCP \u901a\u8fc7\u4e0a\u8ff0 OIDC \u94fe\u6761\u4e00\u6b21\u6027\u6c61\u67d3\u4e86 169 \u4e2a npm \u5305\u548c\u591a\u4e2a PyPI \u5305\uff0c\u5176\u4e2d\u5c31\u5305\u62ec <strong>Mistral AI \u5b98\u65b9\u5ba2\u6237\u7aef (<code>mistralai 2.4.6<\/code>)<\/strong>\u3002<\/li>\n<li><strong>2026 \u5e74 5 \u6708 12 \u65e5\u665a\uff08\u5f00\u6e90\u641e\u7834\u574f\uff09<\/strong>\uff1aTeamPCP \u505a\u51fa\u6076\u52a3\u4e3e\u52a8\uff0c\u5c06 Mini Shai-Hulud \u7684<strong>\u5b8c\u6574\u6e90\u4ee3\u7801\u516c\u5f00\u53d1\u5e03\u5230 GitHub<\/strong>\uff0c\u5e76\u5728\u6697\u7f51\u8bba\u575b\uff08BreachForums\uff09\u4e0a\u5927\u8086\u70ab\u8000\uff0c\u9f13\u52b1\u5176\u4ed6\u4eba\u6548\u4eff\u3002<\/li>\n<li><strong>2026 \u5e74 5 \u6708\u4e0b\u65ec &#8211; 6 \u6708\uff08\u53d8\u79cd\u72c2\u6b22\uff09<\/strong>\uff1a\u7531\u4e8e\u6e90\u7801\u516c\u5f00\uff0c\u540e\u7eed\u7206\u53d1\u4e86\u5982 <code>Miasma<\/code>\uff08\u7634\u6c14\uff09\u7b49\u5927\u91cf\u4f7f\u7528\u76f8\u540c\u673a\u7406\u7684\u590d\u5236\u54c1\u8815\u866b\uff0c\u7ea2\u5e3d\uff08Red Hat\uff09\u7684 cloud-services \u76f8\u5173 npm \u547d\u540d\u7a7a\u95f4\u4e5f\u906d\u5230\u6b64\u7c7b\u53d8\u79cd\u88ad\u51fb\u3002<\/li>\n<\/ul>\n<h2 id=\"4\">4. \u5e26\u6765\u7684\u6df1\u8fdc\u5f71\u54cd<\/h2>\n<ol>\n<li><strong>AI \u4f9b\u5e94\u94fe\u6210\u4e3a\u9ad8\u4ef7\u503c\u6807\u7684<\/strong>\uff1a\u7531\u4e8e AI \u5f00\u53d1\u8005\u5728\u672c\u5730\u6216\u751f\u4ea7\u73af\u5883\u4e2d\u901a\u5e38\u62e5\u6709\u6781\u9ad8\u7684\u7b97\u529b\u6743\u9650\u3001\u4e91\u5b58\u50a8\u8bbf\u95ee\u6743\uff08\u5982\u88c5\u6ee1\u8bad\u7ec3\u6570\u636e\u7684 S3 \u5b58\u50a8\u6876\uff09\uff0cAI \u5de5\u5177\u94fe\uff08Mistral, PyTorch, Guardrails\uff09\u6210\u4e3a\u4e86\u9ed1\u5ba2\u7684\u91cd\u70b9\u6d17\u52ab\u5bf9\u8c61\u3002<\/li>\n<li><strong>\u4fe1\u4efb\u94fe\u7684\u91cd\u6784<\/strong>\uff1a\u8be5\u4e8b\u4ef6\u5411\u5b89\u5168\u754c\u8bc1\u660e\uff0cCI\/CD \u81ea\u52a8\u5316\u53d1\u5e03\uff08Trusted Publishing\uff09\u867d\u7136\u9632\u4f4f\u4e86\u201c\u4eba\u4e3a\u6cc4\u9732\u5bc6\u7801\u201d\uff0c\u4f46\u4e00\u65e6 CI \u672c\u8eab\u88ab\u6bd2\u5316\uff0c\u5b83\u5c06\u53d8\u6210\u5408\u6cd5\u8f93\u51fa\u6bd2\u836f\u7684\u201c\u5b8c\u7f8e\u5de5\u5382\u201d\u3002\u4f01\u4e1a\u5f00\u59cb\u88ab\u52a8\u8f6c\u5411\u5bf9\u6bcf\u4e00\u6b21\u6784\u5efa\u8fdb\u884c\u5f7b\u5e95\u7684\u4e8c\u8fdb\u5236\u9759\u6001\u884c\u4e3a\u5ba1\u8ba1\u3002<\/li>\n<\/ol>\n<h2 id=\"5\">5. \u4e8b\u4ef6\u7684\u5904\u7f6e\u4e0e\u7ed3\u5c40<\/h2>\n<p>\u597d\u6d88\u606f\u662f\uff0c\u9488\u5bf9 <code>mistralai<\/code> \u8fd9\u6761 PyPI \u6295\u6bd2\u7ebf\uff0c\u793e\u533a\u7684\u54cd\u5e94\u76f8\u5f53\u8fc5\u901f\uff1a<\/p>\n<ul>\n<li><strong>2026-05-12<\/strong>\uff1aPyPI \u9694\u79bb\uff08quarantine\uff09\u4e86 <code>mistralai<\/code> \u9879\u76ee\uff0c\u6076\u610f\u7684 <code>2.4.6<\/code> \u88ab\u4ece PyPI \u4e0b\u67b6\u3002<\/li>\n<li><strong>2026-05-25<\/strong>\uff1a<code>mistralai<\/code> \u6062\u590d\u53d1\u5e03\u5e72\u51c0\u7248\u672c <code>2.4.7<\/code>\u3002<\/li>\n<li><strong>2026-05-28<\/strong>\uff1a\u518d\u53d1\u5e03 <code>2.4.8<\/code>\uff0c\u76ee\u524d\u5df2\u6062\u590d\u6b63\u5e38\u3002<\/li>\n<\/ul>\n<p>\u6240\u4ee5\u5982\u679c\u4f60\u7684\u73af\u5883\u91cc\u66fe\u7ecf\u5728 5 \u6708 12 \u65e5\u9694\u79bb\u524d\u88c5\u5230\u8fc7 <code>mistralai 2.4.6<\/code>\uff0c\u6b63\u786e\u7684\u5904\u7f6e\u662f\uff1a<strong>\u7acb\u5373\u5378\u8f7d\u8be5\u7248\u672c\uff0c\u5347\u7ea7\u5230 2.4.7 \u53ca\u4ee5\u4e0a\uff0c\u5e76\u628a\u90a3\u53f0\u673a\u5668\u4e0a\u4e00\u5207\u53ef\u80fd\u88ab\u8bfb\u53d6\u8fc7\u7684\u51ed\u8bc1\uff08PyPI\/npm token\u3001AWS\/GCP\/Azure \u5bc6\u94a5\u3001GitHub token \u7b49\uff09\u5168\u90e8\u8f6e\u6362\u4e00\u904d<\/strong>\u2014\u2014\u56e0\u4e3a\u8815\u866b\u7684\u6838\u5fc3\u76ee\u7684\u5c31\u662f\u5077\u51ed\u8bc1\uff0c\u5149\u5378\u8f7d\u5305\u5e76\u4e0d\u591f\u3002<\/p>\n<p>\uff08\u4ee5\u4e0a\u65f6\u95f4\u7ebf\u4e0e\u5904\u7f6e\u7ed3\u679c\uff0c\u53ef\u5728\u5f00\u6e90\u9879\u76ee Hermes \u7684 <code>pyproject.toml<\/code> \u4e0e <code>hermes_cli\/security_advisories.py<\/code> \u7684\u5b89\u5168\u516c\u544a\u8bb0\u5f55\u4e2d\u4ea4\u53c9\u5370\u8bc1\u3002\uff09<\/p>\n<h2 id=\"6\">6. \u5bf9\u5f00\u53d1\u8005\u7684\u9632\u5fa1\u542f\u793a<\/h2>\n<p>\u8fd9\u8d77\u4e8b\u4ef6\u6700\u6709\u4ef7\u503c\u7684\u5730\u65b9\uff0c\u662f\u5b83\u628a&#8221;\u8be5\u600e\u4e48\u9632&#8221;\u6446\u5230\u4e86\u6bcf\u4e2a\u5f00\u53d1\u8005\u9762\u524d\u3002\u4ee5\u4e0b\u51e0\u6761\u662f\u53ef\u4ee5\u7acb\u523b\u843d\u5730\u7684\uff1a<\/p>\n<ol>\n<li>\n<p><strong>\u4f9d\u8d56\u9489\u6b7b\u7248\u672c + \u9501\u6587\u4ef6<\/strong>\u3002\u4e0d\u8981\u7528 <code>&gt;=2.3.0,&lt;3<\/code> \u8fd9\u79cd\u8303\u56f4\u58f0\u660e\u2014\u2014\u5b83\u7b49\u4e8e\u628a&#8221;\u4ec0\u4e48\u65f6\u5019\u62c9\u65b0\u7248\u672c&#8221;\u7684\u51b3\u5b9a\u6743\u4ea4\u7ed9\u4e86 PyPI \u548c\u65f6\u95f4\u3002\u6539\u7528 <code>==2.4.8<\/code> \u7cbe\u786e\u9489\u6b7b\uff0c\u914d\u5408 <code>uv.lock<\/code>\/<code>poetry.lock<\/code>\/<code>package-lock.json<\/code> \u9501\u4f4f\u6574\u68f5\u4f20\u9012\u4f9d\u8d56\u6811\u3002\u8fd9\u6837\u6076\u610f\u65b0\u7248\u672c<strong>\u6ca1\u6709\u81ea\u52a8\u5230\u8fbe\u4f60\u7684\u901a\u9053<\/strong>\uff0c\u53ea\u80fd\u901a\u8fc7\u4e00\u6b21\u663e\u5f0f\u7684\u4eba\u5de5\u5347\u7ea7 + code review \u624d\u80fd\u8fdb\u6765\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u6838\u5fc3\u4f9d\u8d56\u6700\u5c0f\u5316<\/strong>\u3002\u76f4\u63a5\u4f9d\u8d56\u8d8a\u5c11\u3001\u53ef\u9009\u529f\u80fd\u8d8a\u591a\u8d70&#8221;\u60f0\u6027\u5b89\u88c5&#8221;\uff0c\u4f60\u7684\u653b\u51fb\u9762\u5c31\u8d8a\u5c0f\u3002\u4e00\u53e5\u8bdd\u6982\u62ec\u5c31\u662f\u5f00\u6e90\u5708\u90a3\u53e5\u540d\u8a00\uff1a\u4f9d\u8d56\u8d8a\u5c11\uff0c\u4e0b\u6b21\u4f9b\u5e94\u94fe\u653b\u51fb\u6ce2\u53ca\u4f60\u7684\u6982\u7387\u8d8a\u4f4e\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u5b89\u88c5\u671f\u6076\u610f\u8f6f\u4ef6\u62e6\u622a<\/strong>\u3002\u5728 <code>pip install<\/code>\/<code>npm install<\/code> \u8fd9\u4e00\u6b65\u5c31\u63a5\u5165 OSV\u3001Socket\u3001<code>pip-audit<\/code> \u7b49\u5de5\u5177\uff0c\u5bf9\u547d\u4e2d&#8221;\u786e\u8ba4\u6076\u610f\u8f6f\u4ef6&#8221;\u516c\u544a\u7684\u5305\u76f4\u63a5 BLOCK\u3002\u6ce8\u610f\u533a\u5206\uff1a\u62e6&#8221;\u786e\u8ba4\u6076\u610f\u8f6f\u4ef6&#8221;\u800c\u4e0d\u662f\u62e6\u6240\u6709 CVE\uff0c\u5426\u5219\u8bef\u62a5\u4f1a\u6df9\u6ca1\u4f60\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u8b66\u60d5 <code>pull_request_target<\/code> \u7b49\u9ad8\u6743\u9650 CI \u89e6\u53d1\u5668<\/strong>\u3002\u8fd9\u6b63\u662f\u672c\u6b21 npm \u4fa7\u7684\u5165\u53e3\u4e4b\u4e00\u3002\u5916\u90e8 PR \u4e0d\u5e94\u8be5\u80fd\u5728\u5e26\u7740\u4ed3\u5e93\u5bc6\u94a5\u7684\u7279\u6743\u4e0a\u4e0b\u6587\u91cc\u8dd1\u4ee3\u7801\uff1bCI \u91cc\u4e5f\u4e0d\u8981\u628a\u957f\u671f\u6709\u6548\u7684\u9ad8\u6743\u9650 token \u66b4\u9732\u7ed9\u4efb\u610f\u6784\u5efa\u6b65\u9aa4\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u51ed\u8bc1\u6700\u5c0f\u6743\u9650 + \u5b9a\u671f\u8f6e\u6362<\/strong>\u3002\u5047\u8bbe&#8221;\u8fdf\u65e9\u4f1a\u6cc4\u6f0f&#8221;\u6765\u8bbe\u8ba1\uff1a\u53d1\u5e03 token \u7528\u8303\u56f4\u6700\u5c0f\u7684\u3001\u77ed\u65f6\u6548\u7684\uff1b\u4e91\u5bc6\u94a5\u5206\u73af\u5883\u9694\u79bb\uff1b\u4e00\u65e6\u6000\u7591\u67d0\u53f0\u673a\u5668\u8dd1\u8fc7\u53ef\u7591\u5305\uff0c\u7acb\u523b\u8f6e\u6362\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u522b\u8ff7\u4fe1&#8221;\u5b98\u65b9\u7b7e\u540d&#8221;<\/strong>\u3002SLSA \/ \u7b7e\u540d\u80fd\u8bc1\u660e&#8221;\u4e1c\u897f\u662f\u8fd9\u6761\u6d41\u6c34\u7ebf\u4ea7\u51fa\u7684&#8221;\uff0c\u4f46\u8bc1\u660e\u4e0d\u4e86&#8221;\u8fd9\u6761\u6d41\u6c34\u7ebf\u6ca1\u88ab\u653b\u9677&#8221;\u3002\u7b7e\u540d\u662f\u5fc5\u8981\u6761\u4ef6\uff0c\u4e0d\u662f\u5145\u5206\u6761\u4ef6\u2014\u2014\u4ecd\u8981\u7ed3\u5408\u884c\u4e3a\u5ba1\u8ba1\u548c\u7248\u672c\u9489\u6b7b\u3002<\/p>\n<\/li>\n<\/ol>\n<p>\u4e00\u53e5\u8bdd\uff1a<strong>\u4f9b\u5e94\u94fe\u5b89\u5168\u7684\u6838\u5fc3\u4e0d\u662f&#8221;\u4fe1\u4efb\u8c01&#8221;\uff0c\u800c\u662f&#8221;\u628a\u6bcf\u4e00\u6b21\u81ea\u52a8\u5230\u8fbe\u4f60\u7684\u901a\u9053\u90fd\u6536\u56de\u5230\u4e00\u6b21\u663e\u5f0f\u7684\u4eba\u5de5\u51b3\u7b56&#8221;\u3002<\/strong><\/p>\n<p>\u5982\u679c\u89c9\u5f97\u8fd9\u7bc7\u6587\u7ae0\u5bf9\u4f60\u6709\u5e2e\u52a9\uff0c\u6b22\u8fce<strong>\u70b9\u8d5e\u3001\u6536\u85cf\u52a0\u5173\u6ce8<\/strong>\u3002\u540e\u7eed\u6301\u7eed\u5206\u4eab\u66f4\u591a\u6709\u4ef7\u503c\u7684\u5185\u5bb9\u3002\u4f60\u7684\u652f\u6301\u662f\u6211\u521b\u4f5c\u7684\u6700\u5927\u52a8\u529b\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6ce8\uff1a\u672c\u6587\u6d89\u53ca\u7684\u90e8\u5206\u5177\u4f53\u6570\u5b57\u3001\u7ec4\u7ec7\u540d\u4e0e\u53d7\u5f71\u54cd\u5305\u6e05\u5355\u6765\u81ea\u516c\u5f00\u62a5\u9053\uff0c\u6587\u4e2d\u5173\u4e8e mistralai 2.4.6 \u7684\u65f6\u95f4 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[36,35,29,32,34,33,30,31],"class_list":["post-57","post","type-post","status-publish","format-standard","hentry","category-security","tag-ai","tag-ci-cd","tag-mini-shai-hulud","tag-npm","tag-oidc","tag-pypi","tag-30","tag-31"],"_links":{"self":[{"href":"https:\/\/genetop.top\/index.php\/wp-json\/wp\/v2\/posts\/57","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/genetop.top\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/genetop.top\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/genetop.top\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/genetop.top\/index.php\/wp-json\/wp\/v2\/comments?post=57"}],"version-history":[{"count":0,"href":"https:\/\/genetop.top\/index.php\/wp-json\/wp\/v2\/posts\/57\/revisions"}],"wp:attachment":[{"href":"https:\/\/genetop.top\/index.php\/wp-json\/wp\/v2\/media?parent=57"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/genetop.top\/index.php\/wp-json\/wp\/v2\/categories?post=57"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/genetop.top\/index.php\/wp-json\/wp\/v2\/tags?post=57"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}