Flawfinder version 2.0.10, (C) 2001-2019 David A. Wheeler. Number of rules (primarily dangerous function names) in C/C++ ruleset: 223 Examining data/ssh-askpass-fullscreen-0.3/gtk2-ssh-askpass.c FINAL RESULTS: data/ssh-askpass-fullscreen-0.3/gtk2-ssh-askpass.c:215:18: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. grab_server = (getenv("GNOME_SSH_ASKPASS_GRAB_SERVER") != NULL); data/ssh-askpass-fullscreen-0.3/gtk2-ssh-askpass.c:216:19: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. grab_pointer = (getenv("GNOME_SSH_ASKPASS_GRAB_POINTER") != NULL); data/ssh-askpass-fullscreen-0.3/gtk2-ssh-askpass.c:198:35: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). memset((void*)passphrase, '\0', strlen(passphrase)); ANALYSIS SUMMARY: Hits = 3 Lines analyzed = 384 in approximately 0.03 seconds (11741 lines/second) Physical Source Lines of Code (SLOC) = 291 Hits@level = [0] 0 [1] 1 [2] 0 [3] 2 [4] 0 [5] 0 Hits@level+ = [0+] 3 [1+] 3 [2+] 2 [3+] 2 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 10.3093 [1+] 10.3093 [2+] 6.87285 [3+] 6.87285 [4+] 0 [5+] 0 Minimum risk level = 1 Not every hit is necessarily a security vulnerability. There may be other security vulnerabilities; review your code! See 'Secure Programming HOWTO' (https://dwheeler.com/secure-programs) for more information.