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/libnumbertext-1.0.6/src/Numbertext.cxx Examining data/libnumbertext-1.0.6/src/Soros.cxx Examining data/libnumbertext-1.0.6/src/spellout.cxx FINAL RESULTS: data/libnumbertext-1.0.6/src/spellout.cxx:44: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(PATH)) data/libnumbertext-1.0.6/src/spellout.cxx:45:53: [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. paths.insert(paths.begin() + 1, std::string(getenv(PATH)) + "/"); data/libnumbertext-1.0.6/src/spellout.cxx:78:21: [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(LANG)) { data/libnumbertext-1.0.6/src/spellout.cxx:79:40: [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. lang = std::string(getenv(LANG)); ANALYSIS SUMMARY: Hits = 4 Lines analyzed = 448 in approximately 0.14 seconds (3228 lines/second) Physical Source Lines of Code (SLOC) = 396 Hits@level = [0] 0 [1] 0 [2] 0 [3] 4 [4] 0 [5] 0 Hits@level+ = [0+] 4 [1+] 4 [2+] 4 [3+] 4 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 10.101 [1+] 10.101 [2+] 10.101 [3+] 10.101 [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.