Scapy: the Python-based interactive packet manipulation program & library.
This report presents the forensic synthetic code analysis of secdev/scapy, a Python project with 12,409 GitHub stars. SynthScan v2.0 examined 267,666 lines of code across 444 source files, recording 2275 pattern matches distributed across 17 syntactic categories. The overall adjusted score of 12.5 places this repository in the Low AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 2275 distinct pattern matches across 17 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .config/ci/openssl.py | 2 | # This file is part of Scapy | COMMENT |
| MEDIUM | .config/ci/install.sh | 4 | # This file is part of Scapy | COMMENT |
| MEDIUM | .config/ci/zipapp.sh | 4 | # This file is part of Scapy | COMMENT |
| MEDIUM | .config/ci/test.sh | 4 | # This file is part of Scapy | COMMENT |
| MEDIUM | .config/ci/openldap/install.sh | 4 | # This file is part of Scapy | COMMENT |
| MEDIUM | .config/mypy/mypy_check.py | 2 | # This file is part of Scapy | COMMENT |
| MEDIUM | .config/mypy/mypy_deployment_stats.py | 2 | # This file is part of Scapy | COMMENT |
| MEDIUM | test/testsocket.py | 2 | # This file is part of Scapy | COMMENT |
| MEDIUM | test/benchmark/latency_router.py | 2 | # This file is part of Scapy | COMMENT |
| MEDIUM | test/benchmark/common.py | 2 | # This file is part of Scapy | COMMENT |
| MEDIUM | test/benchmark/dissection_and_build.py | 2 | # This file is part of Scapy | COMMENT |
| MEDIUM | test/scapy/layers/tls/__init__.py | 2 | # This file is part of Scapy | COMMENT |
| MEDIUM | test/scapy/layers/tls/example_client.py | 4 | # This file is part of Scapy | COMMENT |
| MEDIUM | test/scapy/layers/tls/example_server.py | 4 | # This file is part of Scapy | COMMENT |
| MEDIUM | test/contrib/automotive/interface_mockup.py | 2 | # This file is part of Scapy | COMMENT |
| MEDIUM | scapy/themes.py | 2 | # This file is part of Scapy | COMMENT |
| MEDIUM | scapy/interfaces.py | 2 | # This file is part of Scapy | COMMENT |
| MEDIUM | scapy/sendrecv.py | 2 | # This file is part of Scapy | COMMENT |
| MEDIUM | scapy/pipetool.py | 2 | # This file is part of Scapy | COMMENT |
| MEDIUM | scapy/dadict.py | 2 | # This file is part of Scapy | COMMENT |
| MEDIUM | scapy/sessions.py | 2 | # This file is part of Scapy | COMMENT |
| MEDIUM | scapy/plist.py | 2 | # This file is part of Scapy | COMMENT |
| MEDIUM | scapy/asn1packet.py | 2 | # This file is part of Scapy | COMMENT |
| MEDIUM | scapy/config.py | 2 | # This file is part of Scapy | COMMENT |
| MEDIUM | scapy/config.py | 664 | # Create the extension | COMMENT |
| MEDIUM | scapy/compat.py | 2 | # This file is part of Scapy | COMMENT |
| MEDIUM | scapy/error.py | 2 | # This file is part of Scapy | COMMENT |
| MEDIUM | scapy/fields.py | 2 | # This file is part of Scapy | COMMENT |
| MEDIUM | scapy/fields.py | 1748 | default = [] # Create a new list for each instance | CODE |
| MEDIUM | scapy/fields.py | 2102 | default = [] # Create a new list for each instance | CODE |
| MEDIUM | scapy/pton_ntop.py | 2 | # This file is part of Scapy | COMMENT |
| MEDIUM | scapy/autorun.py | 2 | # This file is part of Scapy | COMMENT |
| MEDIUM | scapy/cborpacket.py | 2 | # This file is part of Scapy | COMMENT |
| MEDIUM | scapy/route.py | 2 | # This file is part of Scapy | COMMENT |
| MEDIUM | scapy/base_classes.py | 2 | # This file is part of Scapy | COMMENT |
| MEDIUM | scapy/ansmachine.py | 2 | # This file is part of Scapy | COMMENT |
| MEDIUM | scapy/fwdmachine.py | 2 | # This file is part of Scapy | COMMENT |
| MEDIUM | scapy/__init__.py | 2 | # This file is part of Scapy | COMMENT |
| MEDIUM | scapy/all.py | 2 | # This file is part of Scapy | COMMENT |
| MEDIUM | scapy/supersocket.py | 2 | # This file is part of Scapy | COMMENT |
| MEDIUM | scapy/supersocket.py | 299 | """This function is called during sendrecv() routine to select | STRING |
| MEDIUM | scapy/consts.py | 2 | # This file is part of Scapy | COMMENT |
| MEDIUM | scapy/asn1fields.py | 2 | # This file is part of Scapy | COMMENT |
| MEDIUM | scapy/utils.py | 2 | # This file is part of Scapy | COMMENT |
| MEDIUM | scapy/route6.py | 2 | # This file is part of Scapy | COMMENT |
| MEDIUM | scapy/packet.py | 2 | # This file is part of Scapy | COMMENT |
| MEDIUM | scapy/volatile.py | 2 | # This file is part of Scapy | COMMENT |
| MEDIUM | scapy/scapypipes.py | 2 | # This file is part of Scapy | COMMENT |
| MEDIUM | scapy/main.py | 2 | # This file is part of Scapy | COMMENT |
| MEDIUM | scapy/utils6.py | 2 | # This file is part of Scapy | COMMENT |
| MEDIUM | scapy/automaton.py | 2 | # This file is part of Scapy | COMMENT |
| MEDIUM | scapy/as_resolvers.py | 2 | # This file is part of Scapy | COMMENT |
| MEDIUM | scapy/__main__.py | 2 | # This file is part of Scapy | COMMENT |
| MEDIUM | scapy/data.py | 2 | # This file is part of Scapy | COMMENT |
| MEDIUM | scapy/asn1/mib.py | 2 | # This file is part of Scapy | COMMENT |
| MEDIUM | scapy/asn1/mib.py | 191 | # Create the new MIB | COMMENT |
| MEDIUM | scapy/asn1/__init__.py | 2 | # This file is part of Scapy | COMMENT |
| MEDIUM | scapy/asn1/ber.py | 2 | # This file is part of Scapy | COMMENT |
| MEDIUM | scapy/asn1/asn1.py | 2 | # This file is part of Scapy | COMMENT |
| MEDIUM | scapy/tools/generate_manuf.py | 2 | # This file is part of Scapy | COMMENT |
| 385 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/testsocket.py | 17 | CODE | |
| LOW | test/testsocket.py | 21 | CODE | |
| LOW | test/testsocket.py | 21 | CODE | |
| LOW | test/testsocket.py | 21 | CODE | |
| LOW | test/testsocket.py | 21 | CODE | |
| LOW | test/testsocket.py | 21 | CODE | |
| LOW | test/testsocket.py | 30 | CODE | |
| LOW | test/testsocket.py | 30 | CODE | |
| LOW | test/benchmark/latency_router.py | 9 | CODE | |
| LOW | test/benchmark/common.py | 12 | CODE | |
| LOW | test/benchmark/dissection_and_build.py | 6 | CODE | |
| LOW | test/scapy/layers/tls/example_client.py | 12 | CODE | |
| LOW | test/scapy/layers/tls/example_client.py | 17 | CODE | |
| LOW | test/scapy/layers/tls/example_server.py | 15 | CODE | |
| LOW | test/scapy/layers/tls/example_server.py | 16 | CODE | |
| LOW | test/scapy/layers/tls/example_server.py | 19 | CODE | |
| LOW | test/contrib/automotive/interface_mockup.py | 75 | CODE | |
| LOW | test/contrib/automotive/interface_mockup.py | 83 | CODE | |
| LOW | scapy/themes.py | 17 | CODE | |
| LOW | scapy/themes.py | 17 | CODE | |
| LOW | scapy/interfaces.py | 20 | CODE | |
| LOW | scapy/interfaces.py | 22 | CODE | |
| LOW | scapy/interfaces.py | 22 | CODE | |
| LOW | scapy/interfaces.py | 22 | CODE | |
| LOW | scapy/interfaces.py | 22 | CODE | |
| LOW | scapy/interfaces.py | 22 | CODE | |
| LOW | scapy/interfaces.py | 22 | CODE | |
| LOW | scapy/sendrecv.py | 29 | CODE | |
| LOW | scapy/sendrecv.py | 42 | CODE | |
| LOW | scapy/sendrecv.py | 42 | CODE | |
| LOW | scapy/sendrecv.py | 42 | CODE | |
| LOW | scapy/sendrecv.py | 42 | CODE | |
| LOW | scapy/sendrecv.py | 59 | CODE | |
| LOW | scapy/pipetool.py | 22 | CODE | |
| LOW | scapy/pipetool.py | 22 | CODE | |
| LOW | scapy/pipetool.py | 22 | CODE | |
| LOW | scapy/pipetool.py | 22 | CODE | |
| LOW | scapy/pipetool.py | 22 | CODE | |
| LOW | scapy/pipetool.py | 22 | CODE | |
| LOW | scapy/pipetool.py | 22 | CODE | |
| LOW | scapy/pipetool.py | 22 | CODE | |
| LOW | scapy/dadict.py | 14 | CODE | |
| LOW | scapy/dadict.py | 14 | CODE | |
| LOW | scapy/dadict.py | 14 | CODE | |
| LOW | scapy/dadict.py | 14 | CODE | |
| LOW | scapy/dadict.py | 14 | CODE | |
| LOW | scapy/dadict.py | 14 | CODE | |
| LOW | scapy/dadict.py | 14 | CODE | |
| LOW | scapy/dadict.py | 25 | CODE | |
| LOW | scapy/sessions.py | 19 | CODE | |
| LOW | scapy/sessions.py | 19 | CODE | |
| LOW | scapy/sessions.py | 19 | CODE | |
| LOW | scapy/sessions.py | 34 | CODE | |
| LOW | scapy/plist.py | 28 | CODE | |
| LOW | scapy/plist.py | 28 | CODE | |
| LOW | scapy/plist.py | 28 | CODE | |
| LOW | scapy/plist.py | 28 | CODE | |
| LOW | scapy/plist.py | 28 | CODE | |
| LOW | scapy/plist.py | 28 | CODE | |
| LOW | scapy/plist.py | 28 | CODE | |
| 703 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scapy/themes.py | 379 | CODE | |
| LOW | scapy/sendrecv.py | 373 | CODE | |
| LOW | scapy/sendrecv.py | 528 | CODE | |
| LOW | scapy/sendrecv.py | 608 | CODE | |
| LOW | scapy/sendrecv.py | 778 | CODE | |
| LOW | scapy/sendrecv.py | 1415 | CODE | |
| LOW | scapy/sendrecv.py | 119 | CODE | |
| LOW | scapy/sendrecv.py | 314 | CODE | |
| LOW | scapy/sendrecv.py | 1147 | CODE | |
| LOW | scapy/sendrecv.py | 1468 | CODE | |
| LOW | scapy/pipetool.py | 126 | CODE | |
| LOW | scapy/pipetool.py | 187 | CODE | |
| LOW | scapy/sessions.py | 262 | CODE | |
| LOW | scapy/plist.py | 513 | CODE | |
| LOW | scapy/plist.py | 615 | CODE | |
| LOW | scapy/plist.py | 658 | CODE | |
| LOW | scapy/plist.py | 744 | CODE | |
| LOW | scapy/plist.py | 621 | CODE | |
| LOW | scapy/config.py | 827 | CODE | |
| LOW | scapy/error.py | 48 | CODE | |
| LOW | scapy/fields.py | 490 | CODE | |
| LOW | scapy/fields.py | 531 | CODE | |
| LOW | scapy/fields.py | 779 | CODE | |
| LOW | scapy/fields.py | 855 | CODE | |
| LOW | scapy/fields.py | 947 | CODE | |
| LOW | scapy/fields.py | 985 | CODE | |
| LOW | scapy/fields.py | 1249 | CODE | |
| LOW | scapy/fields.py | 1759 | CODE | |
| LOW | scapy/fields.py | 1788 | CODE | |
| LOW | scapy/fields.py | 2524 | CODE | |
| LOW | scapy/fields.py | 2585 | CODE | |
| LOW | scapy/fields.py | 2600 | CODE | |
| LOW | scapy/fields.py | 2781 | CODE | |
| LOW | scapy/fields.py | 3303 | CODE | |
| LOW | scapy/fields.py | 3570 | CODE | |
| LOW | scapy/fields.py | 3591 | CODE | |
| LOW | scapy/fields.py | 3620 | CODE | |
| LOW | scapy/fields.py | 3874 | CODE | |
| LOW | scapy/pton_ntop.py | 25 | CODE | |
| LOW | scapy/autorun.py | 55 | CODE | |
| LOW | scapy/base_classes.py | 365 | CODE | |
| LOW | scapy/fwdmachine.py | 238 | CODE | |
| LOW | scapy/fwdmachine.py | 362 | CODE | |
| LOW | scapy/supersocket.py | 637 | CODE | |
| LOW | scapy/supersocket.py | 143 | CODE | |
| LOW | scapy/asn1fields.py | 713 | CODE | |
| LOW | scapy/asn1fields.py | 796 | CODE | |
| LOW | scapy/asn1fields.py | 860 | CODE | |
| LOW | scapy/utils.py | 401 | CODE | |
| LOW | scapy/utils.py | 1002 | CODE | |
| LOW | scapy/utils.py | 1114 | CODE | |
| LOW | scapy/utils.py | 2977 | CODE | |
| LOW | scapy/utils.py | 3306 | CODE | |
| LOW | scapy/utils.py | 3950 | CODE | |
| LOW | scapy/utils.py | 1414 | CODE | |
| LOW | scapy/utils.py | 1766 | CODE | |
| LOW | scapy/utils.py | 1794 | CODE | |
| LOW | scapy/utils.py | 2010 | CODE | |
| LOW | scapy/utils.py | 3792 | CODE | |
| LOW | scapy/utils.py | 3826 | CODE | |
| 356 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | setup.py | 106 | except Exception: | CODE |
| LOW | test/contrib/automotive/interface_mockup.py | 64 | except Exception as e: | CODE |
| LOW | scapy/themes.py | 385 | except Exception: | CODE |
| LOW⚡ | scapy/sendrecv.py | 1331 | except Exception: | CODE |
| LOW⚡ | scapy/sendrecv.py | 1335 | except Exception as ex: | CODE |
| LOW⚡ | scapy/sendrecv.py | 1340 | except Exception as ex2: | CODE |
| LOW | scapy/sendrecv.py | 291 | except Exception: | CODE |
| LOW | scapy/sendrecv.py | 592 | except Exception: | CODE |
| LOW | scapy/sendrecv.py | 658 | except Exception as parse_exception: | CODE |
| LOW | scapy/sendrecv.py | 1136 | except Exception as ex: | CODE |
| LOW | scapy/sendrecv.py | 1477 | except Exception: | CODE |
| LOW | scapy/sendrecv.py | 1495 | except Exception: | CODE |
| LOW | scapy/pipetool.py | 156 | except Exception as e: | CODE |
| LOW | scapy/pipetool.py | 196 | except Exception: | CODE |
| LOW | scapy/plist.py | 494 | except Exception: | CODE |
| LOW | scapy/plist.py | 552 | except Exception: | CODE |
| LOW | scapy/config.py | 684 | except Exception as ex: | CODE |
| LOW | scapy/config.py | 777 | except Exception: | CODE |
| LOW | scapy/config.py | 796 | except Exception: | CODE |
| LOW | scapy/config.py | 816 | except Exception: | CODE |
| LOW | scapy/config.py | 1260 | except Exception: | CODE |
| LOW | scapy/fields.py | 884 | except Exception: | CODE |
| LOW | scapy/fields.py | 1618 | except Exception: | CODE |
| LOW | scapy/fields.py | 1820 | except Exception: | CODE |
| LOW | scapy/fields.py | 1907 | except Exception: | CODE |
| LOW | scapy/base_classes.py | 470 | except Exception: | CODE |
| LOW | scapy/ansmachine.py | 271 | except Exception: | CODE |
| LOW | scapy/fwdmachine.py | 180 | except Exception: | CODE |
| LOW | scapy/fwdmachine.py | 438 | except Exception as ex: | CODE |
| LOW | scapy/fwdmachine.py | 516 | except Exception as ex: | CODE |
| LOW | scapy/__init__.py | 164 | except Exception: | CODE |
| LOW | scapy/__init__.py | 174 | except Exception: | CODE |
| LOW | scapy/supersocket.py | 222 | except Exception: | CODE |
| LOW | scapy/supersocket.py | 386 | except Exception: | CODE |
| LOW⚡ | scapy/utils.py | 3435 | except Exception: | CODE |
| LOW⚡ | scapy/utils.py | 3438 | except Exception: | CODE |
| LOW⚡ | scapy/utils.py | 3445 | except Exception: | CODE |
| LOW⚡ | scapy/utils.py | 3448 | except Exception: | CODE |
| LOW | scapy/utils.py | 1070 | except Exception: | CODE |
| LOW | scapy/utils.py | 1576 | except Exception: | CODE |
| LOW | scapy/utils.py | 2064 | except Exception: | CODE |
| LOW | scapy/utils.py | 2789 | except Exception: | CODE |
| LOW | scapy/utils.py | 2916 | except Exception: | CODE |
| LOW | scapy/utils.py | 3289 | except Exception: | CODE |
| LOW | scapy/utils.py | 3530 | except Exception: | CODE |
| LOW | scapy/utils.py | 3937 | except Exception as ex: | CODE |
| LOW | scapy/utils.py | 3946 | except Exception as ex: | CODE |
| LOW | scapy/packet.py | 780 | except Exception as ex: | CODE |
| LOW | scapy/packet.py | 1044 | except Exception: | CODE |
| LOW | scapy/packet.py | 1128 | except Exception: | CODE |
| LOW | scapy/packet.py | 1685 | except Exception: | CODE |
| LOW | scapy/main.py | 77 | except Exception: | CODE |
| LOW | scapy/main.py | 128 | except Exception: | CODE |
| LOW | scapy/main.py | 190 | except Exception: | CODE |
| LOW | scapy/main.py | 326 | except Exception: | STRING |
| LOW | scapy/main.py | 454 | except Exception: | CODE |
| LOW | scapy/main.py | 880 | except Exception: | CODE |
| LOW | scapy/utils6.py | 254 | except Exception: | CODE |
| LOW | scapy/utils6.py | 333 | except Exception: | CODE |
| LOW | scapy/utils6.py | 352 | except Exception: | CODE |
| 157 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | scapy/layers/smb2.py | 0 | util function to build the offset and populate the lengths | STRING |
| HIGH | scapy/layers/ntlm.py | 0 | util function to build the offset and populate the lengths | STRING |
| HIGH | scapy/layers/spnego.py | 0 | util function to build the offset and populate the lengths | STRING |
| HIGH | scapy/layers/ntlm.py | 0 | returns the maximum signature length. this will be used in auth_len in dcerpc5, and is necessary for pfc_support_header_ | STRING |
| HIGH | scapy/layers/gssapi.py | 0 | returns the maximum signature length. this will be used in auth_len in dcerpc5, and is necessary for pfc_support_header_ | STRING |
| HIGH | scapy/layers/msrpce/msnrpc.py | 0 | returns the maximum signature length. this will be used in auth_len in dcerpc5, and is necessary for pfc_support_header_ | STRING |
| HIGH | scapy/layers/tls/crypto/cipher_aead.py | 0 | hash classes are automatically registered through this metaclass. furthermore, their name attribute is extracted from th | STRING |
| HIGH | scapy/layers/tls/crypto/cipher_stream.py | 0 | hash classes are automatically registered through this metaclass. furthermore, their name attribute is extracted from th | STRING |
| HIGH | scapy/layers/tls/crypto/cipher_block.py | 0 | hash classes are automatically registered through this metaclass. furthermore, their name attribute is extracted from th | STRING |
| HIGH | scapy/layers/tls/crypto/hash.py | 0 | hash classes are automatically registered through this metaclass. furthermore, their name attribute is extracted from th | STRING |
| HIGH | scapy/contrib/sdnv.py | 0 | .. centered:: notice this software/technical data was produced for the u.s. government under prime contract no. nasa-030 | STRING |
| HIGH | scapy/contrib/bp.py | 0 | .. centered:: notice this software/technical data was produced for the u.s. government under prime contract no. nasa-030 | STRING |
| HIGH | scapy/contrib/ltp.py | 0 | .. centered:: notice this software/technical data was produced for the u.s. government under prime contract no. nasa-030 | STRING |
| HIGH | scapy/contrib/__init__.py | 0 | package of contrib automotive autosar modules that have to be loaded explicitly. | STRING |
| HIGH | scapy/contrib/automotive/__init__.py | 0 | package of contrib automotive autosar modules that have to be loaded explicitly. | STRING |
| HIGH | scapy/contrib/automotive/autosar/__init__.py | 0 | package of contrib automotive autosar modules that have to be loaded explicitly. | STRING |
| HIGH | scapy/contrib/isotp/isotp_native_socket.py | 0 | receives a packet, then returns a tuple containing (cls, pkt_data, time) | STRING |
| HIGH | scapy/arch/libpcap.py | 0 | receives a packet, then returns a tuple containing (cls, pkt_data, time) | STRING |
| HIGH | scapy/arch/linux/__init__.py | 0 | receives a packet, then returns a tuple containing (cls, pkt_data, time) | STRING |
| HIGH | scapy/contrib/automotive/volkswagen/__init__.py | 0 | package of contrib automotive gm specific modules that have to be loaded explicitly. | STRING |
| HIGH | scapy/contrib/automotive/bmw/__init__.py | 0 | package of contrib automotive gm specific modules that have to be loaded explicitly. | STRING |
| HIGH | scapy/contrib/automotive/xcp/__init__.py | 0 | package of contrib automotive gm specific modules that have to be loaded explicitly. | STRING |
| HIGH | scapy/contrib/automotive/obd/__init__.py | 0 | package of contrib automotive gm specific modules that have to be loaded explicitly. | STRING |
| HIGH | scapy/contrib/automotive/obd/mid/__init__.py | 0 | package of contrib automotive gm specific modules that have to be loaded explicitly. | STRING |
| HIGH | scapy/contrib/automotive/obd/iid/__init__.py | 0 | package of contrib automotive gm specific modules that have to be loaded explicitly. | STRING |
| HIGH | scapy/contrib/automotive/obd/tid/__init__.py | 0 | package of contrib automotive gm specific modules that have to be loaded explicitly. | STRING |
| HIGH | scapy/contrib/automotive/obd/pid/__init__.py | 0 | package of contrib automotive gm specific modules that have to be loaded explicitly. | STRING |
| HIGH | scapy/contrib/automotive/gm/__init__.py | 0 | package of contrib automotive gm specific modules that have to be loaded explicitly. | STRING |
| HIGH | scapy/contrib/rtps/rtps.py | 0 | real-time publish-subscribe protocol (rtps) dissection | STRING |
| HIGH | scapy/contrib/rtps/common_types.py | 0 | real-time publish-subscribe protocol (rtps) dissection | STRING |
| HIGH | scapy/contrib/rtps/__init__.py | 0 | real-time publish-subscribe protocol (rtps) dissection | STRING |
| HIGH | scapy/contrib/rtps/pid_types.py | 0 | real-time publish-subscribe protocol (rtps) dissection | STRING |
| HIGH | scapy/arch/unix.py | 0 | returns a list of 3-tuples of the form (addr, scope, iface) where 'addr' is the address of scope 'scope' associated to t | STRING |
| HIGH | scapy/arch/linux/rtnetlink.py | 0 | returns a list of 3-tuples of the form (addr, scope, iface) where 'addr' is the address of scope 'scope' associated to t | STRING |
| HIGH | scapy/arch/bpf/core.py | 0 | returns a list of 3-tuples of the form (addr, scope, iface) where 'addr' is the address of scope 'scope' associated to t | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | setup.py | 95 | def _patched_apply_configuration(dist, filepath, *_): | CODE |
| LOW | test/contrib/automotive/interface_mockup.py | 38 | def test_and_setup_socket_can(iface_name): | CODE |
| LOW | scapy/fields.py | 1249 | def _build_config_representation(self, config): | CODE |
| LOW | scapy/autorun.py | 169 | def autorun_get_interactive_session(cmds, **kargs): | CODE |
| LOW | scapy/autorun.py | 198 | def autorun_get_interactive_live_session(cmds, **kargs): | CODE |
| LOW | scapy/autorun.py | 221 | def autorun_get_text_interactive_session(cmds, **kargs): | CODE |
| LOW | scapy/autorun.py | 232 | def autorun_get_live_interactive_session(cmds, **kargs): | CODE |
| LOW | scapy/autorun.py | 243 | def autorun_get_ansi_interactive_session(cmds, **kargs): | CODE |
| LOW | scapy/autorun.py | 254 | def autorun_get_html_interactive_session(cmds, **kargs): | CODE |
| LOW | scapy/autorun.py | 274 | def autorun_get_latex_interactive_session(cmds, **kargs): | CODE |
| LOW | scapy/__init__.py | 48 | def _version_from_git_archive(): | CODE |
| LOW | scapy/__init__.py | 82 | def _version_from_git_describe(): | CODE |
| LOW | scapy/packet.py | 726 | def _raw_packet_cache_field_value(self, fld, val, copy=False): | CODE |
| LOW | scapy/utils6.py | 41 | def construct_source_candidate_set( | CODE |
| LOW | scapy/utils6.py | 100 | def get_source_addr_from_candidate_set(dst, candidate_set): | CODE |
| LOW | scapy/automaton.py | 1496 | def remove_interception_points(self, *ipts): | CODE |
| LOW | scapy/tools/UTscapy.py | 504 | def filter_tests_keep_on_keywords(test_campaign, kw): | CODE |
| LOW | scapy/tools/UTscapy.py | 508 | def filter_tests_remove_on_keywords(test_campaign, kw): | CODE |
| LOW | scapy/layers/smbclient.py | 386 | def receive_negotiate_response(self, pkt): | CODE |
| LOW | scapy/layers/smbclient.py | 497 | def should_retry_without_blob(self, ssp_tuple): | CODE |
| LOW | scapy/layers/smbclient.py | 505 | def should_send_session_setup_request(self, ssp_tuple): | CODE |
| LOW | scapy/layers/smbclient.py | 518 | def send_setup_session_request(self, ssp_tuple): | CODE |
| LOW | scapy/layers/smbclient.py | 566 | def receive_session_setup_response(self, pkt): | CODE |
| LOW | scapy/layers/smbclient.py | 653 | def authenticated_post_actions(self): | CODE |
| LOW | scapy/layers/smbclient.py | 671 | def incoming_data_received_smb(self, pkt): | CODE |
| LOW | scapy/layers/smbclient.py | 690 | def outgoing_data_received_smb(self, fd): | CODE |
| LOW | scapy/layers/inet.py | 1450 | def _defrag_iter_and_check_offsets(frags): | CODE |
| LOW | scapy/layers/inet.py | 1569 | def _packetlist_timeskew_graph(self, ip, **kargs): | CODE |
| LOW | scapy/layers/lltd.py | 310 | def _register_lltd_specific_class(*attr_types): | CODE |
| LOW | scapy/layers/smbserver.py | 641 | def receive_setup_andx_request(self, pkt): | CODE |
| LOW | scapy/layers/smbserver.py | 837 | def receive_setup_andx_request_in_serving(self, pkt): | CODE |
| LOW | scapy/layers/smbserver.py | 854 | def send_tree_connect_response(self, pkt, tree_name): | CODE |
| LOW | scapy/layers/smbserver.py | 1167 | def send_create_file_response(self, pkt): | CODE |
| LOW | scapy/layers/smbserver.py | 1315 | def receive_change_notify_info(self, pkt): | CODE |
| LOW | scapy/layers/smbserver.py | 1320 | def send_change_notify_info_response(self, pkt): | CODE |
| LOW | scapy/layers/smbserver.py | 1332 | def receive_query_directory_info(self, pkt): | CODE |
| LOW | scapy/layers/smbserver.py | 1337 | def send_query_directory_response(self, pkt): | CODE |
| LOW | scapy/layers/smbserver.py | 1605 | def receive_tree_disconnect_request(self, pkt): | CODE |
| LOW | scapy/layers/smbserver.py | 1610 | def send_tree_disconnect_response(self, pkt): | CODE |
| LOW | scapy/layers/smbserver.py | 1627 | def send_notify_cancel_response(self, pkt): | CODE |
| LOW | scapy/layers/kerberos.py | 4228 | def receive_krb_error_tgs_req(self, pkt): | STRING |
| LOW | scapy/layers/radius.py | 641 | def compute_message_authenticator(radius_packet, packed_req_authenticator, | CODE |
| LOW | scapy/layers/bluetooth.py | 3366 | def build_set_advertising_data(self): | CODE |
| LOW | scapy/layers/dhcp6.py | 319 | def _just_guess_payload_class(cls, payload): | CODE |
| LOW | scapy/layers/dcerpc.py | 1276 | def register_dcerpc_interface(name, uuid, version, opnums): | CODE |
| LOW | scapy/layers/dcerpc.py | 3404 | def register_possible_payload(cls, pay): | CODE |
| LOW | scapy/layers/tls/handshake.py | 760 | def post_build_tls_session_update(self, msg_str): | CODE |
| LOW | scapy/layers/tls/handshake.py | 793 | def post_dissection_tls_session_update(self, msg_str): | CODE |
| LOW | scapy/layers/tls/handshake.py | 968 | def post_dissection_tls_session_update(self, msg_str): | CODE |
| LOW | scapy/layers/tls/handshake.py | 1005 | def post_dissection_tls_session_update(self, msg_str): | CODE |
| LOW | scapy/layers/tls/handshake.py | 1439 | def post_build_tls_session_update(self, msg_str): | STRING |
| LOW | scapy/layers/tls/handshake.py | 1459 | def post_dissection_tls_session_update(self, msg_str): | STRING |
| LOW | scapy/layers/tls/handshake.py | 1650 | def post_dissection_tls_session_update(self, msg_str): | STRING |
| LOW | scapy/layers/tls/handshake.py | 1704 | def post_dissection_tls_session_update(self, msg_str): | STRING |
| LOW | scapy/layers/tls/handshake.py | 1732 | def post_build_tls_session_update(self, msg_str): | STRING |
| LOW | scapy/layers/tls/handshake.py | 1740 | def post_dissection_tls_session_update(self, msg_str): | STRING |
| LOW | scapy/layers/tls/automaton_cli.py | 723 | def should_store_session_ticket_file(self): | STRING |
| LOW | scapy/layers/tls/session.py | 634 | def use_nss_master_secret_if_present(self) -> bool: | CODE |
| LOW | scapy/layers/tls/session.py | 643 | def compute_ms_and_derive_keys(self): | CODE |
| LOW | scapy/layers/tls/session.py | 1095 | def post_build_tls_session_update(self, msg_str): | CODE |
| 88 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | setup.py | 41 | COMMENT | |
| LOW | .config/ci/test.sh | 1 | #!/bin/bash | COMMENT |
| LOW | .config/mypy/mypy_check.py | 1 | # SPDX-License-Identifier: GPL-2.0-only | COMMENT |
| LOW | scapy/config.py | 961 | ASN1_default_codec = None # type: 'scapy.asn1.asn1.ASN1Codec' | COMMENT |
| LOW | scapy/config.py | 1021 | #: When 1, print some TLS session secrets when they are computed, and | COMMENT |
| LOW | scapy/asn1fields.py | 421 | COMMENT | |
| LOW | scapy/route6.py | 301 | COMMENT | |
| LOW | scapy/asn1/ber.py | 181 | # For instance, with low-tag-number b'\x81', class would be 0b10 | COMMENT |
| LOW | scapy/layers/smb2.py | 4061 | # Note: impacket and wireshark get crazy on compounded+signature, but | COMMENT |
| LOW | scapy/layers/inet6.py | 1561 | # -> Y veiller dans le post_build si aucune n'est specifiee | COMMENT |
| LOW | scapy/layers/inet6.py | 1781 | 10: "ICMPv6NDOptTgtAddrList", | COMMENT |
| LOW | scapy/layers/inet6.py | 2341 | # in IPv6 class (Scapy6 modification when integrated) if : | COMMENT |
| LOW | scapy/layers/inet6.py | 2401 | # - IPv4 if acceptable for inet_pton(AF_INET, ): code is set to 2, | COMMENT |
| LOW | scapy/layers/quic.py | 341 | # bind_bottom_up(UDP, QUIC, sport=443) | COMMENT |
| LOW | scapy/layers/smbserver.py | 921 | # FSCTL_VALIDATE_NEGOTIATE_INFO | COMMENT |
| LOW | scapy/layers/ntp.py | 281 | ######################################################################### | COMMENT |
| LOW | scapy/layers/ntp.py | 361 | class NTPExtensions(Packet): | COMMENT |
| LOW | scapy/layers/ntp.py | 401 | # | Root Delay | | COMMENT |
| LOW | scapy/layers/ntp.py | 421 | # | | | COMMENT |
| LOW | scapy/layers/ntp.py | 1621 | ######################################################################### | COMMENT |
| LOW | scapy/layers/ntp.py | 1641 | # | | | COMMENT |
| LOW | scapy/layers/ntp.py | 1661 | # | COMMENT |
| LOW | scapy/layers/ntp.py | 1681 | # requested wasn't performed. | COMMENT |
| LOW | scapy/layers/ntp.py | 1701 | # must be exactly 40 octets in length. For responses the | COMMENT |
| LOW | scapy/layers/kerberos.py | 2141 | # 7: KDC_ERR_S_PRINCIPAL_UNKNOWN | COMMENT |
| LOW | scapy/layers/kerberos.py | 3801 | # [MS-SFU] note 4: | COMMENT |
| LOW | scapy/layers/kerberos.py | 5361 | chan_bindings.digestMD5() | COMMENT |
| LOW | scapy/layers/dhcp6.py | 501 | COMMENT | |
| LOW | scapy/layers/dhcp6.py | 521 | # . . | COMMENT |
| LOW | scapy/layers/dhcp6.py | 1141 | # les options preference | COMMENT |
| LOW | scapy/layers/dhcp6.py | 1181 | # - sent by client | COMMENT |
| LOW | scapy/layers/dhcp6.py | 1221 | name = "DHCPv6 Advertise Message" | COMMENT |
| LOW | scapy/layers/dhcp6.py | 1241 | # client to which the server has not sent a unicast option, the server | COMMENT |
| LOW | scapy/layers/dhcp6.py | 1261 | class DHCP6_Confirm(DHCP6): | COMMENT |
| LOW | scapy/layers/dhcp6.py | 1301 | # - the message must include a server identifier option | COMMENT |
| LOW | scapy/layers/dhcp6.py | 1361 | ##################################################################### | COMMENT |
| LOW | scapy/layers/dhcp6.py | 1381 | ##################################################################### | COMMENT |
| LOW | scapy/layers/dhcp6.py | 1421 | COMMENT | |
| LOW | scapy/layers/dhcp6.py | 1901 | elif msgtype == 5: # RENEW | COMMENT |
| LOW | scapy/layers/dhcp6.py | 1921 | # to its previous Renew message. | COMMENT |
| LOW | scapy/layers/netbios.py | 61 | ] | COMMENT |
| LOW | scapy/layers/dcerpc.py | 1821 | COMMENT | |
| LOW | scapy/layers/dcerpc.py | 1841 | # than inside the PACKET. This is faster to compute because whether a constructed type | COMMENT |
| LOW | scapy/layers/tls/handshake.py | 421 | hash_len = hkdf.hash.digest_size | COMMENT |
| LOW | scapy/layers/tls/automaton_cli.py | 721 | COMMENT | |
| LOW | scapy/layers/tls/session.py | 401 | # other messages in case of TLS 1.3. | COMMENT |
| LOW | scapy/layers/tls/session.py | 421 | self.server_key = None | COMMENT |
| LOW | scapy/layers/tls/extensions.py | 41 | from scapy.config import conf | COMMENT |
| LOW | scapy/layers/tls/record.py | 481 | self.tls_session.rcs.cipher.iv = iv | COMMENT |
| LOW | scapy/layers/tls/crypto/groups.py | 521 | # | COMMENT |
| LOW | scapy/layers/tls/crypto/groups.py | 541 | # else: | COMMENT |
| LOW | scapy/layers/tls/crypto/groups.py | 561 | # | COMMENT |
| LOW | scapy/layers/tls/crypto/groups.py | 581 | # x = pkcs_os2ip(x_bytes) % p | COMMENT |
| LOW | scapy/layers/tls/crypto/groups.py | 601 | # if isinstance(p, str): | COMMENT |
| LOW | scapy/layers/tls/crypto/groups.py | 621 | # _b = 7 | COMMENT |
| LOW | scapy/layers/tls/crypto/groups.py | 641 | # 23a62855 3168947d 59dcc912 04235137 7ac5fb32""") | COMMENT |
| LOW | scapy/layers/tls/crypto/groups.py | 661 | # generator = Point(curve, _Gx, _Gy, _r) | COMMENT |
| LOW | scapy/layers/tls/crypto/groups.py | 681 | # ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe | COMMENT |
| LOW | scapy/layers/tls/crypto/groups.py | 701 | # 2013481D 1F6E5377""") | COMMENT |
| LOW | scapy/layers/tls/crypto/groups.py | 721 | COMMENT | |
| 40 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | scapy/pipetool.py | 270 | s.push(msg) | CODE |
| HIGH | scapy/utils6.py | 315 | returned address are null). If a group id is provided through 'grpid' | STRING |
| HIGH | scapy/tools/UTscapy.py | 322 | "outputfile": null, | STRING |
| HIGH | scapy/tools/UTscapy.py | 325 | "num": null, | STRING |
| HIGH | scapy/layers/kerberos.py | 1627 | self.sname.toString(), | STRING |
| HIGH | scapy/layers/kerberos.py | 1830 | self.cname.toString(), | STRING |
| HIGH | scapy/layers/kerberos.py | 1844 | self.cname.toString(), | STRING |
| HIGH | scapy/layers/kerberos.py | 2289 | self.sname.toString(), | STRING |
| HIGH⚡ | scapy/layers/tls/crypto/prf.py | 97 | MD5(secret || SHA-1("A" || secret || seed)) || | STRING |
| HIGH⚡ | scapy/layers/tls/crypto/prf.py | 98 | MD5(secret || SHA-1("BB" || secret || seed)) || | STRING |
| HIGH⚡ | scapy/layers/tls/crypto/prf.py | 99 | MD5(secret || SHA-1("CCC" || secret || seed)) || ... | STRING |
| HIGH | scapy/cbor/cborfields.py | 410 | "Expected null, got %r" % obj) | CODE |
| HIGH | scapy/cbor/cborfields.py | 442 | "Expected undefined, got %r" % obj) | CODE |
| HIGH | scapy/contrib/isotp/isotp_utils.py | 101 | self.push(first_piece) | CODE |
| HIGH | scapy/contrib/isotp/isotp_utils.py | 283 | bucket.push(isotp_data) | CODE |
| HIGH | scapy/contrib/rtps/rtps.py | 232 | ~ SerializedData serializedData [only if D==1 || K==1] ~ | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scapy/route.py | 223 | # Check if source is 0.0.0.0. This is a 'via' route with no src. | COMMENT |
| LOW | scapy/fwdmachine.py | 311 | # Set SubjectPublicKeyInfo to the one from our private key | COMMENT |
| LOW | scapy/utils.py | 212 | # Close the file so something else can take it. | COMMENT |
| LOW | scapy/utils.py | 2769 | # Check if the type != 0x02, type Ethernet | COMMENT |
| LOW | scapy/utils6.py | 252 | # Set ifaceid to a binary form | COMMENT |
| LOW | scapy/asn1/mib.py | 168 | # Read the files | COMMENT |
| LOW | scapy/layers/smb2.py | 1087 | # Set SecuritySignature to nul | COMMENT |
| LOW | scapy/layers/smbclient.py | 1228 | # Check if target is IPv4 or IPv6 | STRING |
| LOW | scapy/layers/smbclient.py | 1633 | # Open file | STRING |
| LOW | scapy/layers/smbclient.py | 1654 | # Read the file | STRING |
| LOW | scapy/layers/smbclient.py | 1663 | # Close the file | STRING |
| LOW | scapy/layers/smbclient.py | 1674 | # Open file | STRING |
| LOW | scapy/layers/smbclient.py | 1693 | # Close the file | STRING |
| LOW | scapy/layers/smbclient.py | 1959 | # Open file | STRING |
| LOW | scapy/layers/smbclient.py | 1966 | # Close the file | STRING |
| LOW | scapy/layers/smbclient.py | 2002 | # Open file | STRING |
| LOW | scapy/layers/smbclient.py | 2028 | # Open file | STRING |
| LOW | scapy/layers/inet6.py | 4057 | # Check if this is an advertisement for a Default Router | COMMENT |
| LOW | scapy/layers/ldap.py | 1629 | # Check if we have a search response | COMMENT |
| LOW⚡ | scapy/layers/inet.py | 1265 | # Check if IP addresses match | STRING |
| LOW⚡ | scapy/layers/inet.py | 1269 | # Check if IP ids match | STRING |
| LOW⚡ | scapy/layers/inet.py | 1273 | # Check if IP protocols match | STRING |
| LOW | scapy/layers/dns.py | 1386 | # Check if the length is valid | COMMENT |
| LOW | scapy/layers/smbserver.py | 1212 | # Check if there is a Durable Handle Reconnect Request | COMMENT |
| LOW | scapy/layers/smbserver.py | 1387 | # Increment index | COMMENT |
| LOW | scapy/layers/smbserver.py | 1544 | # Write file | COMMENT |
| LOW | scapy/layers/smbserver.py | 1569 | # Read file and send content | COMMENT |
| LOW | scapy/layers/spnego.py | 755 | # Check if target is a hostname / Check IP | COMMENT |
| LOW | scapy/layers/http.py | 1031 | # Write file | COMMENT |
| LOW | scapy/layers/tls/handshake.py | 766 | # Check if the server early_data extension is present in | COMMENT |
| LOW | scapy/layers/tls/handshake.py | 798 | # Check if the server early_data extension is present in | COMMENT |
| LOW | scapy/layers/tls/automaton_cli.py | 1126 | # Check if DHE is need (both for out of band and resumption PSK) | STRING |
| LOW | scapy/layers/tls/cert.py | 1621 | # Check if this certificate matches the one we're looking at | COMMENT |
| LOW | scapy/layers/tls/automaton_srv.py | 622 | # Check if we have to send an HelloRetryRequest | COMMENT |
| LOW | scapy/layers/tls/automaton_srv.py | 1132 | # Check if there's a NewSessionTicket to send | COMMENT |
| LOW | scapy/cbor/cborcodec.py | 507 | # Check if obj is a CBOR object instance (for special cases like UNDEFINED) | COMMENT |
| LOW | scapy/contrib/cdp.py | 333 | # Check if field length is fixed (2 bytes) | COMMENT |
| LOW | scapy/contrib/cdp.py | 341 | # Check if field length is fixed (2 bytes) | COMMENT |
| LOW | scapy/contrib/coap_socket.py | 729 | # Assign payload to packet | COMMENT |
| LOW | scapy/contrib/diameter.py | 88 | if x & 15: # Check if reserved bits are used | CODE |
| LOW | scapy/contrib/diameter.py | 129 | if x & 31: # Check if reserved bits are used | CODE |
| LOW | scapy/contrib/diameter.py | 356 | # Check if vendor and code defined and fetch the corresponding AVP | COMMENT |
| LOW | scapy/arch/unix.py | 229 | # Check if it is a valid IPv6 address | COMMENT |
| LOW | scapy/arch/bpf/core.py | 119 | # Check if the interface can be used | COMMENT |
| LOW | scapy/arch/bpf/core.py | 127 | # Close the file descriptor | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | scapy/contrib/j1939.py | 71 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scapy/contrib/j1939.py | 75 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scapy/contrib/j1939.py | 164 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scapy/contrib/j1939.py | 166 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scapy/contrib/j1939.py | 238 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scapy/contrib/j1939.py | 240 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scapy/contrib/j1939.py | 292 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scapy/contrib/j1939.py | 294 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scapy/contrib/j1939.py | 336 | # ── first 32 bits: CAN flags(3) + J1939 identifier fields(29) ────── | COMMENT |
| MEDIUM | scapy/contrib/j1939.py | 345 | # ── standard CAN data-length + padding ──────────────────────────── | COMMENT |
| MEDIUM | scapy/contrib/j1939.py | 395 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scapy/contrib/j1939.py | 397 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scapy/contrib/j1939.py | 548 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scapy/contrib/j1939.py | 550 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scapy/contrib/rtps/rtps.py | 266 | # ------------------------------------- | COMMENT |
| MEDIUM | scapy/contrib/rtps/rtps.py | 496 | # ---------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | scapy/layers/spnego.py | 936 | # resp.SecurityBlob.innerToken.token.mechTypes.insert( | COMMENT |
| CRITICAL | scapy/layers/kerberos.py | 3516 | pafastreq.armoredData.armor.armorValue.authenticator.encrypt( | STRING |
| CRITICAL | scapy/layers/tls/basefields.py | 172 | False in pkt.tls_session.rcs.cipher.ready.values() | CODE |
| CRITICAL | scapy/layers/tls/record.py | 150 | if False in pkt.tls_session.rcs.cipher.ready.values(): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scapy/sendrecv.py | 437 | CODE | |
| LOW | scapy/sendrecv.py | 528 | CODE | |
| LOW | scapy/sendrecv.py | 119 | CODE | |
| LOW | scapy/sendrecv.py | 1147 | CODE | |
| LOW | scapy/fwdmachine.py | 104 | CODE | |
| LOW | scapy/utils.py | 2977 | CODE | |
| LOW | scapy/utils.py | 2267 | CODE | |
| LOW | scapy/layers/smbclient.py | 1180 | CODE | |
| LOW | scapy/layers/inet6.py | 145 | CODE | |
| LOW | scapy/layers/inet6.py | 3889 | CODE | |
| LOW | scapy/layers/ldap.py | 1307 | CODE | |
| LOW | scapy/layers/ldap.py | 2277 | CODE | |
| LOW | scapy/layers/inet.py | 2117 | CODE | |
| LOW | scapy/layers/dns.py | 1563 | CODE | |
| LOW | scapy/layers/ntlm.py | 1379 | CODE | |
| LOW | scapy/layers/ipsec.py | 936 | CODE | |
| LOW | scapy/layers/spnego.py | 713 | CODE | |
| LOW | scapy/layers/kerberos.py | 4343 | CODE | |
| LOW | scapy/layers/kerberos.py | 4419 | CODE | |
| LOW | scapy/layers/kerberos.py | 4527 | CODE | |
| LOW | scapy/layers/kerberos.py | 3107 | CODE | |
| LOW | scapy/layers/kerberos.py | 4805 | CODE | |
| LOW | scapy/layers/dhcp6.py | 1548 | CODE | |
| LOW | scapy/layers/dhcp.py | 567 | CODE | |
| LOW | scapy/layers/tls/automaton_cli.py | 118 | CODE | |
| LOW | scapy/layers/tls/session.py | 359 | CODE | |
| LOW | scapy/layers/tls/cert.py | 729 | CODE | |
| LOW | scapy/layers/tls/automaton_srv.py | 110 | CODE | |
| LOW | scapy/contrib/pnio.py | 146 | CODE | |
| LOW | scapy/contrib/coap_socket.py | 103 | CODE | |
| LOW | scapy/contrib/coap_socket.py | 404 | CODE | |
| LOW | scapy/contrib/isotp/isotp_scanner.py | 235 | CODE | |
| LOW | scapy/contrib/isotp/isotp_scanner.py | 306 | CODE | |
| LOW | scapy/contrib/isotp/isotp_native_socket.py | 295 | CODE | |
| LOW | scapy/contrib/isotp/isotp_soft_socket.py | 118 | CODE | |
| LOW | scapy/contrib/automotive/doip.py | 365 | CODE | |
| LOW | scapy/modules/ticketer.py | 2728 | CODE | |
| LOW | scapy/modules/ticketer.py | 2785 | CODE | |
| LOW | scapy/modules/ldaphero.py | 153 | CODE | |
| LOW | scapy/modules/krack/automaton.py | 90 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scapy/compat.py | 26 | __all__ = [ | CODE |
| LOW | scapy/__init__.py | 18 | __all__ = [ | CODE |
| LOW | scapy/consts.py | 13 | __all__ = [ | CODE |
| LOW | scapy/layers/all.py | 22 | __all__ = [] | CODE |
| LOW | scapy/layers/can.py | 42 | __all__ = ["CAN", "SignalPacket", "SignalField", "LESignedSignalField", | CODE |
| LOW | scapy/layers/msrpce/all.py | 20 | __all__ = [] | CODE |
| LOW | scapy/cbor/__init__.py | 67 | __all__ = [ | CODE |
| LOW | scapy/contrib/tcpao.py | 25 | logger = logging.getLogger(__name__) | CODE |
| LOW | scapy/contrib/icmp_extensions.py | 8 | __all__ = [ | CODE |
| LOW | scapy/contrib/cansocket_python_can.py | 42 | __all__ = ["CANSocket", "PythonCANSocket"] | CODE |
| LOW | scapy/contrib/dicom.py | 42 | __all__ = [ | CODE |
| LOW | scapy/contrib/mysql.py | 65 | __all__ = [ | CODE |
| LOW | scapy/contrib/isotp/__init__.py | 23 | __all__ = ["ISOTP", "ISOTPHeader", "ISOTPHeaderEA", "ISOTP_SF", "ISOTP_FF", | CODE |
| LOW | scapy/contrib/automotive/uds_ecu_states.py | 14 | __all__ = ["UDS_DSCPR_modify_ecu_state", "UDS_CCPR_modify_ecu_state", | CODE |
| LOW | scapy/contrib/automotive/ecu.py | 41 | __all__ = ["EcuState", "Ecu", "EcuResponse", "EcuSession", | CODE |
| LOW | scapy/contrib/automotive/gm/gmlanutils.py | 28 | __all__ = ["GMLAN_TesterPresentSender", "GMLAN_InitDiagnostics", | CODE |
| LOW | scapy/contrib/automotive/gm/gmlan_scanner.py | 57 | __all__ = ["GMLAN_Scanner", "GMLAN_ServiceEnumerator", "GMLAN_RDBIEnumerator", | CODE |
| LOW | scapy/contrib/automotive/gm/gmlan_ecu_states.py | 12 | __all__ = ["GMLAN_modify_ecu_state", "GMLAN_SAPR_modify_ecu_state"] | CODE |
| LOW | scapy/libs/crc.py | 12 | __all__ = [ | CODE |
| LOW | scapy/libs/test_pyx.py | 17 | __all__ = [ | CODE |
| LOW | scapy/libs/matplot.py | 16 | __all__ = [ | CODE |
| LOW | scapy/libs/rfc3961.py | 24 | __all__ = [ | CODE |
| LOW | scapy/arch/__init__.py | 46 | __all__ = [ # noqa: F405 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | scapy/contrib/bfd.py | 150 | 7784, # seamless BFD | CODE |
| MEDIUM | scapy/libs/winpcapy.py | 655 | # return the error text pertaining to the last pcap library error. | COMMENT |
| LOW | scapy/arch/windows/structures.py | 224 | # for now, just use void * for pointers to unused structures | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .config/ci/install.sh | 8 | # Usage: | COMMENT |
| LOW | .config/ci/test.sh | 8 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scapy/layers/zigbee.py | 776 | # TODO: implement 10 to 13 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scapy/layers/inet6.py | 4121 | The purpose of this function is to send provided RA message at layer 2 | STRING |