Repository Analysis

RfidResearchGroup/proxmark3

Iceman Fork - Proxmark3

3.7 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of RfidResearchGroup/proxmark3, a C project with 5,823 GitHub stars. SynthScan v2.0 examined 715,080 lines of code across 1508 source files, recording 2488 pattern matches distributed across 19 syntactic categories. The overall adjusted score of 3.7 places this repository in the Likely human-written 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).

3.7
Adjusted Score
3.7
Raw Score
100%
Time Factor
2026-07-11
Last Push
5.8K
Stars
C
Language
715.1K
Lines of Code
1.5K
Files
2.5K
Pattern Hits
2026-07-14
Scan Date
0.01
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

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.

Severity Breakdown

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.

CRITICAL 0HIGH 20MEDIUM 56LOW 2412

Directory Score Breakdown

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.

Pattern Findings

The scanner identified 2488 distinct pattern matches across 19 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.

Over-Commented Block2274 hits · 2136 pts
SeverityFileLineSnippetContext
LOWCONTRIBUTING.md261For these reasons, vague and general filenames (e.g. `util.*`, `global.*`, `misc.*`,COMMENT
LOWcommon_fpga/fpga.h1//-----------------------------------------------------------------------------COMMENT
LOWcommon_fpga/fpga.h21#include <inttypes.h>COMMENT
LOWarmsrc/iso14443a.c1//-----------------------------------------------------------------------------COMMENT
LOWarmsrc/iso14443a.c21COMMENT
LOWarmsrc/iso14443a.c61// minimum time between last modulation of tag and next start bit from reader to tag: 1172 carrier cyclesCOMMENT
LOWarmsrc/iso14443a.c81// 8 ticks later the FPGA samples the dataCOMMENT
LOWarmsrc/iso14443a.c101// 3 ticks A/D conversionCOMMENT
LOWarmsrc/iso14443a.c121static uint32_t LastProxToAirDuration;COMMENT
LOWarmsrc/iso14443a.c341COMMENT
LOWarmsrc/iso14443a.c541 }COMMENT
LOWarmsrc/iso14443a.c801// Record the sequence of commands sent by the reader to the tag, withCOMMENT
LOWarmsrc/iso14443a.c1681 // since rats len is variable now.COMMENT
LOWarmsrc/iso14443a.c1801COMMENT
LOWarmsrc/buzzer_disabled.c1//-----------------------------------------------------------------------------COMMENT
LOWarmsrc/felicasim.c1//-----------------------------------------------------------------------------COMMENT
LOWarmsrc/felicasim.c21#include "util.h"COMMENT
LOWarmsrc/em4x50.c1//-----------------------------------------------------------------------------COMMENT
LOWarmsrc/em4x50.c21#include "dbprint.h"COMMENT
LOWarmsrc/em4x50.c41// 1 cycle = 1 period = 8 us = 12 ticksCOMMENT
LOWarmsrc/em4x50.c61// timeout values (empirical) for simulation mode (may vary with regard to reader)COMMENT
LOWarmsrc/printf.c1//-----------------------------------------------------------------------------COMMENT
LOWarmsrc/mifaresniff_disabled.h1//-----------------------------------------------------------------------------COMMENT
LOWarmsrc/mifaresniff_disabled.h21#define __MIFARESNIFF_HCOMMENT
LOWarmsrc/pcf7931.c1//-----------------------------------------------------------------------------COMMENT
LOWarmsrc/pcf7931.c21#include "fpgaloader.h"COMMENT
LOWarmsrc/pcf7931.c41#define _16T0 (CLOCK/4)COMMENT
LOWarmsrc/pcf7931.c301 }COMMENT
LOWarmsrc/pcf7931.c321 // memcpy(single_blocks[single_blocks_cnt], tmp_blocks[0], 16);COMMENT
LOWarmsrc/pcf7931.c341 // if (!found_0_1) {COMMENT
LOWarmsrc/pcf7931.c361 // }COMMENT
LOWarmsrc/pcf7931.c381 // if (j == 0) {COMMENT
LOWarmsrc/pcf7931.c441 uint8_t parity = 0;COMMENT
LOWarmsrc/desfire_crypto.c1//-----------------------------------------------------------------------------COMMENT
LOWarmsrc/desfire_crypto.c21 *COMMENT
LOWarmsrc/iclass.h1//-----------------------------------------------------------------------------COMMENT
LOWarmsrc/iclass.h21#include "common.h"COMMENT
LOWarmsrc/optimized_cipherutils.h1//-----------------------------------------------------------------------------COMMENT
LOWarmsrc/optimized_cipherutils.h21//COMMENT
LOWarmsrc/lfadc.c1//-----------------------------------------------------------------------------COMMENT
LOWarmsrc/lfadc.c21#include "fpgaloader.h"COMMENT
LOWarmsrc/lfadc.c301 size_t periods = 0;COMMENT
LOWarmsrc/legicrfsim.c1//-----------------------------------------------------------------------------COMMENT
LOWarmsrc/legicrfsim.c21#include "crc.h" /* legic crc-4 */COMMENT
LOWarmsrc/legicrfsim.c41// - 31.3us for a 0 (RWD_TIME_0)COMMENT
LOWarmsrc/legicrfsim.c61#define RWD_TIME_0 13 /* RWD_TIME_PAUSE 18.9us off + 42.4us on = 61.3us */COMMENT
LOWarmsrc/legicrfsim.c81 }COMMENT
LOWarmsrc/legicrfsim.c121// ModulationCOMMENT
LOWarmsrc/legicrfsim.c201COMMENT
LOWarmsrc/vtsend.c1//-----------------------------------------------------------------------------COMMENT
LOWarmsrc/emvtags.h1//-----------------------------------------------------------------------------COMMENT
LOWarmsrc/thinfilm.h1//-----------------------------------------------------------------------------COMMENT
LOWarmsrc/mifaresim.c1//-----------------------------------------------------------------------------COMMENT
LOWarmsrc/mifaresim.c21// DBG_NONE 0COMMENT
LOWarmsrc/spiffs_nucleus.c1//-----------------------------------------------------------------------------COMMENT
LOWarmsrc/spiffs_nucleus.c121}COMMENT
LOWarmsrc/wiegand.h1//-----------------------------------------------------------------------------COMMENT
LOWarmsrc/sam_mfc.c1//-----------------------------------------------------------------------------COMMENT
LOWarmsrc/cmac_3des.c1//-----------------------------------------------------------------------------COMMENT
LOWarmsrc/sam_common.h1//-----------------------------------------------------------------------------COMMENT
2214 more matches not shown…
Decorative Section Separators35 hits · 106 pts
SeverityFileLineSnippetContext
MEDIUMtools/pm3trace_edit.py41# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/pm3trace_edit.py43# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/pm3trace_edit.py81# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/pm3trace_edit.py83# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/pm3trace_edit.py118# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/pm3trace_edit.py120# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/pm3trace_edit.py147# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/pm3trace_edit.py149# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/pm3trace_edit.py196# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/pm3trace_edit.py198# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/pm3trace_edit.py423# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/pm3trace_edit.py425# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/pm3trace_edit.py436# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/pm3trace_edit.py438# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/pm3trace_edit.py535# ---------------------------------------------------------------------------STRING
MEDIUMtools/pm3trace_edit.py537# ---------------------------------------------------------------------------STRING
MEDIUMtools/build_all_firmwares.sh3#-----------------------------------------------------------------------------COMMENT
MEDIUMtools/build_all_firmwares.sh17#-----------------------------------------------------------------------------COMMENT
MEDIUMcommon/get_lz4.sh1#-----------------------------------------------------------------------------COMMENT
MEDIUMcommon/get_lz4.sh15#-----------------------------------------------------------------------------COMMENT
MEDIUMfpga/tests/plot_edgedetect.py2#-----------------------------------------------------------------------------COMMENT
MEDIUMfpga/tests/plot_edgedetect.py8#-----------------------------------------------------------------------------COMMENT
MEDIUMclient/CMakeLists.txt1#-----------------------------------------------------------------------------COMMENT
MEDIUMclient/CMakeLists.txt15#-----------------------------------------------------------------------------COMMENT
MEDIUMclient/emojis_scrap_github.py3#-----------------------------------------------------------------------------COMMENT
MEDIUMclient/emojis_scrap_github.py19#-----------------------------------------------------------------------------COMMENT
MEDIUMclient/atr_scrap_pcsctools.py3#-----------------------------------------------------------------------------COMMENT
MEDIUMclient/atr_scrap_pcsctools.py17#-----------------------------------------------------------------------------COMMENT
MEDIUMclient/experimental_lib/CMakeLists.txt1#-----------------------------------------------------------------------------COMMENT
MEDIUMclient/experimental_lib/CMakeLists.txt15#-----------------------------------------------------------------------------COMMENT
MEDIUMclient/pyscripts/fm11rf08s_full.py4# ------------------------------------------------------------------------------COMMENT
MEDIUMclient/pyscripts/fm11rf08s_full.py920# ==============================================================================COMMENT
MEDIUMclient/pyscripts/mfuev1_counter_reset.py2#-----------------------------------------------------------------------------COMMENT
MEDIUMclient/pyscripts/mfuev1_counter_reset.py11#-----------------------------------------------------------------------------COMMENT
MEDIUMclient/pyscripts/mfuev1_counter_reset.py17#-----------------------------------------------------------------------------COMMENT
Cross-Language Confusion9 hits · 68 pts
SeverityFileLineSnippetContext
HIGHclient/pyscripts/fm11rf08s_full.py943 aclkh.append("| | read ¦ write || read ¦ write || read ¦ write |")CODE
HIGHclient/pyscripts/fm11rf08s_full.py946 aclk[0] = "| -- ¦ KeyA || KeyA ¦ -- || KeyA ¦ KeyA | [000]" # noqa: E222CODE
HIGHclient/pyscripts/fm11rf08s_full.py947 aclk[1] = "| -- ¦ KeyA || KeyA ¦ KeyA || KeyA ¦ KeyA | [001]" # noqa: E222CODE
HIGHclient/pyscripts/fm11rf08s_full.py949 aclk[3] = "| -- ¦ KeyB || A+B ¦ KeyB || -- ¦ KeyB | [011]" # noqa: E222CODE
HIGHclient/pyscripts/fm11rf08s_full.py950 aclk[4] = "| -- ¦ KeyB || A+B ¦ -- || -- ¦ KeyB | [100]" # noqa: E222CODE
HIGHclient/pyscripts/fm11rf08s_full.py962 acldh.append("| Block | Data || Counter |")CODE
HIGHclient/pyscripts/fm11rf08s_full.py963 acldh.append("| | read ¦ write || Inc ¦ Dec |")CODE
HIGHclient/pyscripts/fm11rf08s_full.py966 acld[0] = "| A+B ¦ A+B || A+B ¦ A+B | [000]" # noqa: E222CODE
HIGHclient/pyscripts/fm11rf08s_full.py972 acld[6] = "| A+B ¦ KeyB || KeyB ¦ A+B | [110]" # noqa: E222CODE
Structural Annotation Overuse24 hits · 46 pts
SeverityFileLineSnippetContext
LOWarmsrc/cmac_3des.c47 // Step 1: L = 3DES-ENC(0^64)COMMENT
LOWarmsrc/cmac_3des.c50 // Step 2: K1 = L << 1 (with conditional XOR with 0x1B)COMMENT
LOWarmsrc/cmac_3des.c57 // Step 3: K2 = K1 << 1 (with conditional XOR with 0x1B)COMMENT
LOWarmsrc/cmac_calc.c79 // Step 1: L = AES-ENC(0^128)COMMENT
LOWarmsrc/cmac_calc.c82 // Step 2: K1 = L << 1 (with conditional XOR with 0x87)COMMENT
LOWarmsrc/cmac_calc.c89 // Step 3: K2 = K1 << 1 (with conditional XOR with 0x87)COMMENT
LOWarmsrc/hitagu.c737 // Step 2: Process the actual commandCOMMENT
LOWarmsrc/hitagu.c859 // Step 2: Send write commandCOMMENT
LOWtools/mfc/pm3_mf7b_wipe.py18# Step 1: Dumping original card and making a Mifare 7byte UID clone using S50 7byte UIDCOMMENT
LOWtools/mfc/pm3_mf7b_wipe.py40# Step 2: Recovering S50 7byte UID card to the blank stateCOMMENT
LOWdoc/fm11rf08s_manual_recovery.md24## Step 1: Identify the CardCOMMENT
LOWdoc/fm11rf08s_manual_recovery.md49## Step 2: Run Autopwn for Known KeysCOMMENT
LOWdoc/fm11rf08s_manual_recovery.md62## Step 3: Collect Static Encrypted NoncesCOMMENT
LOWdoc/fm11rf08s_manual_recovery.md83## Step 4: Generate Key Candidates (Offline)COMMENT
LOWdoc/fm11rf08s_manual_recovery.md112## Step 5: Brute Force Against the CardCOMMENT
LOWdoc/fm11rf08s_manual_recovery.md131## Step 6: Full DumpCOMMENT
LOWdoc/fm11rf08s_manual_recovery.md154## Step 7: Analyze the DumpCOMMENT
LOWclient/src/cmdhfmfdes.c8511 // Step 1: Select application using the requested/default route.COMMENT
LOWclient/src/cmdhfmfdes.c8520 // Step 2: Build ISO Internal Authenticate APDUCOMMENT
LOWclient/src/cmdhfmfdes.c8521 // Step 3: Parse TLV responseCOMMENT
LOWclient/src/cmdhfmfdes.c8530 // Step 4: Verify signature if public key providedCOMMENT
LOWclient/src/loclass/ikeys.c233 // Step 1: Extract ck2 shifted part from resultCOMMENT
LOWclient/src/loclass/ikeys.c237 // Step 2: Reconstruct ck2COMMENT
LOWclient/src/loclass/ikeys.c239 // Step 3: Recover ck1COMMENT
Excessive Try-Catch Wrapping27 hits · 42 pts
SeverityFileLineSnippetContext
MEDIUMclient/update_amiibo_tools_lua.py47 print("Error fetching data: ", error.decode())CODE
MEDIUMclient/update_amiibo_tools_lua.py103 print(f"Error deleting file {filename}: ", e)CODE
MEDIUMclient/experimental_lib/example_lua/test.lua22 print("Error decoding JSON: ", err)CODE
LOWclient/pyscripts/des_talk.py58 except Exception:CODE
LOWclient/pyscripts/des_talk.py456 except Exception:CODE
MEDIUMclient/pyscripts/paxton_switch.py67 print("Error: Data must be 4 bytes (8 characters) in hex. Try again.")CODE
LOWclient/pyscripts/fm11rf08s_full.py482 except Exception as e:CODE
LOWclient/pyscripts/fm11rf08s_full.py505 except Exception:CODE
LOWclient/pyscripts/fm11rf08s_full.py710 except Exception:CODE
LOWclient/pyscripts/fm11rf08s_full.py838 except Exception as e:CODE
LOWclient/pyscripts/fm11rf08s_full.py1048 except Exception as e:CODE
LOWclient/pyscripts/read_t-union.py642 except Exception as e:CODE
MEDIUMclient/pyscripts/paxton_net.py81 print("Error: Data must be 4 bytes (8 characters) in hex. Try again.")CODE
MEDIUMclient/pyscripts/paxton_convert.py102 print("Error: Data must be 4 bytes (8 characters) in hex. Try again.")CODE
LOWclient/pyscripts/mfuev1_counter_reset.py619 except Exception as exc:CODE
MEDIUMclient/pyscripts/ntag22x_suncmac_recovery.py250 print("Error: --json argument is required in single step mode")CODE
LOWclient/pyscripts/mfulc_counterfeit_recovery.py203 except Exception as e:CODE
LOWclient/pyscripts/mfulc_counterfeit_recovery.py667 except Exception as e:CODE
LOWclient/pyscripts/fm11rf08s_recovery.py243 except Exception as e:CODE
MEDIUMclient/pyscripts/mf_backdoor_dump.py26 print("Error reading the tag:")CODE
LOWclient/pyscripts/theremin.py101 except Exception as e:CODE
MEDIUMclient/pyscripts/theremin.py102 print(f"An error occurred: {e}")CODE
MEDIUMclient/luascripts/lf_t55xx_multiwriter.lua200 print("Error in block 0 ...expected: " .. ac.green .. block0_value .. ac.reset .. " ...found: " .. ac.green .. (CODE
MEDIUMclient/luascripts/lf_t55xx_multiwriter.lua208 print("Error in block " .. i .. " ...expected: " .. ac.green .. expected_block .. ac.reset .. " ...found: " CODE
MEDIUMclient/luascripts/ntag_hammertime.lua86 print("Error sending the card raw data.")CODE
MEDIUMclient/luascripts/ntag_getsig.lua66 print("Error sending the card raw data.")CODE
MEDIUMclient/experimental_client_with_swig/testembedded.lua20 print("Error decoding JSON: ", err)CODE
Verbosity Indicators19 hits · 38 pts
SeverityFileLineSnippetContext
LOWarmsrc/cmac_3des.c47 // Step 1: L = 3DES-ENC(0^64)COMMENT
LOWarmsrc/cmac_3des.c50 // Step 2: K1 = L << 1 (with conditional XOR with 0x1B)COMMENT
LOWarmsrc/cmac_3des.c57 // Step 3: K2 = K1 << 1 (with conditional XOR with 0x1B)COMMENT
LOWarmsrc/cmac_calc.c79 // Step 1: L = AES-ENC(0^128)COMMENT
LOWarmsrc/cmac_calc.c82 // Step 2: K1 = L << 1 (with conditional XOR with 0x87)COMMENT
LOWarmsrc/cmac_calc.c89 // Step 3: K2 = K1 << 1 (with conditional XOR with 0x87)COMMENT
LOWarmsrc/emvsim.c205 // We have passed the reader's query to the card, but before we return it, we need to check if we need to modifyCOMMENT
LOWarmsrc/hitagu.c737 // Step 2: Process the actual commandCOMMENT
LOWarmsrc/hitagu.c859 // Step 2: Send write commandCOMMENT
LOWtools/mfc/pm3_mf7b_wipe.py18# Step 1: Dumping original card and making a Mifare 7byte UID clone using S50 7byte UIDCOMMENT
LOWtools/mfc/pm3_mf7b_wipe.py40# Step 2: Recovering S50 7byte UID card to the blank stateCOMMENT
LOWclient/lualibs/commands.lua35 -- We need to check if it is correct length, otherwise pad itCODE
LOWclient/src/cmdhfmfdes.c8511 // Step 1: Select application using the requested/default route.COMMENT
LOWclient/src/cmdhfmfdes.c8520 // Step 2: Build ISO Internal Authenticate APDUCOMMENT
LOWclient/src/cmdhfmfdes.c8521 // Step 3: Parse TLV responseCOMMENT
LOWclient/src/cmdhfmfdes.c8530 // Step 4: Verify signature if public key providedCOMMENT
LOWclient/src/loclass/ikeys.c233 // Step 1: Extract ck2 shifted part from resultCOMMENT
LOWclient/src/loclass/ikeys.c237 // Step 2: Reconstruct ck2COMMENT
LOWclient/src/loclass/ikeys.c239 // Step 3: Recover ck1COMMENT
Cross-File Repetition7 hits · 35 pts
SeverityFileLineSnippetContext
HIGHtools/mfc/pm3_eml2mfd.py0# andrei costin <zveriu@gmail.com>, 2011 # pm3_eml2mfd.py # converts pm3 mifare classic mfd binary dump file to emulatorSTRING
HIGHclient/pyscripts/pm3_eml2mfd.py0# andrei costin <zveriu@gmail.com>, 2011 # pm3_eml2mfd.py # converts pm3 mifare classic mfd binary dump file to emulatorSTRING
HIGHtools/mfc/pm3_mfd2eml.py0# andrei costin <zveriu@gmail.com>, 2011 # pm3_eml2mfd.py # converts pm3 mifare classic mfd binary dump file to emulatorSTRING
HIGHclient/pyscripts/pm3_mfd2eml.py0# andrei costin <zveriu@gmail.com>, 2011 # pm3_eml2mfd.py # converts pm3 mifare classic mfd binary dump file to emulatorSTRING
HIGHclient/pyscripts/ntag22x_libsuncmac.py0compute the hamming weight (number of set bits) of an integer.STRING
HIGHclient/pyscripts/ntag22x_suncmac_recovery.py0compute the hamming weight (number of set bits) of an integer.STRING
HIGHclient/pyscripts/mfulaes_mask_recovery.py0compute the hamming weight (number of set bits) of an integer.STRING
Synthetic Comment Markers4 hits · 30 pts
SeverityFileLineSnippetContext
HIGHcommon/mbedtls/error.c224 /* Begin Auto-Generated Code. */COMMENT
HIGHcommon/mbedtls/error.c567 /* End Auto-Generated Code. */COMMENT
HIGHcommon/mbedtls/error.c586 /* Begin Auto-Generated Code. */COMMENT
HIGHcommon/mbedtls/error.c883 /* End Auto-Generated Code. */COMMENT
Deep Nesting31 hits · 28 pts
SeverityFileLineSnippetContext
LOWtools/pm3_online_check.py146CODE
LOWtools/recover_pk.py25CODE
LOWtools/recover_pk.py45CODE
LOWtools/recover_pk.py98CODE
LOWtools/pm3trace_edit.py456CODE
LOWtools/pm3_tears_for_fears.py374CODE
LOWtools/mfc/pm3_gen_dictionary.py70CODE
LOWtools/mfc/pm3_eml_mfd_test.py29CODE
LOWtools/mfc/pm3_mfdread.py55CODE
LOWtools/mfc/pm3_mfdread.py141CODE
LOWclient/atr_scrap_pcsctools.py74CODE
LOWclient/pyscripts/des_talk.py102CODE
LOWclient/pyscripts/des_talk.py202CODE
LOWclient/pyscripts/des_talk.py346CODE
LOWclient/pyscripts/des_talk.py472CODE
LOWclient/pyscripts/pm3_help2list.py40CODE
LOWclient/pyscripts/ntag22x_libsuncmac.py120CODE
LOWclient/pyscripts/ntag22x_libsuncmac.py123CODE
LOWclient/pyscripts/fm11rf08s_full.py270CODE
LOWclient/pyscripts/fm11rf08s_full.py391CODE
LOWclient/pyscripts/fm11rf08s_full.py412CODE
LOWclient/pyscripts/fm11rf08s_full.py581CODE
LOWclient/pyscripts/fm11rf08s_full.py1028CODE
LOWclient/pyscripts/pm3_eml_mfd_test.py27CODE
LOWclient/pyscripts/mfuev1_counter_reset.py391CODE
LOWclient/pyscripts/mfulc_counterfeit_recovery.py270CODE
LOWclient/pyscripts/mfulc_counterfeit_recovery.py476CODE
LOWclient/pyscripts/fm11rf08s_recovery.py74CODE
LOWclient/pyscripts/pm3_resources.py56CODE
LOWclient/pyscripts/mfulaes_mask_recovery.py44CODE
LOWclient/pyscripts/mfulaes_mask_recovery.py120CODE
Redundant / Tautological Comments15 hits · 24 pts
SeverityFileLineSnippetContext
LOWtools/pm3_online_tests.sh106# Check if file existsSTRING
LOWtools/mfc/pm3_gen_dictionary.py79 # Check if the directory existsCOMMENT
LOWtools/mfc/pm3_gen_dictionary.py98 # Check if the file name starts with the given prefixCOMMENT
LOWclient/update_amiibo_tools_lua.py67 # Open the fileCOMMENT
LOWclient/pyscripts/des_talk.py144 if aids: # Check if there are any AIDsCODE
LOWclient/pyscripts/des_talk.py385 # Check if byte falls in printable ASCII rangeCOMMENT
LOWclient/pyscripts/read_t-union.py294 # Check if we have enough bytes for tag and lengthCOMMENT
LOWclient/pyscripts/read_t-union.py306 # Check if we have enough bytes for valueCOMMENT
LOWclient/pyscripts/paxton_net.py87# Check if the second nibble of the second byte in block 5 is 'F'COMMENT
LOWclient/pyscripts/mfulc_counterfeit_recovery.py196 # Check if all blocks are crackedCOMMENT
LOWclient/pyscripts/pm3_nfc2eml.py27# Check if the input file is a text file based on its contentCOMMENT
LOWclient/pyscripts/pm3_nfc2eml.py59 # Check if the target file existsCOMMENT
LOWclient/pyscripts/pm3_nfc2eml.py68 # Check if the input file name has the .nfc extensionCOMMENT
LOWclient/pyscripts/pm3_nfc2eml.py75 # Check if the directory of the output file is writableCOMMENT
LOWclient/pyscripts/pm3_nfc2eml.py80 # Check if the output file name has the .eml extensionCOMMENT
Unused Imports12 hits · 12 pts
SeverityFileLineSnippetContext
LOWtools/pm3_online_check.py31CODE
LOWtools/pm3_online_check.py32CODE
LOWtools/pm3trace_edit.py30CODE
LOWtools/pm3trace_edit.py35CODE
LOWtools/pm3_reblay-emulating.py16CODE
LOWtools/pm3_reblay-emulating.py17CODE
LOWtools/pm3_reblay-emulating.py18CODE
LOWclient/pyscripts/paxton_switch.py20CODE
LOWclient/pyscripts/pm3_help2list.py22CODE
LOWclient/pyscripts/paxton_convert.py21CODE
LOWclient/pyscripts/pm3.py7CODE
LOWclient/pyscripts/ice.py1CODE
Hyper-Verbose Identifiers13 hits · 12 pts
SeverityFileLineSnippetContext
LOWtools/pm3_online_tests.sh244function CheckMfHidEncodeRoundTrip() {STRING
LOWtools/mfc/pm3_mfdread.py90def accbits_to_permission_sector(accbits):STRING
LOWtools/mfc/pm3_mfdread.py107def accbits_to_permission_data(accbits):STRING
LOWclient/pyscripts/ntag22x_libsuncmac.py39def enumerate_words_with_k_bits_set(n_bits, max_bits_set, mask=0):CODE
LOWclient/pyscripts/ntag22x_libsuncmac.py52def count_words_with_k_bits_set(n_bits, max_bits_set, mask=0):CODE
LOWclient/pyscripts/ntag22x_libsuncmac.py65def sliced_enumerate_words_with_k_bits_set(n_bits, max_bits_set, slice_index=0, total_slices=1, mask=0):CODE
LOWclient/pyscripts/ntag22x_libsuncmac.py206def bruteforce_suncmac_low_hw(start_key, msg, segment, n_bits=32, bitflips=7, quiet=False):CODE
LOWclient/pyscripts/read_t-union.py578def process_tunion_transit_card(pm3_conn: BridgePM3) -> None:CODE
LOWclient/pyscripts/pm3.py27def _swig_setattr_nondynamic_instance_variable(set):CODE
LOWclient/pyscripts/pm3.py40def _swig_setattr_nondynamic_class_variable(set):CODE
LOWclient/pyscripts/ntag22x_suncmac_recovery.py47def enumerate_words_with_k_bits_set(n_bits, max_bits_set, mask=0):CODE
LOWclient/pyscripts/theremin.py109def linear_to_exponential_freq(v, min_v, max_v, min_freq, max_freq):CODE
LOWclient/lualibs/precalc.lua37local function ApplyPermutationAndShifts( pos, value, nibble)CODE
Slop Phrases6 hits · 12 pts
SeverityFileLineSnippetContext
LOWcovbuild.sh25# make sure to do client after ARM because Coverity retains one build info per fileCOMMENT
LOWarmsrc/felica.c229 case STATE_FULL: //ignore byte. Don't forget to clear frame to receive next one...CODE
MEDIUMtools/hitag2crack/common/hitagcrypto.h118 * parties as discussed above. If you wish to specify special license *COMMENT
MEDIUMtools/hitag2crack/common/hitagcrypto.c118 * parties as discussed above. If you wish to specify special license *COMMENT
LOWcommon/mbedtls/blowfish.h40#define MBEDTLS_BLOWFISH_ROUNDS 16 /**< Rounds to use. When increasing this value, make sure to extend the COMMENT
LOWclient/src/cmdhfmfu.h110// Don't forget to fill UL_TYPES_ARRAY and UL_MEMORY_ARRAY if new types are addedCOMMENT
AI Slop Vocabulary3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMarmsrc/iso15693.c218// is designed for more robust communication over longer distancesCOMMENT
MEDIUMtools/pm3_tears_for_fears.py318 # No bits can be used as leverageCOMMENT
MEDIUMtools/pm3_tears_for_fears.py355 # No bits can be used as leverageCOMMENT
Self-Referential Comments2 hits · 5 pts
SeverityFileLineSnippetContext
MEDIUMclient/pyscripts/ntag22x_libsuncmac.py146 chunk_size = 2**20 # Define a smaller chunk sizeCODE
MEDIUMclient/pyscripts/pm3_nfc2eml.py42 # Create an argument parserCOMMENT
Example Usage Blocks3 hits · 4 pts
SeverityFileLineSnippetContext
LOWarmsrc/em4x70.c38// Example usage:COMMENT
LOWtools/mfc/pm3_gen_dictionary.py35# Usage:STRING
LOWtools/mfc/pm3_mfdread.py12#Usage:COMMENT
AI Structural Patterns2 hits · 2 pts
SeverityFileLineSnippetContext
LOWclient/update_amiibo_tools_lua.py89CODE
LOWclient/pyscripts/fm11rf08s_recovery.py74CODE
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOWarmsrc/iso14443a.c1990 // TODO: implement cyclic memory if we reach AUTH0 and AUTH1=0 and unauth on ULC/ULAES, or if we reaCOMMENT
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippetContext
LOWclient/resources/ecplist.json131 "key": ["demo", "placeholder"],CODE