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/tilix-1.9.3/experimental/flatpak/tilix-flatpak-toolbox.c FINAL RESULTS: data/tilix-1.9.3/experimental/flatpak/tilix-flatpak-toolbox.c:14:9: [4] (shell) execlp: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. execlp("getent", "getent", "passwd", argv[2], NULL); data/tilix-1.9.3/experimental/flatpak/tilix-flatpak-toolbox.c:28:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char path[32]; data/tilix-1.9.3/experimental/flatpak/tilix-flatpak-toolbox.c:31:20: [2] (misc) fopen: 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). FILE *fp = fopen(path, "r"); data/tilix-1.9.3/experimental/flatpak/tilix-flatpak-toolbox.c:38:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[1024]; ANALYSIS SUMMARY: Hits = 4 Lines analyzed = 63 in approximately 0.02 seconds (2589 lines/second) Physical Source Lines of Code (SLOC) = 53 Hits@level = [0] 6 [1] 0 [2] 3 [3] 0 [4] 1 [5] 0 Hits@level+ = [0+] 10 [1+] 4 [2+] 4 [3+] 1 [4+] 1 [5+] 0 Hits/KSLOC@level+ = [0+] 188.679 [1+] 75.4717 [2+] 75.4717 [3+] 18.8679 [4+] 18.8679 [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.