pub fn check_vulnerabilities(
pkg_name: &str,
pkg_index: &MiniPackageIndex,
version: &str,
) -> Result<bool, Error>Expand description
Scans the package metadata for known security advisories.
Returns true if the package is safe to install, or if the user
explicitly chooses to bypass a security warning.