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/python-firehose-0.3/examples/non-ascii-example.c Examining data/python-firehose-0.3/examples/python-src-example.c FINAL RESULTS: data/python-firehose-0.3/examples/python-src-example.c:36:32: [3] (random) random: 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. item = PyLong_FromLong(random()); ANALYSIS SUMMARY: Hits = 1 Lines analyzed = 96 in approximately 0.02 seconds (4023 lines/second) Physical Source Lines of Code (SLOC) = 25 Hits@level = [0] 0 [1] 0 [2] 0 [3] 1 [4] 0 [5] 0 Hits@level+ = [0+] 1 [1+] 1 [2+] 1 [3+] 1 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 40 [1+] 40 [2+] 40 [3+] 40 [4+] 0 [5+] 0 Dot directories skipped = 1 (--followdotdir overrides) 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.