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/xfce4-verve-plugin-2.0.0/panel-plugin/verve-plugin.c Examining data/xfce4-verve-plugin-2.0.0/panel-plugin/verve.h Examining data/xfce4-verve-plugin-2.0.0/panel-plugin/verve.c Examining data/xfce4-verve-plugin-2.0.0/panel-plugin/verve-history.c Examining data/xfce4-verve-plugin-2.0.0/panel-plugin/verve-env.c Examining data/xfce4-verve-plugin-2.0.0/panel-plugin/verve-env.h Examining data/xfce4-verve-plugin-2.0.0/panel-plugin/verve-history.h FINAL RESULTS: data/xfce4-verve-plugin-2.0.0/panel-plugin/verve.c:219: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. char *shell = getenv("SHELL"); data/xfce4-verve-plugin-2.0.0/panel-plugin/verve-plugin.c:643:57: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). return g_output_stream_write_all (output_stream, str, strlen (str), &bytes_written, NULL, NULL); ANALYSIS SUMMARY: Hits = 2 Lines analyzed = 2635 in approximately 0.08 seconds (32810 lines/second) Physical Source Lines of Code (SLOC) = 1453 Hits@level = [0] 0 [1] 1 [2] 0 [3] 1 [4] 0 [5] 0 Hits@level+ = [0+] 2 [1+] 2 [2+] 1 [3+] 1 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 1.37646 [1+] 1.37646 [2+] 0.688231 [3+] 0.688231 [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.