AI Slop Code Risk Monitor

zeek/zeek

SlopCodeMonitor badge for zeek/zeek Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Zeek is a powerful network analysis framework that is much different from the typical IDS you may know.

4.4 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for zeek/zeek, a C++ project with 8,161 GitHub stars. SynthScan examined 176,002 lines of code across 1015 source files, recording 514 pattern matches distributed across 15 syntactic categories. The legacy adjusted pattern signal is 4.4 (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.4
Adjusted Signal
4.4
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
8.2K
Stars
C++
Language
176.0K
Lines of Code
1.0K
Files
514
Pattern Hits
2026-10-31
Scan Date
0.06
HC Hit Rate

Risk Review · Payload v1

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

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 13.2/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 3.1/100 · LOW

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

Agent Over-Engineering Ratio 4.7/100 · LOW

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

PR Review Velocity Impact 22.7/100 · LOW

Which changes need focused human review? 514 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 62MEDIUM 41LOW 411

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 514 distinct pattern matches across 15 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 Block371 hits · 349 pts
SeverityFileLineSnippetContext
LOWCMakeLists.txt1# When changing the minimum version here, also adaptCOMMENT
LOWCMakeLists.txt321COMMENT
LOWtools/gen-zam/Gen-ZAM.h1// See the file "COPYING" in the main distribution directory for copyright.COMMENT
LOWtools/gen-zam/Gen-ZAM.h101COMMENT
LOWtools/gen-zam/Gen-ZAM.h161 // OP_LOAD_GLOBAL_VV_A).COMMENT
LOWtools/gen-zam/Gen-ZAM.h181COMMENT
LOWtools/gen-zam/Gen-ZAM.h261COMMENT
LOWtools/gen-zam/Gen-ZAM.h401 // Helper function that parses "class" specifications.COMMENT
LOWtools/gen-zam/Gen-ZAM.h421COMMENT
LOWtools/gen-zam/Gen-ZAM.h601COMMENT
LOWtools/binpac/src/pac_context.h1// See the file "COPYING" in the main distribution directory for copyright.COMMENT
LOWtools/binpac/src/pac_expr.h41 ExprType expr_type() const { return expr_type_; }COMMENT
LOWtools/binpac/src/pac_id.h1// See the file "COPYING" in the main distribution directory for copyright.COMMENT
LOWtools/binpac/src/pac_decl-inl.h1// See the file "COPYING" in the main distribution directory for copyright.COMMENT
LOWtools/systemd-generator/src/zeek-cluster-config.h1// See the file "COPYING" in the main distribution directory for copyright.COMMENT
LOWtools/bifcl/include/bif_arg.h1// See the file "COPYING" in the main distribution directory for copyright.COMMENT
LOWtools/zeek-cut/zeek-cut.c1// See the file "COPYING" in the main distribution directory for copyright.COMMENT
LOWci/find-current-version.sh1#!/bin/bashCOMMENT
LOWci/tsan_suppressions.txt1# This is a list of suppressions for ThreadSanitizer. Anything listed here will beCOMMENT
LOWci/tsan_suppressions.txt41race:zeek::threading::InputMessage<zeek::threading::MsgThread>::ObjectCOMMENT
LOWci/tsan_suppressions.txt61called_from_lib:libzmq.soCOMMENT
LOWci/tsan_suppressions.txt81# The T3 thread above is/was a ZMQ IO thread.COMMENT
LOWci/container-images-tag-and-push.sh1#!/bin/bashCOMMENT
LOWtesting/btest/misc/udp.sh1# @TEST-DOC: Check that the Zeek::PacketSourceUDP plugin is available on FreeBSD and LinuxCOMMENT
LOWtesting/btest/misc/build-info.sh1# @TEST-DOC: Verify -V and --build-info workCOMMENT
LOWtesting/btest/Traces/irc-zip-bomb.pcap.py101 # IMPORTANT: the IRC analyzer adds ContentLine_Analyzer ahead of ZIP_AnalyzerCOMMENT
LOW…st/Traces/ldap/ntlm-invalid-target-info-offset.pcap.py41COMMENT
LOW…sting/btest/Traces/smtp/mime-header-size-limit.pcap.py221# padding → 2 bytesCOMMENT
LOW…sting/btest/Traces/smtp/mime-header-size-limit.pcap.py261 # RFC 2822 message — what Zeek parses via MIME_EntityCOMMENT
LOWtesting/btest/Traces/krb/error-preauth-padata.pcap.py1from scapy.all import IP, UDP, Ether, Raw, wrpcapCOMMENT
LOWtesting/btest/Traces/dns/max-compression-depth.pcap.py21COMMENT
LOW…temd-generator/test-zeek-systemd-generator-defaults.sh1# @TEST-DOC: Use a minimal to check the defaults used.COMMENT
LOW…ing/btest/tools/systemd-generator/test-only-workers.sh1# @TEST-DOC: Test just workers in a zeek.conf file.COMMENT
LOW…ting/btest/tools/systemd-generator/test-all-options.sh1# @TEST-DOC: Use all of the options available.COMMENT
LOWtesting/btest/tools/systemd-generator/test-minimal.sh1# @TEST-DOC: Test the most minimal zeek.conf file.COMMENT
LOW…rator/test-zeek-cluster-layout-generator-open-error.sh1# @TEST-DOC: Check that an errno string is included in the error message if -o is used and the file can't be opened. TriCOMMENT
LOW…ing/btest/tools/systemd-generator/test-cluster-ipv6.sh1# @TEST-DOC: Test IPv6 clusterCOMMENT
LOW…/btest/tools/systemd-generator/test-no-zeek-section.sh1# @TEST-DOC: Accept just an [interface] section as valid, no need for a [zeek] sectionCOMMENT
LOW…st/tools/systemd-generator/test-cluster-node-prefix.sh1# @TEST-DOC: Test an explicit cluster_node_prefixCOMMENT
LOW…ing/btest/tools/systemd-generator/test-only-manager.sh1# @TEST-DOC: Test a zeek.conf with only a manager and a cluster-layout.zeek fileCOMMENT
LOW…ools/systemd-generator/test-multi-interface-cpulist.sh1# @TEST-DOC: Focused regression test for when the global host worker index was used instead of the local interface sectiCOMMENT
LOW…tools/systemd-generator/test-interface-substitution.sh1# @TEST-DOC: Test interpolation of the interface key.COMMENT
LOW…sting/btest/tools/systemd-generator/test-no-workers.sh1# @TEST-DOC: Test a zeek.conf with no workers and a cluster-layout.zeek fileCOMMENT
LOW…tools/systemd-generator/test-zeek-systemd-generator.sh1# @TEST-DOC: Smoke test the zeek-systemd-generatorCOMMENT
LOWtesting/btest/tools/systemd-generator/test-ext-path.sh1# @TEST-DOC: Test ext_path settingCOMMENT
LOWtesting/btest/tools/systemd-generator/test-cpulist.sh1# @TEST-DOC: Test a few CPU lists.COMMENT
LOWtesting/btest/tools/systemd-generator/test-cpulist.sh21# @TEST-EXEC: mkdir dir3COMMENT
LOW…enerator/test-zeek-systemd-generator-default-config.sh1# @TEST-DOC: Run zeek-systemd-generator with the default configuration that's in tools/systemd-generator/etc/zeek.confCOMMENT
LOWtesting/btest/tools/systemd-generator/test-archiver.sh1# @TEST-DOC: Test the generated zeek-archiver unit.COMMENT
LOW…est/tools/systemd-generator/test-minimal-no-manager.sh1# @TEST-DOC: Test the most minimal zeek.conf file.COMMENT
LOW…tools/systemd-generator/test-multi-interface-errors.sh1# @TEST-DOC: Test some invalid configurations.COMMENT
LOW…rator/test-zeek-cluster-layout-generator-multi-host.sh1# @TEST-DOC: The zeek-cluster-layout-generator pointed at a directory via -C containing three <hostname>.zeek.conf filesCOMMENT
LOW…sting/btest/tools/systemd-generator/test-worker-env.sh1# @TEST-DOC: Test that worker_env supports templating and accumulation.COMMENT
LOW…/btest/tools/systemd-generator/test-minimal-cluster.sh1# @TEST-DOC: Test the most minimal zeek.conf file.COMMENT
LOW…ystemd-generator/test-zeek-cluster-layout-generator.sh1# @TEST-DOC: Smoke test the zeek-cluster-layout-generator tool.COMMENT
LOW…ystemd-generator/test-zeek-cluster-layout-generator.sh21#COMMENT
LOW…est/tools/systemd-generator/test-empty-zeek-section.sh1# @TEST-DOC: Accept an empty [zeek] section as valid. Manager, logger, proxies and default to unset/zero, disabled.COMMENT
LOW…zeek-cluster-layout-generator-multi-host-no-address.sh1# @TEST-DOC: The zeek-cluster-layout-generator pointed at a directory via -C containing three <hostname>.zeek.conf that COMMENT
LOW…sting/btest/tools/systemd-generator/test-no-loggers.sh1# @TEST-DOC: Test a zeek.conf without loggers so that the manager will be doing the logging.COMMENT
LOW…/btest/tools/systemd-generator/test-multi-interface.sh1# @TEST-DOC: Test multiple interfaceCOMMENT
311 more matches not shown…
Cross-Language Confusion13 hits · 94 pts
SeverityFileLineSnippetContext
HIGH…st/Traces/snmp/snmp-oid-subidentifier-too-long.pcap.py27 varbind = tlv(0x30, oid + null)CODE
HIGH⚡…g/btest/Traces/dce-rpc/bind-ack-no-inband-null.pcap.py160 # Flow 1: sec_addr = b'ABC' (no null) -> old strips to "AB", new keeps "ABC"COMMENT
HIGH⚡…g/btest/Traces/dce-rpc/bind-ack-no-inband-null.pcap.py163 # Flow 2: sec_addr = b'ABC\x00' (null) -> both old and new produce "ABC"COMMENT
HIGH⚡…g/btest/Traces/dce-rpc/bind-ack-no-inband-null.pcap.py166 # Flow 3: sec_addr = b'X' (no null) -> old strips to "", new keeps "X"COMMENT
HIGH…ng/btest/Traces/tls/dtls-sequence-number-jumps.pcap.py51 compression_field = b"\x01\x00" # length 1, method 0 (null)CODE
HIGH…es/tls/dtls-overlapping-inconsistent-fragments.pcap.py64 compression_field = b"\x01\x00" # length 1, method 0 (null)CODE
HIGHsrc/generate-jit-export-def.py27 """Return (defined, undefined, data_syms) sets of external symbols.STRING
HIGHsrc/generate-jit-export-def.py73 return defined, undefined, data_symsCODE
HIGH⚡src/generate-jit-export-def.py264 defined, undefined, data_syms = _parse_symbols(dumpbin, lib)CODE
HIGH⚡src/generate-jit-export-def.py266 f" {lib}: {len(defined)} defined, {len(undefined)} undefined",CODE
HIGH⚡src/generate-jit-export-def.py270 all_undefs.update(undefined)CODE
HIGH⚡src/generate-jit-export-def.py280 defined, undefined, data_syms = _parse_symbols(dumpbin, lib)CODE
HIGH⚡src/generate-jit-export-def.py287 all_undefs.update(undefined)CODE
Synthetic Comment Markers32 hits · 85 pts
SeverityFileLineSnippetContext
HIGHtesting/btest/Traces/unknown-ip-short-payload.pcap.py9Generated by Claude Opus 4.6 (Anthropic)STRING
HIGH…test/Traces/portmapper-many-unanswered-calls.pcapng.py5Generated by ChatGPT 5.5.STRING
HIGH…g/btest/Traces/mqtt-subscribe-pending-topics.pcapng.py9Generated by Claude Opus 4.6.STRING
HIGHtesting/btest/Traces/ftp/ftp-many-port-expected.pcap.py5Generated by GPT-5.5, adapted to gzip compress by default.STRING
HIGH…t/Traces/redis/array-element-object-exhaustion.pcap.py8Generated by Claude Opus 4.8, inspired by a similar script provided by Trail of BitsSTRING
HIGH…btest/Traces/netbios/netbios-split-session-msg.pcap.py13Generated by GPT-5 (OpenAI).STRING
HIGH…t/Traces/netbios/netbios-truncated-session-msg.pcap.py16Generated by Claude Opus 4.8 (Anthropic). Based on a GPT-5.6 sol generatedSTRING
HIGH…st/Traces/tunnels/ayiya-reassembled-geneve-uaf.pcap.py10Generated by Claude Sonnet 5.6 based on geneve-reassembled-geneve-uaf.pcap.pySTRING
HIGH…st/Traces/tunnels/gtpv1-reassembled-geneve-uaf.pcap.py10Generated by Claude Sonnet 5.6 based on geneve-reassembled-geneve-uaf.pcap.pySTRING
HIGH…g/btest/Traces/dce-rpc/bind-ack-no-inband-null.pcap.py3This was entirely generated by Claude code.STRING
HIGHtesting/btest/Traces/ldap/pending-searches-n.pcap.py10Generated by ChatGPT-5.5 (Codex).STRING
HIGH…ting/btest/Traces/ldap/asn1-aggregate-elements.pcap.py8Generated by GPT-5 Codex (OpenAI).STRING
HIGHtesting/btest/Traces/ssh/kex-quadratic-1000.pcap.py7Generated by GPT 5.5 (CODEX) and updated to use different lengths for theSTRING
HIGHtesting/btest/Traces/tcp/reassembly-overlap.pcap.py9Originally generated by gpt-5.6-sol, rewritten with Scapy by Claude Opus 4.6 (Anthropic)STRING
HIGH…ting/btest/Traces/http/content-length-overflow.pcap.py12Generated by Claude Sonnet 4.6 (Anthropic).STRING
HIGHtesting/btest/Traces/http/connect-prefix-match.pcap.py14Generated by Claude Opus 4.8 (Anthropic).STRING
HIGHtesting/btest/Traces/http/query-method.pcap.py9Generated by Claude Opus 4.6 (Anthropic).STRING
HIGH…sting/btest/Traces/http/invalid-content-ranges.pcap.py8Generated by Claude Sonnet 4.6 (Anthropic).STRING
HIGH…sting/btest/Traces/smtp/mime-header-size-limit.pcap.py3# This script is entirely AI generated. It uses a user's AI generated script in order to create aCOMMENT
HIGHtesting/btest/Traces/icmp/icmp6-mldv1.pcap.py5Generated by Claude Sonnet 4.6 (Anthropic)STRING
HIGH…sting/btest/Traces/icmp/icmp6-nd-short-options.pcap.py13Generated by Claude Opus 4.6 (Anthropic)STRING
HIGHtesting/btest/Traces/icmp/icmp6-mldv2.pcap.py6Generated by Claude Sonnet 4.6 (Anthropic)STRING
HIGHtesting/btest/Traces/icmp/icmp6-mld-query.pcap.py7Generated by Claude Sonnet 4.6 (Anthropic)STRING
HIGH…Traces/dhcp/dhcp-unique-xid-join-data-growth.pcapng.py2Generated by GPT 5.5 to provoke a growing DHCP::join_data table.STRING
HIGH…tline/nvt-line-limit-crlf-heap-buffer-overflow.pcap.py10Originally generated by GPT-5.6 (OpenAI) via Trail of Bits, modified by ClaudeSTRING
HIGHtesting/btest/Traces/sip/invalid-content-length.pcap.py7Generated by Claude Opus 4.6 (Anthropic).STRING
HIGHtesting/btest/Traces/krb/error-preauth-padata.pcap.py6Generated by Claude Opus 4.6 (Anthropic).STRING
HIGHtesting/btest/Traces/krb/etype-array-limit.pcap.py8Generated by OpenAI Codex GPT-6 sol using Scapy.STRING
HIGHtesting/btest/Traces/dns/svcb-alpn-malformed.pcap.py6Generated by Claude Opus 4.6 (Anthropic).STRING
HIGHtesting/btest/Traces/dns/conn-count-too-large.pcap.py6Generated by Claude Sonnet 4.6 (Anthropic).STRING
HIGHtesting/btest/Traces/dns/svcb-port-malformed.pcap.py6Generated by Claude Opus 4.6 (Anthropic).STRING
HIGHtesting/btest/Traces/dns/max-compression-depth.pcap.py16Generated by Claude Sonnet 4.6 (Anthropic).STRING
Decorative Section Separators28 hits · 73 pts
SeverityFileLineSnippetContext
MEDIUMci/tsan_suppressions.txt10# =====================================================================COMMENT
MEDIUMtesting/btest/Traces/rdp/rdp-zero-length-x509.pcap.py32# ---------------------------------------------------------------------------COMMENT
MEDIUMtesting/btest/Traces/rdp/rdp-zero-length-x509.pcap.py34# ---------------------------------------------------------------------------COMMENT
MEDIUMtesting/btest/Traces/rdp/rdp-zero-length-x509.pcap.py61# ---------------------------------------------------------------------------COMMENT
MEDIUMtesting/btest/Traces/rdp/rdp-zero-length-x509.pcap.py63# ---------------------------------------------------------------------------COMMENT
MEDIUMtesting/btest/Traces/rdp/rdp-zero-length-x509.pcap.py176# ---------------------------------------------------------------------------COMMENT
MEDIUMtesting/btest/Traces/rdp/rdp-zero-length-x509.pcap.py178# ---------------------------------------------------------------------------COMMENT
MEDIUM…sting/btest/Traces/smtp/mime-header-size-limit.pcap.py31# ── tunables ────────────────────────────────────────────────────────────────COMMENT
MEDIUM…sting/btest/Traces/smtp/mime-header-size-limit.pcap.py44# ── read the RFC2822 payload ─────────────────────────────────────────────────COMMENT
MEDIUM…sting/btest/Traces/smtp/mime-header-size-limit.pcap.py57# ── build the SMTP conversation ──────────────────────────────────────────────COMMENT
MEDIUM…sting/btest/Traces/smtp/mime-header-size-limit.pcap.py79# ── packet construction ───────────────────────────────────────────────────────COMMENT
MEDIUM…sting/btest/Traces/smtp/mime-header-size-limit.pcap.py166# ── write PCAP ───────────────────────────────────────────────────────────────COMMENT
MEDIUM…sting/btest/Traces/smtp/mime-header-size-limit.pcap.py205# ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…sting/btest/Traces/smtp/mime-header-size-limit.pcap.py207# ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…sting/btest/Traces/smtp/mime-header-size-limit.pcap.py243# ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…sting/btest/Traces/smtp/mime-header-size-limit.pcap.py245# ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…sting/btest/Traces/smtp/mime-header-size-limit.pcap.py293# ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…sting/btest/Traces/smtp/mime-header-size-limit.pcap.py295# ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…sting/btest/Traces/smtp/mime-header-size-limit.pcap.py337# ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…sting/btest/Traces/smtp/mime-header-size-limit.pcap.py339# ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…sting/btest/Traces/smtp/mime-header-size-limit.pcap.py359# ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…sting/btest/Traces/smtp/mime-header-size-limit.pcap.py361# ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…sting/btest/Traces/smtp/mime-header-size-limit.pcap.py374 # ── Code path explanation ─────────────────────────────────────────────COMMENT
MEDIUM…sting/btest/Traces/smtp/mime-header-size-limit.pcap.py420 # ── Impact calculation ────────────────────────────────────────────────STRING
MEDIUM…sting/btest/Traces/smtp/mime-header-size-limit.pcap.py470 # ── Generate the payload ─────────────────────────────────────────────STRING
MEDIUM…sting/btest/Traces/smtp/mime-header-size-limit.pcap.py507 # ── Save to file ─────────────────────────────────────────────────────STRING
MEDIUM…sting/btest/Traces/smtp/mime-header-size-limit.pcap.py522 # ── Summary ──────────────────────────────────────────────────────────STRING
MEDIUM…sting/btest/Traces/smtp/mime-header-size-limit.pcap.py549 # ── Final assertion ───────────────────────────────────────────────────STRING
Cross-File Repetition14 hits · 70 pts
SeverityFileLineSnippetContext
HIGH…t/Traces/redis/array-element-object-exhaustion.pcap.py0build one ethernet/ipv4/tcp packet; scapy fills in the checksums.STRING
HIGH…/btest/Traces/rdp/client-connect-initial-limit.pcap.py0build one ethernet/ipv4/tcp packet; scapy fills in the checksums.STRING
HIGH…st/Traces/rdp/client-channel-memory-exhaustion.pcap.py0build one ethernet/ipv4/tcp packet; scapy fills in the checksums.STRING
HIGH…btest/Traces/dns/udp-txt-character-strings-cap.pcap.py0build one ethernet/ipv4/udp dns packet for the given exchange/direction.STRING
HIGH…ng/btest/Traces/dns/udp-nsec3-type-bitmaps-cap.pcap.py0build one ethernet/ipv4/udp dns packet for the given exchange/direction.STRING
HIGH…btest/Traces/dns/udp-spf-character-strings-cap.pcap.py0build one ethernet/ipv4/udp dns packet for the given exchange/direction.STRING
HIGH…ing/btest/Traces/dns/udp-nsec-type-bitmaps-cap.pcap.py0build one ethernet/ipv4/udp dns packet for the given exchange/direction.STRING
HIGH…btest/Traces/dns/udp-txt-character-strings-cap.pcap.py0an spf reply whose single record repeats character_string count times. scapy's character-string field cannot emit a run STRING
HIGH…btest/Traces/dns/tcp-txt-character-strings-cap.pcap.py0an spf reply whose single record repeats character_string count times. scapy's character-string field cannot emit a run STRING
HIGH…btest/Traces/dns/udp-spf-character-strings-cap.pcap.py0an spf reply whose single record repeats character_string count times. scapy's character-string field cannot emit a run STRING
HIGH…btest/Traces/dns/tcp-spf-character-strings-cap.pcap.py0an spf reply whose single record repeats character_string count times. scapy's character-string field cannot emit a run STRING
HIGH…st/Traces/dnp3/dnp3-flowbuffer-overflow-assert.pcap.py0return the 2-byte little-endian dnp3 crc for a block of bytes.STRING
HIGH…s/dnp3/dnp3-request-object-count-amplification.pcap.py0return the 2-byte little-endian dnp3 crc for a block of bytes.STRING
HIGH…/dnp3/dnp3-response-object-count-amplification.pcap.py0return the 2-byte little-endian dnp3 crc for a block of bytes.STRING
Self-Referential Comments9 hits · 32 pts
SeverityFileLineSnippetContext
MEDIUMtesting/btest/Traces/icmp/icmp6-mldv2.pcap.py122 # Create the packetCOMMENT
MEDIUM⚡testing/btest/Traces/icmp/icmp6-mldv2.pcap.py173 # Create the packet (using unique source address)COMMENT
MEDIUM⚡testing/btest/Traces/icmp/icmp6-mldv2.pcap.py176 # Create a second packet with zero multicast address recordsCOMMENT
MEDIUM⚡testing/btest/Traces/icmp/icmp6-mldv2.pcap.py181 # Create a third packet with malformed record: claims 3 sources but only has 2COMMENT
MEDIUMtesting/btest/Traces/icmp/icmp6-mldv2.pcap.py193 # Create a fourth packet with one source and auxiliary dataCOMMENT
MEDIUMtesting/btest/Traces/icmp/icmp6-mldv2.pcap.py205 # Create a fifth packet with malformed aux data: claims aux data length > 0 but no actual dataCOMMENT
MEDIUMdoc/redirects.yml1# This file defines all the HTTP redirects required for the Readthedocs projectsCOMMENT
MEDIUMdoc/conf.py4# This file is execfile()d with the current directory set to its containing dir.COMMENT
MEDIUMdoc/ext/zeek.py100 # Create a referenceCOMMENT
Unused Imports18 hits · 18 pts
SeverityFileLineSnippetContext
LOWtesting/btest/Traces/udp-contents-truncated-oob.pcap.py16CODE
LOW…resql/postgresql-error-field-memory-exhaustion.pcap.py22CODE
LOW…Traces/ftp/ftp-request-event-memory-exhaustion.pcap.py12CODE
LOW…test/Traces/websocket/fragmented-message-state.pcap.py12CODE
LOW…rent-tracker-eventless-table-memory-exhaustion.pcap.py13CODE
LOW…t/Traces/redis/array-element-object-exhaustion.pcap.py12CODE
LOWtesting/btest/Traces/ldap/pending-searches-n.pcap.py13CODE
LOW…st/Traces/ldap/ntlm-invalid-target-info-offset.pcap.py8CODE
LOWtesting/btest/Traces/ldap/pending-adds-n.pcap.py13CODE
LOW…t/Traces/dhcp/dhcp_bad_cookie_option_retention.pcap.py17CODE
LOW…tline/nvt-line-limit-crlf-heap-buffer-overflow.pcap.py14CODE
LOW…btest/Traces/dns/udp-txt-character-strings-cap.pcap.py20CODE
LOW…ng/btest/Traces/dns/udp-nsec3-type-bitmaps-cap.pcap.py23CODE
LOW…btest/Traces/dns/udp-spf-character-strings-cap.pcap.py21CODE
LOW…btest/Traces/dns/tcp-spf-character-strings-cap.pcap.py19CODE
LOW…ing/btest/Traces/dns/udp-nsec-type-bitmaps-cap.pcap.py22CODE
LOW…btest/Traces/dns/tcp-txt-character-strings-cap.pcap.py18CODE
LOW…st/Traces/dnp3/dnp3-flowbuffer-overflow-assert.pcap.py24CODE
Empty Error Handlers3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHci/collect-repo-info.py33except OSError:CODE
HIGHci/collect-repo-info.py105except FileNotFoundError:CODE
HIGHtesting/btest/Files/ws/wstest.py273except OSError:CODE
AI Slop Vocabulary5 hits · 14 pts
SeverityFileLineSnippetContext
LOW.agents/skills/scapy-pcap/assets/template-udp.pcap.py40 # directly. For a single-packet trace, just return one; drop pkt() entirelyCOMMENT
MEDIUMsrc/Dict.h299 // The non-robust case is easy. Just advance the current position forward until youCOMMENT
MEDIUMsrc/Dict.h1573 // Pending number of iterators on the Dict, including both robust and non-robust.COMMENT
MEDIUMsrc/script_opt/Expr.h171 // to leverage.COMMENT
MEDIUMsrc/script_opt/ZAM/ZInst.h69 // The following is to support robust operation in the face of potentialCOMMENT
Hyper-Verbose Identifiers9 hits · 9 pts
SeverityFileLineSnippetContext
LOW…sting/btest/Traces/dce-rpc/large-fragments-smb.pcap.py243def server_get_info_request_stub():CODE
LOW…sting/btest/Traces/dce-rpc/large-fragments-smb.pcap.py247def server_get_info_response_stub():CODE
LOWtesting/btest/Traces/rdp/rdp-zero-length-x509.pcap.py90def build_server_security_data():CODE
LOW…krb/krb-tcp-request-argument-memory-exhaustion.pcap.py86def make_invalid_index_as_req():CODE
LOW…krb/krb-tcp-request-argument-memory-exhaustion.pcap.py92def make_duplicate_index_as_req():CODE
LOWtesting/btest/Files/ws/wstest.py243def monkey_patch_close_socket():CODE
LOWtesting/scripts/httpd.py6class MyRequestHandler(BaseHTTPServer.BaseHTTPRequestHandler):CODE
LOWdoc/ext/zeek.py55def object_description_transform(app, domain, objtype, contentnode):CODE
LOWsrc/generate-jit-export-def.py76def extract_defined_externals(dumpbin, lib_path):CODE
Redundant / Tautological Comments3 hits · 4 pts
SeverityFileLineSnippetContext
LOWsrc/generate-jit-export-def.py53 # Check if this is a function ("notype ()") or data ("notype" only).COMMENT
LOWsrc/generate-jit-export-def.py94 # Check if any path component matches a target dir pattern.COMMENT
LOWsrc/generate-jit-export-def.py142 # Check if the symbol belongs to a whitelisted namespace.COMMENT
Deep Nesting4 hits · 4 pts
SeverityFileLineSnippetContext
LOWci/collect-repo-info.py162CODE
LOWdoc/ext/zeek.py520CODE
LOWdoc/ext/zeek.py567CODE
LOWsrc/generate-jit-export-def.py86CODE
Modern Structural Boilerplate2 hits · 2 pts
SeverityFileLineSnippetContext
LOWci/collect-repo-info.py22logger = logging.getLogger(__name__)CODE
LOWdoc/ext/zeek.py27logger = logging.getLogger(__name__)CODE
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
LOWci/benchmark.sh57# If we got a bad status back from the host, we want to make sure to mask the hostCOMMENT
Excessive Try-Catch Wrapping2 hits · 0 pts
SeverityFileLineSnippetContext
LOW…sting/btest/Traces/smtp/mime-header-size-limit.pcap.py487 except Exception:STRING
LOW…sting/btest/Traces/smtp/mime-header-size-limit.pcap.py500 except Exception:STRING