Hugging Face Kernels, Hub에 네이티브 코드 도입 — 코드 서명이 공급망 공격을 막을 수 있을까
Hugging Face는 Kernels 프로젝트의 주요 업데이트를 출시해 새로운 커널 저장소 유형, 신뢰할 수 있는 퍼블리셔, Sigstore 코드 서명을 도입했습니다. 이를 통해 Python 프로세스와 동일한 권한으로 네이티브 코드를 실행하되 보안을 유지하면서 AI 커널 배포를 표준화합니다.
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.