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-cpugraph-plugin-1.1.0/panel-plugin/properties.h
Examining data/xfce4-cpugraph-plugin-1.1.0/panel-plugin/mode.c
Examining data/xfce4-cpugraph-plugin-1.1.0/panel-plugin/settings.c
Examining data/xfce4-cpugraph-plugin-1.1.0/panel-plugin/mode.h
Examining data/xfce4-cpugraph-plugin-1.1.0/panel-plugin/cpu.c
Examining data/xfce4-cpugraph-plugin-1.1.0/panel-plugin/properties.c
Examining data/xfce4-cpugraph-plugin-1.1.0/panel-plugin/settings.h
Examining data/xfce4-cpugraph-plugin-1.1.0/panel-plugin/os.c
Examining data/xfce4-cpugraph-plugin-1.1.0/panel-plugin/cpu.h
Examining data/xfce4-cpugraph-plugin-1.1.0/panel-plugin/os.h

FINAL RESULTS:

data/xfce4-cpugraph-plugin-1.1.0/panel-plugin/os.c:99:24:  [4] (shell) system:
  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.
    gulong user, nice, system, idle, used, total, iowait, irq, softirq;
data/xfce4-cpugraph-plugin-1.1.0/panel-plugin/os.c:114:79:  [4] (shell) system:
  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.
        if (sscanf (cpuStr, "%*s %lu %lu %lu %lu %lu %lu %lu", &user, &nice, &system, &idle, &iowait, &irq, &softirq) < 7)
data/xfce4-cpugraph-plugin-1.1.0/panel-plugin/os.c:78:19:  [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).
    if (!(fstat = fopen (PROC_STAT, "r")))
data/xfce4-cpugraph-plugin-1.1.0/panel-plugin/os.c:102:19:  [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).
    if (!(fStat = fopen (PROC_STAT, "r")))
data/xfce4-cpugraph-plugin-1.1.0/panel-plugin/cpu.c:323:63:  [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).
    gtk_css_provider_load_from_data (base->css_provider, css, strlen(css), NULL);

ANALYSIS SUMMARY:

Hits = 5
Lines analyzed = 2110 in approximately 0.07 seconds (30206 lines/second)
Physical Source Lines of Code (SLOC) = 1573
Hits@level = [0]   2 [1]   1 [2]   2 [3]   0 [4]   2 [5]   0
Hits@level+ = [0+]   7 [1+]   5 [2+]   4 [3+]   2 [4+]   2 [5+]   0
Hits/KSLOC@level+ = [0+] 4.4501 [1+] 3.17864 [2+] 2.54291 [3+] 1.27146 [4+] 1.27146 [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.