RustSec logo

HistoryEditJSON (OSV)

RUSTSEC-2026-0273

Stubbed cryptography without warnings

Reported
Issued
Package
manzana (crates.io)
Type
Vulnerability
Categories
Keywords
#apple #secure-enclave #ecdsa #signature-verification
References
Patched
no patched versions
Affected Architectures
  • aarch64
Affected OSes
  • macos
Affected Functions
Version
manzana::secure_enclave::SecureEnclaveSigner::create
  • <=0.2.0, >=0.1.0
manzana::secure_enclave::SecureEnclaveSigner::delete
  • <=0.2.0, >=0.1.0
manzana::secure_enclave::SecureEnclaveSigner::load
  • <=0.2.0, >=0.1.0
manzana::secure_enclave::SecureEnclaveSigner::sign
  • <=0.2.0, >=0.1.0
manzana::secure_enclave::SecureEnclaveSigner::verify
  • <=0.2.0, >=0.1.0

Description

The manzana crate appears to be a work-in-progress module for the Apple Silicon chips' features, including the Secure Enclave.

This crate's description and READMEs make no hint at the fact that the SecureEnclaveSigner type is a stubbed implementation that does not actually perform any cryptographic operations, and instead returns fixed values.

Unsuspecting users of the crate, who may not check the source code, receive no warning about this and may believe they are using a secure implementation when they are not.

There are currently (as of 2026-04-07) no versions of the crate that contain either a real implementation, or a warning about the stubbed cryptography.

Advisory available under CC0-1.0 license.