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/monsterz-0.7.1/monsterz.c

FINAL RESULTS:

data/monsterz-0.7.1/monsterz.c:58:13:  [4] (shell) execv:
  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.
            execv(script, newargv);
data/monsterz-0.7.1/monsterz.c:19:5:  [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 buffer[BUFSIZ];
data/monsterz-0.7.1/monsterz.c:41:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            dup2(fd[1], atoi(outfd));
data/monsterz-0.7.1/monsterz.c:72:23:  [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 *f = fopen(score, "w");
data/monsterz-0.7.1/monsterz.c:66:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        ret = read(fd[0], buffer + pos, 1);

ANALYSIS SUMMARY:

Hits = 5
Lines analyzed = 89 in approximately 0.01 seconds (7319 lines/second)
Physical Source Lines of Code (SLOC) = 66
Hits@level = [0]   3 [1]   1 [2]   3 [3]   0 [4]   1 [5]   0
Hits@level+ = [0+]   8 [1+]   5 [2+]   4 [3+]   1 [4+]   1 [5+]   0
Hits/KSLOC@level+ = [0+] 121.212 [1+] 75.7576 [2+] 60.6061 [3+] 15.1515 [4+] 15.1515 [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.