rotative
huggingface blog · 2026年7月6日

Hugging Face Kernels 將原生程式碼引入 Hub — 程式碼簽名能阻止供應鏈攻擊嗎

hugging face 發布了 kernels 專案的重要更新,引入了新的核心倉庫類型、可信發布者機制和 sigstore 程式碼簽名。此舉在標準化 ai 核心分發的同時,保障了與 python 進程具有同等特權的本地程式碼執行安全。

read in English · 简体中文 · 日本語 · 한국어

hugging face released a major update for its kernels project, introducing a new 'kernel' repository type that makes custom compute kernels first-class citizens on the hub. the update enables users to filter kernels by supported accelerators, operating systems, and backend versions, addressing the need for standardized packaging of high-performance ai code. recognizing that kernels run native code with significant privileges, hugging face implemented a robust security framework requiring reproducible builds via nix, trusted publishers, and mandatory code signing using sigstore’s cosign to prevent supply chain compromises. the platform restricts kernel publishing permissions by default and requires users to explicitly opt-in via trust_remote_code to load kernels from unverified sources. these changes establish a more secure and discoverable ecosystem for distributing critical ai infrastructure components.

read at source ↗

← rotative