Repository Analysis

sqlmapproject/sqlmap

Automatic SQL injection and database takeover tool

26.0 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of sqlmapproject/sqlmap, a Python project with 38,292 GitHub stars. SynthScan v2.0 examined 231,310 lines of code across 798 source files, recording 3398 pattern matches distributed across 17 syntactic categories. The overall adjusted score of 26.0 places this repository in the Moderate 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).

26.0
Adjusted Score
26.0
Raw Score
100%
Time Factor
2026-08-28
Last Push
38.3K
Stars
Python
Language
231.3K
Lines of Code
798
Files
3.4K
Pattern Hits
2026-08-29
Scan Date
0.72
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 1HIGH 577MEDIUM 142LOW 2678

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 3398 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.

Cross-File Repetition527 hits · 2635 pts
SeverityFileLineSnippetContext
HIGHsqlmapapi.py0copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permissionSTRING
HIGHsqlmap.py0copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permissionSTRING
HIGHplugins/__init__.py0copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permissionSTRING
HIGHplugins/dbms/__init__.py0copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permissionSTRING
HIGHplugins/dbms/raima/enumeration.py0copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permissionSTRING
HIGHplugins/dbms/raima/fingerprint.py0copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permissionSTRING
HIGHplugins/dbms/raima/filesystem.py0copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permissionSTRING
HIGHplugins/dbms/raima/__init__.py0copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permissionSTRING
HIGHplugins/dbms/raima/takeover.py0copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permissionSTRING
HIGHplugins/dbms/raima/connector.py0copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permissionSTRING
HIGHplugins/dbms/raima/syntax.py0copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permissionSTRING
HIGHplugins/dbms/sybase/enumeration.py0copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permissionSTRING
HIGHplugins/dbms/sybase/fingerprint.py0copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permissionSTRING
HIGHplugins/dbms/sybase/filesystem.py0copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permissionSTRING
HIGHplugins/dbms/sybase/__init__.py0copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permissionSTRING
HIGHplugins/dbms/sybase/takeover.py0copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permissionSTRING
HIGHplugins/dbms/sybase/connector.py0copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permissionSTRING
HIGHplugins/dbms/sybase/syntax.py0copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permissionSTRING
HIGHplugins/dbms/extremedb/enumeration.py0copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permissionSTRING
HIGHplugins/dbms/extremedb/fingerprint.py0copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permissionSTRING
HIGHplugins/dbms/extremedb/filesystem.py0copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permissionSTRING
HIGHplugins/dbms/extremedb/__init__.py0copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permissionSTRING
HIGHplugins/dbms/extremedb/takeover.py0copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permissionSTRING
HIGHplugins/dbms/extremedb/connector.py0copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permissionSTRING
HIGHplugins/dbms/extremedb/syntax.py0copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permissionSTRING
HIGHplugins/dbms/clickhouse/enumeration.py0copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permissionSTRING
HIGHplugins/dbms/clickhouse/fingerprint.py0copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permissionSTRING
HIGHplugins/dbms/clickhouse/filesystem.py0copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permissionSTRING
HIGHplugins/dbms/clickhouse/__init__.py0copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permissionSTRING
HIGHplugins/dbms/clickhouse/takeover.py0copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permissionSTRING
HIGHplugins/dbms/clickhouse/connector.py0copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permissionSTRING
HIGHplugins/dbms/clickhouse/syntax.py0copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permissionSTRING
HIGHplugins/dbms/postgresql/enumeration.py0copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permissionSTRING
HIGHplugins/dbms/postgresql/fingerprint.py0copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permissionSTRING
HIGHplugins/dbms/postgresql/filesystem.py0copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permissionSTRING
HIGHplugins/dbms/postgresql/__init__.py0copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permissionSTRING
HIGHplugins/dbms/postgresql/takeover.py0copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permissionSTRING
HIGHplugins/dbms/postgresql/connector.py0copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permissionSTRING
HIGHplugins/dbms/postgresql/syntax.py0copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permissionSTRING
HIGHplugins/dbms/presto/enumeration.py0copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permissionSTRING
HIGHplugins/dbms/presto/fingerprint.py0copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permissionSTRING
HIGHplugins/dbms/presto/filesystem.py0copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permissionSTRING
HIGHplugins/dbms/presto/__init__.py0copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permissionSTRING
HIGHplugins/dbms/presto/takeover.py0copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permissionSTRING
HIGHplugins/dbms/presto/connector.py0copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permissionSTRING
HIGHplugins/dbms/presto/syntax.py0copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permissionSTRING
HIGHplugins/dbms/h2/enumeration.py0copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permissionSTRING
HIGHplugins/dbms/h2/fingerprint.py0copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permissionSTRING
HIGHplugins/dbms/h2/filesystem.py0copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permissionSTRING
HIGHplugins/dbms/h2/__init__.py0copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permissionSTRING
HIGHplugins/dbms/h2/takeover.py0copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permissionSTRING
HIGHplugins/dbms/h2/connector.py0copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permissionSTRING
HIGHplugins/dbms/h2/syntax.py0copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permissionSTRING
HIGHplugins/dbms/virtuoso/enumeration.py0copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permissionSTRING
HIGHplugins/dbms/virtuoso/fingerprint.py0copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permissionSTRING
HIGHplugins/dbms/virtuoso/filesystem.py0copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permissionSTRING
HIGHplugins/dbms/virtuoso/__init__.py0copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permissionSTRING
HIGHplugins/dbms/virtuoso/takeover.py0copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permissionSTRING
HIGHplugins/dbms/virtuoso/connector.py0copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permissionSTRING
HIGHplugins/dbms/virtuoso/syntax.py0copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permissionSTRING
467 more matches not shown…
Hyper-Verbose Identifiers1589 hits · 1630 pts
SeverityFileLineSnippetContext
LOWtests/test_generic_takeover.py309 def test_remote_temp_path_posix(self):CODE
LOWtests/test_generic_takeover.py318 def test_remote_temp_path_windows_direct(self):CODE
LOWtests/test_generic_takeover.py327 def test_remote_temp_path_explicit_windows_drive(self):CODE
LOWtests/test_generic_takeover.py350 def test_get_version_from_banner(self):CODE
LOWtests/test_generic_takeover.py360 def test_get_version_from_banner_cached(self):CODE
LOWtests/test_generic_takeover.py368 def test_del_remote_file_posix(self):CODE
LOWtests/test_generic_takeover.py375 def test_del_remote_file_windows(self):CODE
LOWtests/test_generic_takeover.py384 def test_del_remote_file_empty_noop(self):CODE
LOWtests/test_generic_takeover.py565 def test_osbof_wrong_dbms_raises(self):CODE
LOWtests/test_generic_takeover.py572 def test_osbof_no_stacking_returns(self):CODE
LOWtests/test_generic_takeover.py580 def test_ossmb_non_windows_raises(self):CODE
LOWtests/test_generic_takeover.py163 def test_select_joins_listlike_rows(self):CODE
LOWtests/test_generic_takeover.py172 def test_select_scalar_passthrough(self):CODE
LOWtests/test_generic_takeover.py187 def test_metadb_suffix_stripped(self):CODE
LOWtests/test_generic_takeover.py202 def test_mssql_from_dbo_rewrite(self):CODE
LOWtests/test_generic_takeover.py216 def test_nonquery_without_stacking_warns_none(self):CODE
LOWtests/test_generic_takeover.py225 def test_nonquery_stacked_returns_null(self):CODE
LOWtests/test_generic_takeover.py239 def test_nonedata_exception_handled(self):CODE
LOWtests/test_generic_takeover.py253 def test_sqlfile_select_snippets(self):CODE
LOWtests/test_generic_takeover.py269 def test_sqlfile_nonselect_snippet(self):CODE
LOWtests/test_generic_takeover.py338 def test_remote_temp_path_mssql_errorlog(self):CODE
LOWtests/test_generic_takeover.py401 def test_create_support_tbl_mssql_cmdtbl(self):CODE
LOWtests/test_generic_takeover.py411 def test_like_or_exact_default(self):CODE
LOWtests/test_generic_takeover.py425 def test_like_or_exact_invalid(self):CODE
LOWtests/test_generic_takeover.py535 def test_reg_add_missing_key_raises(self):CODE
LOWtests/test_generic_takeover.py591 def test_ossmb_windows_invokes_smb(self):CODE
LOWtests/test_tamper.py67 def test_no_crash_returns_string(self):CODE
LOWtests/test_tamper.py82 def test_graceful_on_empty_and_none(self):CODE
LOWtests/test_tamper.py109 def test_previously_fragile_now_fixed(self):CODE
LOWtests/test_databases_enum.py145 def test_current_db_oracle_schema_warning_branch(self):CODE
LOWtests/test_databases_enum.py155 def test_get_dbs_direct_mysql(self):CODE
LOWtests/test_databases_enum.py164 def test_get_dbs_cached_short_circuit(self):CODE
LOWtests/test_databases_enum.py298 def test_columns_direct_mysql(self):CODE
LOWtests/test_databases_enum.py305 def test_columns_direct_pgsql(self):CODE
LOWtests/test_databases_enum.py309 def test_columns_direct_oracle_uppercase(self):CODE
LOWtests/test_databases_enum.py319 def test_columns_direct_mssql(self):CODE
LOWtests/test_databases_enum.py400 def test_count_single_table_mysql(self):CODE
LOWtests/test_databases_enum.py410 def test_count_dotted_table_splits_db(self):CODE
LOWtests/test_databases_enum.py420 def test_count_multiple_tables(self):CODE
LOWtests/test_databases_enum.py443 def test_statements_direct_mysql(self):CODE
LOWtests/test_databases_enum.py451 def test_statements_direct_pgsql(self):CODE
LOWtests/test_databases_enum.py459 def test_statements_inference(self):CODE
LOWtests/test_databases_enum.py176 def test_get_dbs_direct_pgsql_schema_branch(self):CODE
LOWtests/test_databases_enum.py184 def test_get_dbs_mysql_no_information_schema(self):CODE
LOWtests/test_databases_enum.py213 def test_get_dbs_fallback_to_current(self):CODE
LOWtests/test_databases_enum.py232 def test_get_tables_direct_mysql(self):CODE
LOWtests/test_databases_enum.py243 def test_get_tables_cached_short_circuit(self):CODE
LOWtests/test_databases_enum.py255 def test_get_tables_direct_pgsql(self):CODE
LOWtests/test_databases_enum.py265 def test_get_tables_inference(self):CODE
LOWtests/test_databases_enum.py367 def test_columns_inference_mysql(self):CODE
LOWtests/test_databases_enum.py504 def test_procedures_direct_pgsql(self):CODE
LOWtests/test_databases_enum.py512 def test_procedures_inference_mysql(self):CODE
LOWtests/test_databases_enum.py597 def test_get_columns_inference_pgsql_types(self):CODE
LOWtests/test_databases_enum.py626 def test_get_columns_inference_dump_mode_collist(self):CODE
LOWtests/test_databases_enum.py650 def test_get_count_over_cached_tables_inference(self):CODE
LOWtests/test_databases_enum.py674 def test_get_statements_count_zero_returns_empty(self):CODE
LOWtests/test_databases_enum.py685 def test_get_procedures_inference(self):CODE
LOWtests/test_databases_enum.py693 def test_get_dbs_mssql_inband_paging(self):CODE
LOWtests/test_databases_enum.py715 def test_get_tables_inference_grouped_per_db(self):CODE
LOWtests/test_databases_enum.py749 def test_get_columns_bruteforce_dumpmode_collist_on_decline(self):CODE
1529 more matches not shown…
Excessive Try-Catch Wrapping442 hits · 498 pts
SeverityFileLineSnippetContext
LOWsqlmap.py244 except Exception as ex:CODE
LOWsqlmap.py255 except Exception as ex:CODE
LOWsqlmap.py599 except Exception as ex:CODE
LOWsqlmap.py604 except Exception as ex:CODE
LOWplugins/dbms/cache/connector.py43 except Exception as ex:CODE
LOWplugins/dbms/cache/connector.py50 except Exception as ex:CODE
LOWplugins/dbms/cache/connector.py59 except Exception as ex:CODE
LOWplugins/dbms/cache/connector.py69 except Exception as ex:CODE
MEDIUMplugins/dbms/cache/connector.py56def fetchall(self):CODE
LOWplugins/dbms/mimersql/connector.py36 except Exception as ex:CODE
LOWplugins/dbms/snowflake/connector.py56 except Exception as ex:CODE
LOWplugins/dbms/snowflake/connector.py65 except Exception as ex:CODE
LOWplugins/dbms/snowflake/connector.py72 except Exception as ex:CODE
MEDIUMplugins/dbms/snowflake/connector.py62def fetchall(self):CODE
MEDIUMplugins/dbms/snowflake/connector.py69def execute(self, query):CODE
LOWplugins/dbms/hana/connector.py32 except Exception as ex:CODE
LOWplugins/dbms/hsqldb/connector.py43 except Exception as ex:CODE
LOWplugins/dbms/hsqldb/connector.py50 except Exception as ex:CODE
LOWplugins/dbms/hsqldb/connector.py59 except Exception as ex:CODE
LOWplugins/dbms/hsqldb/connector.py69 except Exception as ex:CODE
MEDIUMplugins/dbms/hsqldb/connector.py56def fetchall(self):CODE
LOWplugins/generic/connector.py54 except Exception as ex:CODE
MEDIUMplugins/generic/connector.py48def close(self):CODE
LOWtests/test_tamper.py75 except Exception as ex:CODE
LOWtests/test_tamper.py93 except Exception as ex:CODE
LOWtests/test_tamper.py100 except Exception as ex:CODE
LOWtests/_testutils.py203 except Exception as ex:CODE
LOWtests/test_deps.py90 except Exception:CODE
MEDIUMtests/test_deps.py87def _always_succeed(name, *args, **kwargs):CODE
LOWtests/test_xpath.py556 except Exception as e:CODE
LOWtests/test_jitter_stress.py138 except Exception:CODE
LOWtests/test_wordlist.py58 except Exception:CODE
LOWtests/test_report.py49 except Exception:CODE
LOWtests/test_boolean_jitter.py183 except Exception:CODE
LOWtests/test_target_parsing.py105 except Exception:CODE
LOWtests/test_target_parsing.py111 except Exception:CODE
MEDIUMtests/test_esperanto.py59def ask(cond):CODE
MEDIUMtests/test_esperanto.py338def ask(cond):CODE
MEDIUMtests/test_esperanto.py658def ask(cond):CODE
MEDIUMtests/test_esperanto.py677def ask(cond):CODE
MEDIUMtests/test_esperanto.py754def ask(cond):CODE
LOWtests/test_esperanto.py62 except Exception:CODE
LOWtests/test_esperanto.py103 except Exception:CODE
LOWtests/test_esperanto.py432 except Exception:CODE
LOWtests/test_esperanto.py612 except Exception:CODE
LOWtests/test_esperanto.py661 except Exception:CODE
LOWtests/test_esperanto.py680 except Exception:CODE
LOWtests/test_esperanto.py871 except Exception:CODE
LOWtests/test_esperanto.py1040 except Exception:CODE
LOWtests/test_esperanto.py1064 except Exception:CODE
LOWtests/test_esperanto.py1088 except Exception:CODE
LOWtests/test_serialize.py68 except Exception:CODE
LOWtests/test_serialize.py319 except Exception:CODE
LOWtests/test_wafbypass.py77 except Exception:CODE
LOWtests/test_bigarray.py46 except Exception:CODE
LOWtests/test_hashdb.py43 except Exception:CODE
MEDIUMtests/test_hashdb.py40def tearDown(self):CODE
MEDIUMtests/test_api.py114def tearDown(self):CODE
LOWtests/test_api.py117 except Exception:CODE
MEDIUMtests/test_dump_format.py425def tearDown(self):CODE
382 more matches not shown…
Deep Nesting496 hits · 444 pts
SeverityFileLineSnippetContext
LOWsqlmap.py161CODE
LOWplugins/dbms/sybase/enumeration.py116CODE
LOWplugins/dbms/sybase/enumeration.py164CODE
LOWplugins/dbms/sybase/fingerprint.py63CODE
LOWplugins/dbms/postgresql/fingerprint.py28CODE
LOWplugins/dbms/postgresql/fingerprint.py96CODE
LOWplugins/dbms/postgresql/takeover.py145CODE
LOWplugins/dbms/presto/fingerprint.py81CODE
LOWplugins/dbms/maxdb/enumeration.py63CODE
LOWplugins/dbms/maxdb/enumeration.py103CODE
LOWplugins/dbms/oracle/enumeration.py29CODE
LOWplugins/dbms/hsqldb/fingerprint.py66CODE
LOWplugins/dbms/mysql/fingerprint.py32CODE
LOWplugins/dbms/mysql/fingerprint.py107CODE
LOWplugins/dbms/mysql/fingerprint.py183CODE
LOWplugins/dbms/mssqlserver/enumeration.py69CODE
LOWplugins/dbms/mssqlserver/enumeration.py173CODE
LOWplugins/dbms/mssqlserver/enumeration.py278CODE
LOWplugins/dbms/db2/fingerprint.py25CODE
LOWplugins/generic/misc.py38CODE
LOWplugins/generic/misc.py118CODE
LOWplugins/generic/databases.py101CODE
LOWplugins/generic/databases.py215CODE
LOWplugins/generic/databases.py489CODE
LOWplugins/generic/databases.py1101CODE
LOWplugins/generic/databases.py1184CODE
LOWplugins/generic/databases.py858CODE
LOWplugins/generic/enumeration.py41CODE
LOWplugins/generic/custom.py42CODE
LOWplugins/generic/custom.py96CODE
LOWplugins/generic/custom.py141CODE
LOWplugins/generic/users.py100CODE
LOWplugins/generic/users.py170CODE
LOWplugins/generic/users.py377CODE
LOWplugins/generic/filesystem.py50CODE
LOWplugins/generic/filesystem.py145CODE
LOWplugins/generic/filesystem.py229CODE
LOWplugins/generic/filesystem.py302CODE
LOWplugins/generic/takeover.py109CODE
LOWplugins/generic/search.py51CODE
LOWplugins/generic/search.py144CODE
LOWplugins/generic/search.py349CODE
LOWplugins/generic/syntax.py25CODE
LOWplugins/generic/entries.py68CODE
LOWplugins/generic/entries.py617CODE
LOWplugins/generic/entries.py658CODE
LOWplugins/generic/entries.py725CODE
LOWplugins/generic/entries.py204CODE
LOWplugins/generic/entries.py497CODE
LOWtamper/space2comment.py16CODE
LOWtamper/space2mysqlblank.py21CODE
LOWtamper/charunicodeescape.py14CODE
LOWtamper/overlongutf8more.py17CODE
LOWtamper/randomcase.py20CODE
LOWtamper/charunicodeencode.py19CODE
LOWtamper/space2mysqldash.py20CODE
LOWtamper/space2dash.py16CODE
LOWtamper/randomcomments.py17CODE
LOWtamper/ifnull2ifisnull.py16CODE
LOWtamper/space2plus.py16CODE
436 more matches not shown…
Cross-Language Confusion50 hits · 328 pts
SeverityFileLineSnippetContext
HIGHplugins/dbms/spanner/syntax.py17 than chaining multiple CHR() functions with the || operator.STRING
HIGHtests/test_xpath.py189 return '{"count":7,"entries":[{...}]}' if int(m.group(1)) == 2 else '{"count":0,"entries":[],"error":nulCODE
HIGHtests/test_xpath.py193 return '{"count":0,"entries":[],"error":null}'CODE
HIGHtests/test_graphql.py304 # P0-3: the FALSE payload trips a stable HTTP-200 resolver error ({data:null, errors:[...]}),COMMENT
HIGHtests/test_graphql.py305 # which yields the same {"user":null} observation as a genuine false. That is NOT a booleanCOMMENT
HIGHtests/test_graphql.py310 return '{"data":{"user":null},"errors":[{"message":"resolver failed","path":["user"]}]}', 200CODE
HIGHtests/test_graphql.py317 self.assertTrue(gi._hasErrors('{"data":{"user":null},"errors":[{"message":"x"}]}'))CODE
HIGHtests/test_graphql.py318 self.assertFalse(gi._hasErrors('{"data":{"user":null}}'))CODE
HIGHtests/test_graphql.py320 self.assertTrue(gi._aliasErrored('{"data":{"a0":null},"errors":[{"message":"e","path":["a0"]}]}', "a0"))CODE
HIGHtests/test_graphql.py833 NOMATCHV = '{"data":{"createUser":null}}'CODE
HIGHtests/test_graphql.py963 return '{"data":{"user":null}}', 200 # 'user' is a real (resolving) fieldCODE
HIGHtests/test_graphql.py24NOMATCH = '{"data":{"user":null}}'CODE
HIGHtests/test_graphql.py393 page = '{"data":{"user":null}}'CODE
HIGHtests/test_graphql.py684 NOMATCHV = '{"data":{"user":null}}'CODE
HIGHtests/test_payload_marking.py149 ('{"b":true,"n":null}', '{"b":true*,"n":null*}'),CODE
HIGHtests/test_union_engine.py179 fields = self._dump('[{"a":0,"b":"","c":"ok","d":null}]')CODE
HIGHtests/test_report.py164 # DB NULL (" ") -> JSON null; genuine empty string ("") preservedCOMMENT
HIGHtests/test_nosql.py572 page = '{"results": [{"id": 1, "username": "luther", "password": null}, {"id": 2, "username": "fluffy"}]}'CODE
HIGHtests/test_nosql.py793 self.assertEqual(out, '{"name": {"$ne": null}, "role": "user"}')CODE
HIGHtests/test_nosql.py819 self.assertEqual(out, '{"note":"name: old", "name":{"$ne": null}}')CODE
HIGHtests/test_nosql.py844 self.assertEqual(out, '{"outer": {"name": {"$ne": null}}}')CODE
HIGHtests/test_nosql.py530 self.assertEqual(vector.bypass, '{"$ne": null}')CODE
HIGHtests/test_nosql.py673 self.assertEqual(bypass, "1 || 1==1")CODE
HIGHtests/test_dump_jsonl.py15left intact (NOT collapsed to null), and a strict one-object-per-line layout.STRING
HIGHtests/test_dump_jsonl.py106 # sqlmap stores a DB NULL as a single space (" "); the machine format must emit JSON null,COMMENT
HIGHtests/test_dump_jsonl.py120 # a column whose values list is short for this row index must serialize as null, not crashCOMMENT
HIGHtests/test_xslt.py73 "cat /etc/passwd && id",CODE
HIGHtests/test_heuristic_signatures.py93 ("ssti", "Struts2 OGNL", "ognl.OgnlException: target is null for setProperty(null, \"x\", [Ljava.lang.String;)"),CODE
HIGHtests/test_techniques.py1377 self.assertIsNone(gql._parseRows('{"data": {"user": null}}', None))CODE
HIGHextra/vulnserver/vulnserver.py1196 return None # returns null in data (boolean oracle: true=object, false=null)CODE
HIGHlib/core/target.py186 conf.data = re.sub(r'("(?P<name>[^"]+)"\s*:\s*)((true|false|null))\b', functools.partial(process, reCODE
HIGHlib/techniques/graphql/inject.py85_NOSQL_NE = '{"$ne": null}'CODE
HIGHlib/techniques/graphql/inject.py349 # Render a parsed JSON value as a single dump cell: NULL for null, compact JSONCOMMENT
HIGHlib/techniques/graphql/inject.py928 # `ADMIN` unquoted, list `[1, 2]`, object `{a: 1}`, null, number, or a quoted string) and is emittedCOMMENT
HIGHlib/techniques/graphql/inject.py1166 # aliases (which may still be null) get classified as clean false observations.COMMENT
HIGHlib/techniques/odata/inject.py333 payload = _wrap(boundary, "(%s ne null)" % randomStr(length=12, lowercase=True))CODE
HIGHlib/techniques/odata/inject.py343 payload = _wrap(boundary, "(%s ne null)" % field)CODE
HIGHlib/techniques/nosql/inject.py509 template = _boolean(lambda: _fetchValue(place, parameter, "%s || 1==1" % value), lambda: _fetchValue(place, parameteCODE
HIGHlib/techniques/nosql/inject.py509 template = _boolean(lambda: _fetchValue(place, parameter, "%s || 1==1" % value), lambda: _fetchValue(place, parameteCODE
HIGHlib/techniques/nosql/inject.py514 lambda p: "%s || %s || 1==2" % (value, p),CODE
HIGHlib/techniques/nosql/inject.py515 lambda p: "%s || %s || 1==2" % (value, p), _AQL_PREDICATES):CODE
HIGHlib/techniques/nosql/inject.py516 return "ArangoDB", template, "%s || 1==1" % valueCODE
HIGHlib/techniques/nosql/inject.py1256 # like '{"$ne": null}' that was never sent - `null` can behave differently server-sideCOMMENT
HIGHlib/techniques/nosql/inject.py1011 template=template, bypass='{"$ne": null}', falseModel=falseModel)CODE
HIGHlib/techniques/nosql/inject.py1240 if vector.bypass == '{"$ne": null}':CODE
HIGHlib/techniques/nosql/inject.py288 that is a string, number, bool/null, object, array, or regex-with-flags, and preserves the rest ofSTRING
HIGHthirdparty/identywaf/identYwaf.py68 | T | \ / [_ | _ Yl_j l_j`| ~ |`| | | |Y o || l_CODE
HIGHthirdparty/bottle/bottle.py1135 default_app.push(self)CODE
HIGHthirdparty/bottle/bottle.py2618 return self.push()CODE
HIGHthirdparty/bottle/bottle.py3870 tmp = default_app.push() # Create a new "default application"CODE
Decorative Section Separators53 hits · 189 pts
SeverityFileLineSnippetContext
MEDIUMtests/test_dbms_enum.py299# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_dbms_enum.py302# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_dbms_enum.py568# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_dbms_enum.py570# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_dbms_enum.py630# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_dbms_enum.py632# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_dbms_enum.py645# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_dbms_enum.py647# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_dbms_enum.py666# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_dbms_enum.py668# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_dbms_enum.py690# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_dbms_enum.py692# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_dbms_enum.py37# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_dbms_enum.py39# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_dbms_enum.py112# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_dbms_enum.py114# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_dbms_enum.py405# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_dbms_enum.py407# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_dbms_enum.py504# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_dbms_enum.py506# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_api.py135# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_api.py137# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_api.py311# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_api.py313# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_techniques.py772# ===========================================================================COMMENT
MEDIUMtests/test_techniques.py774# ===========================================================================COMMENT
MEDIUMtests/test_techniques.py962# ===========================================================================COMMENT
MEDIUMtests/test_techniques.py964# ===========================================================================COMMENT
MEDIUMtests/test_techniques.py61# ===========================================================================COMMENT
MEDIUMtests/test_techniques.py63# ===========================================================================COMMENT
MEDIUMtests/test_techniques.py293# ===========================================================================COMMENT
MEDIUMtests/test_techniques.py295# ===========================================================================COMMENT
MEDIUMtests/test_techniques.py463# ===========================================================================COMMENT
MEDIUMtests/test_techniques.py465# ===========================================================================COMMENT
MEDIUMtests/test_techniques.py1391# ===========================================================================COMMENT
MEDIUMtests/test_techniques.py1393# ===========================================================================COMMENT
MEDIUMthirdparty/clientform/clientform.py48# -------------------------------------------------COMMENT
MEDIUMthirdparty/clientform/clientform.py1309#---------------------------------------------------COMMENT
MEDIUMthirdparty/clientform/clientform.py1387#---------------------------------------------------COMMENT
MEDIUMthirdparty/clientform/clientform.py1407#---------------------------------------------------COMMENT
MEDIUMthirdparty/clientform/clientform.py1511#---------------------------------------------------COMMENT
MEDIUMthirdparty/clientform/clientform.py1581#---------------------------------------------------COMMENT
MEDIUMthirdparty/clientform/clientform.py1616#---------------------------------------------------COMMENT
MEDIUMthirdparty/clientform/clientform.py2450#---------------------------------------------------COMMENT
MEDIUMthirdparty/clientform/clientform.py2488#---------------------------------------------------COMMENT
MEDIUMthirdparty/clientform/clientform.py2766#---------------------------------------------------COMMENT
MEDIUMthirdparty/clientform/clientform.py2890#---------------------------------------------------COMMENT
MEDIUMthirdparty/clientform/clientform.py2900#---------------------------------------------------COMMENT
MEDIUMthirdparty/clientform/clientform.py3008#---------------------------------------------------COMMENT
MEDIUMthirdparty/clientform/clientform.py3064#---------------------------------------------------COMMENT
MEDIUMthirdparty/clientform/clientform.py3099#---------------------------------------------------COMMENT
MEDIUMthirdparty/clientform/clientform.py3188#---------------------------------------------------COMMENT
MEDIUMthirdparty/clientform/clientform.py3237#---------------------------------------------------COMMENT
Over-Commented Block109 hits · 106 pts
SeverityFileLineSnippetContext
LOWplugins/generic/entries.py521 return agent.whereQuery(query)COMMENT
LOWtamper/space2mssqlblank.py41 # SOH 01 start of headingCOMMENT
LOWextra/shutils/strip.sh1#!/bin/bashCOMMENT
LOWextra/esperanto/extraction.py461 # extraction needs BOTH length and substring to work; length may implicitlyCOMMENT
LOWextra/runcmd/src/runcmd/stdafx.h1// stdafx.h : include file for standard system include files,COMMENT
LOWextra/runcmd/src/runcmd/stdafx.cpp1// stdafx.cpp : source file that includes just the standard includesCOMMENT
LOWextra/icmpsh/icmpsh-m.c21#include <sys/socket.h>COMMENT
LOWextra/icmpsh/__init__.py1#!/usr/bin/env pythonCOMMENT
LOWextra/icmpsh/icmpsh-s.c21#include <winsock2.h>COMMENT
LOWextra/icmpsh/icmpsh_m.py1#!/usr/bin/env pythonCOMMENT
LOWextra/icmpsh/icmpsh-m.pl1#!/usr/bin/env perlCOMMENT
LOWextra/boundarycheck/run.sh1#!/usr/bin/env bashCOMMENT
LOWlib/core/compat.py61COMMENT
LOWlib/core/convert.py41# and BigArray disk chunks. The former serializer could execute code while loading, soCOMMENT
LOWlib/core/settings.py221COMMENT
LOWlib/core/settings.py621# frequency model warms up. Magnitude is small so genuine learned counts overtake it within a few dozenCOMMENT
LOWlib/core/settings.py641COMMENT
LOWlib/core/settings.py661LOW_CARDINALITY_MAX_GUESSES = 8COMMENT
LOWlib/core/settings.py1241# from the first hit only. An explicit '--file-read' is a deliberate request and still gets the fullCOMMENT
LOWlib/core/settings.py1261 (".NET XslCompiledTransform", r"System\.Xml\.Xsl\.(?:XslLoadException|XsltException)"),COMMENT
LOWlib/core/settings.py1381# Out-of-band (interactsh) collector for blind XXE confirmation. Public defaultCOMMENT
LOWlib/core/settings.py1661COMMENT
LOWlib/utils/sqllint.py61# number is excluded because some dialects legitimately space-separate twoCOMMENT
LOWlib/utils/sqllint.py81# a schema filter appended onto a base query that already carries a WHERE).COMMENT
LOWlib/controller/checks.py161 # If the DBMS has not yet been fingerprinted (via simple heuristic checkCOMMENT
LOWlib/controller/action.py61 from lib.techniques.blind import multibitCOMMENT
LOWlib/request/timeless.py1#!/usr/bin/env pythonCOMMENT
LOWlib/request/timeless.py141# populations a cond-last vote can be drawn from:COMMENT
LOWlib/request/timeless.py161SPRT_ERROR = 0.02 # bound on BOTH the false-positive and the false-negative rateCOMMENT
LOWlib/request/timeless.py261 return proxy_tuple(conf.proxy, conf.proxyCred)COMMENT
LOWlib/request/timeless.py641 andVector = andVector or vectorCOMMENT
LOWlib/request/timeless.py661# Oracle, Microsoft SQL Server, Sybase, SQLite, Firebird, ClickHouse, IBM DB2, Informix, HSQLDB, SAP MaxDB.COMMENT
LOWlib/request/timeless.py701 # no entry -> they gracefully fall back to classic time-based (SLEEP/heavy-query) extraction.COMMENT
LOWlib/request/timeless.py721# gates the WORK AMOUNT (the count) rather than selecting between a heavy and a cheap CASE branch. This isCOMMENT
LOWlib/request/timeless.py881 cheapPair = _pairMs(conn, reqFast, reqFast, timeout=timeout)COMMENT
LOWlib/techniques/blind/inference.py401COMMENT
LOWlib/techniques/sparql/inject.py81COMMENT
LOWlib/techniques/xpath/inject.py161 if conf.verbose >= 3:COMMENT
LOWlib/techniques/hql/inject.py241COMMENT
LOWlib/techniques/graphql/inject.py101# Per-DBMS building blocks for blind inference and enumeration, driven by the boolean/time oracleCOMMENT
LOWlib/techniques/nosql/inject.py81# the parameter is plainly SQL-injectable (not NoSQL); surfaced as a hint when nothing NoSQL matchesCOMMENT
LOWlib/techniques/nosql/inject.py681 raise InconclusiveError()COMMENT
LOWthirdparty/wininetpton/__init__.py1#!/usr/bin/env pythonCOMMENT
LOWthirdparty/wininetpton/win_inet_pton.py21 # InetNtopW(COMMENT
LOWthirdparty/chardet/mbcssm.py1######################## BEGIN LICENSE BLOCK ########################COMMENT
LOWthirdparty/chardet/compat.py1######################## BEGIN LICENSE BLOCK ########################COMMENT
LOWthirdparty/chardet/euckrprober.py1######################## BEGIN LICENSE BLOCK ########################COMMENT
LOWthirdparty/chardet/sjisprober.py1######################## BEGIN LICENSE BLOCK ########################COMMENT
LOWthirdparty/chardet/cp949prober.py1######################## BEGIN LICENSE BLOCK ########################COMMENT
LOWthirdparty/chardet/__init__.py1######################## BEGIN LICENSE BLOCK ########################COMMENT
LOWthirdparty/chardet/euctwfreq.py1######################## BEGIN LICENSE BLOCK ########################COMMENT
LOWthirdparty/chardet/euctwfreq.py21#COMMENT
LOWthirdparty/chardet/chardistribution.py1######################## BEGIN LICENSE BLOCK ########################COMMENT
LOWthirdparty/chardet/latin1prober.py1######################## BEGIN LICENSE BLOCK ########################COMMENT
LOWthirdparty/chardet/charsetprober.py1######################## BEGIN LICENSE BLOCK ########################COMMENT
LOWthirdparty/chardet/gb2312prober.py1######################## BEGIN LICENSE BLOCK ########################COMMENT
LOWthirdparty/chardet/mbcharsetprober.py1######################## BEGIN LICENSE BLOCK ########################COMMENT
LOWthirdparty/chardet/euctwprober.py1######################## BEGIN LICENSE BLOCK ########################COMMENT
LOWthirdparty/chardet/codingstatemachine.py1######################## BEGIN LICENSE BLOCK ########################COMMENT
LOWthirdparty/chardet/escprober.py1######################## BEGIN LICENSE BLOCK ########################COMMENT
49 more matches not shown…
Unused Imports66 hits · 66 pts
SeverityFileLineSnippetContext
LOWsqlmap.py8CODE
LOWsqlmap.py676CODE
LOWsqlmap.py676CODE
LOWsqlmap.py676CODE
LOWplugins/generic/custom.py8CODE
LOWextra/shutils/newlines.py3CODE
LOWextra/shutils/duplicates.py8CODE
LOWextra/cloak/cloak.py10CODE
LOWextra/esperanto/__init__.py24CODE
LOWextra/esperanto/__init__.py25CODE
LOWextra/esperanto/__init__.py26CODE
LOWextra/esperanto/__init__.py27CODE
LOWextra/esperanto/__init__.py27CODE
LOWextra/esperanto/__init__.py27CODE
LOWextra/esperanto/__init__.py27CODE
LOWextra/esperanto/__init__.py27CODE
LOWextra/esperanto/__init__.py27CODE
LOWextra/esperanto/__init__.py28CODE
LOWextra/esperanto/__init__.py28CODE
LOWextra/esperanto/atlas.py14CODE
LOWextra/dbgtool/dbgtool.py10CODE
LOWextra/boundarycheck/boundarycheck.py56CODE
LOWextra/vulnserver/vulnserver.py10CODE
LOWlib/core/subprocessng.py8CODE
LOWlib/core/compat.py8CODE
LOWlib/core/option.py8CODE
LOWlib/core/threads.py8CODE
LOWlib/core/common.py8CODE
LOWlib/parse/cmdline.py8CODE
LOWlib/utils/brute.py8CODE
LOWlib/utils/sgmllib.py13CODE
LOWlib/utils/hash.py8CODE
LOWlib/utils/api.py9CODE
LOWlib/utils/progress.py8CODE
LOWlib/utils/crawler.py8CODE
LOWlib/takeover/metasploit.py8CODE
LOWlib/takeover/abstraction.py8CODE
LOWlib/controller/controller.py8CODE
LOWlib/request/dns.py8CODE
LOWlib/request/comparison.py8CODE
LOWlib/request/inject.py8CODE
LOWlib/techniques/blind/inference.py8CODE
LOWlib/techniques/error/use.py8CODE
LOWthirdparty/chardet/__init__.py21CODE
LOWthirdparty/chardet/__init__.py21CODE
LOWthirdparty/colorama/__init__.py2CODE
LOWthirdparty/colorama/__init__.py2CODE
LOWthirdparty/colorama/__init__.py2CODE
LOWthirdparty/colorama/__init__.py2CODE
LOWthirdparty/colorama/__init__.py2CODE
LOWthirdparty/colorama/__init__.py3CODE
LOWthirdparty/colorama/__init__.py3CODE
LOWthirdparty/colorama/__init__.py3CODE
LOWthirdparty/colorama/__init__.py3CODE
LOWthirdparty/colorama/__init__.py4CODE
LOWthirdparty/identywaf/identYwaf.py11CODE
LOWthirdparty/beautifulsoup/beautifulsoup.py79CODE
LOWthirdparty/beautifulsoup/beautifulsoup.py80CODE
LOWthirdparty/beautifulsoup/beautifulsoup.py1766CODE
LOWthirdparty/beautifulsoup/beautifulsoup.py1770CODE
6 more matches not shown…
AI Slop Vocabulary14 hits · 33 pts
SeverityFileLineSnippetContext
MEDIUMtests/test_fingerprint.py67# output. (In the test harness Backend.getDbms() is None because set_dbms usesCOMMENT
MEDIUMtests/_testutils.py148# --- property/fuzz testing harness (shared so individual test files don't each reinvent it) ---COMMENT
MEDIUMtests/test_jitter_stress.py46# no-ops (defeating sqlmap's main per-request-spike defense and making this harness far too pessimistic).COMMENT
LOWtests/test_brute.py91 # runThreads -> just call the worker once synchronouslyCOMMENT
LOWtests/test_target_parsing.py345 _resumeDBMS() # nothing stored: must just returnCODE
LOWtests/test_hash_crack.py191 # must simply return without touching anythingCOMMENT
MEDIUMextra/esperanto/run.py12 python run.py --live # local DBMS dev harnessSTRING
MEDIUMextra/esperanto/__main__.py698 # internal dev/test harness switches - functional but hidden from --help (--live drives theCOMMENT
MEDIUMextra/esperanto/__main__.py711 print(_banner()) # CLI identity (after the dev-harness paths above)CODE
MEDIUMlib/core/common.py2912 if mad <= 0: # degenerate (near-constant model) - nothing robust to trim onCODE
MEDIUMlib/core/settings.py263# delay threshold and miss genuine delays. Deliberately wide (~10 robust sigmas) so a clean model isCOMMENT
MEDIUMlib/techniques/nosql/inject.py597# makes attribution robust to an injection context that rejects any one function AND, by WHICH membersCOMMENT
LOWlib/techniques/nosql/inject.py578 # name could change the PREDICATE STRUCTURE (not just add a filter) once interpolated, so it isCOMMENT
MEDIUMthirdparty/beautifulsoup/beautifulsoup.py1456 # haven't already gone through a supposedly comprehensiveCOMMENT
Redundant / Tautological Comments11 hits · 20 pts
SeverityFileLineSnippetContext
LOWplugins/dbms/mysql/fingerprint.py251 # Check if it is MySQL >= 5.7COMMENT
LOWplugins/dbms/mysql/fingerprint.py255 # Check if it is MySQL >= 5.6COMMENT
LOWplugins/dbms/mysql/fingerprint.py259 # Check if it is MySQL >= 5.5COMMENT
LOWplugins/dbms/mysql/fingerprint.py263 # Check if it is MySQL >= 5.1.2 and < 5.5.0COMMENT
LOWplugins/dbms/mysql/fingerprint.py276 # Check if it is MySQL >= 5.0.0 and < 5.1.2COMMENT
LOWlib/core/common.py2727 # Check if the common output (item) starts with prevValueCOMMENT
LOWlib/core/settings.py385# Check if running in terminalCOMMENT
LOWlib/utils/tui.py797 # Check if process endedCOMMENT
LOWlib/utils/tui.py912 # Check if ncurses is availableCOMMENT
LOWthirdparty/chardet/charsetprober.py122 # Check if we're coming out of or entering an HTML tagCOMMENT
LOWthirdparty/socks/socks.py661 # Check if the destination address provided is an IP addressCOMMENT
Modern AI Meta-Vocabulary5 hits · 16 pts
SeverityFileLineSnippetContext
MEDIUMtests/test_dump_jsonl.py96 # unlike CSV (header row) / HTML (doc scaffold), JSONL must be pure data linesCOMMENT
MEDIUMtests/test_filesystem.py221 # Drive the generic readFile orchestration with a stubbed stackedReadFileCOMMENT
MEDIUMtests/test_filesystem.py621 # Drive the full inject orchestration with the file write succeeding:COMMENT
MEDIUMtests/test_techniques.py265 # session to run; stub it so unionUse()'s orchestration + parse is what is exercised.COMMENT
MEDIUMdata/txt/common-files.txt1811# Containers and orchestration secretsCOMMENT
Self-Referential Comments5 hits · 14 pts
SeverityFileLineSnippetContext
MEDIUMextra/icmpsh/icmpsh_m.py66 # Create a new IP packet and set its source and destination addressesCOMMENT
MEDIUMextra/icmpsh/icmpsh_m.py71 # Create a new ICMP packet of type ECHO REPLYCOMMENT
MEDIUMlib/core/option.py1431 # Create a custom boundary object for user's supplied prefixCOMMENT
MEDIUMthirdparty/pydes/pyDes.py459 # Create the 16 subkeys, K[1] - K[16]COMMENT
MEDIUMthirdparty/bottle/bottle.py3870 tmp = default_app.push() # Create a new "default application"CODE
AI Structural Patterns14 hits · 12 pts
SeverityFileLineSnippetContext
LOWplugins/dbms/h2/filesystem.py26CODE
LOWplugins/dbms/mysql/filesystem.py40CODE
LOWlib/request/connect.py1140CODE
LOWlib/request/http2.py1473CODE
LOWlib/request/http2.py1578CODE
LOWlib/request/inject.py630CODE
LOWlib/techniques/ldap/inject.py341CODE
LOWthirdparty/beautifulsoup/beautifulsoup.py1101CODE
LOWthirdparty/clientform/clientform.py944CODE
LOWthirdparty/clientform/clientform.py978CODE
LOWthirdparty/clientform/clientform.py1090CODE
LOWthirdparty/clientform/clientform.py2769CODE
LOWthirdparty/socks/socks.py194CODE
LOWthirdparty/bottle/bottle.py3882CODE
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICALlib/techniques/ssti/inject.py97 (("${self.module.runtime.util.os.popen('{CMD}').read()}", "self.module.runtime.util.os.popen"),CODE
Modern Structural Boilerplate8 hits · 8 pts
SeverityFileLineSnippetContext
LOWsqlmap.py679__all__ = ["scan", "scanFromRequest", "SqlmapError"]CODE
LOWextra/esperanto/__init__.py30__all__ = ["Esperanto", "hostExtract", "buildHandler", "Cap", "ExtractResult", "BulkResult", "Dialect", "InferenceStrateCODE
LOWextra/esperanto/atlas.py508__all__ = [_n for _n in list(globals()) if not _n.startswith('__') and _n != 'binascii']CODE
LOWlib/utils/library.py19__all__ = ["scan", "scanFromRequest", "SqlmapError"]CODE
LOWlib/utils/sgmllib.py22__all__ = ["SGMLParser", "SGMLParseError"]CODE
LOWthirdparty/chardet/__init__.py24__all__ = ['UniversalDetector', 'detect', 'detect_all', '__version__', 'VERSION']CODE
LOWthirdparty/clientform/clientform.py59__all__ = ['AmbiguityError', 'CheckboxControl', 'Control',CODE
LOWthirdparty/fcrypt/fcrypt.py42__all__ = ['crypt']CODE
Fake / Example Data7 hits · 6 pts
SeverityFileLineSnippetContext
LOWtests/test_ldap.py338 oracle = _mockOracle("admin@example.com")CODE
LOWtests/test_ldap.py341 self.assertEqual(value, "admin@example.com")CODE
LOWtests/test_sparql.py29 ("http://example.org/p1", "http://xmlns.com/foaf/0.1/mbox", "luther@example.org"),CODE
LOWtests/test_hash_crack.py176 # the synthesised key uses the dummy-user prefix and maps to the bare hashCOMMENT
LOWextra/vulnserver/vulnserver.py362 ("http://example.org/p1", "http://xmlns.com/foaf/0.1/mbox", "luther@example.org"),CODE
LOWlib/core/common.py3404 >>> findDynamicContent("Lorem ipsum dolor sit amet, congue tation referrentur ei sed. Ne nec legimus habemus recusabSTRING
LOWlib/core/common.py3404 >>> findDynamicContent("Lorem ipsum dolor sit amet, congue tation referrentur ei sed. Ne nec legimus habemus recusabSTRING
Slop Phrases1 hit · 0 pts
SeverityFileLineSnippetContext
LOWthirdparty/clientform/clientform.py348 Warning: don't forget to call lastpart()!STRING