AI Slop Code RIsk Monitor

netblue30/firejail

Linux namespaces and seccomp-bpf sandbox

4.6 Low pattern signal View on GitHub

Maintenance and Governance Review

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.

4.6
Adjusted Signal
4.6
Raw Pattern Score
100%
Time Factor
2026-10-09
Last Push
7.7K
Stars
C
Language
70.4K
Lines of Code
266
Files
256
Pattern Hits
2026-10-12
Scan Date
0.00
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 20.1/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 252 finding(s).

Hallucinated Dependency & Supply Chain Risk 0.0/100 · LOW

Are imports declared and package/API names verified? 0 finding(s).

Agent Over-Engineering Ratio 0.4/100 · LOW

Are wrappers, guards, and repeated structures necessary? 4 finding(s).

PR Review Velocity Impact 22.6/100 · LOW

Which changes need focused human review? 256 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

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.

Severity Breakdown

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.

CRITICAL 0HIGH 0MEDIUM 52LOW 204

Directory Score Breakdown

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.

Pattern Findings

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.

Over-Commented Block193 hits · 158 pts
SeverityFileLineSnippetContext
LOWgcov.sh1#!/bin/bashCOMMENT
LOW.gitlab-ci.yml101 - make installcheckCOMMENT
LOWmkgcov.sh1#!/bin/bashCOMMENT
LOWlinecnt.sh1# This script counts the number of lines of code throughout theCOMMENT
LOWlinecnt.sh21# fcopy 299COMMENT
LOWtest/seccomp-extra/memwrexe.c1// This file is part of Firejail projectCOMMENT
LOWtest/filters/namespaces.c1#define _GNU_SOURCECOMMENT
LOWtest/firecfg/firecfg.sh21#sudo firecfgCOMMENT
LOWtest/fnettrace/fnettrace.sh41sleep 1COMMENT
LOWplatform/rpm/mkrpm.sh1#!/bin/bashCOMMENT
LOWcontrib/gdb-firejail.sh1#!/bin/bashCOMMENT
LOWsrc/libtrace/libtrace.c21#include <errno.h>COMMENT
LOWsrc/libtrace/libtrace.c141#ifdef SOCK_DCCPCOMMENT
LOWsrc/libtrace/libtrace.c161 { AF_IPX, "AF_IPX" },COMMENT
LOWsrc/libtrace/libtrace.c181static XTable socket_protocol[] = {COMMENT
LOWsrc/libtrace/libtrace.c201 { IPPROTO_PUP, "IPPROTO_PUP" },COMMENT
LOWsrc/libtrace/libtrace.c221#ifdef IPPROTO_ESPCOMMENT
LOWsrc/libtrace/libtrace.c441int stat(const char *pathname, struct stat *statbuf) {COMMENT
LOWsrc/jailcheck/network.c21#include <netdb.h>COMMENT
LOWsrc/jailcheck/utils.c61 exit(1);COMMENT
LOWsrc/tools/gen-syscalls.sh1#!/usr/bin/env bashCOMMENT
LOWsrc/tools/extract_seccomp.c21#define _GNU_SOURCECOMMENT
LOWsrc/firemon/firemon.h21#define FIREMON_HCOMMENT
LOWsrc/firemon/procevent.c21#include "../include/gcov_wrapper.h"COMMENT
LOWsrc/firecfg/firecfg.h21#define FIRECFG_HCOMMENT
LOWsrc/fnettrace/static-ip-map.txt1#COMMENT
LOWsrc/fnettrace/static-ip-map.txt21# Static Internet MapCOMMENT
LOWsrc/fnettrace/fnettrace.h21#define FNETTRACE_HCOMMENT
LOWsrc/fnettrace/main.c21#include "radix.h"COMMENT
LOWsrc/include/libnetlink.h21#define _GNU_SOURCECOMMENT
LOWsrc/include/libnetlink.h141 ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg))))COMMENT
LOWsrc/include/ldd_utils.h21#ifndef LDD_UTILS_HCOMMENT
LOWsrc/include/fnettrace_common.h21#define FNETTRACE_COMMON_HCOMMENT
LOWsrc/include/gcov_wrapper.h41#define __gcov_dump() ((void)0)COMMENT
LOWsrc/include/common.h21#ifndef COMMON_HCOMMENT
LOWsrc/include/rundefs.h21#ifndef RUNDEFS_HCOMMENT
LOWsrc/include/rundefs.h41#define RUN_PROTOCOL_CFG RUN_MNT_DIR "/protocol"COMMENT
LOWsrc/include/rundefs.h61#define RUN_DBUS_SYSTEM_SOCKET RUN_DBUS_DIR "/system"COMMENT
LOWsrc/include/rundefs.h81#define PATH_SECCOMP_NAMESPACES LIBDIR "/firejail/seccomp.namespaces" // filter for restrict-namespacesCOMMENT
LOWsrc/include/rundefs.h101#define RUN_UMASK_FILE RUN_MNT_DIR "/umask"COMMENT
LOWsrc/include/seccomp.h61#define SECCOMP_HCOMMENT
LOWsrc/include/seccomp.h81#endifCOMMENT
LOWsrc/include/seccomp.h101#define SECCOMP_RET_LOG 0x7ffc0000UCOMMENT
LOWsrc/include/seccomp.h121#elif defined(__mips__) && __BYTE_ORDER == __BIG_ENDIAN && _MIPS_SIM == _MIPS_SIM_ABI32COMMENT
LOWsrc/include/seccomp.h141#elif defined(__mips__) && __BYTE_ORDER == __LITTLE_ENDIAN && _MIPS_SIM == _MIPS_SIM_NABI32COMMENT
LOWsrc/include/seccomp.h161#elif defined(__s390__)COMMENT
LOWsrc/include/seccomp.h181#elif defined(__sparc64__)COMMENT
LOWsrc/fcopy/main.c21#include "../include/common.h"COMMENT
LOWsrc/fnetlock/fnetlock.h21#define FNETLOCK_HCOMMENT
LOWsrc/fbwrap/main.c21#include <errno.h>COMMENT
LOWsrc/fseccomp/namespaces.c21#include "fseccomp.h"COMMENT
LOWsrc/fseccomp/namespaces.c101#ifdef SYS_cloneCOMMENT
LOWsrc/fseccomp/namespaces.c181#endifCOMMENT
LOWsrc/fseccomp/seccomp.c21#include "../include/seccomp.h"COMMENT
LOWsrc/fseccomp/seccomp.c201COMMENT
LOWsrc/fseccomp/seccomp.c221#elif defined(__arm__)COMMENT
LOWsrc/lib/common.c21#include <stdio.h>COMMENT
LOWsrc/lib/common.c481COMMENT
LOWsrc/lib/pid.c21#include "../include/common.h"COMMENT
LOWsrc/lib/syscall.c21#include "../include/syscall.h"COMMENT
133 more matches not shown…
Self-Referential Comments49 hits · 146 pts
SeverityFileLineSnippetContext
MEDIUMtestcompile.sh2# This file is part of Firejail projectCOMMENT
MEDIUMmkdeb.sh2# This file is part of Firejail projectCOMMENT
MEDIUMgcov.sh2# This file is part of Firejail projectCOMMENT
MEDIUMmkuid.sh2# This file is part of Firejail projectCOMMENT
MEDIUMmkgcov.sh2# This file is part of Firejail projectCOMMENT
MEDIUMmkasc.sh2# This file is part of Firejail projectCOMMENT
MEDIUMtest/seccomp-extra/seccomp-extra.sh2# This file is part of Firejail projectCOMMENT
MEDIUMtest/filters/filters.sh2# This file is part of Firejail projectCOMMENT
MEDIUMtest/capabilities/capabilities.sh2# This file is part of Firejail projectCOMMENT
MEDIUMtest/firecfg/firejail-program-args.sh2# This file is part of Firejail projectCOMMENT
MEDIUMtest/firecfg/firecfg.sh2# This file is part of Firejail projectCOMMENT
MEDIUMtest/fnettrace/fnettrace.sh2# This file is part of Firejail projectCOMMENT
MEDIUMtest/network/network.sh2# This file is part of Firejail projectCOMMENT
MEDIUMtest/private-etc/private-etc.sh2# This file is part of Firejail projectCOMMENT
MEDIUMtest/apparmor/apparmor.sh2# This file is part of Firejail projectCOMMENT
MEDIUMtest/fcopy/fcopy.sh2# This file is part of Firejail projectCOMMENT
MEDIUMtest/utils/utils.sh2# This file is part of Firejail projectCOMMENT
MEDIUMtest/utils/catchsignal.sh2# This file is part of Firejail projectCOMMENT
MEDIUMtest/utils/catchsignal-master.sh2# This file is part of Firejail projectCOMMENT
MEDIUMtest/utils/catchsignal2.sh2# This file is part of Firejail projectCOMMENT
MEDIUMtest/fnetfilter/fnetfilter.sh2# This file is part of Firejail projectCOMMENT
MEDIUMtest/environment/environment.sh2# This file is part of Firejail projectCOMMENT
MEDIUMtest/environment/output.sh2# This file is part of Firejail projectCOMMENT
MEDIUMtest/appimage/appimage.sh2# This file is part of Firejail projectCOMMENT
MEDIUMtest/chroot/chroot.sh2# This file is part of Firejail projectCOMMENT
MEDIUMtest/profiles/profiles.sh2# This file is part of Firejail projectCOMMENT
MEDIUMtest/profiles/all-profiles.sh2# This file is part of Firejail projectCOMMENT
MEDIUMtest/fs/fs.sh2# This file is part of Firejail projectCOMMENT
MEDIUMtest/apps/apps.sh2# This file is part of Firejail projectCOMMENT
MEDIUMci/check/profiles/sort.py2# This file is part of Firejail projectCOMMENT
MEDIUMplatform/rpm/mkrpm.sh2# This file is part of Firejail projectCOMMENT
MEDIUMplatform/rpm/mkrpm.sh41# Create the spec fileCOMMENT
MEDIUMcontrib/fj-mkdeb.py2# This file is part of Firejail projectCOMMENT
MEDIUMcontrib/fj-mkdeb.py30 # Create the dist file used by mkdeb.sh.COMMENT
MEDIUMcontrib/syscalls.sh2# This file is part of Firejail projectCOMMENT
MEDIUMcontrib/sort.py2# This file is part of Firejail projectCOMMENT
MEDIUMcontrib/jail_prober.py2# This file is part of Firejail projectCOMMENT
MEDIUMcontrib/update_deb.sh2# This file is part of Firejail projectCOMMENT
MEDIUMcontrib/fjresize.py2# This file is part of Firejail projectCOMMENT
MEDIUMcontrib/fjclip.py2# This file is part of Firejail projectCOMMENT
MEDIUMcontrib/fjdisplay.py2# This file is part of Firejail projectCOMMENT
MEDIUMcontrib/gdb-firejail.sh2# This file is part of Firejail projectCOMMENT
MEDIUMsrc/man/mkman.sh2# This file is part of Firejail projectCOMMENT
MEDIUMsrc/tools/gen-syscalls.sh3# This file is part of Firejail projectCOMMENT
MEDIUMsrc/tools/check-caps.sh2# This file is part of Firejail projectCOMMENT
MEDIUMsrc/tools/extract_errnos.sh2# This file is part of Firejail projectCOMMENT
MEDIUMsrc/tools/unchroot.pl14# Create a subdir, move into itCOMMENT
MEDIUMsrc/firecfg/firejail-symlink.sh2# This file is part of Firejail projectCOMMENT
MEDIUMsrc/fnettrace/main.c839 printf("# This file is part of firejail project\n");CODE
Deep Nesting7 hits · 7 pts
SeverityFileLineSnippetContext
LOWci/check/profiles/sort.py77CODE
LOWci/check/profiles/sort.py126CODE
LOWcontrib/sort.py77CODE
LOWcontrib/sort.py126CODE
LOWcontrib/fix_private-bin.py38CODE
LOWcontrib/fix_private-bin.py72CODE
LOWcontrib/fix_private-bin.py103CODE
Slop Phrases2 hits · 4 pts
SeverityFileLineSnippetContext
LOWsrc/lib/libnetlink.c384 /* Don't forget to skip that message. */COMMENT
MEDIUMsrc/fbuilder/build_profile.c95 fprintf(fp, "# some other commands you can try. Enable them by removing the \"#\".\n\n");CODE
Decorative Section Separators1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMlinecnt.sh18# -------------------------------COMMENT
Excessive Try-Catch Wrapping3 hits · 3 pts
SeverityFileLineSnippetContext
LOWci/check/profiles/sort.py166 except Exception as err:STRING
MEDIUMcontrib/fj-mkdeb.py16 print('Error: Not a firejail source tree? Exiting.')CODE
LOWcontrib/sort.py166 except Exception as err:STRING
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWsrc/tools/unchroot.pl11# Open filehandle to root of jailCOMMENT