Skip to main content

is_sensitive_path

Function is_sensitive_path 

Source
pub fn is_sensitive_path(path: &str) -> bool
Expand description

Heuristic detector for credential/secret paths commonly targeted by supply-chain malware (e.g. Shai-Hulud scanning for .env, .npmrc, AWS/GitHub/SSH keys, kubeconfigs).