AI Slop Code RIsk Monitor

secdev/scapy

Scapy: the Python-based interactive packet manipulation program & library.

16.4 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for secdev/scapy, a Python project with 12,599 GitHub stars. SynthScan examined 274,310 lines of code across 453 source files, recording 2547 pattern matches distributed across 18 syntactic categories. The legacy adjusted pattern signal is 16.4 (Elevated 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.

16.4
Adjusted Signal
16.4
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
12.6K
Stars
Python
Language
274.3K
Lines of Code
453
Files
2.5K
Pattern Hits
2026-10-12
Scan Date
0.61
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 31.1/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 13.5/100 · LOW

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

Agent Over-Engineering Ratio 28.3/100 · MEDIUM

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

PR Review Velocity Impact 59.5/100 · HIGH

Which changes need focused human review? 2547 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 4HIGH 271MEDIUM 510LOW 1762

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 2547 distinct pattern matches across 18 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.

Self-Referential Comments451 hits · 1335 pts
SeverityFileLineSnippetContext
MEDIUM.config/ci/openssl.py2# This file is part of ScapyCOMMENT
MEDIUM.config/ci/install.sh4# This file is part of ScapyCOMMENT
MEDIUM.config/ci/zipapp.sh4# This file is part of ScapyCOMMENT
MEDIUM.config/ci/test.sh4# This file is part of ScapyCOMMENT
MEDIUM.config/ci/openldap/install.sh4# This file is part of ScapyCOMMENT
MEDIUM.config/mypy/mypy_check.py2# This file is part of ScapyCOMMENT
MEDIUM.config/mypy/mypy_deployment_stats.py2# This file is part of ScapyCOMMENT
MEDIUMtest/testsocket.py2# This file is part of ScapyCOMMENT
MEDIUMtest/benchmark/latency_router.py2# This file is part of ScapyCOMMENT
MEDIUMtest/benchmark/common.py2# This file is part of ScapyCOMMENT
MEDIUMtest/benchmark/dissection_and_build.py2# This file is part of ScapyCOMMENT
MEDIUMtest/scapy/layers/tls/__init__.py2# This file is part of ScapyCOMMENT
MEDIUMtest/scapy/layers/tls/example_client.py4# This file is part of ScapyCOMMENT
MEDIUMtest/scapy/layers/tls/example_server.py4# This file is part of ScapyCOMMENT
MEDIUMtest/contrib/automotive/interface_mockup.py2# This file is part of ScapyCOMMENT
MEDIUMscapy/themes.py2# This file is part of ScapyCOMMENT
MEDIUMscapy/interfaces.py2# This file is part of ScapyCOMMENT
MEDIUMscapy/sendrecv.py2# This file is part of ScapyCOMMENT
MEDIUMscapy/pipetool.py2# This file is part of ScapyCOMMENT
MEDIUMscapy/dadict.py2# This file is part of ScapyCOMMENT
MEDIUMscapy/sessions.py2# This file is part of ScapyCOMMENT
MEDIUMscapy/plist.py2# This file is part of ScapyCOMMENT
MEDIUMscapy/asn1packet.py2# This file is part of ScapyCOMMENT
MEDIUMscapy/config.py2# This file is part of ScapyCOMMENT
MEDIUMscapy/config.py664 # Create the extensionCOMMENT
MEDIUMscapy/compat.py2# This file is part of ScapyCOMMENT
MEDIUMscapy/error.py2# This file is part of ScapyCOMMENT
MEDIUMscapy/fields.py2# This file is part of ScapyCOMMENT
MEDIUMscapy/fields.py1762 default = [] # Create a new list for each instanceCODE
MEDIUMscapy/fields.py2116 default = [] # Create a new list for each instanceCODE
MEDIUMscapy/pton_ntop.py2# This file is part of ScapyCOMMENT
MEDIUMscapy/autorun.py2# This file is part of ScapyCOMMENT
MEDIUMscapy/cborpacket.py2# This file is part of ScapyCOMMENT
MEDIUMscapy/route.py2# This file is part of ScapyCOMMENT
MEDIUMscapy/base_classes.py2# This file is part of ScapyCOMMENT
MEDIUMscapy/ansmachine.py2# This file is part of ScapyCOMMENT
MEDIUMscapy/fwdmachine.py2# This file is part of ScapyCOMMENT
MEDIUMscapy/__init__.py2# This file is part of ScapyCOMMENT
MEDIUMscapy/all.py2# This file is part of ScapyCOMMENT
MEDIUMscapy/supersocket.py2# This file is part of ScapyCOMMENT
MEDIUMscapy/supersocket.py299 """This function is called during sendrecv() routine to selectSTRING
MEDIUMscapy/consts.py2# This file is part of ScapyCOMMENT
MEDIUMscapy/asn1fields.py2# This file is part of ScapyCOMMENT
MEDIUMscapy/utils.py2# This file is part of ScapyCOMMENT
MEDIUMscapy/route6.py2# This file is part of ScapyCOMMENT
MEDIUMscapy/packet.py2# This file is part of ScapyCOMMENT
MEDIUMscapy/volatile.py2# This file is part of ScapyCOMMENT
MEDIUMscapy/scapypipes.py2# This file is part of ScapyCOMMENT
MEDIUMscapy/main.py2# This file is part of ScapyCOMMENT
MEDIUMscapy/utils6.py2# This file is part of ScapyCOMMENT
MEDIUMscapy/automaton.py2# This file is part of ScapyCOMMENT
MEDIUMscapy/as_resolvers.py2# This file is part of ScapyCOMMENT
MEDIUMscapy/__main__.py2# This file is part of ScapyCOMMENT
MEDIUMscapy/data.py2# This file is part of ScapyCOMMENT
MEDIUMscapy/asn1/mib.py2# This file is part of ScapyCOMMENT
MEDIUMscapy/asn1/mib.py191 # Create the new MIBCOMMENT
MEDIUMscapy/asn1/__init__.py2# This file is part of ScapyCOMMENT
MEDIUMscapy/asn1/ber.py2# This file is part of ScapyCOMMENT
MEDIUMscapy/asn1/asn1.py2# This file is part of ScapyCOMMENT
MEDIUMscapy/tools/generate_manuf.py2# This file is part of ScapyCOMMENT
391 more matches not shown…
Empty Error Handlers220 hits · 1100 pts
SeverityFileLineSnippetContext
HIGHsetup.py106except Exception:CODE
HIGHtest/testsocket.py105except (ValueError, AttributeError, TypeError):CODE
HIGHtest/testsocket.py120except AttributeError:CODE
HIGHtest/testsocket.py94except (ValueError, AttributeError, TypeError):CODE
HIGHscapy/themes.py410except NameError:CODE
HIGHscapy/themes.py450except NameError:CODE
HIGHscapy/interfaces.py392except ValueError:CODE
HIGHscapy/interfaces.py431except ValueError:CODE
HIGHscapy/sendrecv.py425except KeyboardInterrupt:CODE
HIGHscapy/sendrecv.py844except KeyboardInterrupt:CODE
HIGHscapy/sendrecv.py289except SystemExit:CODE
HIGHscapy/sendrecv.py430except AttributeError:CODE
HIGHscapy/sendrecv.py685except (ValueError, OSError):CODE
HIGHscapy/sendrecv.py300except AttributeError:CODE
HIGHscapy/sendrecv.py1340except Exception:CODE
HIGHscapy/pipetool.py163except KeyboardInterrupt:CODE
HIGHscapy/pipetool.py196except Exception:CODE
HIGHscapy/plist.py47except ImportError:CODE
HIGHscapy/config.py816except Exception:CODE
HIGHscapy/config.py822except NameError:CODE
HIGHscapy/config.py1278except Exception:CODE
HIGHscapy/error.py106except ImportError:CODE
HIGHscapy/fields.py560except KeyError:CODE
HIGHscapy/fields.py799except AttributeError:CODE
HIGHscapy/fields.py894except Exception:CODE
HIGHscapy/fields.py2617except KeyError:CODE
HIGHscapy/fields.py2798except KeyError:CODE
HIGHscapy/fields.py3174except AttributeError:CODE
HIGHscapy/autorun.py112except SystemExit:CODE
HIGHscapy/autorun.py70except KeyError:CODE
HIGHscapy/base_classes.py49except ImportError:CODE
HIGHscapy/base_classes.py430except (ImportError, AttributeError, KeyError):CODE
HIGHscapy/base_classes.py416except KeyError:CODE
HIGHscapy/ansmachine.py55except (ImportError, AttributeError):CODE
HIGHscapy/ansmachine.py248except OSError:CODE
HIGHscapy/ansmachine.py64except (AttributeError):CODE
HIGHscapy/ansmachine.py271except Exception:CODE
HIGHscapy/__init__.py142except KeyError:CODE
HIGHscapy/__init__.py152except (FileNotFoundError, NotADirectoryError):CODE
HIGHscapy/__init__.py158except ValueError:CODE
HIGHscapy/__init__.py164except Exception:CODE
HIGHscapy/__init__.py174except Exception:CODE
HIGHscapy/supersocket.py123except AttributeError:CODE
HIGHscapy/utils.py670except ValueError:CODE
HIGHscapy/utils.py1070except Exception:CODE
HIGHscapy/utils.py2991except EOFError:CODE
HIGHscapy/utils.py3361except Exception:CODE
HIGHscapy/utils.py1367except (Scapy_Exception, EOFError):CODE
HIGHscapy/utils.py2766except (Scapy_Exception, EOFError):CODE
HIGHscapy/utils.py1381except (Scapy_Exception, EOFError):CODE
HIGHscapy/utils.py2780except (Scapy_Exception, EOFError):CODE
HIGHscapy/utils.py3298except UnboundLocalError:CODE
HIGHscapy/route6.py135except KeyError:CODE
HIGHscapy/packet.py75except ImportError:CODE
HIGHscapy/packet.py546except KeyError:CODE
HIGHscapy/packet.py550except KeyError:CODE
HIGHscapy/packet.py554except KeyError:CODE
HIGHscapy/packet.py608except AttributeError:CODE
HIGHscapy/packet.py635except AttributeError:CODE
HIGHscapy/packet.py1207except AttributeError:CODE
160 more matches not shown…
Unused Imports758 hits · 700 pts
SeverityFileLineSnippetContext
LOWtest/testsocket.py17CODE
LOWtest/testsocket.py21CODE
LOWtest/testsocket.py21CODE
LOWtest/testsocket.py21CODE
LOWtest/testsocket.py21CODE
LOWtest/testsocket.py21CODE
LOWtest/testsocket.py30CODE
LOWtest/testsocket.py30CODE
LOWtest/benchmark/latency_router.py9CODE
LOWtest/benchmark/common.py12CODE
LOWtest/benchmark/dissection_and_build.py6CODE
LOWtest/scapy/layers/tls/example_client.py12CODE
LOWtest/scapy/layers/tls/example_client.py17CODE
LOWtest/scapy/layers/tls/example_server.py15CODE
LOWtest/scapy/layers/tls/example_server.py16CODE
LOWtest/scapy/layers/tls/example_server.py19CODE
LOWtest/contrib/automotive/interface_mockup.py75CODE
LOWtest/contrib/automotive/interface_mockup.py83CODE
LOWscapy/themes.py17CODE
LOWscapy/themes.py17CODE
LOWscapy/interfaces.py20CODE
LOWscapy/interfaces.py22CODE
LOWscapy/interfaces.py22CODE
LOWscapy/interfaces.py22CODE
LOWscapy/interfaces.py22CODE
LOWscapy/interfaces.py22CODE
LOWscapy/interfaces.py22CODE
LOWscapy/sendrecv.py29CODE
LOWscapy/sendrecv.py42CODE
LOWscapy/sendrecv.py42CODE
LOWscapy/sendrecv.py42CODE
LOWscapy/sendrecv.py42CODE
LOWscapy/sendrecv.py59CODE
LOWscapy/pipetool.py22CODE
LOWscapy/pipetool.py22CODE
LOWscapy/pipetool.py22CODE
LOWscapy/pipetool.py22CODE
LOWscapy/pipetool.py22CODE
LOWscapy/pipetool.py22CODE
LOWscapy/pipetool.py22CODE
LOWscapy/pipetool.py22CODE
LOWscapy/dadict.py14CODE
LOWscapy/dadict.py14CODE
LOWscapy/dadict.py14CODE
LOWscapy/dadict.py14CODE
LOWscapy/dadict.py14CODE
LOWscapy/dadict.py14CODE
LOWscapy/dadict.py14CODE
LOWscapy/dadict.py25CODE
LOWscapy/sessions.py20CODE
LOWscapy/sessions.py20CODE
LOWscapy/sessions.py20CODE
LOWscapy/sessions.py35CODE
LOWscapy/plist.py28CODE
LOWscapy/plist.py28CODE
LOWscapy/plist.py28CODE
LOWscapy/plist.py28CODE
LOWscapy/plist.py28CODE
LOWscapy/plist.py28CODE
LOWscapy/plist.py28CODE
698 more matches not shown…
Deep Nesting422 hits · 366 pts
SeverityFileLineSnippetContext
LOWscapy/themes.py379CODE
LOWscapy/sendrecv.py373CODE
LOWscapy/sendrecv.py528CODE
LOWscapy/sendrecv.py610CODE
LOWscapy/sendrecv.py780CODE
LOWscapy/sendrecv.py1424CODE
LOWscapy/sendrecv.py119CODE
LOWscapy/sendrecv.py314CODE
LOWscapy/sendrecv.py1172CODE
LOWscapy/sendrecv.py1477CODE
LOWscapy/pipetool.py126CODE
LOWscapy/pipetool.py187CODE
LOWscapy/sessions.py293CODE
LOWscapy/sessions.py452CODE
LOWscapy/plist.py517CODE
LOWscapy/plist.py619CODE
LOWscapy/plist.py662CODE
LOWscapy/plist.py748CODE
LOWscapy/plist.py625CODE
LOWscapy/config.py827CODE
LOWscapy/config.py889CODE
LOWscapy/error.py48CODE
LOWscapy/fields.py500CODE
LOWscapy/fields.py541CODE
LOWscapy/fields.py789CODE
LOWscapy/fields.py865CODE
LOWscapy/fields.py957CODE
LOWscapy/fields.py995CODE
LOWscapy/fields.py1261CODE
LOWscapy/fields.py1773CODE
LOWscapy/fields.py1802CODE
LOWscapy/fields.py2535CODE
LOWscapy/fields.py2596CODE
LOWscapy/fields.py2611CODE
LOWscapy/fields.py2792CODE
LOWscapy/fields.py3314CODE
LOWscapy/fields.py3581CODE
LOWscapy/fields.py3602CODE
LOWscapy/fields.py3631CODE
LOWscapy/fields.py3885CODE
LOWscapy/pton_ntop.py25CODE
LOWscapy/autorun.py55CODE
LOWscapy/base_classes.py365CODE
LOWscapy/fwdmachine.py245CODE
LOWscapy/fwdmachine.py369CODE
LOWscapy/supersocket.py637CODE
LOWscapy/supersocket.py143CODE
LOWscapy/asn1fields.py759CODE
LOWscapy/asn1fields.py848CODE
LOWscapy/asn1fields.py907CODE
LOWscapy/utils.py401CODE
LOWscapy/utils.py1002CODE
LOWscapy/utils.py1119CODE
LOWscapy/utils.py3049CODE
LOWscapy/utils.py3378CODE
LOWscapy/utils.py4024CODE
LOWscapy/utils.py1436CODE
LOWscapy/utils.py1817CODE
LOWscapy/utils.py1849CODE
LOWscapy/utils.py2017CODE
362 more matches not shown…
Excessive Try-Catch Wrapping233 hits · 240 pts
SeverityFileLineSnippetContext
LOWsetup.py106except Exception:CODE
LOWtest/contrib/automotive/interface_mockup.py64 except Exception as e:CODE
LOWscapy/themes.py385 except Exception:CODE
LOW⚡scapy/sendrecv.py1340 except Exception:CODE
LOW⚡scapy/sendrecv.py1344 except Exception as ex:CODE
LOW⚡scapy/sendrecv.py1349 except Exception as ex2:CODE
LOWscapy/sendrecv.py291 except Exception:CODE
LOWscapy/sendrecv.py593 except Exception:CODE
LOWscapy/sendrecv.py660 except Exception as parse_exception:CODE
LOWscapy/sendrecv.py1161 except Exception as ex:CODE
LOWscapy/sendrecv.py1486 except Exception:CODE
LOWscapy/sendrecv.py1504 except Exception:CODE
LOWscapy/pipetool.py156 except Exception as e:CODE
LOWscapy/pipetool.py196 except Exception:CODE
LOWscapy/sessions.py64 except Exception as ex:CODE
LOWscapy/sessions.py463 except Exception as ex:CODE
LOWscapy/sessions.py480 except Exception as ex:CODE
LOWscapy/plist.py494 except Exception:CODE
LOWscapy/plist.py556 except Exception:CODE
LOWscapy/config.py684 except Exception as ex:CODE
LOWscapy/config.py777 except Exception:CODE
LOWscapy/config.py796 except Exception:CODE
LOWscapy/config.py816 except Exception:CODE
LOWscapy/config.py1278 except Exception:CODE
LOWscapy/fields.py894 except Exception:CODE
LOWscapy/fields.py1632 except Exception:CODE
LOWscapy/fields.py1834 except Exception:CODE
LOWscapy/fields.py1921 except Exception:CODE
LOWscapy/base_classes.py470 except Exception:CODE
LOWscapy/ansmachine.py271 except Exception:CODE
LOWscapy/fwdmachine.py187 except Exception:CODE
LOWscapy/fwdmachine.py450 except Exception as ex:CODE
LOWscapy/fwdmachine.py528 except Exception as ex:CODE
LOWscapy/__init__.py164 except Exception:CODE
LOWscapy/__init__.py174 except Exception:CODE
LOWscapy/supersocket.py222 except Exception:CODE
LOWscapy/supersocket.py386 except Exception:CODE
LOW⚡scapy/utils.py3508 except Exception:CODE
LOW⚡scapy/utils.py3511 except Exception:CODE
LOW⚡scapy/utils.py3518 except Exception:CODE
LOW⚡scapy/utils.py3521 except Exception:CODE
LOWscapy/utils.py1070 except Exception:CODE
LOWscapy/utils.py1621 except Exception:CODE
LOWscapy/utils.py2133 except Exception:CODE
LOWscapy/utils.py2861 except Exception:CODE
LOWscapy/utils.py2988 except Exception:CODE
LOWscapy/utils.py3361 except Exception:CODE
LOWscapy/utils.py3604 except Exception:CODE
LOWscapy/utils.py4011 except Exception as ex:CODE
LOWscapy/utils.py4020 except Exception as ex:CODE
LOWscapy/packet.py818 except Exception as ex:CODE
LOWscapy/packet.py1082 except Exception:CODE
LOWscapy/packet.py1166 except Exception:CODE
LOWscapy/packet.py1723 except Exception:CODE
LOWscapy/main.py82 except Exception:CODE
LOWscapy/main.py133 except Exception:CODE
LOWscapy/main.py195 except Exception:CODE
LOWscapy/main.py333 except Exception:STRING
LOWscapy/main.py867 except Exception:CODE
LOWscapy/utils6.py254 except Exception:CODE
173 more matches not shown…
Cross-File Repetition35 hits · 175 pts
SeverityFileLineSnippetContext
HIGHscapy/layers/smb2.py0util function to build the offset and populate the lengthsSTRING
HIGHscapy/layers/ntlm.py0util function to build the offset and populate the lengthsSTRING
HIGHscapy/layers/spnego.py0util function to build the offset and populate the lengthsSTRING
HIGHscapy/layers/ntlm.py0returns the maximum signature length. this will be used in auth_len in dcerpc5, and is necessary for pfc_support_header_STRING
HIGHscapy/layers/gssapi.py0returns the maximum signature length. this will be used in auth_len in dcerpc5, and is necessary for pfc_support_header_STRING
HIGHscapy/layers/msrpce/msnrpc.py0returns the maximum signature length. this will be used in auth_len in dcerpc5, and is necessary for pfc_support_header_STRING
HIGHscapy/layers/tls/crypto/cipher_aead.py0hash classes are automatically registered through this metaclass. furthermore, their name attribute is extracted from thSTRING
HIGHscapy/layers/tls/crypto/cipher_stream.py0hash classes are automatically registered through this metaclass. furthermore, their name attribute is extracted from thSTRING
HIGHscapy/layers/tls/crypto/cipher_block.py0hash classes are automatically registered through this metaclass. furthermore, their name attribute is extracted from thSTRING
HIGHscapy/layers/tls/crypto/hash.py0hash classes are automatically registered through this metaclass. furthermore, their name attribute is extracted from thSTRING
HIGHscapy/contrib/sdnv.py0.. centered:: notice this software/technical data was produced for the u.s. government under prime contract no. nasa-030STRING
HIGHscapy/contrib/bp.py0.. centered:: notice this software/technical data was produced for the u.s. government under prime contract no. nasa-030STRING
HIGHscapy/contrib/ltp.py0.. centered:: notice this software/technical data was produced for the u.s. government under prime contract no. nasa-030STRING
HIGHscapy/contrib/__init__.py0package of contrib automotive autosar modules that have to be loaded explicitly.STRING
HIGHscapy/contrib/automotive/__init__.py0package of contrib automotive autosar modules that have to be loaded explicitly.STRING
HIGHscapy/contrib/automotive/autosar/__init__.py0package of contrib automotive autosar modules that have to be loaded explicitly.STRING
HIGHscapy/contrib/isotp/isotp_native_socket.py0receives a packet, then returns a tuple containing (cls, pkt_data, time)STRING
HIGHscapy/arch/libpcap.py0receives a packet, then returns a tuple containing (cls, pkt_data, time)STRING
HIGHscapy/arch/linux/__init__.py0receives a packet, then returns a tuple containing (cls, pkt_data, time)STRING
HIGHscapy/contrib/automotive/volkswagen/__init__.py0package of contrib automotive gm specific modules that have to be loaded explicitly.STRING
HIGHscapy/contrib/automotive/bmw/__init__.py0package of contrib automotive gm specific modules that have to be loaded explicitly.STRING
HIGHscapy/contrib/automotive/xcp/__init__.py0package of contrib automotive gm specific modules that have to be loaded explicitly.STRING
HIGHscapy/contrib/automotive/obd/__init__.py0package of contrib automotive gm specific modules that have to be loaded explicitly.STRING
HIGHscapy/contrib/automotive/obd/mid/__init__.py0package of contrib automotive gm specific modules that have to be loaded explicitly.STRING
HIGHscapy/contrib/automotive/obd/iid/__init__.py0package of contrib automotive gm specific modules that have to be loaded explicitly.STRING
HIGHscapy/contrib/automotive/obd/tid/__init__.py0package of contrib automotive gm specific modules that have to be loaded explicitly.STRING
HIGHscapy/contrib/automotive/obd/pid/__init__.py0package of contrib automotive gm specific modules that have to be loaded explicitly.STRING
HIGHscapy/contrib/automotive/gm/__init__.py0package of contrib automotive gm specific modules that have to be loaded explicitly.STRING
HIGHscapy/contrib/rtps/rtps.py0real-time publish-subscribe protocol (rtps) dissectionSTRING
HIGHscapy/contrib/rtps/common_types.py0real-time publish-subscribe protocol (rtps) dissectionSTRING
HIGHscapy/contrib/rtps/__init__.py0real-time publish-subscribe protocol (rtps) dissectionSTRING
HIGHscapy/contrib/rtps/pid_types.py0real-time publish-subscribe protocol (rtps) dissectionSTRING
HIGHscapy/arch/unix.py0returns a list of 3-tuples of the form (addr, scope, iface) where 'addr' is the address of scope 'scope' associated to tSTRING
HIGHscapy/arch/linux/rtnetlink.py0returns a list of 3-tuples of the form (addr, scope, iface) where 'addr' is the address of scope 'scope' associated to tSTRING
HIGHscapy/arch/bpf/core.py0returns a list of 3-tuples of the form (addr, scope, iface) where 'addr' is the address of scope 'scope' associated to tSTRING
Hyper-Verbose Identifiers148 hits · 144 pts
SeverityFileLineSnippetContext
LOWsetup.py95 def _patched_apply_configuration(dist, filepath, *_):CODE
LOWtest/contrib/automotive/interface_mockup.py38def test_and_setup_socket_can(iface_name):CODE
LOWscapy/fields.py1261 def _build_config_representation(self, config):CODE
LOWscapy/autorun.py172def autorun_get_interactive_session(cmds, **kargs):CODE
LOWscapy/autorun.py201def autorun_get_interactive_live_session(cmds, **kargs):CODE
LOWscapy/autorun.py224def autorun_get_text_interactive_session(cmds, **kargs):CODE
LOWscapy/autorun.py235def autorun_get_live_interactive_session(cmds, **kargs):CODE
LOWscapy/autorun.py246def autorun_get_ansi_interactive_session(cmds, **kargs):CODE
LOWscapy/autorun.py257def autorun_get_html_interactive_session(cmds, **kargs):CODE
LOWscapy/autorun.py288def autorun_get_latex_interactive_session(cmds, **kargs):CODE
LOWscapy/__init__.py48def _version_from_git_archive():CODE
LOWscapy/__init__.py82def _version_from_git_describe():CODE
LOWscapy/packet.py757 def _raw_packet_cache_field_value(self, fld, val, copy=False):CODE
LOWscapy/utils6.py41def construct_source_candidate_set(CODE
LOWscapy/utils6.py100def get_source_addr_from_candidate_set(dst, candidate_set):CODE
LOWscapy/automaton.py1515 def remove_interception_points(self, *ipts):CODE
LOWscapy/tools/UTscapy.py504def filter_tests_keep_on_keywords(test_campaign, kw):CODE
LOWscapy/tools/UTscapy.py508def filter_tests_remove_on_keywords(test_campaign, kw):CODE
LOWscapy/layers/smbclient.py386 def receive_negotiate_response(self, pkt):CODE
LOWscapy/layers/smbclient.py497 def should_retry_without_blob(self, ssp_tuple):CODE
LOWscapy/layers/smbclient.py505 def should_send_session_setup_request(self, ssp_tuple):CODE
LOWscapy/layers/smbclient.py518 def send_setup_session_request(self, ssp_tuple):CODE
LOWscapy/layers/smbclient.py566 def receive_session_setup_response(self, pkt):CODE
LOWscapy/layers/smbclient.py656 def authenticated_post_actions(self):CODE
LOWscapy/layers/smbclient.py674 def incoming_data_received_smb(self, pkt):CODE
LOWscapy/layers/smbclient.py693 def outgoing_data_received_smb(self, fd):CODE
LOWscapy/layers/inet.py1453def _defrag_iter_and_check_offsets(frags):CODE
LOWscapy/layers/inet.py1572def _packetlist_timeskew_graph(self, ip, **kargs):CODE
LOWscapy/layers/lltd.py310def _register_lltd_specific_class(*attr_types):CODE
LOWscapy/layers/smbserver.py689 def receive_setup_andx_request(self, pkt):CODE
LOWscapy/layers/smbserver.py849 def receive_setup_andx_request_in_serving(self, pkt):CODE
LOWscapy/layers/smbserver.py859 def send_tree_connect_response(self, pkt, tree_name):CODE
LOWscapy/layers/smbserver.py1173 def send_create_file_response(self, pkt):CODE
LOWscapy/layers/smbserver.py1321 def receive_change_notify_info(self, pkt):CODE
LOWscapy/layers/smbserver.py1326 def send_change_notify_info_response(self, pkt):CODE
LOWscapy/layers/smbserver.py1338 def receive_query_directory_info(self, pkt):CODE
LOWscapy/layers/smbserver.py1343 def send_query_directory_response(self, pkt):CODE
LOWscapy/layers/smbserver.py1611 def receive_tree_disconnect_request(self, pkt):CODE
LOWscapy/layers/smbserver.py1616 def send_tree_disconnect_response(self, pkt):CODE
LOWscapy/layers/smbserver.py1633 def send_notify_cancel_response(self, pkt):CODE
LOWscapy/layers/kerberos.py4434 def receive_krb_error_tgs_req(self, pkt):STRING
LOWscapy/layers/radius.py641 def compute_message_authenticator(radius_packet, packed_req_authenticator,CODE
LOWscapy/layers/bluetooth.py3509 def build_set_advertising_data(self):CODE
LOWscapy/layers/dhcp6.py319 def _just_guess_payload_class(cls, payload):CODE
LOWscapy/layers/dcerpc.py1279def register_dcerpc_interface(name, uuid, version, opnums):CODE
LOWscapy/layers/dcerpc.py3445 def register_possible_payload(cls, pay):CODE
LOWscapy/layers/tls/handshake.py760 def post_build_tls_session_update(self, msg_str):CODE
LOWscapy/layers/tls/handshake.py793 def post_dissection_tls_session_update(self, msg_str):CODE
LOWscapy/layers/tls/handshake.py968 def post_dissection_tls_session_update(self, msg_str):CODE
LOWscapy/layers/tls/handshake.py1005 def post_dissection_tls_session_update(self, msg_str):CODE
LOWscapy/layers/tls/handshake.py1443 def post_build_tls_session_update(self, msg_str):STRING
LOWscapy/layers/tls/handshake.py1463 def post_dissection_tls_session_update(self, msg_str):STRING
LOWscapy/layers/tls/handshake.py1654 def post_dissection_tls_session_update(self, msg_str):STRING
LOWscapy/layers/tls/handshake.py1708 def post_dissection_tls_session_update(self, msg_str):STRING
LOWscapy/layers/tls/handshake.py1736 def post_build_tls_session_update(self, msg_str):STRING
LOWscapy/layers/tls/handshake.py1744 def post_dissection_tls_session_update(self, msg_str):STRING
LOWscapy/layers/tls/automaton_cli.py757 def should_store_session_ticket_file(self):STRING
LOWscapy/layers/tls/session.py648 def use_nss_master_secret_if_present(self) -> bool:CODE
LOWscapy/layers/tls/session.py657 def compute_ms_and_derive_keys(self):CODE
LOWscapy/layers/tls/session.py1109 def post_build_tls_session_update(self, msg_str):CODE
88 more matches not shown…
Decorative Section Separators42 hits · 111 pts
SeverityFileLineSnippetContext
MEDIUM⚡scapy/contrib/j1939.py992 # ── background polling ────────────────────────────────────────────────COMMENT
MEDIUM⚡scapy/contrib/j1939.py996 # ── lifecycle ─────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡scapy/contrib/j1939.py1100 # ── CAN receive loop ─────────────────────────────────────────────────────COMMENT
MEDIUM⚡scapy/contrib/j1939.py1167 # ── TP.CM (PF = 0xEC) ────────────────────────────────────────────────COMMENT
MEDIUM⚡scapy/contrib/j1939.py1174 # ── TP.DT (PF = 0xEB) ────────────────────────────────────────────────COMMENT
MEDIUM⚡scapy/contrib/j1939.py1181 # ── Short (≤ 8-byte) data frame ──────────────────────────────────────COMMENT
MEDIUM⚡scapy/contrib/j1939.py1188 # ── RX frame handlers ────────────────────────────────────────────────────COMMENT
MEDIUMscapy/contrib/j1939.py80# ---------------------------------------------------------------------------COMMENT
MEDIUMscapy/contrib/j1939.py84# ---------------------------------------------------------------------------COMMENT
MEDIUMscapy/contrib/j1939.py173# ---------------------------------------------------------------------------COMMENT
MEDIUMscapy/contrib/j1939.py175# ---------------------------------------------------------------------------COMMENT
MEDIUMscapy/contrib/j1939.py247# ---------------------------------------------------------------------------COMMENT
MEDIUMscapy/contrib/j1939.py249# ---------------------------------------------------------------------------COMMENT
MEDIUMscapy/contrib/j1939.py301# ---------------------------------------------------------------------------COMMENT
MEDIUMscapy/contrib/j1939.py303# ---------------------------------------------------------------------------COMMENT
MEDIUMscapy/contrib/j1939.py345 # ── first 32 bits: CAN flags(3) + J1939 identifier fields(29) ──────COMMENT
MEDIUMscapy/contrib/j1939.py354 # ── standard CAN data-length + padding ────────────────────────────COMMENT
MEDIUMscapy/contrib/j1939.py404# ---------------------------------------------------------------------------COMMENT
MEDIUMscapy/contrib/j1939.py406# ---------------------------------------------------------------------------COMMENT
MEDIUMscapy/contrib/j1939.py557# ---------------------------------------------------------------------------COMMENT
MEDIUMscapy/contrib/j1939.py559# ---------------------------------------------------------------------------COMMENT
MEDIUMscapy/contrib/j1939.py824# ---------------------------------------------------------------------------COMMENT
MEDIUMscapy/contrib/j1939.py826# ---------------------------------------------------------------------------COMMENT
MEDIUMscapy/contrib/j1939.py960 # ── receive path ──────────────────────────────────────────────────────COMMENT
MEDIUMscapy/contrib/j1939.py967 # ── transmit path ─────────────────────────────────────────────────────COMMENT
MEDIUMscapy/contrib/j1939.py1329 # ── RX session helpers ────────────────────────────────────────────────────COMMENT
MEDIUMscapy/contrib/j1939.py1454 # ── CAN send helpers ──────────────────────────────────────────────────────COMMENT
MEDIUMscapy/contrib/j1939.py1484 # ── TX state machine ──────────────────────────────────────────────────────COMMENT
MEDIUMscapy/contrib/j1939.py1560 # ── BAM TX ───────────────────────────────────────────────────────────────COMMENT
MEDIUMscapy/contrib/j1939.py1602 # ── RTS/CTS TX ───────────────────────────────────────────────────────────COMMENT
MEDIUMscapy/contrib/j1939.py1702 # ── public interface ─────────────────────────────────────────────────────COMMENT
MEDIUMscapy/contrib/j1939.py1838 # ── lifecycle ─────────────────────────────────────────────────────────────COMMENT
MEDIUMscapy/contrib/j1939.py1866 # ── recv / send ──────────────────────────────────────────────────────────COMMENT
MEDIUMscapy/contrib/j1939.py1924 # ── select ────────────────────────────────────────────────────────────────COMMENT
MEDIUMscapy/contrib/bluetooth_vsc_zephyr.py70# ---------------------------------------------------------------------------COMMENT
MEDIUMscapy/contrib/bluetooth_vsc_zephyr.py72# ---------------------------------------------------------------------------COMMENT
MEDIUMscapy/contrib/bluetooth_vsc_zephyr.py115# ---------------------------------------------------------------------------COMMENT
MEDIUMscapy/contrib/bluetooth_vsc_zephyr.py117# ---------------------------------------------------------------------------COMMENT
MEDIUMscapy/contrib/bluetooth_vsc_zephyr.py200# ---------------------------------------------------------------------------COMMENT
MEDIUMscapy/contrib/bluetooth_vsc_zephyr.py202# ---------------------------------------------------------------------------COMMENT
MEDIUMscapy/contrib/rtps/rtps.py266 # -------------------------------------COMMENT
MEDIUMscapy/contrib/rtps/rtps.py496 # ----------------------------COMMENT
Over-Commented Block103 hits · 103 pts
SeverityFileLineSnippetContext
LOWsetup.py41COMMENT
LOW.config/ci/test.sh1#!/bin/bashCOMMENT
LOW.config/mypy/mypy_check.py1# SPDX-License-Identifier: GPL-2.0-onlyCOMMENT
LOWscapy/config.py981 ASN1_default_long_size = 0COMMENT
LOWscapy/config.py1041 debug_tls = FalseCOMMENT
LOWscapy/fields.py401COMMENT
LOWscapy/asn1fields.py481 # with an unknown, private high-tag prefix :COMMENT
LOWscapy/route6.py301COMMENT
LOWscapy/main.py241# Scapy CLI 'pre-start' config fileCOMMENT
LOWscapy/asn1/ber.py181def BER_id_dec(s):COMMENT
LOWscapy/layers/inet6.py2341 ByteField("code", 0),COMMENT
LOWscapy/layers/inet6.py2401 return addrCOMMENT
LOWscapy/layers/quic.py341# bind_bottom_up(UDP, QUIC, sport=443)COMMENT
LOWscapy/layers/x509.py1021 # "All implementations MUST accept both NULL and absentCOMMENT
LOWscapy/layers/smbserver.py921 CtlCode=0x11C017,COMMENT
LOWscapy/layers/ntp.py261 # RFC 7822COMMENT
LOWscapy/layers/ntp.py281 # +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+COMMENT
LOWscapy/layers/ntp.py341COMMENT
LOWscapy/layers/ntp.py381 # +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+COMMENT
LOWscapy/layers/ntp.py401 # + Transmit Timestamp (64) +COMMENT
LOWscapy/layers/ntp.py1601 """COMMENT
LOWscapy/layers/ntp.py1621 # | |COMMENT
LOWscapy/layers/ntp.py1641 #COMMENT
LOWscapy/layers/ntp.py1661 # Err: Must be 0 for a request. For a response, holds an errorCOMMENT
LOWscapy/layers/ntp.py1681 # than or equal to the product of the number of data itemsCOMMENT
LOWscapy/layers/spnego.py1041 )COMMENT
LOWscapy/layers/kerberos.py2141 elif pkt.errorCode.val in [6, 7, 12, 13, 18, 23, 29, 32, 41, 60, 62]:COMMENT
LOWscapy/layers/kerberos.py4001 padata = []COMMENT
LOWscapy/layers/kerberos.py5641 ),COMMENT
LOWscapy/layers/dhcp6.py501COMMENT
LOWscapy/layers/dhcp6.py521# . .COMMENT
LOWscapy/layers/dhcp6.py1141# les options preferenceCOMMENT
LOWscapy/layers/dhcp6.py1181# - sent by clientCOMMENT
LOWscapy/layers/dhcp6.py1221 name = "DHCPv6 Advertise Message"COMMENT
LOWscapy/layers/dhcp6.py1241# client to which the server has not sent a unicast option, the serverCOMMENT
LOWscapy/layers/dhcp6.py1261class DHCP6_Confirm(DHCP6):COMMENT
LOWscapy/layers/dhcp6.py1301# - the message must include a server identifier optionCOMMENT
LOWscapy/layers/dhcp6.py1361#####################################################################COMMENT
LOWscapy/layers/dhcp6.py1381#####################################################################COMMENT
LOWscapy/layers/dhcp6.py1421COMMENT
LOWscapy/layers/dhcp6.py1901 elif msgtype == 5: # RENEWCOMMENT
LOWscapy/layers/dhcp6.py1921 # to its previous Renew message.COMMENT
LOWscapy/layers/netbios.py61 ]COMMENT
LOWscapy/layers/dcerpc.py1841# pointers in NDRPacket, if Scapy detects that they won't be handled by any parent.COMMENT
LOWscapy/layers/dcerpc.py3001 else:COMMENT
LOWscapy/layers/tls/handshake.py421 hash_len = hkdf.hash.digest_sizeCOMMENT
LOWscapy/layers/tls/automaton_cli.py761 # Struct of ticket file :COMMENT
LOWscapy/layers/tls/session.py421 self.server_certs = CertList([])COMMENT
LOWscapy/layers/tls/session.py461 # e.g. from receiving an SKE to sending a CKE. Usually, only one ofCOMMENT
LOWscapy/layers/tls/session.py861 self.pwcs.tls13_derive_keys(cts0)COMMENT
LOWscapy/layers/tls/extensions.py41from scapy.config import confCOMMENT
LOWscapy/layers/tls/crypto/groups.py521 try:COMMENT
LOWscapy/layers/tls/crypto/groups.py541#COMMENT
LOWscapy/layers/tls/crypto/groups.py561# import ecdsaCOMMENT
LOWscapy/layers/tls/crypto/groups.py581# """COMMENT
LOWscapy/layers/tls/crypto/groups.py601# y = -y % pCOMMENT
LOWscapy/layers/tls/crypto/groups.py621# if isinstance(r, str):COMMENT
LOWscapy/layers/tls/crypto/groups.py641# 00000000 00000000 0001b8fa 16dfab9a ca16b6b3""")COMMENT
LOWscapy/layers/tls/crypto/groups.py661# (1, 3, 132, 0, 8), "secp160r1")COMMENT
LOWscapy/layers/tls/crypto/groups.py681# _a = 0COMMENT
43 more matches not shown…
Cross-Language Confusion16 hits · 56 pts
SeverityFileLineSnippetContext
HIGHscapy/pipetool.py270 s.push(msg)CODE
HIGHscapy/utils6.py315 returned address are null). If a group id is provided through 'grpid'STRING
HIGHscapy/tools/UTscapy.py322 "outputfile": null,STRING
HIGHscapy/tools/UTscapy.py325 "num": null,STRING
HIGHscapy/layers/kerberos.py1629 self.sname.toString(),STRING
HIGHscapy/layers/kerberos.py1832 self.cname.toString(),STRING
HIGHscapy/layers/kerberos.py1846 self.cname.toString(),STRING
HIGHscapy/layers/kerberos.py2291 self.sname.toString(),STRING
HIGH⚡scapy/layers/tls/crypto/prf.py97 MD5(secret || SHA-1("A" || secret || seed)) ||STRING
HIGH⚡scapy/layers/tls/crypto/prf.py98 MD5(secret || SHA-1("BB" || secret || seed)) ||STRING
HIGH⚡scapy/layers/tls/crypto/prf.py99 MD5(secret || SHA-1("CCC" || secret || seed)) || ...STRING
HIGHscapy/cbor/cborfields.py410 "Expected null, got %r" % obj)CODE
HIGHscapy/cbor/cborfields.py442 "Expected undefined, got %r" % obj)CODE
HIGHscapy/contrib/isotp/isotp_utils.py101 self.push(first_piece)CODE
HIGHscapy/contrib/isotp/isotp_utils.py283 bucket.push(isotp_data)CODE
HIGHscapy/contrib/rtps/rtps.py232 ~ SerializedData serializedData [only if D==1 || K==1] ~STRING
Redundant / Tautological Comments45 hits · 50 pts
SeverityFileLineSnippetContext
LOWscapy/route.py223 # Check if source is 0.0.0.0. This is a 'via' route with no src.COMMENT
LOWscapy/fwdmachine.py318 # Set SubjectPublicKeyInfo to the one from our private keyCOMMENT
LOWscapy/utils.py212 # Close the file so something else can take it.COMMENT
LOWscapy/utils.py2841 # Check if the type != 0x02, type EthernetCOMMENT
LOWscapy/utils6.py252 # Set ifaceid to a binary formCOMMENT
LOWscapy/asn1/mib.py168 # Read the filesCOMMENT
LOWscapy/layers/smb2.py1087 # Set SecuritySignature to nulCOMMENT
LOWscapy/layers/smbclient.py1231 # Check if target is IPv4 or IPv6STRING
LOWscapy/layers/smbclient.py1636 # Open fileSTRING
LOWscapy/layers/smbclient.py1657 # Read the fileSTRING
LOWscapy/layers/smbclient.py1666 # Close the fileSTRING
LOWscapy/layers/smbclient.py1677 # Open fileSTRING
LOWscapy/layers/smbclient.py1696 # Close the fileSTRING
LOWscapy/layers/smbclient.py1970 # Open fileSTRING
LOWscapy/layers/smbclient.py1977 # Close the fileSTRING
LOWscapy/layers/smbclient.py2013 # Open fileSTRING
LOWscapy/layers/smbclient.py2039 # Open fileSTRING
LOWscapy/layers/inet6.py4068 # Check if this is an advertisement for a Default RouterCOMMENT
LOWscapy/layers/ldap.py1631 # Check if we have a search responseCOMMENT
LOW⚡scapy/layers/inet.py1268 # Check if IP addresses matchSTRING
LOW⚡scapy/layers/inet.py1272 # Check if IP ids matchSTRING
LOW⚡scapy/layers/inet.py1276 # Check if IP protocols matchSTRING
LOWscapy/layers/dns.py1385 # Check if the length is validCOMMENT
LOWscapy/layers/smbserver.py1218 # Check if there is a Durable Handle Reconnect RequestCOMMENT
LOWscapy/layers/smbserver.py1393 # Increment indexCOMMENT
LOWscapy/layers/smbserver.py1550 # Write fileCOMMENT
LOWscapy/layers/smbserver.py1575 # Read file and send contentCOMMENT
LOWscapy/layers/spnego.py829 # Check if target is a hostname / Check IPCOMMENT
LOWscapy/layers/http.py1048 # Write fileCOMMENT
LOWscapy/layers/tls/handshake.py766 # Check if the server early_data extension is present inCOMMENT
LOWscapy/layers/tls/handshake.py798 # Check if the server early_data extension is present inCOMMENT
LOWscapy/layers/tls/automaton_cli.py1169 # Check if DHE is need (both for out of band and resumption PSK)STRING
LOWscapy/layers/tls/cert.py1805 # Check if this certificate matches the one we're looking atCOMMENT
LOWscapy/layers/tls/automaton_srv.py670 # Check if we have to send an HelloRetryRequestCOMMENT
LOWscapy/layers/tls/automaton_srv.py1186 # Check if there's a NewSessionTicket to sendCOMMENT
LOWscapy/cbor/cborcodec.py517 # Check if obj is a CBOR object instance (for special cases like UNDEFINED)COMMENT
LOWscapy/contrib/cdp.py333 # Check if field length is fixed (2 bytes)COMMENT
LOWscapy/contrib/cdp.py341 # Check if field length is fixed (2 bytes)COMMENT
LOWscapy/contrib/coap_socket.py733 # Assign payload to packetCOMMENT
LOWscapy/contrib/diameter.py88 if x & 15: # Check if reserved bits are usedCODE
LOWscapy/contrib/diameter.py129 if x & 31: # Check if reserved bits are usedCODE
LOWscapy/contrib/diameter.py356 # Check if vendor and code defined and fetch the corresponding AVPCOMMENT
LOWscapy/arch/unix.py229 # Check if it is a valid IPv6 addressCOMMENT
LOWscapy/arch/bpf/core.py119 # Check if the interface can be usedCOMMENT
LOWscapy/arch/bpf/core.py127 # Close the file descriptorCOMMENT
Hallucination Indicators4 hits · 40 pts
SeverityFileLineSnippetContext
CRITICALscapy/layers/spnego.py1051 # resp.SecurityBlob.innerToken.token.mechTypes.insert(COMMENT
CRITICALscapy/layers/kerberos.py3720 pafastreq.armoredData.armor.armorValue.authenticator.encrypt(STRING
CRITICALscapy/layers/tls/basefields.py171 False in pkt.tls_session.rcs.cipher.ready.values()CODE
CRITICALscapy/layers/tls/record.py150 if False in pkt.tls_session.rcs.cipher.ready.values():CODE
AI Structural Patterns40 hits · 35 pts
SeverityFileLineSnippetContext
LOWscapy/sendrecv.py437CODE
LOWscapy/sendrecv.py528CODE
LOWscapy/sendrecv.py119CODE
LOWscapy/sendrecv.py1172CODE
LOWscapy/fwdmachine.py107CODE
LOWscapy/utils.py3049CODE
LOWscapy/utils.py2339CODE
LOWscapy/layers/smbclient.py1183CODE
LOWscapy/layers/inet6.py145CODE
LOWscapy/layers/inet6.py3900CODE
LOWscapy/layers/ldap.py1309CODE
LOWscapy/layers/ldap.py2290CODE
LOWscapy/layers/inet.py2123CODE
LOWscapy/layers/dns.py1562CODE
LOWscapy/layers/ntlm.py1387CODE
LOWscapy/layers/ipsec.py938CODE
LOWscapy/layers/spnego.py786CODE
LOWscapy/layers/kerberos.py4552CODE
LOWscapy/layers/kerberos.py4628CODE
LOWscapy/layers/kerberos.py4736CODE
LOWscapy/layers/kerberos.py3302CODE
LOWscapy/layers/kerberos.py5023CODE
LOWscapy/layers/dhcp6.py1548CODE
LOWscapy/layers/dhcp.py567CODE
LOWscapy/layers/tls/automaton_cli.py122CODE
LOWscapy/layers/tls/session.py367CODE
LOWscapy/layers/tls/cert.py790CODE
LOWscapy/layers/tls/automaton_srv.py113CODE
LOWscapy/contrib/pnio.py146CODE
LOWscapy/contrib/coap_socket.py103CODE
LOWscapy/contrib/coap_socket.py404CODE
LOWscapy/contrib/isotp/isotp_scanner.py234CODE
LOWscapy/contrib/isotp/isotp_scanner.py305CODE
LOWscapy/contrib/isotp/isotp_native_socket.py295CODE
LOWscapy/contrib/isotp/isotp_soft_socket.py118CODE
LOWscapy/contrib/automotive/doip.py367CODE
LOWscapy/modules/ticketer.py2728CODE
LOWscapy/modules/ticketer.py2785CODE
LOWscapy/modules/ldaphero.py153CODE
LOWscapy/modules/krack/automaton.py90CODE
Modern Structural Boilerplate23 hits · 23 pts
SeverityFileLineSnippetContext
LOWscapy/compat.py25__all__ = [CODE
LOWscapy/__init__.py18__all__ = [CODE
LOWscapy/consts.py13__all__ = [CODE
LOWscapy/layers/all.py22__all__ = []CODE
LOWscapy/layers/can.py46__all__ = ["CAN", "SignalPacket", "SignalField", "LESignedSignalField",CODE
LOWscapy/layers/msrpce/all.py20__all__ = []CODE
LOWscapy/cbor/__init__.py67__all__ = [CODE
LOWscapy/contrib/tcpao.py24logger = logging.getLogger(__name__)CODE
LOWscapy/contrib/icmp_extensions.py8__all__ = [CODE
LOWscapy/contrib/cansocket_python_can.py45__all__ = ["CANSocket", "PythonCANSocket"]CODE
LOWscapy/contrib/dicom.py42__all__ = [CODE
LOWscapy/contrib/mysql.py65__all__ = [CODE
LOWscapy/contrib/isotp/__init__.py23__all__ = ["ISOTP", "ISOTPHeader", "ISOTPHeaderEA", "ISOTP_SF", "ISOTP_FF",CODE
LOWscapy/contrib/automotive/uds_ecu_states.py14__all__ = ["UDS_DSCPR_modify_ecu_state", "UDS_CCPR_modify_ecu_state",CODE
LOWscapy/contrib/automotive/ecu.py40__all__ = ["EcuState", "Ecu", "EcuResponse", "EcuSession",CODE
LOWscapy/contrib/automotive/gm/gmlanutils.py28__all__ = ["GMLAN_TesterPresentSender", "GMLAN_InitDiagnostics",CODE
LOWscapy/contrib/automotive/gm/gmlan_scanner.py56__all__ = ["GMLAN_Scanner", "GMLAN_ServiceEnumerator", "GMLAN_RDBIEnumerator",CODE
LOWscapy/contrib/automotive/gm/gmlan_ecu_states.py12__all__ = ["GMLAN_modify_ecu_state", "GMLAN_SAPR_modify_ecu_state"]CODE
LOWscapy/libs/crc.py12__all__ = [CODE
LOWscapy/libs/test_pyx.py17__all__ = [CODE
LOWscapy/libs/matplot.py16__all__ = [CODE
LOWscapy/libs/rfc3961.py24__all__ = [CODE
LOWscapy/arch/__init__.py45__all__ = [ # noqa: F405CODE
AI Slop Vocabulary3 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMscapy/contrib/bfd.py150 7784, # seamless BFDCODE
MEDIUMscapy/libs/winpcapy.py676# return the error text pertaining to the last pcap library error.COMMENT
LOWscapy/arch/windows/structures.py224# for now, just use void * for pointers to unused structuresCOMMENT
Example Usage Blocks2 hits · 3 pts
SeverityFileLineSnippetContext
LOW.config/ci/install.sh8# Usage:COMMENT
LOW.config/ci/test.sh8# Usage:COMMENT
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOWscapy/layers/zigbee.py775 # TODO: implement 10 to 13COMMENT
Verbosity Indicators1 hit · 0 pts
SeverityFileLineSnippetContext
LOWscapy/layers/inet6.py4132 The purpose of this function is to send provided RA message at layer 2STRING