Linux namespaces and seccomp-bpf sandbox
This report summarizes scanner evidence for netblue30/firejail, a C project with 7,697 GitHub stars. SynthScan examined 70,419 lines of code across 266 source files, recording 256 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 4.6 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 252 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 4 finding(s).
Which changes need focused human review? 256 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 256 distinct pattern matches across 7 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | gcov.sh | 1 | #!/bin/bash | COMMENT |
| LOW | .gitlab-ci.yml | 101 | - make installcheck | COMMENT |
| LOW | mkgcov.sh | 1 | #!/bin/bash | COMMENT |
| LOW | linecnt.sh | 1 | # This script counts the number of lines of code throughout the | COMMENT |
| LOW | linecnt.sh | 21 | # fcopy 299 | COMMENT |
| LOW | test/seccomp-extra/memwrexe.c | 1 | // This file is part of Firejail project | COMMENT |
| LOW | test/filters/namespaces.c | 1 | #define _GNU_SOURCE | COMMENT |
| LOW | test/firecfg/firecfg.sh | 21 | #sudo firecfg | COMMENT |
| LOW | test/fnettrace/fnettrace.sh | 41 | sleep 1 | COMMENT |
| LOW | platform/rpm/mkrpm.sh | 1 | #!/bin/bash | COMMENT |
| LOW | contrib/gdb-firejail.sh | 1 | #!/bin/bash | COMMENT |
| LOW | src/libtrace/libtrace.c | 21 | #include <errno.h> | COMMENT |
| LOW | src/libtrace/libtrace.c | 141 | #ifdef SOCK_DCCP | COMMENT |
| LOW | src/libtrace/libtrace.c | 161 | { AF_IPX, "AF_IPX" }, | COMMENT |
| LOW | src/libtrace/libtrace.c | 181 | static XTable socket_protocol[] = { | COMMENT |
| LOW | src/libtrace/libtrace.c | 201 | { IPPROTO_PUP, "IPPROTO_PUP" }, | COMMENT |
| LOW | src/libtrace/libtrace.c | 221 | #ifdef IPPROTO_ESP | COMMENT |
| LOW | src/libtrace/libtrace.c | 441 | int stat(const char *pathname, struct stat *statbuf) { | COMMENT |
| LOW | src/jailcheck/network.c | 21 | #include <netdb.h> | COMMENT |
| LOW | src/jailcheck/utils.c | 61 | exit(1); | COMMENT |
| LOW | src/tools/gen-syscalls.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | src/tools/extract_seccomp.c | 21 | #define _GNU_SOURCE | COMMENT |
| LOW | src/firemon/firemon.h | 21 | #define FIREMON_H | COMMENT |
| LOW | src/firemon/procevent.c | 21 | #include "../include/gcov_wrapper.h" | COMMENT |
| LOW | src/firecfg/firecfg.h | 21 | #define FIRECFG_H | COMMENT |
| LOW | src/fnettrace/static-ip-map.txt | 1 | # | COMMENT |
| LOW | src/fnettrace/static-ip-map.txt | 21 | # Static Internet Map | COMMENT |
| LOW | src/fnettrace/fnettrace.h | 21 | #define FNETTRACE_H | COMMENT |
| LOW | src/fnettrace/main.c | 21 | #include "radix.h" | COMMENT |
| LOW | src/include/libnetlink.h | 21 | #define _GNU_SOURCE | COMMENT |
| LOW | src/include/libnetlink.h | 141 | ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg)))) | COMMENT |
| LOW | src/include/ldd_utils.h | 21 | #ifndef LDD_UTILS_H | COMMENT |
| LOW | src/include/fnettrace_common.h | 21 | #define FNETTRACE_COMMON_H | COMMENT |
| LOW | src/include/gcov_wrapper.h | 41 | #define __gcov_dump() ((void)0) | COMMENT |
| LOW | src/include/common.h | 21 | #ifndef COMMON_H | COMMENT |
| LOW | src/include/rundefs.h | 21 | #ifndef RUNDEFS_H | COMMENT |
| LOW | src/include/rundefs.h | 41 | #define RUN_PROTOCOL_CFG RUN_MNT_DIR "/protocol" | COMMENT |
| LOW | src/include/rundefs.h | 61 | #define RUN_DBUS_SYSTEM_SOCKET RUN_DBUS_DIR "/system" | COMMENT |
| LOW | src/include/rundefs.h | 81 | #define PATH_SECCOMP_NAMESPACES LIBDIR "/firejail/seccomp.namespaces" // filter for restrict-namespaces | COMMENT |
| LOW | src/include/rundefs.h | 101 | #define RUN_UMASK_FILE RUN_MNT_DIR "/umask" | COMMENT |
| LOW | src/include/seccomp.h | 61 | #define SECCOMP_H | COMMENT |
| LOW | src/include/seccomp.h | 81 | #endif | COMMENT |
| LOW | src/include/seccomp.h | 101 | #define SECCOMP_RET_LOG 0x7ffc0000U | COMMENT |
| LOW | src/include/seccomp.h | 121 | #elif defined(__mips__) && __BYTE_ORDER == __BIG_ENDIAN && _MIPS_SIM == _MIPS_SIM_ABI32 | COMMENT |
| LOW | src/include/seccomp.h | 141 | #elif defined(__mips__) && __BYTE_ORDER == __LITTLE_ENDIAN && _MIPS_SIM == _MIPS_SIM_NABI32 | COMMENT |
| LOW | src/include/seccomp.h | 161 | #elif defined(__s390__) | COMMENT |
| LOW | src/include/seccomp.h | 181 | #elif defined(__sparc64__) | COMMENT |
| LOW | src/fcopy/main.c | 21 | #include "../include/common.h" | COMMENT |
| LOW | src/fnetlock/fnetlock.h | 21 | #define FNETLOCK_H | COMMENT |
| LOW | src/fbwrap/main.c | 21 | #include <errno.h> | COMMENT |
| LOW | src/fseccomp/namespaces.c | 21 | #include "fseccomp.h" | COMMENT |
| LOW | src/fseccomp/namespaces.c | 101 | #ifdef SYS_clone | COMMENT |
| LOW | src/fseccomp/namespaces.c | 181 | #endif | COMMENT |
| LOW | src/fseccomp/seccomp.c | 21 | #include "../include/seccomp.h" | COMMENT |
| LOW | src/fseccomp/seccomp.c | 201 | COMMENT | |
| LOW | src/fseccomp/seccomp.c | 221 | #elif defined(__arm__) | COMMENT |
| LOW | src/lib/common.c | 21 | #include <stdio.h> | COMMENT |
| LOW | src/lib/common.c | 481 | COMMENT | |
| LOW | src/lib/pid.c | 21 | #include "../include/common.h" | COMMENT |
| LOW | src/lib/syscall.c | 21 | #include "../include/syscall.h" | COMMENT |
| 133 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | testcompile.sh | 2 | # This file is part of Firejail project | COMMENT |
| MEDIUM | mkdeb.sh | 2 | # This file is part of Firejail project | COMMENT |
| MEDIUM | gcov.sh | 2 | # This file is part of Firejail project | COMMENT |
| MEDIUM | mkuid.sh | 2 | # This file is part of Firejail project | COMMENT |
| MEDIUM | mkgcov.sh | 2 | # This file is part of Firejail project | COMMENT |
| MEDIUM | mkasc.sh | 2 | # This file is part of Firejail project | COMMENT |
| MEDIUM | test/seccomp-extra/seccomp-extra.sh | 2 | # This file is part of Firejail project | COMMENT |
| MEDIUM | test/filters/filters.sh | 2 | # This file is part of Firejail project | COMMENT |
| MEDIUM | test/capabilities/capabilities.sh | 2 | # This file is part of Firejail project | COMMENT |
| MEDIUM | test/firecfg/firejail-program-args.sh | 2 | # This file is part of Firejail project | COMMENT |
| MEDIUM | test/firecfg/firecfg.sh | 2 | # This file is part of Firejail project | COMMENT |
| MEDIUM | test/fnettrace/fnettrace.sh | 2 | # This file is part of Firejail project | COMMENT |
| MEDIUM | test/network/network.sh | 2 | # This file is part of Firejail project | COMMENT |
| MEDIUM | test/private-etc/private-etc.sh | 2 | # This file is part of Firejail project | COMMENT |
| MEDIUM | test/apparmor/apparmor.sh | 2 | # This file is part of Firejail project | COMMENT |
| MEDIUM | test/fcopy/fcopy.sh | 2 | # This file is part of Firejail project | COMMENT |
| MEDIUM | test/utils/utils.sh | 2 | # This file is part of Firejail project | COMMENT |
| MEDIUM | test/utils/catchsignal.sh | 2 | # This file is part of Firejail project | COMMENT |
| MEDIUM | test/utils/catchsignal-master.sh | 2 | # This file is part of Firejail project | COMMENT |
| MEDIUM | test/utils/catchsignal2.sh | 2 | # This file is part of Firejail project | COMMENT |
| MEDIUM | test/fnetfilter/fnetfilter.sh | 2 | # This file is part of Firejail project | COMMENT |
| MEDIUM | test/environment/environment.sh | 2 | # This file is part of Firejail project | COMMENT |
| MEDIUM | test/environment/output.sh | 2 | # This file is part of Firejail project | COMMENT |
| MEDIUM | test/appimage/appimage.sh | 2 | # This file is part of Firejail project | COMMENT |
| MEDIUM | test/chroot/chroot.sh | 2 | # This file is part of Firejail project | COMMENT |
| MEDIUM | test/profiles/profiles.sh | 2 | # This file is part of Firejail project | COMMENT |
| MEDIUM | test/profiles/all-profiles.sh | 2 | # This file is part of Firejail project | COMMENT |
| MEDIUM | test/fs/fs.sh | 2 | # This file is part of Firejail project | COMMENT |
| MEDIUM | test/apps/apps.sh | 2 | # This file is part of Firejail project | COMMENT |
| MEDIUM | ci/check/profiles/sort.py | 2 | # This file is part of Firejail project | COMMENT |
| MEDIUM | platform/rpm/mkrpm.sh | 2 | # This file is part of Firejail project | COMMENT |
| MEDIUM | platform/rpm/mkrpm.sh | 41 | # Create the spec file | COMMENT |
| MEDIUM | contrib/fj-mkdeb.py | 2 | # This file is part of Firejail project | COMMENT |
| MEDIUM | contrib/fj-mkdeb.py | 30 | # Create the dist file used by mkdeb.sh. | COMMENT |
| MEDIUM | contrib/syscalls.sh | 2 | # This file is part of Firejail project | COMMENT |
| MEDIUM | contrib/sort.py | 2 | # This file is part of Firejail project | COMMENT |
| MEDIUM | contrib/jail_prober.py | 2 | # This file is part of Firejail project | COMMENT |
| MEDIUM | contrib/update_deb.sh | 2 | # This file is part of Firejail project | COMMENT |
| MEDIUM | contrib/fjresize.py | 2 | # This file is part of Firejail project | COMMENT |
| MEDIUM | contrib/fjclip.py | 2 | # This file is part of Firejail project | COMMENT |
| MEDIUM | contrib/fjdisplay.py | 2 | # This file is part of Firejail project | COMMENT |
| MEDIUM | contrib/gdb-firejail.sh | 2 | # This file is part of Firejail project | COMMENT |
| MEDIUM | src/man/mkman.sh | 2 | # This file is part of Firejail project | COMMENT |
| MEDIUM | src/tools/gen-syscalls.sh | 3 | # This file is part of Firejail project | COMMENT |
| MEDIUM | src/tools/check-caps.sh | 2 | # This file is part of Firejail project | COMMENT |
| MEDIUM | src/tools/extract_errnos.sh | 2 | # This file is part of Firejail project | COMMENT |
| MEDIUM | src/tools/unchroot.pl | 14 | # Create a subdir, move into it | COMMENT |
| MEDIUM | src/firecfg/firejail-symlink.sh | 2 | # This file is part of Firejail project | COMMENT |
| MEDIUM | src/fnettrace/main.c | 839 | printf("# This file is part of firejail project\n"); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ci/check/profiles/sort.py | 77 | CODE | |
| LOW | ci/check/profiles/sort.py | 126 | CODE | |
| LOW | contrib/sort.py | 77 | CODE | |
| LOW | contrib/sort.py | 126 | CODE | |
| LOW | contrib/fix_private-bin.py | 38 | CODE | |
| LOW | contrib/fix_private-bin.py | 72 | CODE | |
| LOW | contrib/fix_private-bin.py | 103 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/lib/libnetlink.c | 384 | /* Don't forget to skip that message. */ | COMMENT |
| MEDIUM | src/fbuilder/build_profile.c | 95 | fprintf(fp, "# some other commands you can try. Enable them by removing the \"#\".\n\n"); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | linecnt.sh | 18 | # ------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ci/check/profiles/sort.py | 166 | except Exception as err: | STRING |
| MEDIUM | contrib/fj-mkdeb.py | 16 | print('Error: Not a firejail source tree? Exiting.') | CODE |
| LOW | contrib/sort.py | 166 | except Exception as err: | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/tools/unchroot.pl | 11 | # Open filehandle to root of jail | COMMENT |