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/connectagram-1.2.11/src/board.cpp Examining data/connectagram-1.2.11/src/board.h Examining data/connectagram-1.2.11/src/cell.cpp Examining data/connectagram-1.2.11/src/cell.h Examining data/connectagram-1.2.11/src/clock.cpp Examining data/connectagram-1.2.11/src/clock.h Examining data/connectagram-1.2.11/src/definitions.cpp Examining data/connectagram-1.2.11/src/definitions.h Examining data/connectagram-1.2.11/src/dictionary.cpp Examining data/connectagram-1.2.11/src/dictionary.h Examining data/connectagram-1.2.11/src/letter.cpp Examining data/connectagram-1.2.11/src/letter.h Examining data/connectagram-1.2.11/src/locale_dialog.cpp Examining data/connectagram-1.2.11/src/locale_dialog.h Examining data/connectagram-1.2.11/src/main.cpp Examining data/connectagram-1.2.11/src/new_game_dialog.cpp Examining data/connectagram-1.2.11/src/new_game_dialog.h Examining data/connectagram-1.2.11/src/pattern.cpp Examining data/connectagram-1.2.11/src/pattern.h Examining data/connectagram-1.2.11/src/score_board.cpp Examining data/connectagram-1.2.11/src/score_board.h Examining data/connectagram-1.2.11/src/view.cpp Examining data/connectagram-1.2.11/src/view.h Examining data/connectagram-1.2.11/src/window.cpp Examining data/connectagram-1.2.11/src/window.h Examining data/connectagram-1.2.11/src/word.cpp Examining data/connectagram-1.2.11/src/word.h Examining data/connectagram-1.2.11/src/wordlist.cpp Examining data/connectagram-1.2.11/src/wordlist.h FINAL RESULTS: data/connectagram-1.2.11/src/word.cpp:62:100: [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. Word::Word(const QString& word, const QPoint& position, Qt::Orientation orientation, std::mt19937& random) data/connectagram-1.2.11/src/word.cpp:63:70: [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. : m_board(0), m_correct(false), m_orientation(orientation), m_random(random) { data/connectagram-1.2.11/src/word.h:36:96: [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. Word(const QString& word, const QPoint& position, Qt::Orientation orientation, std::mt19937& random); data/connectagram-1.2.11/src/dictionary.cpp:61:12: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if (file.open(QFile::ReadOnly | QFile::Text)) { data/connectagram-1.2.11/src/dictionary.cpp:155:12: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if (file.open(QFile::WriteOnly | QFile::Text)) { data/connectagram-1.2.11/src/wordlist.cpp:116:12: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if (!file.open(QFile::ReadOnly | QIODevice::Text)) { ANALYSIS SUMMARY: Hits = 6 Lines analyzed = 4009 in approximately 0.14 seconds (29629 lines/second) Physical Source Lines of Code (SLOC) = 2600 Hits@level = [0] 0 [1] 0 [2] 3 [3] 3 [4] 0 [5] 0 Hits@level+ = [0+] 6 [1+] 6 [2+] 6 [3+] 3 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 2.30769 [1+] 2.30769 [2+] 2.30769 [3+] 1.15385 [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.