Repository Analysis

DefectDojo/django-DefectDojo

Open-Source Unified Vulnerability Management, DevSecOps & ASPM

10.0 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of DefectDojo/django-DefectDojo, a HTML project with 4,911 GitHub stars. SynthScan v2.0 examined 1,731,987 lines of code across 6727 source files, recording 8329 pattern matches distributed across 24 syntactic categories. The overall adjusted score of 10.0 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).

10.0
Adjusted Score
10.0
Raw Score
100%
Time Factor
2026-08-29
Last Push
4.9K
Stars
HTML
Language
1.7M
Lines of Code
6.7K
Files
8.3K
Pattern Hits
2026-08-29
Scan Date
0.17
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 971HIGH 151MEDIUM 673LOW 6534

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 8329 distinct pattern matches across 24 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.

Hallucination Indicators971 hits · 7715 pts
SeverityFileLineSnippetContext
CRITICALdojo/models.py12from django.core.exceptions import ValidationErrorCODE
CRITICALdojo/validators.py8from django.core.exceptions import ValidationErrorCODE
CRITICALdojo/forms.py12from django.core.exceptions import ValidationErrorCODE
CRITICALdojo/system_settings/models.py1from django.core.exceptions import ValidationErrorCODE
CRITICALdojo/tools/nikto/xml_parser.py6from django.core.exceptions import ValidationErrorCODE
CRITICALdojo/tools/api_bugcrowd/importer.py3from django.core.exceptions import ValidationErrorCODE
CRITICALdojo/tools/api_bugcrowd/parser.py8from django.core.exceptions import ValidationErrorCODE
CRITICALdojo/tools/api_vulners/importer.py3from django.core.exceptions import ValidationErrorCODE
CRITICALdojo/tools/api_sonarqube/importer.py9from django.core.exceptions import ValidationErrorCODE
CRITICALdojo/tools/api_edgescan/importer.py1from django.core.exceptions import ValidationErrorCODE
CRITICALdojo/tools/openscap/parser.py5from django.core.exceptions import ValidationErrorCODE
CRITICALdojo/tools/ptart/ptart_parser_tools.py5from django.core.exceptions import ValidationErrorCODE
CRITICALdojo/tools/api_cobalt/importer.py3from django.core.exceptions import ValidationErrorCODE
CRITICALdojo/tools/api_blackduck/importer.py1from django.core.exceptions import ValidationErrorCODE
CRITICALdojo/test/ui/views.py12from django.core.exceptions import ValidationErrorCODE
CRITICALdojo/importers/base_importer.py6from django.core.exceptions import ValidationErrorCODE
CRITICALdojo/importers/location_manager.py8from django.core.exceptions import ValidationErrorCODE
CRITICALdojo/importers/endpoint_manager.py4from django.core.exceptions import ValidationErrorCODE
CRITICALdojo/finding/models.py1168 return self.test.engagement.product.github_pkey_set.all()[0].git_confCODE
CRITICALdojo/finding/ui/forms.py3from django.core.exceptions import ValidationErrorCODE
CRITICALdojo/finding/api/serializer.py8from django.core.exceptions import ValidationErrorCODE
CRITICALdojo/finding/api/views.py6from django.core.exceptions import ValidationErrorCODE
CRITICALdojo/file_uploads/models.py5from django.core.exceptions import ValidationErrorCODE
CRITICALdojo/location/utils.py3from django.core.exceptions import ValidationErrorCODE
CRITICAL…jo/management/commands/jira_refactor_data_migration.py37 # jira_project = jira_issue.finding.test.engagement.product.jira_project_set.all()[0]COMMENT
CRITICALdojo/user/validators.py4from django.core.exceptions import ValidationErrorCODE
CRITICALdojo/user/api/serializer.py5from django.core.exceptions import ValidationErrorCODE
CRITICALdojo/url/models.py10from django.core.exceptions import ValidationErrorCODE
CRITICALdojo/url/validators.py6from django.core.exceptions import ValidationErrorCODE
CRITICALdojo/engagement/api/views.py1from django.core.exceptions import ValidationErrorCODE
CRITICALdojo/risk_acceptance/ui/forms.py7from django.core.exceptions import ValidationErrorCODE
CRITICALdojo/jira/models.py4from django.core.exceptions import ValidationErrorCODE
CRITICALdojo/jira/forms.py8from django.core.exceptions import ValidationErrorCODE
CRITICALdojo/endpoint/models.py10from django.core.exceptions import ValidationErrorCODE
CRITICALdojo/endpoint/utils.py7from django.core.exceptions import ValidationErrorCODE
CRITICALdojo/endpoint/api/serializer.py4from django.core.exceptions import ValidationErrorCODE
CRITICALdojo/api_v2/serializers.py11from django.core.exceptions import ValidationErrorCODE
CRITICALdojo/api_v2/exception_handler.py3from django.core.exceptions import ValidationErrorCODE
CRITICALdojo/api_v2/views.py8from django.core.exceptions import ValidationErrorCODE
CRITICALdojo/cicd_infrastructure/models.py1from django.core.exceptions import ValidationErrorCODE
CRITICALdojo/base_models/validators.py1from django.core.exceptions import ValidationErrorCODE
CRITICALdojo/notifications/api/serializer.py1from django.core.exceptions import ValidationErrorCODE
CRITICAL…ns/0246_endpoint_idx_ep_product_lower_host_and_more.py16 index=models.Index(models.F('product'), django.db.models.functions.text.Lower('host'), name='idx_ep_product_CODE
CRITICAL…o/db_migrations/0287_vulnerability_id_entity_tables.py44 "indexes": [django.contrib.postgres.indexes.GinIndex(django.contrib.postgres.search.SearchVector("vulnerCODE
CRITICALdojo/db_migrations/0064_jira_refactor_populate.py43 jira_projects = jira_issue.finding.test.engagement.product.jira_project_set.all()CODE
CRITICALunittests/test_endpoint_model.py6from django.core.exceptions import ValidationErrorCODE
CRITICALunittests/test_importers_deleted_target.py5from django.core.exceptions import ValidationErrorCODE
CRITICALunittests/test_authorization_queryset_coverage.py132 self.product.prod_type.__class__.objects.count(),CODE
CRITICALunittests/test_cicd_infrastructure.py9from django.core.exceptions import ValidationErrorCODE
CRITICALunittests/test_validators.py1from django.core.exceptions import ValidationErrorCODE
CRITICALunittests/test_importers_importer.py5from django.core.exceptions import ValidationErrorCODE
CRITICALunittests/test_importers_blank_engagement_status.py4from django.core.exceptions import ValidationErrorCODE
CRITICALunittests/test_location_models.py2from django.core.exceptions import ValidationErrorCODE
CRITICALunittests/tools/test_api_edgescan_importer.py4from django.core.exceptions import ValidationErrorCODE
CRITICALunittests/tools/test_api_cobalt_importer.py4from django.core.exceptions import ValidationErrorCODE
CRITICALunittests/tools/test_api_bugcrowd_importer.py3from django.core.exceptions import ValidationErrorCODE
CRITICALunittests/tools/test_api_sonarqube_importer.py4from django.core.exceptions import ValidationErrorCODE
CRITICAL…tests/scans/xanitizer/multiple-findings-no-details.xml138- In method org.owasp.webgoat.plugin.HttpOnly.createCustomCookieValue()CODE
CRITICALunittests/scans/xanitizer/multiple-findings.xml324- In method org.owasp.webgoat.plugin.HttpOnly.createCustomCookieValue()CODE
CRITICALunittests/scans/xygeni/sast_many_findings.json13236 "description" : "io.xygeni.sast.scanner.parser.ParseException: \nEncountered an error at (or somewhere around) /homeCODE
911 more matches not shown…
Hyper-Verbose Identifiers4625 hits · 4830 pts
SeverityFileLineSnippetContext
LOWtests/notifications_test.py36 def test_disable_personal_notification(self):CODE
LOWtests/notifications_test.py52 def test_enable_personal_notification(self):CODE
LOWtests/notifications_test.py65 def test_disable_system_notification(self):CODE
LOWtests/notifications_test.py81 def test_enable_system_notification(self):CODE
LOWtests/notifications_test.py95 def test_disable_template_notification(self):CODE
LOWtests/notifications_test.py111 def test_enable_template_notification(self):CODE
LOWtests/notifications_test.py124 def test_user_mail_notifications_change(self):CODE
LOWtests/engagement_test.py12 def test_list_active_engagements_found(self):CODE
LOWtests/engagement_test.py17 def test_list_active_engagements_empty(self):CODE
LOWtests/engagement_test.py22 def test_list_all_engagements_by_product(self):CODE
LOWtests/engagement_test.py41 def test_edit_created_new_engagement(self):CODE
LOWtests/engagement_test.py56 def test_close_new_engagement(self):CODE
LOWtests/engagement_test.py67 def test_delete_new_closed_engagement(self):CODE
LOWtests/engagement_test.py82 def test_new_ci_cd_engagement(self):CODE
LOWtests/engagement_presets_test.py11 def _navigate_to_engagement_presets(self, driver):CODE
LOWtests/engagement_presets_test.py23 def test_list_engagement_presets(self):CODE
LOWtests/engagement_presets_test.py29 def test_add_engagement_preset(self):CODE
LOWtests/engagement_presets_test.py43 def test_edit_engagement_preset(self):CODE
LOWtests/engagement_presets_test.py58 def test_delete_engagement_preset(self):CODE
LOWtests/finding_extended_test.py115 def test_ad_hoc_finding_create(self):STRING
LOWtests/reimport_scan_test.py32 def test_import_scan_page_loads(self):CODE
LOWtests/reimport_scan_test.py48 def test_import_scan_from_engagement(self):CODE
LOWtests/user_test.py46 def test_create_user_with_writer_global_role(self):CODE
LOWtests/user_test.py84 def enable_user_profile_writing(self):CODE
LOWtests/user_test.py94 def disable_user_profile_writing(self):CODE
LOWtests/user_test.py104 def test_user_edit_permissions(self):CODE
LOWtests/user_test.py159 def test_user_with_writer_role_delete(self):CODE
LOWtests/user_test.py196 def test_user_profile_form_disabled(self):CODE
LOWtests/user_test.py202 def test_user_profile_form_enabled(self):CODE
LOWtests/user_test.py219 def test_user_edit_configuration(self):CODE
LOWtests/threat_model_test.py14 def test_create_engagement_for_threatmodel(self):CODE
LOWtests/threat_model_test.py29 def test_view_threatmodel_upload_page(self):CODE
LOWtests/user_profile_test.py12 def test_view_profile_page_loads(self):CODE
LOWtests/user_profile_test.py40 def test_change_password_page_loads(self):CODE
LOWtests/report_builder_test.py41 def assert_report_charts_painted(self, chart_ids):CODE
LOWtests/report_builder_test.py166 def test_product_endpoint_report(self):CODE
LOWtests/report_builder_test.py217def add_report_tests_to_suite(suite):CODE
LOWtests/false_positive_history_test.py69 def edit_toggle_false_positive(self, finding_url):CODE
LOWtests/false_positive_history_test.py101 def test_retroactive_edit_finding(self):CODE
LOWtests/false_positive_history_test.py131 def test_retroactive_bulk_edit_finding(self):CODE
LOWtests/ibm_appscan_test.py16 def test_import_ibm_app_scan_result(self):CODE
LOWtests/announcement_banner_test.py56 def test_create_dismissable_announcement(self):CODE
LOWtests/announcement_banner_test.py77 def test_dismissing_announcement_does_not_dismiss_for_others(self):CODE
LOWtests/announcement_banner_test.py103 def test_announcement_ui_disabled_when_set(self):CODE
LOWtests/announcement_banner_test.py121 def test_announcement_empty_after_removal(self):CODE
LOWtests/calendar_test.py14 def test_create_engagement_for_calendar(self):CODE
LOWtests/calendar_test.py29 def test_engagement_calendar_loads(self):CODE
LOWtests/calendar_test.py41 def test_calendar_default_loads(self):CODE
LOWtests/calendar_test.py47 def test_calendar_filter_apply(self):CODE
LOWtests/close_old_findings_dedupe_test.py107 def test_add_same_engagement_engagement(self):CODE
LOWtests/close_old_findings_dedupe_test.py129 def test_import_same_engagement_tests(self):CODE
LOWtests/close_old_findings_dedupe_test.py190 def test_check_endpoint_status(self):CODE
LOWtests/close_old_findings_dedupe_test.py199 def test_add_same_product_engagement(self):CODE
LOWtests/close_old_findings_dedupe_test.py237 def test_import_same_product_tests(self):CODE
LOWtests/close_old_findings_dedupe_test.py54 def test_enable_deduplication(self):CODE
LOWtests/close_old_findings_dedupe_test.py168 def test_close_same_engagement_tests(self):CODE
LOWtests/close_old_findings_dedupe_test.py275 def test_close_same_product_tests(self):CODE
LOWtests/close_old_findings_dedupe_test.py297 def test_check_same_product_status(self):CODE
LOWtests/close_old_findings_dedupe_test.py301def add_close_old_tests_to_suite(suite, *, jira=False, github=False, block_execution=False):CODE
LOWtests/action_history_test.py13 def test_product_action_history(self):CODE
4565 more matches not shown…
Decorative Section Separators402 hits · 1450 pts
SeverityFileLineSnippetContext
MEDIUMtests/close_old_findings_dedupe_test.py19 # --------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/close_old_findings_dedupe_test.py23 # --------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/close_old_findings_dedupe_test.py102# --------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/close_old_findings_dedupe_test.py105# --------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/close_old_findings_dedupe_test.py121# --------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/close_old_findings_dedupe_test.py127# --------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/close_old_findings_dedupe_test.py193# --------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/close_old_findings_dedupe_test.py196# --------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/close_old_findings_dedupe_test.py228# --------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/close_old_findings_dedupe_test.py234# --------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/dedupe_test.py21 # --------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/dedupe_test.py23 # --------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/dedupe_test.py176# --------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/dedupe_test.py179# --------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/dedupe_test.py308# --------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/dedupe_test.py314# --------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/dedupe_test.py376# --------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/dedupe_test.py379# --------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/dedupe_test.py101# --------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/dedupe_test.py104# --------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/dedupe_test.py447# --------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/dedupe_test.py449# --------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/close_old_findings_test.py18 # --------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/close_old_findings_test.py21 # --------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/close_old_findings_test.py62# --------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/close_old_findings_test.py64# --------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/close_old_findings_test.py79# --------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/close_old_findings_test.py85# --------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/close_old_findings_test.py147# --------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/close_old_findings_test.py150# --------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/close_old_findings_test.py182# --------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/close_old_findings_test.py188# --------------------------------------------------------------------------------------------------------COMMENT
MEDIUMdojo/admin.py39# ==============================COMMENT
MEDIUMdojo/admin.py41# ==============================COMMENT
MEDIUMdojo/utils.py976# ---------------------------------------------------------------------------COMMENT
MEDIUMdojo/utils.py995# ---------------------------------------------------------------------------COMMENT
MEDIUMdojo/utils_ssrf.py109# ---------------------------------------------------------------------------COMMENT
MEDIUMdojo/utils_ssrf.py114# ---------------------------------------------------------------------------COMMENT
MEDIUMdojo/metrics/views.py712 # ---------------COMMENT
MEDIUMdojo/metrics/views.py727 # --------------------COMMENT
MEDIUMdojo/metrics/views.py761 # --------------------------COMMENT
MEDIUMdojo/metrics/views.py778 # --------------COMMENT
MEDIUMdojo/metrics/views.py783 # ----------------------------------COMMENT
MEDIUMdojo/metrics/views.py793 # -------------COMMENT
MEDIUMdojo/settings/settings.dist.py684# ------------------------------------------------------------------------------COMMENT
MEDIUMdojo/settings/settings.dist.py686# ------------------------------------------------------------------------------COMMENT
MEDIUMdojo/settings/settings.dist.py695# ------------------------------------------------------------------------------COMMENT
MEDIUMdojo/settings/settings.dist.py697# ------------------------------------------------------------------------------COMMENT
MEDIUMdojo/settings/settings.dist.py898# ------------------------------------------------------------------------------COMMENT
MEDIUMdojo/settings/settings.dist.py900# ------------------------------------------------------------------------------COMMENT
MEDIUMdojo/settings/settings.dist.py905# ------------------------------------------------------------------------------COMMENT
MEDIUMdojo/settings/settings.dist.py907# ------------------------------------------------------------------------------COMMENT
MEDIUMdojo/settings/settings.dist.py1869# ------------------------------------------------------------------------------COMMENT
MEDIUMdojo/settings/settings.dist.py1871# ------------------------------------------------------------------------------COMMENT
MEDIUMdojo/settings/settings.dist.py1880# ------------------------------------------------------------------------------COMMENT
MEDIUMdojo/settings/settings.dist.py1882# ------------------------------------------------------------------------------COMMENT
MEDIUMdojo/settings/settings.dist.py1885# ------------------------------------------------------------------------------COMMENT
MEDIUMdojo/settings/settings.dist.py1887# ------------------------------------------------------------------------------COMMENT
MEDIUMdojo/settings/settings.dist.py1890# ------------------------------------------------------------------------------COMMENT
MEDIUMdojo/settings/settings.dist.py1892# ------------------------------------------------------------------------------COMMENT
342 more matches not shown…
Deep Nesting423 hits · 383 pts
SeverityFileLineSnippetContext
LOWtests/base_test_class.py412CODE
LOWtests/questionnaire_advanced_test.py144CODE
LOWdojo/tasks.py177CODE
LOWdojo/forms.py556CODE
LOWdojo/utils.py134CODE
LOWdojo/utils.py233CODE
LOWdojo/utils.py310CODE
LOWdojo/utils.py419CODE
LOWdojo/utils.py509CODE
LOWdojo/utils.py1065CODE
LOWdojo/utils.py1133CODE
LOWdojo/utils.py1249CODE
LOWdojo/utils.py1643CODE
LOWdojo/utils.py1821CODE
LOWdojo/utils.py2113CODE
LOWdojo/utils.py2314CODE
LOWdojo/filters.py313CODE
LOWdojo/views.py43CODE
LOWdojo/utils_cascade_delete.py64CODE
LOWdojo/decorators.py145CODE
LOWdojo/decorators.py146CODE
LOWdojo/decorators.py148CODE
LOWdojo/benchmark/ui/views.py40CODE
LOWdojo/benchmark/ui/views.py88CODE
LOWdojo/templatetags/display_tags.py166CODE
LOWdojo/templatetags/display_tags.py275CODE
LOWdojo/templatetags/display_tags.py379CODE
LOWdojo/templatetags/display_tags.py860CODE
LOWdojo/metrics/views.py164CODE
LOWdojo/system_settings/ui/views.py51CODE
LOWdojo/tools/utils.py78CODE
LOWdojo/tools/testssl/parser.py20CODE
LOWdojo/tools/qualys/csv_parser.py180CODE
LOWdojo/tools/qualys/parser.py204CODE
LOWdojo/tools/retirejs/parser.py23CODE
LOWdojo/tools/retirejs/parser.py70CODE
LOWdojo/tools/appspider/parser.py95CODE
LOWdojo/tools/ggshield/parser.py24CODE
LOWdojo/tools/anchore_engine/parser.py100CODE
LOWdojo/tools/burp_api/parser.py32CODE
LOWdojo/tools/burp_api/parser.py107CODE
LOWdojo/tools/php_security_audit_v2/parser.py19CODE
LOWdojo/tools/bundler_audit/parser.py21CODE
LOWdojo/tools/immuniweb/parser.py117CODE
LOWdojo/tools/pip_audit/parser.py56CODE
LOWdojo/tools/talisman/parser.py25CODE
LOWdojo/tools/sarif/parser.py470CODE
LOWdojo/tools/sarif/parser.py525CODE
LOWdojo/tools/sarif/parser.py557CODE
LOWdojo/tools/sarif/parser.py598CODE
LOWdojo/tools/sarif/parser.py149CODE
LOWdojo/tools/sarif/parser.py333CODE
LOWdojo/tools/semgrep_pro/parser.py20CODE
LOWdojo/tools/npm_audit_7_plus/parser.py95CODE
LOWdojo/tools/npm_audit_7_plus/parser.py184CODE
LOWdojo/tools/burp_dastardly/parser.py27CODE
LOWdojo/tools/anchorectl_vulns/parser.py16CODE
LOWdojo/tools/snyk_issue_api/parser.py79CODE
LOWdojo/tools/aide/parser.py75CODE
LOWdojo/tools/checkmarx/parser.py101CODE
363 more matches not shown…
Cross-Language Confusion66 hits · 374 pts
SeverityFileLineSnippetContext
HIGHdojo/tools/composer_audit/parser.py120 The CVE is a top-level field but is often null, in which case the GitHub advisory id fromSTRING
HIGHdojo/tools/checkmarx_osa/parser.py128 # 1->2 = Certain (0 is like null)COMMENT
HIGHdojo/test/ui/views.py705 jira_services.push(new_finding)CODE
HIGHdojo/importers/default_importer.py344 jira_services.push(findings[0].finding_group)CODE
HIGHdojo/importers/default_importer.py346 jira_services.push(findings[0])CODE
HIGHdojo/importers/default_importer.py454 jira_services.push(finding_group)CODE
HIGHdojo/importers/default_reimporter.py639 jira_services.push(finding_group)CODE
HIGHdojo/importers/default_reimporter.py1133 jira_services.push(object_to_push)CODE
HIGHdojo/importers/default_reimporter.py1144 jira_services.push(finding_group)CODE
HIGHdojo/finding/helper.py253 jira_services.push(finding_group)CODE
HIGHdojo/finding/helper.py281 jira_services.push(group)CODE
HIGHdojo/finding/helper.py359 jira_services.push(group)CODE
HIGHdojo/finding/helper.py461 jira_services.push(finding)CODE
HIGHdojo/finding/helper.py463 jira_services.push(finding.finding_group)CODE
HIGHdojo/finding/helper.py582 jira_services.push(object_to_push)CODE
HIGHdojo/finding/helper.py1624 jira_services.push(finding.finding_group)CODE
HIGHdojo/finding/ui/views.py1055 jira_services.push(finding.finding_group)CODE
HIGHdojo/finding/ui/views.py1338 jira_services.push(finding.finding_group)CODE
HIGHdojo/finding/ui/views.py1396 jira_services.push(finding)CODE
HIGHdojo/finding/ui/views.py1606 jira_services.push(finding.finding_group)CODE
HIGHdojo/finding/ui/views.py1700 jira_services.push(finding.finding_group)CODE
HIGHdojo/finding/ui/views.py2856 jira_services.push(group)CODE
HIGHdojo/finding/ui/views.py2907 jira_services.push(finding)CODE
HIGHdojo/finding/ui/views.py3304 if jira_services.push_succeeded(jira_services.push(finding)):CODE
HIGHdojo/finding/api/serializer.py586 success, message = jira_services.push(instance, force_sync=True)CODE
HIGHdojo/finding/api/serializer.py767 jira_services.push(new_finding)CODE
HIGHdojo/risk_acceptance/helper.py121 jira_services.push(finding)CODE
HIGHdojo/risk_acceptance/helper.py174 jira_services.push(finding)CODE
HIGHdojo/risk_acceptance/helper.py220 jira_services.push(finding)CODE
HIGHdojo/risk_acceptance/helper.py248 jira_services.push(finding)CODE
HIGHdojo/risk_acceptance/helper.py442 jira_services.push(finding)CODE
HIGHdojo/risk_acceptance/helper.py482 jira_services.push(finding)CODE
HIGHdojo/api_v2/exception_handler.py47 (foreign key, not-null, check constraint) points at a defect on our sideSTRING
HIGHdojo/finding_group/views.py100 jira_services.push(finding_group, force_sync=True)CODE
HIGHdojo/finding_group/views.py197 if jira_services.push_succeeded(jira_services.push(group, force_sync=True)):CODE
HIGHunittests/test_jira_webhook.py168 "customfield_10182":null,CODE
HIGHunittests/test_jira_webhook.py170 "customfield_12043":null,CODE
HIGHunittests/test_jira_webhook.py171 "customfield_10340":null,CODE
HIGHunittests/test_jira_webhook.py172 "customfield_10341":null,CODE
HIGHunittests/test_jira_webhook.py173 "customfield_12045":null,CODE
HIGHunittests/test_jira_webhook.py174 "customfield_10100":null,CODE
HIGHunittests/test_jira_webhook.py181 "customfield_10740":null,CODE
HIGHunittests/test_jira_webhook.py187 "timeestimate":null,CODE
HIGHunittests/test_jira_webhook.py188 "aggregatetimeoriginalestimate":null,CODE
HIGHunittests/test_jira_webhook.py223 "timeoriginalestimate":null,CODE
HIGHunittests/test_jira_webhook.py224 "customfield_10052":null,CODE
HIGHunittests/test_jira_webhook.py226 "customfield_10010":null,CODE
HIGHunittests/test_jira_webhook.py231 "aggregatetimeestimate":null,CODE
HIGHunittests/test_jira_webhook.py271 "customfield_10641":null,CODE
HIGHunittests/test_jira_webhook.py272 "environment":null,CODE
HIGHunittests/test_jira_webhook.py273 "duedate":null,CODE
HIGHunittests/test_jira_webhook.py156 "resolutiondate":null,CODE
HIGHunittests/test_filter_finding_mitigation.py102 # Returns only findings with non-null, non-empty mitigationCOMMENT
HIGHunittests/test_apiv2_unique_violation_conflict.py25(foreign key, not-null, check constraints) indicate a server-side defect andSTRING
HIGHunittests/tools/test_kubelinter_parser.py26 A clean scan reports "Reports": null, not an empty list.STRING
HIGHunittests/tools/test_kubelinter_parser.py41 list(KubeLinterParser().get_findings(io.StringIO('{"Reports": null}'), Test())),CODE
HIGHunittests/tools/test_zap_parser.py418 {"data":[{"item1":"[FEATURE_FLAG_1]","item2":true},{"item1":"[FEATURE_FLAG_2]","item2":true},{"iCODE
HIGHunittests/tools/test_sonarqube_parser.py63 "Connection conn = null;\n"CODE
HIGHunittests/tools/test_sonarqube_parser.py76 "Connection conn = null;\n"CODE
HIGHunittests/tools/test_sonarqube_parser.py113 "Connection conn = null;\n"CODE
6 more matches not shown…
Modern Structural Boilerplate332 hits · 344 pts
SeverityFileLineSnippetContext
LOWdocker/install_chrome_dependencies.py9logger = logging.getLogger(__name__)CODE
LOWtests/close_old_findings_dedupe_test.py15logger = logging.getLogger(__name__)CODE
LOWtests/zap.py13logger = logging.getLogger(__name__)CODE
LOWtests/product_type_test.py8logger = logging.getLogger(__name__)CODE
LOWtests/engagement_extended_test.py14logger = logging.getLogger(__name__)CODE
LOWtests/product_member_test.py13logger = logging.getLogger(__name__)CODE
LOWtests/product_type_member_test.py12logger = logging.getLogger(__name__)CODE
LOWtests/notes_test.py10logger = logging.getLogger(__name__)CODE
LOWtests/base_test_class.py20logger = logging.getLogger(__name__)CODE
LOWtests/finding_test.py16logger = logging.getLogger(__name__)CODE
LOWtests/dedupe_test.py17logger = logging.getLogger(__name__)CODE
LOWtests/close_old_findings_test.py14logger = logging.getLogger(__name__)CODE
LOWdojo/labels.py35logger = logging.getLogger(__name__)CODE
LOWdojo/models.py25logger = logging.getLogger(__name__)CODE
LOWdojo/validators.py11logger = logging.getLogger(__name__)CODE
LOWdojo/product_announcements.py8logger = logging.getLogger(__name__)CODE
LOWdojo/apps.py12logger = logging.getLogger(__name__)CODE
LOWdojo/forms.py73logger = logging.getLogger(__name__)CODE
LOWdojo/utils.py92logger = logging.getLogger(__name__)CODE
LOWdojo/celery.py9logger = logging.getLogger(__name__)CODE
LOWdojo/urls.py93logger = logging.getLogger(__name__)CODE
LOWdojo/utils_watson_prefetch.py23logger = logging.getLogger(__name__)CODE
LOWdojo/filters.py60logger = logging.getLogger(__name__)CODE
LOWdojo/middleware.py27logger = logging.getLogger(__name__)CODE
LOWdojo/views.py25logger = logging.getLogger(__name__)CODE
LOWdojo/utils_cascade_delete.py17logger = logging.getLogger(__name__)CODE
LOWdojo/wsgi.py21logger = logging.getLogger(__name__)CODE
LOWdojo/decorators.py14logger = logging.getLogger(__name__)CODE
LOWdojo/benchmark/signals.py9logger = logging.getLogger(__name__)CODE
LOWdojo/benchmark/ui/views.py27logger = logging.getLogger(__name__)CODE
LOWdojo/templatetags/display_tags.py35logger = logging.getLogger(__name__)CODE
LOWdojo/metrics/utils.py36logger = logging.getLogger(__name__)CODE
LOWdojo/metrics/views.py49logger = logging.getLogger(__name__)CODE
LOWdojo/settings/settings.dist.py35logger = logging.getLogger(__name__)CODE
LOWdojo/tool_type/ui/views.py15logger = logging.getLogger(__name__)CODE
LOWdojo/tool_type/api/views.py11logger = logging.getLogger(__name__)CODE
LOWdojo/system_settings/ui/views.py13logger = logging.getLogger(__name__)CODE
LOWdojo/note_type/ui/views.py13logger = logging.getLogger(__name__)CODE
LOWdojo/tools/factory.py13logger = logging.getLogger(__name__)CODE
LOWdojo/tools/utils.py8logger = logging.getLogger(__name__)CODE
LOWdojo/tools/tool_issue_updater.py13logger = logging.getLogger(__name__)CODE
LOWdojo/tools/nikto/xml_parser.py12logger = logging.getLogger(__name__)CODE
LOWdojo/tools/twistlock/parser.py14logger = logging.getLogger(__name__)CODE
LOWdojo/tools/qualys/parser.py15logger = logging.getLogger(__name__)CODE
LOWdojo/tools/promptfoo/parser.py6logger = logging.getLogger(__name__)CODE
LOWdojo/tools/burp_api/parser.py9logger = logging.getLogger(__name__)CODE
LOWdojo/tools/immuniweb/parser.py14logger = logging.getLogger(__name__)CODE
LOWdojo/tools/neuvector/parser.py6logger = logging.getLogger(__name__)CODE
LOWdojo/tools/sarif/parser.py14logger = logging.getLogger(__name__)CODE
LOWdojo/tools/npm_audit_7_plus/parser.py8logger = logging.getLogger(__name__)CODE
LOWdojo/tools/burp_dastardly/parser.py7logger = logging.getLogger(__name__)CODE
LOWdojo/tools/checkmarx/parser.py13logger = logging.getLogger(__name__)CODE
LOWdojo/tools/fortify/fpr_parser.py13logger = logging.getLogger(__name__)CODE
LOWdojo/tools/mend/parser.py11logger = logging.getLogger(__name__)CODE
LOWdojo/tools/outpost24/parser.py9logger = logging.getLogger(__name__)CODE
LOWdojo/tools/govulncheck/parser.py9logger = logging.getLogger(__name__)CODE
LOWdojo/tools/api_bugcrowd/importer.py9logger = logging.getLogger(__name__)CODE
LOWdojo/tools/api_bugcrowd/parser.py20logger = logging.getLogger(__name__)CODE
LOWdojo/tools/wapiti/parser.py11logger = logging.getLogger(__name__)CODE
LOWdojo/tools/api_vulners/importer.py9logger = logging.getLogger(__name__)CODE
272 more matches not shown…
Cross-File Repetition67 hits · 335 pts
SeverityFileLineSnippetContext
HIGHdojo/tools/tfsec/parser.py0a class that can be used to parse the kics json report fileSTRING
HIGHdojo/tools/detect_secrets/parser.py0a class that can be used to parse the kics json report fileSTRING
HIGHdojo/tools/terrascan/parser.py0a class that can be used to parse the kics json report fileSTRING
HIGHdojo/tools/kics/parser.py0a class that can be used to parse the kics json report fileSTRING
HIGHdojo/tools/ggshield/parser.py0a class that can be used to parse the dockle json report filesSTRING
HIGHdojo/tools/gitleaks/parser.py0a class that can be used to parse the dockle json report filesSTRING
HIGHdojo/tools/talisman/parser.py0a class that can be used to parse the dockle json report filesSTRING
HIGHdojo/tools/wfuzz/parser.py0a class that can be used to parse the dockle json report filesSTRING
HIGHdojo/tools/dockle/parser.py0a class that can be used to parse the dockle json report filesSTRING
HIGHdojo/tools/tenable/parser.py0return the list of dedupe fields used in the tenable csv parser fields: - title: made using the name, plugin name, and aSTRING
HIGHdojo/tools/tenable/xml_format.py0return the list of dedupe fields used in the tenable csv parser fields: - title: made using the name, plugin name, and aSTRING
HIGHdojo/tools/tenable/csv_format.py0return the list of dedupe fields used in the tenable csv parser fields: - title: made using the name, plugin name, and aSTRING
HIGHdojo/tools/gitlab_container_scan/parser.py0normalise gitlab's severity to defectdojo's (critical, high, medium, low, unknown, info) -> (critical, high, medium, lowSTRING
HIGHdojo/tools/gitlab_secret_detection_report/parser.py0normalise gitlab's severity to defectdojo's (critical, high, medium, low, unknown, info) -> (critical, high, medium, lowSTRING
HIGHdojo/tools/gitlab_api_fuzzing/parser.py0normalise gitlab's severity to defectdojo's (critical, high, medium, low, unknown, info) -> (critical, high, medium, lowSTRING
HIGHdojo/importers/location_manager.py0record endpoints from the finding + any form-added extras for later batch creation.STRING
HIGHdojo/importers/base_location_manager.py0record endpoints from the finding + any form-added extras for later batch creation.STRING
HIGHdojo/importers/endpoint_manager.py0record endpoints from the finding + any form-added extras for later batch creation.STRING
HIGHdojo/importers/location_manager.py0accumulate status changes (mitigate/reactivate) based on old vs new finding.STRING
HIGHdojo/importers/base_location_manager.py0accumulate status changes (mitigate/reactivate) based on old vs new finding.STRING
HIGHdojo/importers/endpoint_manager.py0accumulate status changes (mitigate/reactivate) based on old vs new finding.STRING
HIGHdojo/management/commands/pghistory_backfill_simple.py0get the list of excluded fields for a specific model from pghistory configuration.STRING
HIGHdojo/management/commands/pghistory_backfill.py0get the list of excluded fields for a specific model from pghistory configuration.STRING
HIGHdojo/auditlog/backfill.py0get the list of excluded fields for a specific model from pghistory configuration.STRING
HIGHdojo/db_migrations/0242_file_upload_cleanup.py0we cannot possibly return to the original state without knowing the original value at the time the migration is revoked.STRING
HIGHdojo/db_migrations/0235_clean_tags.py0we cannot possibly return to the original state without knowing the original value at the time the migration is revoked.STRING
HIGHdojo/db_migrations/0227_migrate_tags.py0we cannot possibly return to the original state without knowing the original value at the time the migration is revoked.STRING
HIGH…cs_reports/dashboards/PRO__custom_dashboards_api.de.md0build a defectdojo pro dashboard layout end-to-end using only the stdlib.STRING
HIGH…ports/dashboards/PRO__custom_dashboards_api.zh-hans.md0build a defectdojo pro dashboard layout end-to-end using only the stdlib.STRING
HIGH…cs_reports/dashboards/PRO__custom_dashboards_api.fr.md0build a defectdojo pro dashboard layout end-to-end using only the stdlib.STRING
HIGH…cs_reports/dashboards/PRO__custom_dashboards_api.it.md0build a defectdojo pro dashboard layout end-to-end using only the stdlib.STRING
HIGH…cs_reports/dashboards/PRO__custom_dashboards_api.es.md0build a defectdojo pro dashboard layout end-to-end using only the stdlib.STRING
HIGH…reports/dashboards/PRO__custom_dashboards_api.pt-br.md0build a defectdojo pro dashboard layout end-to-end using only the stdlib.STRING
HIGH…cs_reports/dashboards/PRO__custom_dashboards_api.ja.md0build a defectdojo pro dashboard layout end-to-end using only the stdlib.STRING
HIGH…trics_reports/dashboards/PRO__custom_dashboards_api.md0build a defectdojo pro dashboard layout end-to-end using only the stdlib.STRING
HIGH…cs_reports/dashboards/PRO__custom_dashboards_api.de.md0make an authenticated request. returns parsed json.STRING
HIGH…ports/dashboards/PRO__custom_dashboards_api.zh-hans.md0make an authenticated request. returns parsed json.STRING
HIGH…cs_reports/dashboards/PRO__custom_dashboards_api.fr.md0make an authenticated request. returns parsed json.STRING
HIGH…cs_reports/dashboards/PRO__custom_dashboards_api.it.md0make an authenticated request. returns parsed json.STRING
HIGH…cs_reports/dashboards/PRO__custom_dashboards_api.es.md0make an authenticated request. returns parsed json.STRING
HIGH…reports/dashboards/PRO__custom_dashboards_api.pt-br.md0make an authenticated request. returns parsed json.STRING
HIGH…cs_reports/dashboards/PRO__custom_dashboards_api.ja.md0make an authenticated request. returns parsed json.STRING
HIGH…trics_reports/dashboards/PRO__custom_dashboards_api.md0make an authenticated request. returns parsed json.STRING
HIGH…cs_reports/dashboards/PRO__custom_dashboards_api.de.md0build a (widget, position) pair sharing a freshly generated uuid.STRING
HIGH…ports/dashboards/PRO__custom_dashboards_api.zh-hans.md0build a (widget, position) pair sharing a freshly generated uuid.STRING
HIGH…cs_reports/dashboards/PRO__custom_dashboards_api.fr.md0build a (widget, position) pair sharing a freshly generated uuid.STRING
HIGH…cs_reports/dashboards/PRO__custom_dashboards_api.it.md0build a (widget, position) pair sharing a freshly generated uuid.STRING
HIGH…cs_reports/dashboards/PRO__custom_dashboards_api.es.md0build a (widget, position) pair sharing a freshly generated uuid.STRING
HIGH…reports/dashboards/PRO__custom_dashboards_api.pt-br.md0build a (widget, position) pair sharing a freshly generated uuid.STRING
HIGH…cs_reports/dashboards/PRO__custom_dashboards_api.ja.md0build a (widget, position) pair sharing a freshly generated uuid.STRING
HIGH…trics_reports/dashboards/PRO__custom_dashboards_api.md0build a (widget, position) pair sharing a freshly generated uuid.STRING
HIGH…/metrics_reports/reports/PRO__report_builder_api.it.md0build and run a defectdojo pro report end-to-end using only the stdlib.STRING
HIGH…/metrics_reports/reports/PRO__report_builder_api.es.md0build and run a defectdojo pro report end-to-end using only the stdlib.STRING
HIGH…/metrics_reports/reports/PRO__report_builder_api.fr.md0build and run a defectdojo pro report end-to-end using only the stdlib.STRING
HIGH…/metrics_reports/reports/PRO__report_builder_api.de.md0build and run a defectdojo pro report end-to-end using only the stdlib.STRING
HIGH…ics_reports/reports/PRO__report_builder_api.zh-hans.md0build and run a defectdojo pro report end-to-end using only the stdlib.STRING
HIGH…ent/metrics_reports/reports/PRO__report_builder_api.md0build and run a defectdojo pro report end-to-end using only the stdlib.STRING
HIGH…/metrics_reports/reports/PRO__report_builder_api.ja.md0build and run a defectdojo pro report end-to-end using only the stdlib.STRING
HIGH…trics_reports/reports/PRO__report_builder_api.pt-br.md0build and run a defectdojo pro report end-to-end using only the stdlib.STRING
HIGH…/metrics_reports/reports/PRO__report_builder_api.it.md0make an authenticated request. returns parsed json (or raw bytes).STRING
7 more matches not shown…
Excessive Try-Catch Wrapping273 hits · 291 pts
SeverityFileLineSnippetContext
LOWtests/base_test_class.py31 except Exception:CODE
MEDIUMtests/base_test_class.py28def wrapper(self, *args, **kwargs):CODE
LOWdojo/tasks.py220 except Exception as e:CODE
LOWdojo/tasks.py254 except Exception as e:CODE
LOWdojo/tasks.py260 except Exception as e:CODE
LOWdojo/product_announcements.py61 except Exception:CODE
LOWdojo/context_processors.py105 except Exception:CODE
MEDIUMdojo/utils.py1198def get_celery_queue_length():CODE
LOWdojo/utils.py405 except Exception:CODE
LOWdojo/utils.py545 except Exception:CODE
LOWdojo/utils.py556 except Exception:CODE
LOWdojo/utils.py576 except Exception:CODE
LOWdojo/utils.py583 except Exception:CODE
LOWdojo/utils.py612 except Exception:CODE
LOWdojo/utils.py1194 except Exception:CODE
LOWdojo/utils.py1206 except Exception:CODE
LOWdojo/utils.py1244 except Exception:CODE
LOWdojo/utils.py1261 except Exception:CODE
LOWdojo/utils.py1287 except Exception:CODE
LOWdojo/utils_ssrf.py89 except Exception as exc:CODE
LOWdojo/utils_watson_prefetch.py105 except Exception:CODE
LOWdojo/utils_watson_prefetch.py125 except Exception:CODE
LOWdojo/filters.py351 except Exception:CODE
LOWdojo/middleware.py156 except Exception as e:CODE
LOWdojo/benchmark/ui/views.py211 except Exception:CODE
LOWdojo/templatetags/get_banner.py29 except Exception:CODE
MEDIUMdojo/templatetags/get_banner.py12def get_banner_conf(attribute):CODE
LOWdojo/templatetags/display_tags.py217 except Exception:CODE
LOWdojo/tools/factory.py51 except Exception:CODE
MEDIUMdojo/tools/factory.py48def get_inactive_test_types():CODE
LOWdojo/tools/twistlock/parser.py173 except Exception:CODE
LOWdojo/tools/twistlock/parser.py175 except Exception:CODE
MEDIUMdojo/tools/twistlock/parser.py168def parse_json(self, json_output):CODE
LOWdojo/tools/qualys/csv_parser.py210 except Exception:CODE
LOWdojo/tools/qualys/csv_parser.py259 except Exception:CODE
LOWdojo/tools/qualys/parser.py238 except Exception:CODE
LOWdojo/tools/php_security_audit_v2/parser.py23 except Exception:CODE
LOWdojo/tools/neuvector/parser.py26 except Exception:CODE
LOWdojo/tools/neuvector/parser.py28 except Exception:CODE
MEDIUMdojo/tools/neuvector/parser.py21def parse_json(self, json_output):CODE
LOWdojo/tools/npm_audit_7_plus/parser.py54 except Exception:CODE
LOWdojo/tools/npm_audit_7_plus/parser.py56 except Exception:CODE
LOWdojo/tools/snyk_issue_api/parser.py28 except Exception:CODE
LOWdojo/tools/snyk_issue_api/parser.py30 except Exception:CODE
MEDIUMdojo/tools/snyk_issue_api/parser.py23def parse_json(self, json_output):CODE
LOWdojo/tools/mend/parser.py31 except Exception:CODE
LOWdojo/tools/mend/parser.py96 except Exception:CODE
LOWdojo/tools/mend/parser.py130 except Exception:CODE
LOWdojo/tools/mend/parser.py159 except Exception:CODE
LOWdojo/tools/mend/parser.py171 except Exception:CODE
LOWdojo/tools/govulncheck/parser.py154 except Exception:CODE
LOWdojo/tools/rusty_hog/parser.py24 except Exception:CODE
LOWdojo/tools/veracode_sca/parser.py75 except Exception:CODE
LOWdojo/tools/veracode_sca/parser.py214 except Exception:CODE
LOWdojo/tools/netsparker/parser.py47 except Exception:CODE
LOWdojo/tools/netsparker/parser.py59 except Exception:CODE
LOWdojo/tools/legitify/parser.py33 except Exception:CODE
LOWdojo/tools/legitify/parser.py35 except Exception:CODE
MEDIUMdojo/tools/legitify/parser.py28def parse_json(self, file):CODE
LOWdojo/tools/api_sonarqube/importer.py255 except Exception as e:CODE
213 more matches not shown…
Self-Referential Comments95 hits · 284 pts
SeverityFileLineSnippetContext
MEDIUMtests/tool_product_test.py48 # Create a custom tool typeCOMMENT
MEDIUMtests/tool_product_test.py81 # Create a new tool configuration using a non-API tool typeCOMMENT
MEDIUMdojo/utils.py897 # Create the folderCOMMENT
MEDIUMdojo/decorators.py54# Create a shared instanceCOMMENT
MEDIUMdojo/benchmark/ui/views.py206 # Create the benchmark summary categoryCOMMENT
MEDIUMdojo/templatetags/get_banner.py19 # Create a copy of ALLOWED_ATTRIBUTES to avoid mutating the globalCOMMENT
MEDIUMdojo/templatetags/display_tags.py102 # Create a copy of ALLOWED_ATTRIBUTES to avoid mutating the globalCOMMENT
MEDIUMdojo/settings/settings.dist.py1728# Create a unique finding for all findings in qualys WAS parserCOMMENT
MEDIUMdojo/tools/cred_scan/parser.py40 # Create the descriptionCOMMENT
MEDIUMdojo/tools/wiz/parser.py100 # Create the finding objectCOMMENT
MEDIUMdojo/tools/wiz/parser.py170 # Create the finding objectCOMMENT
MEDIUMdojo/tools/tenable/xml_format.py308 # Create a new url objectCOMMENT
MEDIUMdojo/tools/tenable/xml_format.py322 # Create a new endpoint objectCOMMENT
MEDIUMdojo/tools/tenable/csv_format.py200 # Create the finding objectCOMMENT
MEDIUMdojo/tools/checkmarx_one/parser.py89 # Create the finding objectCOMMENT
MEDIUMdojo/tools/checkmarx_one/parser.py186 # Create the finding objectCOMMENT
MEDIUMdojo/tools/osv_scanner/parser.py135 # Define the descriptionCOMMENT
MEDIUMdojo/tools/orca_security/csv_parser.py78 # Create the Finding object with all mapped fieldsCOMMENT
MEDIUMdojo/tools/orca_security/json_parser.py83 # Create the Finding object with all mapped fieldsCOMMENT
MEDIUMdojo/tools/veracode/json_parser.py206 # Create the Location object from the urlCOMMENT
MEDIUMdojo/tools/veracode/json_parser.py215 # Create the Location object from all the piecesCOMMENT
MEDIUMdojo/tools/veracode/json_parser.py226 # Create the Endpoint object from the urlCOMMENT
MEDIUMdojo/tools/veracode/json_parser.py235 # Create the Endpoint object from all of the piecesCOMMENT
MEDIUMdojo/tools/sonarqube/soprasteria_helper.py52 # Create the finding and add it into the dupes listCOMMENT
MEDIUMdojo/tools/sonarqube/soprasteria_helper.py111 # Create the finding and add it into the dupes listCOMMENT
MEDIUMdojo/tools/openreports/parser.py108 # Create a ParserTest for each sourceSTRING
MEDIUMdojo/tools/asff/parser.py65 # Define the control_descriptionCOMMENT
MEDIUMdojo/tools/trivy/parser.py497 # Create the header rowSTRING
MEDIUMdojo/tools/trivy/parser.py500 # Create the table stringSTRING
MEDIUMdojo/test/ui/views.py588 # Create a notificationCOMMENT
MEDIUMdojo/importers/base_importer.py308 # Create a new test if it has not already been createdCOMMENT
MEDIUMdojo/importers/base_importer.py546 # Create a dictionary to stuff into the test import objectCOMMENT
MEDIUMdojo/importers/base_importer.py564 # Create the test import objectCOMMENT
MEDIUMdojo/importers/base_importer.py575 # Create a history record for each findingCOMMENT
MEDIUMdojo/importers/default_importer.py137 # Create a test import history object to record the flags sent to the importerCOMMENT
MEDIUMdojo/importers/default_importer.py473 # Create a new test if it has not already been createdCOMMENT
MEDIUMdojo/importers/auto_create_context.py262 # Create the productCOMMENT
MEDIUMdojo/importers/auto_create_context.py322 # Create the engagementCOMMENT
MEDIUMdojo/importers/default_reimporter.py143 # Create a test import history object to record the flags sent to the importerCOMMENT
MEDIUMdojo/api_helpers/serializers.py66 # Initialize the serializer classCOMMENT
MEDIUMdojo/finding/ui/views.py615 # Create the note objectCOMMENT
MEDIUMdojo/finding/api/serializer.py769 # Create a notificationCOMMENT
MEDIUMdojo/location/models.py409 # Create the list of hashes of the supplied locations; we will also use this to reconstruct the initial orderingCOMMENT
MEDIUMdojo/location/models.py426 # Create the list of new locations to createCOMMENT
MEDIUMdojo/management/commands/pghistory_backfill_simple.py37 # Define the models to processCOMMENT
MEDIUMdojo/management/commands/import_surveys.py33 # Create the new id lineCOMMENT
MEDIUMdojo/product/ui/views.py1527 # Create the necessary nested objectsCOMMENT
MEDIUMdojo/product/ui/views.py1539 # Create the necessary nested objectsCOMMENT
MEDIUMdojo/url/models.py383 # Create the initial object, assuming no exceptions are thrownCOMMENT
MEDIUMdojo/url/ui/views.py218 # Create the product tab for the viewCOMMENT
MEDIUMdojo/url/ui/views.py305 # Create the product tab for the viewCOMMENT
MEDIUMdojo/engagement/ui/views.py973 # Create the engagement if necessaryCOMMENT
MEDIUMdojo/jira/helper.py1069 # Create a new issue in Jira with the fields set in the last stepCOMMENT
MEDIUMdojo/db_migrations/0106_role_model.py24 # Create the table for the roleCOMMENT
MEDIUMdojo/db_migrations/0049_create_endpoint_status.py23 # Create a new status for each endpointCOMMENT
MEDIUMunittests/test_false_positive_history_logic.py1758 # Create a finding before the batch import so it pre-exists.COMMENT
MEDIUMunittests/test_user_ui_timestamps.py25 # Create a target user and rotate their token at a fixed time.COMMENT
MEDIUMunittests/test_flush_auditlog.py42 # Create a test product type to generate eventsCOMMENT
MEDIUMunittests/test_flush_auditlog.py64 # Create a test product typeCOMMENT
MEDIUMunittests/test_endpoint_model.py172 # Define the productCOMMENT
35 more matches not shown…
Structural Annotation Overuse147 hits · 238 pts
SeverityFileLineSnippetContext
LOWdojo/utils.py1882 # Step 1: Determine finding scopeCOMMENT
LOWdojo/utils.py1889 # Step 2: Prepare duplicate clusters (must happen before any deletion)COMMENT
LOWdojo/utils.py1894 # Step 3: Delete the main scope findingsCOMMENT
LOWdojo/utils.py1902 # Step 4: Delete all remaining related objects (Tests, Engagements,COMMENT
LOWdojo/utils.py1911 # Step 5: Delete the top-level object via ORM to fire Django signalsCOMMENT
LOWdojo/utils.py1916 # Step 6: Recalculate product grade once (Engagement/Test deletes only). Skip when theCOMMENT
LOWdojo/importers/endpoint_manager.py254 # Step 1: Ensure all recorded endpoints exist in DBCOMMENT
LOWdojo/importers/endpoint_manager.py257 # Step 2: Bulk-create Endpoint_Status rowsCOMMENT
LOWdojo/importers/endpoint_manager.py272 # Step 3: Bulk-update mitigated endpoint statusesCOMMENT
LOWdojo/importers/endpoint_manager.py291 # Step 4: Bulk-update reactivated endpoint statusesCOMMENT
LOWdojo/finding/helper.py1259 # NOTE: This function is recursive and does per-finding DB queries without prefetching.COMMENT
LOWdojo/db_migrations/0286_cicd_infrastructure.py61 # Step 1: Create CICDInfrastructure modelCOMMENT
LOWdojo/db_migrations/0286_cicd_infrastructure.py76 # Step 2: Remove old pgtrigger triggers FIRST.COMMENT
LOWdojo/db_migrations/0286_cicd_infrastructure.py96 # Step 3: Add new FK fields to Engagement (before removing old ones)COMMENT
LOWdojo/db_migrations/0286_cicd_infrastructure.py136 # Step 4: Migrate data from Tool_Configuration to CICDInfrastructureCOMMENT
LOWdojo/db_migrations/0286_cicd_infrastructure.py149 # Step 5: Remove old FK fields from EngagementCOMMENT
LOWdojo/db_migrations/0286_cicd_infrastructure.py162 # Step 6: Update pghistory event table FK fields to point to CICDInfrastructureCOMMENT
LOWdojo/db_migrations/0286_cicd_infrastructure.py193 # Step 7: Re-create pgtrigger triggers with new column namesCOMMENT
LOW…rations/0253_migrate_vulnerability_ids_to_textfield.py93 # Step 1: Migrate data from Vulnerability_Id_Template to vulnerability_ids_textCOMMENT
LOW…rations/0253_migrate_vulnerability_ids_to_textfield.py98 # Step 2: Delete old Vulnerability_Id_Template recordsCOMMENT
LOWunittests/test_import_reimport.py782 # Step 2: Mitigate finding ACOMMENT
LOWunittests/test_import_reimport.py790 # Step 3: Import again into engagement 2 → tries to deduplicate against A (mitigated),COMMENT
LOWunittests/test_import_reimport.py907 # Step 2: Mitigate finding ACOMMENT
LOWunittests/test_import_reimport.py915 # Step 3: Import again into engagement 2 → exception, finding B created as new activeCOMMENT
LOWunittests/test_import_reimport.py970 # Step 5: Mitigate finding BCOMMENT
LOWunittests/test_import_reimport.py978 # Step 6: Import again into engagement 4 → should find A (mitigated, exception), B (mitigated, exception),COMMENT
LOWunittests/test_import_reimport.py2640 # Step 3: test1's 4 findings must all still be activeCOMMENT
LOWunittests/test_import_reimport.py2656 # Step 1: Baseline import (default batch size)COMMENT
LOWunittests/test_import_reimport.py2827 # Step 1: Baseline import (default batch size)COMMENT
LOWunittests/test_import_reimport.py755 # Step 1: Import scan into engagement 1 → finding A (active)COMMENT
LOWunittests/test_import_reimport.py820 # Step 4: Import again into engagement 3 → should find both A (mitigated) and B (active)COMMENT
LOWunittests/test_import_reimport.py883 # Step 1: Import scan into engagement 1 → finding A (active)COMMENT
LOWunittests/test_import_reimport.py941 # Step 4: Import again into engagement 3 → should skip finding1 (mitigated, exception),COMMENT
LOWunittests/test_import_reimport.py2611 # Step 1: import 4 findings into an existing test (test1) in the engagement.COMMENT
LOWunittests/test_import_reimport.py2622 # Step 2: call the reimport endpoint with auto_create_context=True and aCOMMENT
LOWunittests/test_import_reimport.py2701 # Step 2: Reimport scan (same test)COMMENT
LOWunittests/test_import_reimport.py2728 # Step 3: Import scan in NEW engagement with batch_size=50COMMENT
LOWunittests/test_import_reimport.py2784 # Step 4: Reimport scan in same new engagement (batch_size=50)COMMENT
LOWunittests/test_import_reimport.py2866 # Step 2: Import scan again (same engagement)COMMENT
LOWunittests/test_import_reimport.py2892 # Step 3: Import scan in NEW engagement with batch_size=50COMMENT
LOWunittests/test_import_reimport.py2947 # Step 4: Import scan again in same new engagement (batch_size=50)COMMENT
LOW…ttests/scans/dependency_track/deptrack_npm_4.14.1.json697 "description": "## Summary\n\nDOMPurify versions 3.0.1 through 3.3.3 (latest) are vulnerable to a prototCODE
LOW…dings/finding_deduplication/avoid_excess_duplicates.md21## Step 1: Clean up your excess DuplicatesCOMMENT
LOW…dings/finding_deduplication/avoid_excess_duplicates.md25### Step 2: Evaluate your Engagements for redundanciesCOMMENT
LOW…dings/finding_deduplication/avoid_excess_duplicates.md41### Step 3: Check for redundant TestsCOMMENT
LOWdocs/content/connectors/os_jira/os__jira_guide.md24## Step 1: Enable the Jira integration in System SettingsCOMMENT
LOWdocs/content/connectors/os_jira/os__jira_guide.md64## Step 2: Connect a Jira InstanceCOMMENT
LOWdocs/content/connectors/os_jira/os__jira_guide.md161## Step 3: Connect an Asset or Engagement to JiraCOMMENT
LOWdocs/content/connectors/os_jira/os__jira_guide.md284## Step 4: Configure Bidirectional Sync: Jira WebhookCOMMENT
LOWdocs/content/connectors/os_jira/os__jira_guide.md513#### Step 1: Record the names of your Custom Fields in JiraCOMMENT
LOWdocs/content/connectors/os_jira/os__jira_guide.md525#### Step 2: Finding your Jira Custom Field Key ValuesCOMMENT
LOW…cs/content/connectors/downstream/PRO__jira_guide.ja.md330## Step 4: Configure Bidirectional Sync: Jira WebhookCOMMENT
LOW…cs/content/connectors/downstream/PRO__jira_guide.ja.md605#### Step 1: Record the names of your Custom Fields in JiraCOMMENT
LOW…cs/content/connectors/downstream/PRO__jira_guide.ja.md617#### Step 2: Finding your Jira Custom Field Key ValuesCOMMENT
LOW…cs/content/connectors/downstream/PRO__jira_guide.ja.md641#### Step 3 - Finding the Custom Fields on a Jira IssueCOMMENT
LOW…cs/content/connectors/downstream/PRO__jira_guide.ja.md656#### Step 4 - Creating a JSON Field Reference from each Jira Custom Field KeyCOMMENT
LOW…cs/content/connectors/downstream/PRO__jira_guide.ja.md778#### Step 5 - Adding the Custom Fields to a DefectDojo ProductCOMMENT
LOW…cs/content/connectors/downstream/PRO__jira_guide.ja.md782#### Step 6 - Testing your Jira Custom Fields from a new Finding:COMMENT
LOWdocs/content/connectors/downstream/PRO__jira_guide.md82## Step 1: Enable the Jira integration in System SettingsCOMMENT
LOWdocs/content/connectors/downstream/PRO__jira_guide.md112## Step 2: Connect a Jira InstanceCOMMENT
87 more matches not shown…
Unused Imports319 hits · 234 pts
SeverityFileLineSnippetContext
LOWdojo/tasks.py25CODE
LOWdojo/tasks.py25CODE
LOWdojo/tasks.py25CODE
LOWdojo/tasks.py148CODE
LOWdojo/models.py23CODE
LOWdojo/models.py127CODE
LOWdojo/models.py128CODE
LOWdojo/models.py128CODE
LOWdojo/models.py128CODE
LOWdojo/models.py128CODE
LOWdojo/models.py128CODE
LOWdojo/models.py128CODE
LOWdojo/models.py128CODE
LOWdojo/models.py138CODE
LOWdojo/models.py149CODE
LOWdojo/models.py150CODE
LOWdojo/models.py150CODE
LOWdojo/models.py151CODE
LOWdojo/models.py152CODE
LOWdojo/models.py152CODE
LOWdojo/models.py156CODE
LOWdojo/models.py156CODE
LOWdojo/models.py161CODE
LOWdojo/models.py162CODE
LOWdojo/models.py163CODE
LOWdojo/models.py163CODE
LOWdojo/models.py163CODE
LOWdojo/models.py163CODE
LOWdojo/models.py163CODE
LOWdojo/models.py163CODE
LOWdojo/models.py163CODE
LOWdojo/models.py163CODE
LOWdojo/models.py368CODE
LOWdojo/models.py369CODE
LOWdojo/models.py379CODE
LOWdojo/models.py380CODE
LOWdojo/models.py380CODE
LOWdojo/models.py380CODE
LOWdojo/models.py381CODE
LOWdojo/models.py381CODE
LOWdojo/models.py408CODE
LOWdojo/models.py408CODE
LOWdojo/models.py408CODE
LOWdojo/models.py408CODE
LOWdojo/models.py408CODE
LOWdojo/models.py417CODE
LOWdojo/models.py417CODE
LOWdojo/models.py475CODE
LOWdojo/models.py475CODE
LOWdojo/models.py475CODE
LOWdojo/models.py480CODE
LOWdojo/models.py481CODE
LOWdojo/models.py481CODE
LOWdojo/models.py481CODE
LOWdojo/models.py481CODE
LOWdojo/models.py481CODE
LOWdojo/models.py488CODE
LOWdojo/models.py488CODE
LOWdojo/models.py488CODE
LOWdojo/models.py488CODE
259 more matches not shown…
AI Slop Vocabulary141 hits · 213 pts
SeverityFileLineSnippetContext
LOWdojo/settings/settings.dist.py1739# There seems to be no way just use the default and just leave out jquery, so we have to copy...COMMENT
MEDIUMdojo/tools/twistlock/parser.py297 # Build comprehensive descriptionCOMMENT
LOWdojo/tools/generic/parser.py31 # if the file is a CSV just use the old functionCOMMENT
MEDIUMdojo/tools/ibm_app/parser.py158 """Function that parse advisory-group in order to get the item's description"""STRING
LOWdojo/importers/auto_create_context.py305 # If we have an engagement, we cna just return itCOMMENT
LOWunittests/test_import_reimport.py1458 # and the logic below will get confused and just create a new findingCOMMENT
MEDIUMunittests/test_deduplication_logic.py2025 # 'absolutely great title' becomes 'Absolutely Great Title'COMMENT
MEDIUM…ittests/scans/snyk_code/single_project_many_vulns.json495 "markdown": "\n## Details\n\nWithout unlimited resources, software operating in the real world is inhereCODE
MEDIUM…ittests/scans/snyk_code/single_project_many_vulns.json2113 "markdown": "## Details\n\nA cross-site scripting attack occurs when the attacker tricks a legitimate weCODE
MEDIUM…ittests/scans/snyk_code/single_project_many_vulns.json3720 "markdown": "## Details\n\nA cross-site scripting attack occurs when the attacker tricks a legitimate weCODE
MEDIUMunittests/scans/snyk_code/snykcode_issue_9270.json22 "markdown": "## Details\n\nA cross-site scripting attack occurs when the attacker tricks a legitimate CODE
MEDIUMunittests/scans/snyk_code/snykcode_issue_9270.json101 "markdown": "\n## Details\n\nWithout unlimited resources, software operating in the real world is inheCODE
MEDIUMunittests/scans/snyk_code/snykcode_issue_9270.json3997 "markdown": "## Details\n\nPrototype Pollution is a vulnerability affecting JavaScript. Prototype PollCODE
MEDIUMunittests/scans/snyk_code/snykcode_issue_9270.json4097 "markdown": "## Details\n\nA cross-site scripting attack occurs when the attacker tricks a legitimate CODE
MEDIUMunittests/scans/snyk/snykcontainer_issue_9270.json3319 "description": "## Overview\n[sanitize-html](https://github.com/punkave/sanitize-html) is a library that allCODE
MEDIUMunittests/scans/snyk/snykcontainer_issue_9270.json3740 "description": "## Overview\nSanitization of HTML strings is not applied recursively to input, allowing an aCODE
MEDIUMunittests/scans/snyk/snykcontainer_issue_9270.json3826 "description": "## Overview\n[`sanitize-html`](https://www.npmjs.com/package/sanitize-html) is a library forCODE
MEDIUMunittests/scans/snyk/all_projects_issue4277.json1691 "description": "## Overview\n[ajv](https://www.npmjs.com/package/ajv) is an Another JSON Schema Validator\n\nAffCODE
MEDIUMunittests/scans/snyk/all_projects_issue4277.json1691 "description": "## Overview\n[ajv](https://www.npmjs.com/package/ajv) is an Another JSON Schema Validator\n\nAffCODE
MEDIUMunittests/scans/snyk/all_projects_issue4277.json1757 "description": "## Overview\n[ajv](https://www.npmjs.com/package/ajv) is an Another JSON Schema Validator\n\nAffCODE
MEDIUMunittests/scans/snyk/all_projects_issue4277.json1757 "description": "## Overview\n[ajv](https://www.npmjs.com/package/ajv) is an Another JSON Schema Validator\n\nAffCODE
MEDIUMunittests/scans/snyk/all_projects_issue4277.json1825 "description": "## Overview\n[ajv](https://www.npmjs.com/package/ajv) is an Another JSON Schema Validator\n\nAffCODE
MEDIUMunittests/scans/snyk/all_projects_issue4277.json1825 "description": "## Overview\n[ajv](https://www.npmjs.com/package/ajv) is an Another JSON Schema Validator\n\nAffCODE
MEDIUMunittests/scans/snyk/all_projects_issue4277.json1893 "description": "## Overview\n[@angular/core](https://www.npmjs.com/package/@angular/core) is a package that letsCODE
MEDIUMunittests/scans/snyk/all_projects_issue4277.json2495 "description": "## Overview\n[lodash](https://www.npmjs.com/package/lodash) is a modern JavaScript utility libraCODE
MEDIUMunittests/scans/snyk/all_projects_issue4277.json2495 "description": "## Overview\n[lodash](https://www.npmjs.com/package/lodash) is a modern JavaScript utility libraCODE
MEDIUMunittests/scans/snyk/all_projects_issue4277.json2614 "description": "## Overview\n[lodash](https://www.npmjs.com/package/lodash) is a modern JavaScript utility libraCODE
MEDIUMunittests/scans/snyk/all_projects_issue4277.json2614 "description": "## Overview\n[lodash](https://www.npmjs.com/package/lodash) is a modern JavaScript utility libraCODE
MEDIUMunittests/scans/snyk/all_projects_issue4277.json2696 "description": "## Overview\n[lodash](https://www.npmjs.com/package/lodash) is a modern JavaScript utility libraCODE
MEDIUMunittests/scans/snyk/all_projects_issue4277.json2696 "description": "## Overview\n[lodash](https://www.npmjs.com/package/lodash) is a modern JavaScript utility libraCODE
MEDIUMunittests/scans/snyk/all_projects_issue4277.json2756 "description": "## Overview\n[lodash](https://www.npmjs.com/package/lodash) is a modern JavaScript utility libraCODE
MEDIUMunittests/scans/snyk/all_projects_issue4277.json2756 "description": "## Overview\n[lodash](https://www.npmjs.com/package/lodash) is a modern JavaScript utility libraCODE
MEDIUMunittests/scans/snyk/all_projects_issue4277.json2952 "description": "## Overview\n[lodash](https://www.npmjs.com/package/lodash) is a modern JavaScript utility libraCODE
MEDIUMunittests/scans/snyk/all_projects_issue4277.json2952 "description": "## Overview\n[lodash](https://www.npmjs.com/package/lodash) is a modern JavaScript utility libraCODE
MEDIUMunittests/scans/snyk/all_projects_issue4277.json3073 "description": "## Overview\n[lodash](https://www.npmjs.com/package/lodash) is a modern JavaScript utility libraCODE
MEDIUMunittests/scans/snyk/all_projects_issue4277.json3073 "description": "## Overview\n[lodash](https://www.npmjs.com/package/lodash) is a modern JavaScript utility libraCODE
MEDIUMunittests/scans/snyk/all_projects_issue4277.json3157 "description": "## Overview\n[lodash](https://www.npmjs.com/package/lodash) is a modern JavaScript utility libraCODE
MEDIUMunittests/scans/snyk/all_projects_issue4277.json3157 "description": "## Overview\n[lodash](https://www.npmjs.com/package/lodash) is a modern JavaScript utility libraCODE
MEDIUMunittests/scans/snyk/all_projects_issue4277.json3219 "description": "## Overview\n[lodash](https://www.npmjs.com/package/lodash) is a modern JavaScript utility libraCODE
MEDIUMunittests/scans/snyk/all_projects_issue4277.json3219 "description": "## Overview\n[lodash](https://www.npmjs.com/package/lodash) is a modern JavaScript utility libraCODE
MEDIUMunittests/scans/snyk/all_projects_issue4277.json3421 "description": "## Overview\n[lodash](https://www.npmjs.com/package/lodash) is a modern JavaScript utility libraCODE
MEDIUMunittests/scans/snyk/all_projects_issue4277.json3421 "description": "## Overview\n[lodash](https://www.npmjs.com/package/lodash) is a modern JavaScript utility libraCODE
MEDIUMunittests/scans/snyk/all_projects_issue4277.json3544 "description": "## Overview\n[lodash](https://www.npmjs.com/package/lodash) is a modern JavaScript utility libraCODE
MEDIUMunittests/scans/snyk/all_projects_issue4277.json3544 "description": "## Overview\n[lodash](https://www.npmjs.com/package/lodash) is a modern JavaScript utility libraCODE
MEDIUMunittests/scans/snyk/all_projects_issue4277.json3630 "description": "## Overview\n[lodash](https://www.npmjs.com/package/lodash) is a modern JavaScript utility libraCODE
MEDIUMunittests/scans/snyk/all_projects_issue4277.json3630 "description": "## Overview\n[lodash](https://www.npmjs.com/package/lodash) is a modern JavaScript utility libraCODE
MEDIUMunittests/scans/snyk/all_projects_issue4277.json3694 "description": "## Overview\n[lodash](https://www.npmjs.com/package/lodash) is a modern JavaScript utility libraCODE
MEDIUMunittests/scans/snyk/all_projects_issue4277.json3694 "description": "## Overview\n[lodash](https://www.npmjs.com/package/lodash) is a modern JavaScript utility libraCODE
MEDIUMunittests/scans/snyk/all_projects_issue4277.json3758 "description": "## Overview\n[minimist](https://www.npmjs.com/package/minimist) is a parse argument options moduCODE
MEDIUMunittests/scans/snyk/all_projects_issue4277.json3758 "description": "## Overview\n[minimist](https://www.npmjs.com/package/minimist) is a parse argument options moduCODE
MEDIUMunittests/scans/snyk/all_projects_issue4277.json3886 "description": "## Overview\n[minimist](https://www.npmjs.com/package/minimist) is a parse argument options moduCODE
MEDIUMunittests/scans/snyk/all_projects_issue4277.json3886 "description": "## Overview\n[minimist](https://www.npmjs.com/package/minimist) is a parse argument options moduCODE
MEDIUMunittests/scans/snyk/all_projects_issue4277.json4020 "description": "## Overview\n[minimist](https://www.npmjs.com/package/minimist) is a parse argument options moduCODE
MEDIUMunittests/scans/snyk/all_projects_issue4277.json4020 "description": "## Overview\n[minimist](https://www.npmjs.com/package/minimist) is a parse argument options moduCODE
MEDIUMunittests/scans/snyk/all_projects_issue4277.json4148 "description": "## Overview\n[minimist](https://www.npmjs.com/package/minimist) is a parse argument options moduCODE
MEDIUMunittests/scans/snyk/all_projects_issue4277.json4148 "description": "## Overview\n[minimist](https://www.npmjs.com/package/minimist) is a parse argument options moduCODE
MEDIUMunittests/scans/snyk/all_projects_issue4277.json4278 "description": "## Overview\n[minimist](https://www.npmjs.com/package/minimist) is a parse argument options moduCODE
MEDIUMunittests/scans/snyk/all_projects_issue4277.json4278 "description": "## Overview\n[minimist](https://www.npmjs.com/package/minimist) is a parse argument options moduCODE
MEDIUMunittests/scans/snyk/all_projects_issue4277.json4410 "description": "## Overview\n[minimist](https://www.npmjs.com/package/minimist) is a parse argument options moduCODE
MEDIUMunittests/scans/snyk/all_projects_issue4277.json4410 "description": "## Overview\n[minimist](https://www.npmjs.com/package/minimist) is a parse argument options moduCODE
81 more matches not shown…
Fake / Example Data151 hits · 192 pts
SeverityFileLineSnippetContext
LOWdojo/settings/settings.dist.py1749TAGULOUS_AUTOCOMPLETE_SETTINGS = {"placeholder": "Enter some tags (comma separated, use enter to select / create a new tCODE
LOWdojo/finding/ui/filters.py257 date_input_widget = forms.DateInput(attrs={"class": "datepicker", "placeholder": "YYYY-MM-DD"}, format="%Y-%m-%dCODE
LOWdojo/templates_classic/base.html1257 <!-- 'placeholder': 'Select or add some tags...', -->CODE
LOWdojo/templates_classic/dojo/report_builder.html68 $(this).attr("placeholder", label.html().replace(':', "..."));CODE
LOWdojo/jira/forms.py148 self.fields["project_key"].widget = forms.TextInput(attrs={"placeholder": f"JIRA settings inherited from proCODE
LOWdojo/jira/forms.py297 self.fields["jira_issue"].widget = forms.TextInput(attrs={"placeholder": "Leave empty and check push to jiraCODE
LOWdojo/jira/forms.py299 self.fields["jira_issue"].widget = forms.TextInput(attrs={"placeholder": "Leave empty and check push to jiraCODE
LOWdojo/templates/dojo/report_builder.html68 $(this).attr("placeholder", label.html().replace(':', "..."));CODE
LOWunittests/test_rest_framework.py2236 result = self.client.patch(self.url + "2/", data={"steps_to_reproduce": "Lorem ipsum dolor sit amet"})CODE
LOWunittests/test_rest_framework.py2236 result = self.client.patch(self.url + "2/", data={"steps_to_reproduce": "Lorem ipsum dolor sit amet"})CODE
LOWunittests/test_rest_framework.py2238 self.assertEqual(result.json()["steps_to_reproduce"], "Lorem ipsum dolor sit amet")CODE
LOWunittests/test_rest_framework.py2238 self.assertEqual(result.json()["steps_to_reproduce"], "Lorem ipsum dolor sit amet")CODE
LOWunittests/test_rest_framework.py2249 self.assertEqual(result_json["results"][0]["steps_to_reproduce"], "Lorem ipsum dolor sit amet")CODE
LOWunittests/test_rest_framework.py2249 self.assertEqual(result_json["results"][0]["steps_to_reproduce"], "Lorem ipsum dolor sit amet")CODE
LOWunittests/test_finding_model.py411 finding.references = "Lorem ipsum dolor sit amet, consetetur sadipscing elitr"CODE
LOWunittests/test_finding_model.py411 finding.references = "Lorem ipsum dolor sit amet, consetetur sadipscing elitr"CODE
LOWunittests/test_finding_model.py412 self.assertEqual("Lorem ipsum dolor sit amet, consetetur sadipscing elitr", finding.get_references_with_links())CODE
LOWunittests/test_finding_model.py412 self.assertEqual("Lorem ipsum dolor sit amet, consetetur sadipscing elitr", finding.get_references_with_links())CODE
LOWunittests/tools/test_threat_composer_parser.py28 self.assertEqual("lorem ipsum", finding.title)CODE
LOWunittests/tools/test_ptart_parser.py202 self.assertEqual("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt CODE
LOWunittests/tools/test_ptart_parser.py202 self.assertEqual("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt CODE
LOWunittests/tools/test_ptart_parser.py191 "caption": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunCODE
LOWunittests/tools/test_ptart_parser.py191 "caption": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunCODE
LOWunittests/tools/test_ptart_parser.py944 self.assertEqual("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt CODE
LOWunittests/tools/test_ptart_parser.py944 self.assertEqual("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt CODE
LOWunittests/tools/test_gitleaks_parser.py98 self.assertIn("\n**Commit message:** Lorem ipsum dolor sit amet, consetetur sadipscing elitr", finding.dCODE
LOWunittests/tools/test_gitleaks_parser.py98 self.assertIn("\n**Commit message:** Lorem ipsum dolor sit amet, consetetur sadipscing elitr", finding.dCODE
LOWunittests/tools/test_gitleaks_parser.py116Lorem ipsum dolor sit amet,CODE
LOWunittests/tools/test_gitleaks_parser.py116Lorem ipsum dolor sit amet,CODE
LOW…ittests/scans/snyk_code/single_project_many_vulns.json2394 "line": "email : 'test@test.com'\n",CODE
LOWunittests/scans/snyk_code/snykcode_issue_9270.json4377 "line": "email : 'test@test.com'\n",CODE
LOWunittests/scans/arachni/dd.com.afr.json285 "body" : "\n\n\n<!DOCTYPE html>\n<html lang=\"en\">\n\n<head>\n\n <meta charset=\"utf-8\">\n <meta http-eqCODE
LOWunittests/scans/arachni/dd.com.afr.json296 "body" : "\n\n\n<!DOCTYPE html>\n<html lang=\"en\">\n\n<head>\n\n <meta charset=\"utf-8\">\n <meta http-eqCODE
LOWunittests/scans/arachni/dd.com.afr.json332 "body" : "\n\n\n<!DOCTYPE html>\n<html lang=\"en\">\n\n<head>\n\n <meta charset=\"utf-8\">\n <meta http-eqCODE
LOWunittests/scans/whitehat_sentinel/invalid_data.txt1Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqCODE
LOWunittests/scans/whitehat_sentinel/invalid_data.txt1Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqCODE
LOWunittests/scans/zap/zap_2.16.1_with_req_resp.xml794 <requestbody>"John Doe"</requestbody>CODE
LOWunittests/scans/xygeni/secrets_many_findings.json818 "secretId" : "user@example.com",CODE
LOW…ittests/scans/ptart/ptart_one_vul_screenshot_long.json48 "caption": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut lCODE
LOW…ittests/scans/ptart/ptart_one_vul_screenshot_long.json48 "caption": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut lCODE
LOWunittests/scans/burp_suite_dast/many_vulns.html1231The following email addresses were disclosed in the response:<ul><li>fake-user@testing.com</li><li>fake-admin@testing.coCODE
LOWunittests/scans/snyk/snykcode_issue_9270.json4377 "line": "email : 'test@test.com'\n",CODE
LOWunittests/scans/harbor_vulnerability/harborapipip.json54 "description": "Lorem ipsum.",CODE
LOWunittests/scans/cyclonedx/issue_8022.json76 "name": "Jane Doe",CODE
LOWunittests/scans/cyclonedx/valid-vulnerability-1.4.json77 "name": "Jane Doe",CODE
LOW…hreat_composer/threat_composer_broken_assumptions.json19 "content": "lorem ipsum",CODE
LOW…hreat_composer/threat_composer_broken_assumptions.json21 "lorem ipsum"CODE
LOW…hreat_composer/threat_composer_broken_assumptions.json26 "value": "lorem ipsum"CODE
LOW…hreat_composer/threat_composer_broken_assumptions.json36 "content": "lorem ipsum",CODE
LOW…hreat_composer/threat_composer_broken_assumptions.json38 "lorem ipsum"CODE
LOW…hreat_composer/threat_composer_broken_assumptions.json43 "value": "lorem ipsum"CODE
LOW…hreat_composer/threat_composer_broken_assumptions.json51 "content": "lorem ipsum",CODE
LOW…hreat_composer/threat_composer_broken_assumptions.json55 "value": "lorem ipsum"CODE
LOW…hreat_composer/threat_composer_broken_assumptions.json82 "statement": "A lorem ipsum lorem ipsum can lorem ipsum, which leads to lorem ipsum, negatively impacting lorem CODE
LOW…hreat_composer/threat_composer_broken_assumptions.json83 "threatSource": "lorem ipsum",CODE
LOW…hreat_composer/threat_composer_broken_assumptions.json84 "prerequisites": "lorem ipsum",CODE
LOW…hreat_composer/threat_composer_broken_assumptions.json85 "threatAction": "lorem ipsum",CODE
LOW…hreat_composer/threat_composer_broken_assumptions.json86 "threatImpact": "lorem ipsum",CODE
LOW…hreat_composer/threat_composer_broken_assumptions.json88 "lorem ipsum"CODE
LOW…hreat_composer/threat_composer_broken_assumptions.json109 "value": "lorem ipsum. lorem ipsum lorem ipsum"CODE
91 more matches not shown…
Redundant / Tautological Comments80 hits · 140 pts
SeverityFileLineSnippetContext
LOWdocker/install_chrome_dependencies.py14 # Check if ldd has failed for a good reason, or if there are no resultsCOMMENT
LOWdocker/install_chrome_dependencies.py34 # Check if ldd has failed for a good reason, or if there are no resultsCOMMENT
LOWtests/tool_product_test.py39 # Check if any non-API tool type existsCOMMENT
LOWtests/tool_product_test.py69 # Check if any tool config exists (any row in the table)COMMENT
LOWtests/tool_config.py33 # Check if form is prefieledCOMMENT
LOWtests/tool_config.py56 # Check if ToolType is selectedCOMMENT
LOWdojo/context_processors.py93 # Check if there was an error stored on the request (from middleware)COMMENT
LOWdojo/utils.py894 # Check if threat folder exist.COMMENT
LOWdojo/tools/qualys/parser.py188 # Check if CVSS field contains the CVSS vectorCOMMENT
LOWdojo/tools/sarif/parser.py476 # Check if this is a CWE taxonomy referenceCOMMENT
LOWdojo/tools/snyk_issue_api/parser.py62 # Check if any fix is availableCOMMENT
LOWdojo/tools/qualys_webapp/parser.py79 port = "" # Set port to empty string by defaultCODE
LOWdojo/tools/mend/parser.py187 # Check if adding this location will exceed the limitCOMMENT
LOWdojo/tools/noseyparker/parser.py43 # Set rule to the current secret type (e.g. AWS S3 Bucket)COMMENT
LOWdojo/tools/api_sonarqube/updater.py120 # Check if there is at least one transition from current_status...COMMENT
LOWdojo/tools/auditjs/parser.py74 # Check if there are any vulnerabilitiesCOMMENT
LOWdojo/tools/h1/parser.py288 # Iterate over the items and build the stringCOMMENT
LOWdojo/tools/veracode/xml_parser.py205 # Check if it's a FP in veracode.COMMENT
LOWdojo/tools/qualys_vmdr/helpers.py260 # Check if this is end of field: "" followed by , or end of stringCOMMENT
LOWdojo/tools/openreports/parser.py58 # Check if it's a Kubernetes List objectSTRING
LOWdojo/tools/openreports/parser.py61 # Check if it's a single Report objectSTRING
LOWdojo/tools/openreports/parser.py275 # Set vuln_id_from_tool to policy field for displaySTRING
LOWdojo/test/signals.py60 # Check if the test type has changedCOMMENT
LOWdojo/importers/options.py151 # Check if we are working with a list of modelsCOMMENT
LOWdojo/finding/models.py790 # Check if all needed settings are definedCOMMENT
LOWdojo/finding/models.py797 # Check if hash_code fields are found in the settingsCOMMENT
LOWdojo/finding/models.py803 # Check if all elements of HASHCODE_FIELDS_PER_SCANNER are in HASHCODE_ALLOWED_FIELDSCOMMENT
LOWdojo/finding/models.py1204 # Check if a mandatory field is empty. If it's the case, fill it with "no <fieldName> given"COMMENT
LOWdojo/finding/models.py1405 # Check if match isn't already a markdown linkCOMMENT
LOWdojo/finding/ui/views.py1317 # Check if there is a jira issue that needs to be updatedCOMMENT
LOWdojo/finding/ui/views.py1589 # Check if there is a jira issue that needs to be updatedCOMMENT
LOWdojo/finding/ui/views.py1683 # Check if there is a jira issue that needs to be updatedCOMMENT
LOWdojo/finding/ui/views.py2546 # Check if finding is duplicate and user wants to set active/verifiedCOMMENT
LOWdojo/location/models.py128 # Check if there is an existing reference for this finding and locationCOMMENT
LOWdojo/location/models.py175 # Check if there is an existing reference for this finding and locationCOMMENT
LOWdojo/management/commands/pghistory_backfill_simple.py113 # Check if event table existsCOMMENT
LOWdojo/management/commands/pghistory_backfill.py295 # Set pgh_created_at to current time (this is for the event creation time)COMMENT
LOWdojo/management/commands/pghistory_backfill_fast.py121 # Check if we can use COPY (PostgreSQL only)COMMENT
LOWdojo/management/commands/migrate_surveys.py22 # Check if there are any tables to migrateCOMMENT
LOWdojo/url/models.py269 # Check if it's a valid IP address firstCOMMENT
LOWdojo/url/ui/views.py485 # Check if the uploaded file exceeds the maximum allowed sizeCOMMENT
LOWdojo/engagement/ui/views.py644 # Set status to in progress if a test is addedCOMMENT
LOWdojo/jira/views.py95 # Check if the events supplied are supportedCOMMENT
LOWdojo/jira/views.py186 # Check if the issue is originally a 404COMMENT
LOWdojo/github/services.py27 # Check if we have github info related to the productCOMMENT
LOWdojo/github/services.py35 # Check if we have github info related to the findingCOMMENT
LOWdojo/github/services.py62 # Check if we have github info related to the productCOMMENT
LOWdojo/github/services.py70 # Check if we have github info related to the findingCOMMENT
LOWdojo/github/services.py97 # Check if we have github info related to the productCOMMENT
LOWdojo/github/services.py105 # Check if we have github info related to the findingCOMMENT
LOWdojo/github/services.py129 # Check if we have github info related to the productCOMMENT
LOWdojo/api_v2/prefetch/prefetcher.py119 # Check if the field represents a many-to-many relationship as we need to instantiate the serializer accordinglyCOMMENT
LOWdojo/db_migrations/0197_parser_merge.py29 # Check if nessus is in found by list and removeCOMMENT
LOWdojo/db_migrations/0197_parser_merge.py32 # Check if nessus WAS is in found by list and removeCOMMENT
LOWdojo/db_migrations/0197_parser_merge.py35 # Check if tenable is already in list somehow before adding itCOMMENT
LOWdojo/db_migrations/0197_parser_merge.py43 # Check if nessus is in found by list and removeCOMMENT
LOWdojo/db_migrations/0197_parser_merge.py46 # Check if tenable is already in list somehow before adding itCOMMENT
LOWdojo/db_migrations/0049_create_endpoint_status.py28 # Check if the status object was created, otherwise, there is nothing to doCOMMENT
LOWdojo/db_migrations/0187_nessus_to_tenable.py20 # Check if nessus is in found by list and removeCOMMENT
LOWdojo/db_migrations/0187_nessus_to_tenable.py23 # Check if nessus WAS is in found by list and removeCOMMENT
20 more matches not shown…
Over-Commented Block134 hits · 112 pts
SeverityFileLineSnippetContext
LOWdocker-compose.override.unit_tests_cicd.yml21 DD_DATABASE_HOST: ${DD_DATABASE_HOST:-postgres}COMMENT
LOWmanage.py1#!/usr/bin/env pythonCOMMENT
LOWdocker/entrypoint-unit-tests.sh21# echo "Creating settings.py"COMMENT
LOWdocker/entrypoint-unit-tests.sh121if [ "${DD_TEST_DB_MODE}" = "prepare" ]; thenCOMMENT
LOWdocker/entrypoint-integration-tests.sh61 # whitespace; CI passes groups of files that share one compose stack.COMMENT
LOWtests/test_test.py61 # Click on the 'Engagement' Dropdown buttonCOMMENT
LOWtests/test_test.py141 # Test To Add Finding To TestCOMMENT
LOWtests/test_test.py161 Select(driver.find_element(By.ID, "id_severity")).select_by_visible_text("High")COMMENT
LOWtests/product_test.py41 # Navigate to the product pageCOMMENT
LOWtests/product_test.py81COMMENT
LOWtests/product_test.py141 driver = self.driverCOMMENT
LOWtests/product_test.py261 driver.find_element(By.LINK_TEXT, "Add New Finding").click()COMMENT
LOWtests/product_test.py381 # Test To Edit Product Custom FieldsCOMMENT
LOWtests/finding_test.py541 # Select and click on the particular finding to editCOMMENT
LOWtests/finding_test.py561 # Navigate to All Finding pageCOMMENT
LOWtests/dedupe_test.py301 @on_exception_html_source_loggerCOMMENT
LOWdojo/signals.py1from django.dispatch import SignalCOMMENT
LOWdojo/apps.py21 # logger.info('ready(): initializing watson')COMMENT
LOWdojo/apps.py81 watson.register(app_config.get_model("Finding"), fields=get_model_fields_with_extra(app_config.get_model("Finding"),COMMENT
LOWdojo/apps.py101COMMENT
LOWdojo/utils.py981# time they are saved.COMMENT
LOWdojo/utils.py1901COMMENT
LOWdojo/celery.py181# for task in tasks:COMMENT
LOWdojo/db_utils.py1"""Database-level helpers that are not tied to any particular model or app."""COMMENT
LOWdojo/middleware.py161 passCOMMENT
LOWdojo/wsgi.py21logger = logging.getLogger(__name__)COMMENT
LOWdojo/settings/settings.dist.py121 # If a task sits in the broker queue for longer than this without being picked up by a worker,COMMENT
LOWdojo/settings/settings.dist.py181 DD_SIMILAR_FINDINGS_MAX_RESULTS=(int, 25),COMMENT
LOWdojo/settings/settings.dist.py201 DD_JIRA_EXTRA_ISSUE_TYPES=(str, ""),COMMENT
LOWdojo/settings/settings.dist.py241 # Examples include 5/m 100/h and more https://django-ratelimit.readthedocs.io/en/stable/rates.html#simple-ratesCOMMENT
LOWdojo/settings/settings.dist.py281 # When set to True, use the older version of the qualys parser that is a more heavy handed in setting severityCOMMENT
LOWdojo/settings/settings.dist.py421# see https://docs.djangoproject.com/en/3.2/releases/3.2/#customizing-type-of-auto-created-primary-keysCOMMENT
LOWdojo/settings/settings.dist.py441# ------------------------------------------------------------------------------COMMENT
LOWdojo/settings/settings.dist.py741 SPECTACULAR_SETTINGS["SWAGGER_UI_DIST"] = "SIDECAR"COMMENT
LOWdojo/settings/settings.dist.py1021 "options": {COMMENT
LOWdojo/settings/settings.dist.py1061# List of fields used to compute the hash_codeCOMMENT
LOWdojo/settings/settings.dist.py1321# 'unique_id_from_tool' is often not needed here as it can be used directly in the dedupe algorithm, but it's also possiCOMMENT
LOWdojo/settings/settings.dist.py1881# NotificationsCOMMENT
LOWdojo/settings/settings.dist.py1901# The setting is here to avoid RemovedInDjango60Warning. It is here only for transition period.COMMENT
LOWdojo/settings/settings.dist.py1961COMMENT
LOWdojo/system_settings/views.py1# Backward-compat shim: the view logic moved to dojo.system_settings.ui.views during theCOMMENT
LOWdojo/tools/promptfoo/parser.py21COMMENT
LOWdojo/tools/spotbugs/parser.py61 mitigation += "\n\n#### Example\n"COMMENT
LOWdojo/tools/dependency_check/parser.py221 # TODO: what happens when there multiple evidencecollectednodes withCOMMENT
LOWdojo/tools/tenable/utils.py1COMMENT
LOWdojo/tools/checkmarx_osa/parser.py121COMMENT
LOWdojo/tools/aqua/parser.py61 # def get_fields(self) -> list[str]:COMMENT
LOWdojo/tools/aqua/parser.py81 # ]COMMENT
LOWdojo/tools/sysdig_cli/parser.py241 csv_data_record.epss_score = row.get("epss score", "")COMMENT
LOWdojo/tools/api_blackduck/api_client.py21 timeout=120,COMMENT
LOWdojo/tools/mobsf/api_report_json.py241 # specific node for Android reportsCOMMENT
LOWdojo/test/views.py1# Backward-compat shim: the view logic moved to dojo.test.ui.views during theCOMMENT
LOWdojo/importers/base_importer.py301 # this is the same as the old behavior as current import/reimporter implementation doesn't handle the caseCOMMENT
LOWdojo/importers/default_importer.py121 # Close any old findings in the processed list if the the user specified for thatCOMMENT
LOWdojo/importers/default_reimporter.py121 ) = self.process_findings(parsed_findings, **kwargs)COMMENT
LOWdojo/importers/default_reimporter.py461 unsaved_finding,COMMENT
LOWdojo/importers/default_reimporter.py481 # The two batch types serve different purposes:COMMENT
LOWdojo/importers/default_reimporter.py601 """COMMENT
LOWdojo/finding/helper.py1261 # in bulk, but loops are rare (only from past bugs or high parallel load) so theCOMMENT
LOWdojo/finding/views.py1# Backward-compat shim: the view logic moved to dojo.finding.ui.views during theCOMMENT
74 more matches not shown…
Magic Placeholder Names17 hits · 85 pts
SeverityFileLineSnippetContext
HIGHdocs/content/supported_tools/parsers/file/talisman.md15DEFECTDOJO_API_KEY="your-api-key"CODE
HIGH…mport_data/pro/specialized_import/external_tools.it.md50 `export DD_CLI_API_TOKEN=YOUR_API_KEY`CODE
HIGH…mport_data/pro/specialized_import/external_tools.it.md53 `export DD_IMPORTER_DOJO_API_TOKEN=YOUR_API_KEY`CODE
HIGH…mport_data/pro/specialized_import/external_tools.es.md50 `export DD_CLI_API_TOKEN=YOUR_API_KEY`CODE
HIGH…mport_data/pro/specialized_import/external_tools.es.md53 `export DD_IMPORTER_DOJO_API_TOKEN=YOUR_API_KEY`CODE
HIGH…mport_data/pro/specialized_import/external_tools.fr.md50 `export DD_CLI_API_TOKEN=YOUR_API_KEY`CODE
HIGH…mport_data/pro/specialized_import/external_tools.fr.md53 `export DD_IMPORTER_DOJO_API_TOKEN=YOUR_API_KEY`CODE
HIGH…mport_data/pro/specialized_import/external_tools.de.md50 `export DD_CLI_API_TOKEN=YOUR_API_KEY`CODE
HIGH…mport_data/pro/specialized_import/external_tools.de.md53 `export DD_IMPORTER_DOJO_API_TOKEN=YOUR_API_KEY`CODE
HIGH…mport_data/pro/specialized_import/external_tools.ja.md50 `export DD_CLI_API_TOKEN=YOUR_API_KEY`CODE
HIGH…mport_data/pro/specialized_import/external_tools.ja.md53 `export DD_IMPORTER_DOJO_API_TOKEN=YOUR_API_KEY`CODE
HIGH…_data/pro/specialized_import/external_tools.zh-hans.md50 `export DD_CLI_API_TOKEN=YOUR_API_KEY`CODE
HIGH…_data/pro/specialized_import/external_tools.zh-hans.md53 `export DD_IMPORTER_DOJO_API_TOKEN=YOUR_API_KEY`CODE
HIGH…rt_data/pro/specialized_import/external_tools.pt-br.md50 `export DD_CLI_API_TOKEN=YOUR_API_KEY`CODE
HIGH…rt_data/pro/specialized_import/external_tools.pt-br.md53 `export DD_IMPORTER_DOJO_API_TOKEN=YOUR_API_KEY`CODE
HIGH…t/import_data/pro/specialized_import/external_tools.md51 `export DD_CLI_API_TOKEN=YOUR_API_KEY`CODE
HIGH…t/import_data/pro/specialized_import/external_tools.md54 `export DD_IMPORTER_DOJO_API_TOKEN=YOUR_API_KEY`CODE
Verbosity Indicators46 hits · 72 pts
SeverityFileLineSnippetContext
LOWdojo/utils.py1882 # Step 1: Determine finding scopeCOMMENT
LOWdojo/utils.py1889 # Step 2: Prepare duplicate clusters (must happen before any deletion)COMMENT
LOWdojo/utils.py1894 # Step 3: Delete the main scope findingsCOMMENT
LOWdojo/utils.py1902 # Step 4: Delete all remaining related objects (Tests, Engagements,COMMENT
LOWdojo/utils.py1911 # Step 5: Delete the top-level object via ORM to fire Django signalsCOMMENT
LOWdojo/utils.py1916 # Step 6: Recalculate product grade once (Engagement/Test deletes only). Skip when theCOMMENT
LOWdojo/importers/endpoint_manager.py254 # Step 1: Ensure all recorded endpoints exist in DBCOMMENT
LOWdojo/importers/endpoint_manager.py257 # Step 2: Bulk-create Endpoint_Status rowsCOMMENT
LOWdojo/importers/endpoint_manager.py272 # Step 3: Bulk-update mitigated endpoint statusesCOMMENT
LOWdojo/importers/endpoint_manager.py291 # Step 4: Bulk-update reactivated endpoint statusesCOMMENT
LOWdojo/authorization/api_permissions.py575 # the engagement doesn't exist, so we need to check if the user hasCOMMENT
LOWdojo/authorization/api_permissions.py764 # the test doesn't exist, so we need to check if the user hasCOMMENT
LOWdojo/db_migrations/0286_cicd_infrastructure.py61 # Step 1: Create CICDInfrastructure modelCOMMENT
LOWdojo/db_migrations/0286_cicd_infrastructure.py76 # Step 2: Remove old pgtrigger triggers FIRST.COMMENT
LOWdojo/db_migrations/0286_cicd_infrastructure.py96 # Step 3: Add new FK fields to Engagement (before removing old ones)COMMENT
LOWdojo/db_migrations/0286_cicd_infrastructure.py136 # Step 4: Migrate data from Tool_Configuration to CICDInfrastructureCOMMENT
LOWdojo/db_migrations/0286_cicd_infrastructure.py149 # Step 5: Remove old FK fields from EngagementCOMMENT
LOWdojo/db_migrations/0286_cicd_infrastructure.py162 # Step 6: Update pghistory event table FK fields to point to CICDInfrastructureCOMMENT
LOWdojo/db_migrations/0286_cicd_infrastructure.py193 # Step 7: Re-create pgtrigger triggers with new column namesCOMMENT
LOW…rations/0253_migrate_vulnerability_ids_to_textfield.py93 # Step 1: Migrate data from Vulnerability_Id_Template to vulnerability_ids_textCOMMENT
LOW…rations/0253_migrate_vulnerability_ids_to_textfield.py98 # Step 2: Delete old Vulnerability_Id_Template recordsCOMMENT
LOWunittests/test_jira_import_and_pushing_api.py1028 # Note: finding_group is a cached property, so we need to check if findings are in any groupCOMMENT
LOWunittests/test_import_reimport.py782 # Step 2: Mitigate finding ACOMMENT
LOWunittests/test_import_reimport.py790 # Step 3: Import again into engagement 2 → tries to deduplicate against A (mitigated),COMMENT
LOWunittests/test_import_reimport.py907 # Step 2: Mitigate finding ACOMMENT
LOWunittests/test_import_reimport.py915 # Step 3: Import again into engagement 2 → exception, finding B created as new activeCOMMENT
LOWunittests/test_import_reimport.py970 # Step 5: Mitigate finding BCOMMENT
LOWunittests/test_import_reimport.py978 # Step 6: Import again into engagement 4 → should find A (mitigated, exception), B (mitigated, exception),COMMENT
LOWunittests/test_import_reimport.py2640 # Step 3: test1's 4 findings must all still be activeCOMMENT
LOWunittests/test_import_reimport.py2656 # Step 1: Baseline import (default batch size)COMMENT
LOWunittests/test_import_reimport.py2827 # Step 1: Baseline import (default batch size)COMMENT
LOWunittests/test_import_reimport.py755 # Step 1: Import scan into engagement 1 → finding A (active)COMMENT
LOWunittests/test_import_reimport.py820 # Step 4: Import again into engagement 3 → should find both A (mitigated) and B (active)COMMENT
LOWunittests/test_import_reimport.py883 # Step 1: Import scan into engagement 1 → finding A (active)COMMENT
LOWunittests/test_import_reimport.py941 # Step 4: Import again into engagement 3 → should skip finding1 (mitigated, exception),COMMENT
LOWunittests/test_import_reimport.py2611 # Step 1: import 4 findings into an existing test (test1) in the engagement.COMMENT
LOWunittests/test_import_reimport.py2622 # Step 2: call the reimport endpoint with auto_create_context=True and aCOMMENT
LOWunittests/test_import_reimport.py2701 # Step 2: Reimport scan (same test)COMMENT
LOWunittests/test_import_reimport.py2728 # Step 3: Import scan in NEW engagement with batch_size=50COMMENT
LOWunittests/test_import_reimport.py2784 # Step 4: Reimport scan in same new engagement (batch_size=50)COMMENT
LOWunittests/test_import_reimport.py2866 # Step 2: Import scan again (same engagement)COMMENT
LOWunittests/test_import_reimport.py2892 # Step 3: Import scan in NEW engagement with batch_size=50COMMENT
LOWunittests/test_import_reimport.py2947 # Step 4: Import scan again in same new engagement (batch_size=50)COMMENT
LOW…ttests/scans/dependency_track/deptrack_npm_4.14.1.json697 "description": "## Summary\n\nDOMPurify versions 3.0.1 through 3.3.3 (latest) are vulnerable to a prototCODE
LOWscripts/update_performance_test_counts.py21 # Step 1: Run tests and generate report only (without updating)STRING
LOWscripts/update_performance_test_counts.py24 # Step 2: Verify all tests passSTRING
Slop Phrases14 hits · 23 pts
SeverityFileLineSnippetContext
LOWtests/user_test.py22 # Don't forget to clear before insertingCOMMENT
LOWtests/user_test.py57 # Don't forget to clear before insertingCOMMENT
LOWdojo/utils.py313 # gather findings over past half year, make sure to start on a sundayCOMMENT
LOWdojo/templatetags/display_tags.py814 # outputs html, so make sure to escape user provided fieldsCOMMENT
LOWdojo/settings/settings.dist.py457 # Don't forget to use absolute paths, not relative paths.COMMENT
MEDIUMunittests/scans/whitehat_sentinel/many_vuln.json160 "solution_prepend": "In Apache (https://httpd.apache.org/docs/trunk/vhosts/examples.html#defaultallports) and NgCODE
MEDIUMunittests/scans/hcl_appscan/many_findings.xml11627 <item type="string">Here is a simple example of how to use stored procedures in ASP.NET:</item>CODE
MEDIUMunittests/scans/hcl_appscan/issue_9279.xml1286 <text>Here is a simple example of how to use stored procedures in ASP.NET:</text>CODE
MEDIUMunittests/scans/hcl_appscan/issue_9279.xml2548 <text>Here is a simple example of how to use stored procedures in ASP.NET:</text>CODE
LOWunittests/scans/rubocop/one_finding.json1959 "message": "Prefer `$LAST_MATCH_INFO` from the stdlib 'English' module (don't forget to require it) CODE
LOWunittests/scans/rubocop/one_finding.json1975 "message": "Prefer `$LAST_MATCH_INFO` from the stdlib 'English' module (don't forget to require it) CODE
MEDIUMunittests/scans/nuclei/issue_14071.json25{"template":"http/exposures/files/readme-md.yaml","template-url":"https://cloud.projectdiscovery.io/public/readme-md","tCODE
LOWunittests/scans/nuclei/issue_14071.json25{"template":"http/exposures/files/readme-md.yaml","template-url":"https://cloud.projectdiscovery.io/public/readme-md","tCODE
MEDIUMhelm/defectdojo/values.yaml386 # -- To extra environment variables to the nginx container, you can use extraEnv. For example:COMMENT
Modern AI Meta-Vocabulary4 hits · 10 pts
SeverityFileLineSnippetContext
MEDIUMtests/test_test.py223 # along with the rest of the stub-finding scaffolding.COMMENT
MEDIUMdojo/cicd_infrastructure/models.py28 # via limit_choices_to (build_server/scm_server/orchestration), so changing the type would create aCOMMENT
MEDIUMunittests/scans/snyk/single_project_many_vulns.json1094 "description": "## Overview\n[io.netty:netty-handler](https://github.com/netty/netty.git/netty-handler) is a libraCODE
MEDIUMunittests/scans/snyk/single_project_many_vulns.json3754 "description": "## Overview\n[io.netty:netty-handler](https://github.com/netty/netty.git/netty-handler) is a libCODE
AI Structural Patterns14 hits · 10 pts
SeverityFileLineSnippetContext
LOWtests/finding_test.py131CODE
LOWdojo/tools/locations.py18CODE
LOWdojo/tools/locations.py45CODE
LOWdojo/tools/locations.py78CODE
LOWdojo/importers/auto_create_context.py281CODE
LOWdojo/finding/helper.py478CODE
LOWdojo/management/commands/import_all_unittest_scans.py66CODE
LOWdojo/jira/helper.py913CODE
LOWdojo/notifications/helper.py65CODE
LOWunittests/test_false_positive_history_logic.py2003CODE
LOWunittests/test_import_reimport.py3174CODE
LOWunittests/test_import_reimport.py3221CODE
LOWunittests/dojo_test_case.py629CODE
LOWunittests/dojo_test_case.py689CODE
Docstring Block Structure1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHdojo/finding/deduplication.py126 Mark new_finding as a duplicate of existing_finding. Sets duplicate=True, active=False, verified=False, and duSTRING
Example Usage Blocks3 hits · 4 pts
SeverityFileLineSnippetContext
LOWrun-integration-test-dev.sh5# Usage:COMMENT
LOW…laude/skills/defectdojo-parser/new-parser-checklist.sh9# Usage:COMMENT
LOW.claude/skills/defectdojo-dev/run-tests.sh9# Usage:COMMENT
TODO Padding2 hits · 3 pts
SeverityFileLineSnippetContext
LOWunittests/test_rest_framework.py223 # TODO: implement OneOf / AllOff (enums)COMMENT
LOWunittests/test_rest_framework.py325 # TODO: implement support for enum / OneOff / AllOffCOMMENT
Overly Generic Function Names2 hits · 2 pts
SeverityFileLineSnippetContext
LOWdojo/test/ui/views.py865 def handle_request(CODE
LOWdojo/engagement/ui/views.py786 def handle_request(CODE