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/squid-deb-proxy-0.8.15/avahi/find_squid_deb_proxy.c FINAL RESULTS: data/squid-deb-proxy-0.8.15/avahi/find_squid_deb_proxy.c:173:9: [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. if (getenv("SQUID_DEB_PROXY_FIND_DEBUG")) data/squid-deb-proxy-0.8.15/avahi/find_squid_deb_proxy.c:177:5: [3] (random) srand: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. srand(time(NULL)); ANALYSIS SUMMARY: Hits = 2 Lines analyzed = 232 in approximately 0.04 seconds (5537 lines/second) Physical Source Lines of Code (SLOC) = 145 Hits@level = [0] 12 [1] 0 [2] 0 [3] 2 [4] 0 [5] 0 Hits@level+ = [0+] 14 [1+] 2 [2+] 2 [3+] 2 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 96.5517 [1+] 13.7931 [2+] 13.7931 [3+] 13.7931 [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.