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/node-modern-syslog-1.2.0/core.cc FINAL RESULTS: data/node-modern-syslog-1.2.0/core.cc:42:8: [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. static char ident[1024]; data/node-modern-syslog-1.2.0/core.cc:70:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(s, mem, memsz); data/node-modern-syslog-1.2.0/core.cc:80:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(s, mem, memsz); data/node-modern-syslog-1.2.0/core.cc:56:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(ident, *arg0, length); ANALYSIS SUMMARY: Hits = 4 Lines analyzed = 190 in approximately 0.03 seconds (6033 lines/second) Physical Source Lines of Code (SLOC) = 147 Hits@level = [0] 1 [1] 1 [2] 3 [3] 0 [4] 0 [5] 0 Hits@level+ = [0+] 5 [1+] 4 [2+] 3 [3+] 0 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 34.0136 [1+] 27.2109 [2+] 20.4082 [3+] 0 [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.