Repository Analysis

sherlock-project/sherlock

Hunt down social media accounts by username across social networks

8.2 Low AI signal View on GitHub
8.2
Adjusted Score
8.2
Raw Score
100%
Time Factor
2026-05-30
Last Push
84,206
Stars
Python
Language
8,819
Lines of Code
43
Files
46
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 5MEDIUM 4LOW 37

Pattern Findings

46 matches across 6 categories. Click a row to expand file-level details.

Cross-File Repetition5 hits · 25 pts
SeverityFileLineSnippet
HIGHsherlock_project/notify.py0convert object to string. keyword arguments: self -- this object. return value: nicely formatted string to get informati
HIGHsherlock_project/notify.py0convert object to string. keyword arguments: self -- this object. return value: nicely formatted string to get informati
HIGHsherlock_project/result.py0convert object to string. keyword arguments: self -- this object. return value: nicely formatted string to get informati
HIGHsherlock_project/result.py0convert object to string. keyword arguments: self -- this object. return value: nicely formatted string to get informati
HIGHsherlock_project/sites.py0convert object to string. keyword arguments: self -- this object. return value: nicely formatted string to get informati
Excessive Try-Catch Wrapping14 hits · 18 pts
SeverityFileLineSnippet
MEDIUMdevel/summarize_site_validation.py68 print(f"Error: File '{xml_path}' does not exist.")
LOWsherlock_project/sherlock.py373 except Exception:
LOWsherlock_project/sherlock.py377 except Exception:
LOWsherlock_project/sherlock.py469 except Exception:
LOWsherlock_project/sherlock.py478 except Exception:
LOWsherlock_project/sherlock.py714 except Exception as error:
LOWsherlock_project/sherlock.py768 except Exception as error:
MEDIUMsherlock_project/sherlock.py798 print(f"Error: Desired sites not found: {', '.join(site_missing)}.")
LOWsherlock_project/sites.py128 except Exception as error:
LOWsherlock_project/sites.py139 except Exception as error:
LOWsherlock_project/sites.py150 except Exception as error:
LOWsherlock_project/sites.py179 except Exception:
MEDIUM.github/workflows/validate_modified_targets.yml67 print(f"Error: Could not find {e.filename}", file=sys.stderr)
MEDIUM.github/workflows/validate_modified_targets.yml70 print(f"Error: Could not decode JSON from a file - {e}", file=sys.stderr)
Hyper-Verbose Identifiers17 hits · 17 pts
SeverityFileLineSnippet
LOWtests/test_unicode.py8def _make_future_with_exception(exc):
LOWtests/test_unicode.py15def test_get_response_handles_unicode_decode_error():
LOWtests/test_unicode.py35def test_get_response_handles_unicode_encode_error():
LOWtests/few_test_basic.py6def test_username_via_message():
LOWtests/test_probes.py30 def test_known_positives_via_message(self, sites_info, site, username):
LOWtests/test_probes.py41 def test_known_positives_via_status_code(self, sites_info, site, username):
LOWtests/test_probes.py50 def test_known_positives_via_response_url(self, sites_info, site, username):
LOWtests/test_probes.py62 def test_likely_negatives_via_message(self, sites_info, site, random_len):
LOWtests/test_probes.py84 def test_likely_negatives_via_status_code(self, sites_info, site, random_len):
LOWtests/test_probes.py98def test_username_illegal_regex(sites_info):
LOWtests/test_manifest.py6def test_validate_manifest_against_local_schema():
LOWtests/test_manifest.py23def test_validate_manifest_against_remote_schema(remote_schema):
LOWtests/test_manifest.py38def test_site_list_iterability (sites_info, target_name, target_expected_err_type):
LOWtests/sherlock_interactives.py23 def walk_sherlock_for_files_with(pattern: str) -> list[str]:
LOWtests/test_ux.py18def test_nsfw_explicit_selection(sites_obj, nsfwsites):
LOWtests/test_ux.py26def test_wildcard_username_expansion():
LOWtests/test_ux.py41def test_no_usernames_provided(cliargs):
Redundant / Tautological Comments4 hits · 6 pts
SeverityFileLineSnippet
LOWsherlock_project/sherlock.py341 # Open the file containing account links
LOWsherlock_project/sherlock.py728 # Check if both output methods are entered as input.
LOWsherlock_project/sherlock.py755 # Check if it's a valid pull request
LOWsherlock_project/__main__.py14 # Check if the user is using the correct version of Python
Deep Nesting5 hits · 5 pts
SeverityFileLineSnippet
LOWtests/sherlock_interactives.py23
LOWsherlock_project/sherlock.py173
LOWsherlock_project/sherlock.py541
LOWsherlock_project/notify.py176
LOWsherlock_project/sites.py79
Unused Imports1 hit · 1 pts
SeverityFileLineSnippet
LOWsherlock_project/sherlock.py13