chenzehaoo/moon_guard/lib/verify does not have a README file
pub(all) struct TyposquatResult {
suspect : String
similar_to : String
distance : Int
attack_type : String
}fn audit_package(package_name : String, _package_version : String, manifest : Manifest, entries : Array[FileEntry], signature_hex : String, signer_key_id : String, trust_store : TrustStore) -> VerifyResultfn batch_typosquat_check(packages : Array[String], known_good : Array[String]) -> Array[TyposquatResult]fn detect_typosquat(package_name : String, known_packages : Array[String]) -> Array[TyposquatResult]fn detect_typosquat_strict(package_name : String, known_packages : Array[String]) -> Array[TyposquatResult]fn typosquat_summary(packages : Array[String], known_good : Array[String]) -> Array[TyposquatSummaryEntry]fn verify_package(package_name : String, signature_hex : String, public_key_hex : String, content : String) -> VerifyResultMoonGuard is a pure-MoonBit supply chain security toolchain providing Ed25519 package signing and verification, SHA-256 manifest integrity checks, JSON+PEM trusted key management, Levenshtein and homoglyph typosquat detection, CVSS-style cumulative risk scores, JSON security reports, and a `moon_guard` CLI with subcommands for keygen, sign, verify, trust, typosquat, manifest, hash, audit, and version. Includes a runnable end-to-end audit example at `examples/basic_audit`. MoonGuard 是用纯 MoonBit 实现的 MoonBit 包供应链安全工具链,提供 Ed25519 签名、SHA-256 清单、JSON+PEM 可信密钥管理、Levenshtein 与同形(homoglyph)双模式 typosquat 检测、CVSS 风格风险评分、JSON 安全报告与 9 子命令 CLI。