AI Slop Code RIsk Monitor

DefectDojo/django-DefectDojo

Open-Source Unified Vulnerability Management, DevSecOps & ASPM

11.5 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for DefectDojo/django-DefectDojo, a Python project with 4,993 GitHub stars. SynthScan examined 1,822,810 lines of code across 7526 source files, recording 10751 pattern matches distributed across 25 syntactic categories. The legacy adjusted pattern signal is 11.5 (Moderate pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

11.5
Adjusted Signal
11.5
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
5.0K
Stars
Python
Language
1.8M
Lines of Code
7.5K
Files
10.8K
Pattern Hits
2026-10-12
Scan Date
0.17
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 21.6/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 7880 finding(s).

Hallucinated Dependency & Supply Chain Risk 21.5/100 · LOW

Are imports declared and package/API names verified? 1621 finding(s).

Agent Over-Engineering Ratio 25.1/100 · MEDIUM

Are wrappers, guards, and repeated structures necessary? 7995 finding(s).

PR Review Velocity Impact 46.1/100 · MEDIUM

Which changes need focused human review? 10751 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 980HIGH 310MEDIUM 690LOW 8771

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 10751 distinct pattern matches across 25 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Hallucination Indicators980 hits · 7810 pts
SeverityFileLineSnippetContext
CRITICALdojo/models.py11from 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/test/api_v3/routes.py31from django.core.exceptions import ValidationError as DjangoValidationErrorCODE
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.py1225 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/user/api_v3/routes.py26from django.core.exceptions import ValidationError as DjangoValidationErrorCODE
CRITICALdojo/product/api_v3/routes.py34from django.core.exceptions import ValidationError as DjangoValidationErrorCODE
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/engagement/api_v3/routes.py30from django.core.exceptions import ValidationError as DjangoValidationErrorCODE
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/product_type/api_v3/routes.py31from django.core.exceptions import ValidationError as DjangoValidationErrorCODE
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/api_v3/subresources.py50from django.core.exceptions import ValidationError as DjangoValidationErrorCODE
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
CRITICAL⚡unittests/test_cicd_infrastructure.py9from django.core.exceptions import ValidationErrorCODE
CRITICALunittests/test_validators.py1from django.core.exceptions import ValidationErrorCODE
CRITICALunittests/test_bulk_finding_authorization.py166 self.other_finding.test.engagement.product.authorized_users.add(user)CODE
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
920 more matches not shown…
Hyper-Verbose Identifiers6724 hits · 7295 pts
SeverityFileLineSnippetContext
LOWtests/notifications_test.py41 def test_disable_personal_notification(self):CODE
LOWtests/notifications_test.py57 def test_enable_personal_notification(self):CODE
LOWtests/notifications_test.py70 def test_disable_system_notification(self):CODE
LOWtests/notifications_test.py86 def test_enable_system_notification(self):CODE
LOWtests/notifications_test.py100 def test_disable_template_notification(self):CODE
LOWtests/notifications_test.py116 def test_enable_template_notification(self):CODE
LOWtests/notifications_test.py129 def test_user_mail_notifications_change(self):CODE
LOW⚡tests/engagement_test.py12 def test_list_active_engagements_found(self):CODE
LOW⚡tests/engagement_test.py17 def test_list_active_engagements_empty(self):CODE
LOW⚡tests/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.py57 def test_close_new_engagement(self):CODE
LOWtests/engagement_test.py69 def test_delete_new_closed_engagement(self):CODE
LOWtests/engagement_test.py84 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.py100 def disable_user_profile_writing(self):CODE
LOWtests/user_test.py116 def test_user_edit_permissions(self):CODE
LOWtests/user_test.py171 def test_user_with_writer_role_delete(self):CODE
LOWtests/user_test.py208 def test_user_profile_form_disabled(self):CODE
LOWtests/user_test.py214 def test_user_profile_form_enabled(self):CODE
LOWtests/user_test.py231 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.py168 def test_product_endpoint_report(self):CODE
LOWtests/report_builder_test.py241 def test_toc_anchor_rejects_injected_heading(self):CODE
LOW⚡tests/report_builder_test.py274def add_report_tests_to_suite(suite):CODE
LOWtests/false_positive_history_test.py76 def edit_toggle_false_positive(self, finding_url):CODE
LOWtests/false_positive_history_test.py115 def test_retroactive_edit_finding(self):CODE
LOWtests/false_positive_history_test.py145 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.py61 def test_create_dismissable_announcement(self):CODE
LOWtests/announcement_banner_test.py82 def test_dismissing_announcement_does_not_dismiss_for_others(self):CODE
LOWtests/announcement_banner_test.py108 def test_announcement_ui_disabled_when_set(self):CODE
LOWtests/announcement_banner_test.py126 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
LOW⚡tests/close_old_findings_dedupe_test.py110 def test_add_same_engagement_engagement(self):CODE
LOW⚡tests/close_old_findings_dedupe_test.py132 def test_import_same_engagement_tests(self):CODE
LOW⚡tests/close_old_findings_dedupe_test.py193 def test_check_endpoint_status(self):CODE
LOW⚡tests/close_old_findings_dedupe_test.py202 def test_add_same_product_engagement(self):CODE
LOW⚡tests/close_old_findings_dedupe_test.py240 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.py171 def test_close_same_engagement_tests(self):CODE
LOWtests/close_old_findings_dedupe_test.py278 def test_close_same_product_tests(self):CODE
LOWtests/close_old_findings_dedupe_test.py300 def test_check_same_product_status(self):CODE
LOWtests/close_old_findings_dedupe_test.py304def add_close_old_tests_to_suite(suite, *, jira=False, github=False, block_execution=False):CODE
6664 more matches not shown…
Decorative Section Separators415 hits · 1492 pts
SeverityFileLineSnippetContext
MEDIUM⚡tests/close_old_findings_dedupe_test.py19 # --------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/close_old_findings_dedupe_test.py23 # --------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/close_old_findings_dedupe_test.py105# --------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/close_old_findings_dedupe_test.py108# --------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/close_old_findings_dedupe_test.py124# --------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/close_old_findings_dedupe_test.py130# --------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/close_old_findings_dedupe_test.py196# --------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/close_old_findings_dedupe_test.py199# --------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/close_old_findings_dedupe_test.py231# --------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/close_old_findings_dedupe_test.py237# --------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/dedupe_test.py21 # --------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/dedupe_test.py23 # --------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/dedupe_test.py179# --------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/dedupe_test.py182# --------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/dedupe_test.py311# --------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/dedupe_test.py317# --------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/dedupe_test.py379# --------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/dedupe_test.py382# --------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/dedupe_test.py104# --------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/dedupe_test.py107# --------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/dedupe_test.py450# --------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/dedupe_test.py452# --------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/close_old_findings_test.py18 # --------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/close_old_findings_test.py21 # --------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/close_old_findings_test.py62# --------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/close_old_findings_test.py64# --------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/close_old_findings_test.py79# --------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/close_old_findings_test.py85# --------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/close_old_findings_test.py147# --------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/close_old_findings_test.py150# --------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/close_old_findings_test.py182# --------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/close_old_findings_test.py188# --------------------------------------------------------------------------------------------------------COMMENT
MEDIUMdojo/admin.py39# ==============================COMMENT
MEDIUMdojo/admin.py41# ==============================COMMENT
MEDIUMdojo/utils.py977# ---------------------------------------------------------------------------COMMENT
MEDIUMdojo/utils.py996# ---------------------------------------------------------------------------COMMENT
MEDIUMdojo/utils_ssrf.py111# ---------------------------------------------------------------------------COMMENT
MEDIUMdojo/utils_ssrf.py116# ---------------------------------------------------------------------------COMMENT
MEDIUMdojo/metrics/views.py713 # ---------------COMMENT
MEDIUMdojo/metrics/views.py729 # --------------------COMMENT
MEDIUMdojo/metrics/views.py763 # --------------------------COMMENT
MEDIUM⚡dojo/metrics/views.py780 # --------------COMMENT
MEDIUM⚡dojo/metrics/views.py785 # ----------------------------------COMMENT
MEDIUM⚡dojo/metrics/views.py795 # -------------COMMENT
MEDIUM⚡dojo/settings/settings.dist.py761# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡dojo/settings/settings.dist.py763# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡dojo/settings/settings.dist.py772# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡dojo/settings/settings.dist.py774# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡dojo/settings/settings.dist.py976# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡dojo/settings/settings.dist.py978# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡dojo/settings/settings.dist.py983# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡dojo/settings/settings.dist.py985# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡dojo/settings/settings.dist.py2256# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡dojo/settings/settings.dist.py2258# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡dojo/settings/settings.dist.py2267# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡dojo/settings/settings.dist.py2269# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡dojo/settings/settings.dist.py2272# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡dojo/settings/settings.dist.py2274# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡dojo/settings/settings.dist.py2277# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡dojo/settings/settings.dist.py2279# ------------------------------------------------------------------------------COMMENT
355 more matches not shown…
Cross-File Repetition198 hits · 990 pts
SeverityFileLineSnippetContext
HIGHdojo/tools/quay/parser.py0mirror of the connector's htmlflattener: drop script/style, block tags become newlines.STRING
HIGHdojo/tools/intigriti/parser.py0mirror of the connector's htmlflattener: drop script/style, block tags become newlines.STRING
HIGHdojo/tools/fairwinds/parser.py0mirror of the connector's htmlflattener: drop script/style, block tags become newlines.STRING
HIGHdojo/tools/quay/parser.py0return the list of fields used for deduplication in the elastic security cnvm parser. copied from the elastic security cSTRING
HIGHdojo/tools/nightfall/parser.py0return the list of fields used for deduplication in the elastic security cnvm parser. copied from the elastic security cSTRING
HIGHdojo/tools/accuknox/parser.py0return the list of fields used for deduplication in the elastic security cnvm parser. copied from the elastic security cSTRING
HIGHdojo/tools/nowsecure/parser.py0return the list of fields used for deduplication in the elastic security cnvm parser. copied from the elastic security cSTRING
HIGHdojo/tools/netrise/parser.py0return the list of fields used for deduplication in the elastic security cnvm parser. copied from the elastic security cSTRING
HIGHdojo/tools/calicocloud/parser.py0return the list of fields used for deduplication in the elastic security cnvm parser. copied from the elastic security cSTRING
HIGHdojo/tools/fairwinds/parser.py0return the list of fields used for deduplication in the elastic security cnvm parser. copied from the elastic security cSTRING
HIGHdojo/tools/elastic_security_detections/parser.py0return the list of fields used for deduplication in the elastic security cnvm parser. copied from the elastic security cSTRING
HIGHdojo/tools/datadog/parser.py0return the list of fields used for deduplication in the elastic security cnvm parser. copied from the elastic security cSTRING
HIGHdojo/tools/fleet_vulnerabilities/parser.py0return the list of fields used for deduplication in the elastic security cnvm parser. copied from the elastic security cSTRING
HIGHdojo/tools/wallarm/parser.py0return the list of fields used for deduplication in the elastic security cnvm parser. copied from the elastic security cSTRING
HIGHdojo/tools/elastic_security_cnvm/parser.py0return the list of fields used for deduplication in the elastic security cnvm parser. copied from the elastic security cSTRING
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/endorlabs/parser.py0trim every line, collapse runs of blank lines to one, and drop trailing blanks.STRING
HIGHdojo/tools/intigriti/parser.py0trim every line, collapse runs of blank lines to one, and drop trailing blanks.STRING
HIGHdojo/tools/insightappsec/parser.py0trim every line, collapse runs of blank lines to one, and drop trailing blanks.STRING
HIGHdojo/tools/endorlabs/parser.py0return the list of fields used for deduplication in the deepsource parser. copied from the deepsource block in the pro cSTRING
HIGHdojo/tools/fossa/parser.py0return the list of fields used for deduplication in the deepsource parser. copied from the deepsource block in the pro cSTRING
HIGHdojo/tools/detectify/parser.py0return the list of fields used for deduplication in the deepsource parser. copied from the deepsource block in the pro cSTRING
HIGHdojo/tools/codacy/parser.py0return the list of fields used for deduplication in the deepsource parser. copied from the deepsource block in the pro cSTRING
HIGHdojo/tools/crowdstrike_spotlight/parser.py0return the list of fields used for deduplication in the deepsource parser. copied from the deepsource block in the pro cSTRING
HIGHdojo/tools/deepsource/parser.py0return the list of fields used for deduplication in the deepsource parser. copied from the deepsource block in the pro cSTRING
HIGHdojo/tools/escape/parser.py0return the list of fields used for deduplication in the halo security parser. copied from the halo security block in theSTRING
HIGHdojo/tools/bright/parser.py0return the list of fields used for deduplication in the halo security parser. copied from the halo security block in theSTRING
HIGHdojo/tools/halosecurity/parser.py0return the list of fields used for deduplication in the halo security parser. copied from the halo security block in theSTRING
HIGHdojo/tools/escape/parser.py0read a cwe id off "cwe-89" or a bare number; anything else is no cwe.STRING
HIGHdojo/tools/bright/parser.py0read a cwe id off "cwe-89" or a bare number; anything else is no cwe.STRING
HIGHdojo/tools/akto/parser.py0read a cwe id off "cwe-89" or a bare number; anything else is no cwe.STRING
HIGHdojo/tools/escape/parser.py0whether defectdojo will accept this as an endpoint host. a host is letters, digits, dot, hyphen, underscore or plus, or STRING
HIGHdojo/tools/insightappsec/parser.py0whether defectdojo will accept this as an endpoint host. a host is letters, digits, dot, hyphen, underscore or plus, or STRING
HIGHdojo/tools/bright/parser.py0whether defectdojo will accept this as an endpoint host. a host is letters, digits, dot, hyphen, underscore or plus, or STRING
HIGHdojo/tools/intruder/parser.py0whether defectdojo will accept this as an endpoint host. a host is letters, digits, dot, hyphen, underscore or plus, or STRING
HIGHdojo/tools/holm_security/parser.py0whether defectdojo will accept this as an endpoint host. a host is letters, digits, dot, hyphen, underscore or plus, or STRING
HIGHdojo/tools/akto/parser.py0whether defectdojo will accept this as an endpoint host. a host is letters, digits, dot, hyphen, underscore or plus, or STRING
HIGHdojo/tools/fortytwocrunch/parser.py0whether defectdojo will accept this as an endpoint host. a host is letters, digits, dot, hyphen, underscore or plus, or STRING
HIGHdojo/tools/wallarm/parser.py0whether defectdojo will accept this as an endpoint host. a host is letters, digits, dot, hyphen, underscore or plus, or STRING
HIGHdojo/tools/probely/parser.py0whether defectdojo will accept this as an endpoint host. a host is letters, digits, dot, hyphen, underscore or plus, or STRING
HIGHdojo/tools/fleet_policies/parser.py0whether defectdojo will accept this as an endpoint host. a host is letters, digits, dot, hyphen, underscore or plus, or STRING
HIGHdojo/tools/beagle/parser.py0whether defectdojo will accept this as an endpoint host. a host is letters, digits, dot, hyphen, underscore or plus, or STRING
HIGHdojo/tools/yeswehack/parser.py0whether defectdojo will accept this as an endpoint host. a host is letters, digits, dot, hyphen, underscore or plus, or STRING
HIGHdojo/tools/codacy/parser.py0whether defectdojo will accept this as an endpoint host. a host is letters, digits, dot, hyphen, underscore or plus, or STRING
HIGHdojo/tools/fleet_vulnerabilities/parser.py0whether defectdojo will accept this as an endpoint host. a host is letters, digits, dot, hyphen, underscore or plus, or STRING
HIGHdojo/tools/crowdstrike_spotlight/parser.py0whether defectdojo will accept this as an endpoint host. a host is letters, digits, dot, hyphen, underscore or plus, or STRING
HIGHdojo/tools/halosecurity/parser.py0whether defectdojo will accept this as an endpoint host. a host is letters, digits, dot, hyphen, underscore or plus, or STRING
HIGHdojo/tools/elastic_security_cnvm/parser.py0whether defectdojo will accept this as an endpoint host. a host is letters, digits, dot, hyphen, underscore or plus, or STRING
HIGHdojo/tools/ostorlab/parser.py0a host is letters, digits, dot, hyphen, underscore or plus, or an ip address.STRING
HIGHdojo/tools/groupib/parser.py0a host is letters, digits, dot, hyphen, underscore or plus, or an ip address.STRING
HIGHdojo/tools/soos/parser.py0a host is letters, digits, dot, hyphen, underscore or plus, or an ip address.STRING
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
138 more matches not shown…
Cross-Language Confusion76 hits · 430 pts
SeverityFileLineSnippetContext
HIGH⚡tests/report_builder_test.py269 self.assertIsNone(driver.execute_script("return window.__tocXss || null;"))CODE
HIGH⚡tests/report_builder_test.py269 self.assertIsNone(driver.execute_script("return window.__tocXss || null;"))CODE
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.py363 jira_services.push(findings[0].finding_group)CODE
HIGHdojo/importers/default_importer.py365 jira_services.push(findings[0])CODE
HIGHdojo/importers/default_importer.py473 jira_services.push(finding_group)CODE
HIGHdojo/importers/default_reimporter.py896 jira_services.push(finding_group)CODE
HIGHdojo/importers/default_reimporter.py1477 jira_services.push(object_to_push)CODE
HIGHdojo/importers/default_reimporter.py1498 jira_services.push(finding_group)CODE
HIGHdojo/finding/services.py205 jira_services.push(new_finding)CODE
HIGHdojo/finding/services.py300 success, message = jira_services.push(finding, force_sync=True)CODE
HIGHdojo/finding/helper.py279 jira_services.push(finding_group)CODE
HIGHdojo/finding/helper.py307 jira_services.push(group)CODE
HIGHdojo/finding/helper.py385 jira_services.push(group)CODE
HIGHdojo/finding/helper.py498 jira_services.push(finding)CODE
HIGHdojo/finding/helper.py500 jira_services.push(finding.finding_group)CODE
HIGHdojo/finding/helper.py617 jira_services.push(object_to_push)CODE
HIGHdojo/finding/helper.py1707 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.py1607 jira_services.push(finding.finding_group)CODE
HIGHdojo/finding/ui/views.py1701 jira_services.push(finding.finding_group)CODE
HIGHdojo/finding/ui/views.py2864 jira_services.push(group)CODE
HIGHdojo/finding/ui/views.py2915 jira_services.push(finding)CODE
HIGHdojo/finding/ui/views.py3312 if jira_services.push_succeeded(jira_services.push(finding)):CODE
HIGHdojo/finding/api/serializer.py588 success, message = jira_services.push(instance, force_sync=True)CODE
HIGHdojo/finding/api/serializer.py771 jira_services.push(new_finding)CODE
HIGHdojo/finding/api_v3/schemas.py146 rows ``[{location: {id, name, type}, status, audit_time, auditor: {id, name}|null}]``.STRING
HIGHdojo/risk_acceptance/helper.py128 jira_services.push(finding)CODE
HIGHdojo/risk_acceptance/helper.py181 jira_services.push(finding)CODE
HIGHdojo/risk_acceptance/helper.py227 jira_services.push(finding)CODE
HIGHdojo/risk_acceptance/helper.py255 jira_services.push(finding)CODE
HIGHdojo/risk_acceptance/helper.py449 jira_services.push(finding)CODE
HIGHdojo/risk_acceptance/helper.py489 jira_services.push(finding)CODE
HIGHdojo/api_v2/exception_handler.py51 (foreign key, not-null, check constraint) points at a defect on our sideSTRING
HIGHdojo/api_v3/errors.py225 key, not-null, check constraint) points at a defect on our side and must keep surfacing as aSTRING
HIGHdojo/finding_group/views.py102 jira_services.push(finding_group, force_sync=True)CODE
HIGHdojo/finding_group/views.py199 if jira_services.push_succeeded(jira_services.push(group, force_sync=True)):CODE
HIGH⚡unittests/test_jira_webhook.py168 "customfield_10182":null,CODE
HIGH⚡unittests/test_jira_webhook.py170 "customfield_12043":null,CODE
HIGH⚡unittests/test_jira_webhook.py171 "customfield_10340":null,CODE
HIGH⚡unittests/test_jira_webhook.py172 "customfield_10341":null,CODE
HIGH⚡unittests/test_jira_webhook.py173 "customfield_12045":null,CODE
HIGH⚡unittests/test_jira_webhook.py174 "customfield_10100":null,CODE
HIGH⚡unittests/test_jira_webhook.py181 "customfield_10740":null,CODE
HIGH⚡unittests/test_jira_webhook.py187 "timeestimate":null,CODE
HIGH⚡unittests/test_jira_webhook.py188 "aggregatetimeoriginalestimate":null,CODE
HIGH⚡unittests/test_jira_webhook.py223 "timeoriginalestimate":null,CODE
HIGH⚡unittests/test_jira_webhook.py224 "customfield_10052":null,CODE
HIGH⚡unittests/test_jira_webhook.py226 "customfield_10010":null,CODE
HIGH⚡unittests/test_jira_webhook.py231 "aggregatetimeestimate":null,CODE
HIGH⚡unittests/test_jira_webhook.py271 "customfield_10641":null,CODE
HIGH⚡unittests/test_jira_webhook.py272 "environment":null,CODE
HIGH⚡unittests/test_jira_webhook.py273 "duedate":null,CODE
HIGHunittests/test_jira_webhook.py156 "resolutiondate":null,CODE
HIGH⚡unittests/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
16 more matches not shown…
Deep Nesting453 hits · 412 pts
SeverityFileLineSnippetContext
LOWtests/base_test_class.py482CODE
LOWtests/questionnaire_advanced_test.py144CODE
LOWdojo/tasks.py176CODE
LOWdojo/forms.py556CODE
LOWdojo/utils.py135CODE
LOWdojo/utils.py234CODE
LOWdojo/utils.py311CODE
LOWdojo/utils.py420CODE
LOWdojo/utils.py510CODE
LOWdojo/utils.py1066CODE
LOWdojo/utils.py1171CODE
LOWdojo/utils.py1285CODE
LOWdojo/utils.py1679CODE
LOWdojo/utils.py1857CODE
LOWdojo/utils.py2154CODE
LOWdojo/utils.py2370CODE
LOWdojo/filters.py313CODE
LOWdojo/views.py44CODE
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.py841CODE
LOWdojo/metrics/views.py165CODE
LOWdojo/system_settings/ui/views.py52CODE
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/finitestate/parser.py115CODE
LOWdojo/tools/escape/parser.py88CODE
LOWdojo/tools/php_security_audit_v2/parser.py19CODE
LOWdojo/tools/nightfall/parser.py148CODE
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.py473CODE
LOWdojo/tools/sarif/parser.py528CODE
LOWdojo/tools/sarif/parser.py560CODE
LOWdojo/tools/sarif/parser.py601CODE
LOWdojo/tools/sarif/parser.py150CODE
LOWdojo/tools/sarif/parser.py336CODE
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
393 more matches not shown…
Modern Structural Boilerplate345 hits · 357 pts
SeverityFileLineSnippetContext
LOWdocker/install_chrome_dependencies.py9logger = logging.getLogger(__name__)CODE
LOW⚡tests/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
LOW⚡tests/base_test_class.py20logger = logging.getLogger(__name__)CODE
LOW⚡tests/finding_test.py16logger = logging.getLogger(__name__)CODE
LOW⚡tests/dedupe_test.py17logger = logging.getLogger(__name__)CODE
LOW⚡tests/close_old_findings_test.py14logger = logging.getLogger(__name__)CODE
LOWdojo/labels.py35logger = logging.getLogger(__name__)CODE
LOWdojo/models.py24logger = 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.py93logger = logging.getLogger(__name__)CODE
LOWdojo/celery.py9logger = logging.getLogger(__name__)CODE
LOWdojo/urls.py94logger = logging.getLogger(__name__)CODE
LOWdojo/utils_watson_prefetch.py23logger = logging.getLogger(__name__)CODE
LOWdojo/filters.py60logger = logging.getLogger(__name__)CODE
LOWdojo/middleware.py28logger = logging.getLogger(__name__)CODE
LOWdojo/views.py26logger = 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.py50logger = 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.py14logger = logging.getLogger(__name__)CODE
LOWdojo/note_type/ui/views.py14logger = 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.py15logger = 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
LOW⚡dojo/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
285 more matches not shown…
Unused Imports387 hits · 298 pts
SeverityFileLineSnippetContext
LOWdojo/tasks.py24CODE
LOWdojo/tasks.py24CODE
LOWdojo/tasks.py24CODE
LOWdojo/tasks.py147CODE
LOWdojo/models.py22CODE
LOWdojo/models.py126CODE
LOWdojo/models.py127CODE
LOWdojo/models.py127CODE
LOWdojo/models.py127CODE
LOWdojo/models.py127CODE
LOWdojo/models.py127CODE
LOWdojo/models.py127CODE
LOWdojo/models.py127CODE
LOWdojo/models.py137CODE
LOWdojo/models.py148CODE
LOWdojo/models.py149CODE
LOWdojo/models.py149CODE
LOWdojo/models.py150CODE
LOWdojo/models.py151CODE
LOWdojo/models.py151CODE
LOWdojo/models.py155CODE
LOWdojo/models.py155CODE
LOWdojo/models.py160CODE
LOWdojo/models.py161CODE
LOWdojo/models.py162CODE
LOWdojo/models.py162CODE
LOWdojo/models.py162CODE
LOWdojo/models.py162CODE
LOWdojo/models.py162CODE
LOWdojo/models.py162CODE
LOWdojo/models.py162CODE
LOWdojo/models.py162CODE
LOWdojo/models.py367CODE
LOWdojo/models.py368CODE
LOWdojo/models.py378CODE
LOWdojo/models.py379CODE
LOWdojo/models.py379CODE
LOWdojo/models.py379CODE
LOWdojo/models.py380CODE
LOWdojo/models.py380CODE
LOWdojo/models.py385CODE
LOWdojo/models.py385CODE
LOWdojo/models.py385CODE
LOWdojo/models.py412CODE
LOWdojo/models.py412CODE
LOWdojo/models.py412CODE
LOWdojo/models.py412CODE
LOWdojo/models.py412CODE
LOWdojo/models.py421CODE
LOWdojo/models.py421CODE
LOWdojo/models.py479CODE
LOWdojo/models.py479CODE
LOWdojo/models.py479CODE
LOWdojo/models.py484CODE
LOWdojo/models.py485CODE
LOWdojo/models.py485CODE
LOWdojo/models.py485CODE
LOWdojo/models.py485CODE
LOWdojo/models.py485CODE
LOWdojo/models.py492CODE
327 more matches not shown…
Excessive Try-Catch Wrapping274 hits · 290 pts
SeverityFileLineSnippetContext
LOW⚡tests/base_test_class.py31 except Exception:CODE
MEDIUMtests/base_test_class.py28def wrapper(self, *args, **kwargs):CODE
LOWdojo/tasks.py219 except Exception as e:CODE
LOWdojo/tasks.py253 except Exception as e:CODE
LOWdojo/tasks.py259 except Exception as e:CODE
LOWdojo/product_announcements.py61 except Exception:CODE
LOWdojo/context_processors.py79 except Exception:CODE
MEDIUMdojo/utils.py1234def get_celery_queue_length():CODE
LOWdojo/utils.py406 except Exception:CODE
LOWdojo/utils.py546 except Exception:CODE
LOWdojo/utils.py557 except Exception:CODE
LOWdojo/utils.py577 except Exception:CODE
LOWdojo/utils.py584 except Exception:CODE
LOWdojo/utils.py613 except Exception:CODE
LOWdojo/utils.py1230 except Exception:CODE
LOWdojo/utils.py1242 except Exception:CODE
LOWdojo/utils.py1280 except Exception:CODE
LOWdojo/utils.py1297 except Exception:CODE
LOWdojo/utils.py1323 except Exception:CODE
LOWdojo/utils_ssrf.py91 except Exception as exc:CODE
LOWdojo/utils_watson_prefetch.py105 except Exception:CODE
LOWdojo/utils_watson_prefetch.py125 except Exception:CODE
LOW⚡dojo/filters.py351 except Exception:CODE
LOWdojo/middleware.py157 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
LOW⚡dojo/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.py159 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
214 more matches not shown…
Self-Referential Comments96 hits · 288 pts
SeverityFileLineSnippetContext
MEDIUM⚡tests/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.py898 # 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.py2115# 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
MEDIUM⚡dojo/tools/trivy/parser.py540 # Create the header rowSTRING
MEDIUM⚡dojo/tools/trivy/parser.py543 # Create the table stringSTRING
MEDIUMdojo/test/ui/views.py588 # Create a notificationCOMMENT
MEDIUMdojo/importers/base_importer.py334 # Create a new test if it has not already been createdCOMMENT
MEDIUMdojo/importers/base_importer.py598 # Create a dictionary to stuff into the test import objectCOMMENT
MEDIUMdojo/importers/base_importer.py643 # Create the test import objectCOMMENT
MEDIUMdojo/importers/base_importer.py654 # Create a history record for each findingCOMMENT
MEDIUMdojo/importers/default_importer.py142 # Create a test import history object to record the flags sent to the importerCOMMENT
MEDIUMdojo/importers/default_importer.py492 # Create a new test if it has not already been createdCOMMENT
MEDIUMdojo/importers/auto_create_context.py261 # Create the productCOMMENT
MEDIUMdojo/importers/auto_create_context.py321 # Create the engagementCOMMENT
MEDIUMdojo/importers/default_reimporter.py158 # 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.py773 # Create a notificationCOMMENT
MEDIUMdojo/location/models.py463 # Create the list of hashes of the supplied locations; we will also use this to reconstruct the initial orderingCOMMENT
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.py1549 # Create the necessary nested objectsCOMMENT
MEDIUMdojo/product/ui/views.py1561 # Create the necessary nested objectsCOMMENT
MEDIUMdojo/url/models.py442 # Create the initial object, assuming no exceptions are thrownCOMMENT
MEDIUMdojo/url/ui/views.py221 # Create the product tab for the viewCOMMENT
MEDIUMdojo/url/ui/views.py316 # Create the product tab for the viewCOMMENT
MEDIUMdojo/engagement/ui/views.py974 # Create the engagement if necessaryCOMMENT
MEDIUMdojo/jira/helper.py1070 # 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
MEDIUMdojo/reports/queries.py14 # This function is the single authority for the report's finding prefetch set. The caller mayCOMMENT
MEDIUMunittests/test_false_positive_history_logic.py1824 # 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
MEDIUM⚡unittests/test_flush_auditlog.py64 # Create a test product typeCOMMENT
MEDIUM⚡unittests/test_endpoint_model.py172 # Define the productCOMMENT
36 more matches not shown…
Structural Annotation Overuse146 hits · 236 pts
SeverityFileLineSnippetContext
LOW⚡dojo/utils.py1918 # Step 1: Determine finding scopeCOMMENT
LOW⚡dojo/utils.py1925 # Step 2: Prepare duplicate clusters (must happen before any deletion)COMMENT
LOW⚡dojo/utils.py1930 # Step 3: Delete the main scope findingsCOMMENT
LOW⚡dojo/utils.py1938 # Step 4: Delete all remaining related objects (Tests, Engagements,COMMENT
LOW⚡dojo/utils.py1947 # Step 5: Delete the top-level object via ORM to fire Django signalsCOMMENT
LOW⚡dojo/utils.py1952 # Step 6: Recalculate product grade once (Engagement/Test deletes only). Skip when theCOMMENT
LOW⚡dojo/importers/endpoint_manager.py254 # Step 1: Ensure all recorded endpoints exist in DBCOMMENT
LOW⚡dojo/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.py1342 # 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
LOW⚡unittests/test_import_reimport.py785 # Step 2: Mitigate finding ACOMMENT
LOW⚡unittests/test_import_reimport.py793 # Step 3: Import again into engagement 2 → tries to deduplicate against A (mitigated),COMMENT
LOW⚡unittests/test_import_reimport.py910 # Step 2: Mitigate finding ACOMMENT
LOW⚡unittests/test_import_reimport.py918 # Step 3: Import again into engagement 2 → exception, finding B created as new activeCOMMENT
LOW⚡unittests/test_import_reimport.py973 # Step 5: Mitigate finding BCOMMENT
LOW⚡unittests/test_import_reimport.py981 # Step 6: Import again into engagement 4 → should find A (mitigated, exception), B (mitigated, exception),COMMENT
LOW⚡unittests/test_import_reimport.py2643 # Step 3: test1's 4 findings must all still be activeCOMMENT
LOW⚡unittests/test_import_reimport.py2659 # Step 1: Baseline import (default batch size)COMMENT
LOW⚡unittests/test_import_reimport.py2830 # Step 1: Baseline import (default batch size)COMMENT
LOWunittests/test_import_reimport.py758 # Step 1: Import scan into engagement 1 → finding A (active)COMMENT
LOWunittests/test_import_reimport.py823 # Step 4: Import again into engagement 3 → should find both A (mitigated) and B (active)COMMENT
LOWunittests/test_import_reimport.py886 # Step 1: Import scan into engagement 1 → finding A (active)COMMENT
LOWunittests/test_import_reimport.py944 # Step 4: Import again into engagement 3 → should skip finding1 (mitigated, exception),COMMENT
LOWunittests/test_import_reimport.py2614 # Step 1: import 4 findings into an existing test (test1) in the engagement.COMMENT
LOWunittests/test_import_reimport.py2625 # Step 2: call the reimport endpoint with auto_create_context=True and aCOMMENT
LOWunittests/test_import_reimport.py2704 # Step 2: Reimport scan (same test)COMMENT
LOWunittests/test_import_reimport.py2731 # Step 3: Import scan in NEW engagement with batch_size=50COMMENT
LOWunittests/test_import_reimport.py2787 # Step 4: Reimport scan in same new engagement (batch_size=50)COMMENT
LOWunittests/test_import_reimport.py2869 # Step 2: Import scan again (same engagement)COMMENT
LOWunittests/test_import_reimport.py2895 # Step 3: Import scan in NEW engagement with batch_size=50COMMENT
LOWunittests/test_import_reimport.py2950 # 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.md83## Step 1: Enable the Jira integration in System SettingsCOMMENT
LOWdocs/content/connectors/downstream/PRO__jira_guide.md113## Step 2: Connect a Jira InstanceCOMMENT
86 more matches not shown…
AI Slop Vocabulary144 hits · 224 pts
SeverityFileLineSnippetContext
LOWdojo/settings/settings.dist.py2126# 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.py304 # If we have an engagement, we cna just return itCOMMENT
LOWunittests/test_import_reimport.py1461 # and the logic below will get confused and just create a new findingCOMMENT
MEDIUM⚡unittests/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
84 more matches not shown…
Fake / Example Data161 hits · 202 pts
SeverityFileLineSnippetContext
LOWdojo/settings/settings.dist.py2136TAGULOUS_AUTOCOMPLETE_SETTINGS = {"placeholder": "Enter some tags (comma separated, use enter to select / create a new tCODE
LOWdojo/finding/ui/filters.py259 date_input_widget = forms.DateInput(attrs={"class": "datepicker", "placeholder": "YYYY-MM-DD"}, format="%Y-%m-%dCODE
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.html69 $(this).attr("placeholder", label.html().replace(':', "..."));CODE
LOW⚡unittests/test_rest_framework.py2236 result = self.client.patch(self.url + "2/", data={"steps_to_reproduce": "Lorem ipsum dolor sit amet"})CODE
LOW⚡unittests/test_rest_framework.py2236 result = self.client.patch(self.url + "2/", data={"steps_to_reproduce": "Lorem ipsum dolor sit amet"})CODE
LOW⚡unittests/test_rest_framework.py2238 self.assertEqual(result.json()["steps_to_reproduce"], "Lorem ipsum dolor sit amet")CODE
LOW⚡unittests/test_rest_framework.py2238 self.assertEqual(result.json()["steps_to_reproduce"], "Lorem ipsum dolor sit amet")CODE
LOW⚡unittests/test_rest_framework.py2249 self.assertEqual(result_json["results"][0]["steps_to_reproduce"], "Lorem ipsum dolor sit amet")CODE
LOW⚡unittests/test_rest_framework.py2249 self.assertEqual(result_json["results"][0]["steps_to_reproduce"], "Lorem ipsum dolor sit amet")CODE
LOW⚡unittests/test_finding_model.py411 finding.references = "Lorem ipsum dolor sit amet, consetetur sadipscing elitr"CODE
LOW⚡unittests/test_finding_model.py411 finding.references = "Lorem ipsum dolor sit amet, consetetur sadipscing elitr"CODE
LOW⚡unittests/test_finding_model.py412 self.assertEqual("Lorem ipsum dolor sit amet, consetetur sadipscing elitr", finding.get_references_with_links())CODE
LOW⚡unittests/test_finding_model.py412 self.assertEqual("Lorem ipsum dolor sit amet, consetetur sadipscing elitr", finding.get_references_with_links())CODE
LOW⚡unittests/tools/test_threat_composer_parser.py28 self.assertEqual("lorem ipsum", finding.title)CODE
LOW⚡unittests/tools/test_ptart_parser.py202 self.assertEqual("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt CODE
LOW⚡unittests/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/capa/one_finding.json927 "user@example.org",CODE
LOWunittests/scans/capa/one_finding.json928 "user@example.org"CODE
LOWunittests/scans/capa/many_findings.json927 "user@example.org",CODE
LOWunittests/scans/capa/many_findings.json928 "user@example.org"CODE
LOWunittests/scans/capa/many_findings.json1151 "user@example.org"CODE
LOWunittests/scans/capa/many_findings.json1226 "user@example.org",CODE
LOWunittests/scans/capa/many_findings.json1227 "user@example.org"CODE
LOWunittests/scans/capa/many_findings.json1450 "user@example.org"CODE
LOWunittests/scans/capa/many_findings.json1616 "user@example.org"CODE
LOWunittests/scans/capa/many_findings.json1672 "user@example.org"CODE
LOWunittests/scans/capa/many_findings.json1785 "user@example.org"CODE
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
101 more matches not shown…
Redundant / Tautological Comments79 hits · 138 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
LOW⚡tests/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
LOW⚡tests/tool_config.py33 # Check if form is prefieledCOMMENT
LOW⚡tests/tool_config.py56 # Check if ToolType is selectedCOMMENT
LOWdojo/context_processors.py67 # Check if there was an error stored on the request (from middleware)COMMENT
LOWdojo/utils.py895 # Check if threat folder exist.COMMENT
LOWdojo/tools/qualys/parser.py188 # Check if CVSS field contains the CVSS vectorCOMMENT
LOWdojo/tools/sarif/parser.py479 # 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
LOW⚡dojo/finding/models.py830 # Check if all needed settings are definedCOMMENT
LOW⚡dojo/finding/models.py837 # Check if hash_code fields are found in the settingsCOMMENT
LOW⚡dojo/finding/models.py843 # Check if all elements of HASHCODE_FIELDS_PER_SCANNER are in HASHCODE_ALLOWED_FIELDSCOMMENT
LOWdojo/finding/models.py1261 # Check if a mandatory field is empty. If it's the case, fill it with "no <fieldName> given"COMMENT
LOWdojo/finding/models.py1462 # 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.py1590 # Check if there is a jira issue that needs to be updatedCOMMENT
LOWdojo/finding/ui/views.py1684 # Check if there is a jira issue that needs to be updatedCOMMENT
LOWdojo/finding/ui/views.py2552 # Check if finding is duplicate and user wants to set active/verifiedCOMMENT
LOWdojo/location/models.py147 # Check if there is an existing reference for this finding and locationCOMMENT
LOWdojo/location/models.py194 # 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.py328 # Check if it's a valid IP address firstCOMMENT
LOWdojo/url/ui/views.py496 # Check if the uploaded file exceeds the maximum allowed sizeCOMMENT
LOWdojo/engagement/ui/views.py645 # Set status to in progress if a test is addedCOMMENT
LOWdojo/jira/views.py95 # Check if the events supplied are supportedCOMMENT
LOW⚡dojo/github/services.py27 # Check if we have github info related to the productCOMMENT
LOW⚡dojo/github/services.py35 # Check if we have github info related to the findingCOMMENT
LOW⚡dojo/github/services.py62 # Check if we have github info related to the productCOMMENT
LOW⚡dojo/github/services.py70 # Check if we have github info related to the findingCOMMENT
LOW⚡dojo/github/services.py97 # Check if we have github info related to the productCOMMENT
LOW⚡dojo/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
LOW⚡dojo/db_migrations/0197_parser_merge.py29 # Check if nessus is in found by list and removeCOMMENT
LOW⚡dojo/db_migrations/0197_parser_merge.py32 # Check if nessus WAS is in found by list and removeCOMMENT
LOW⚡dojo/db_migrations/0197_parser_merge.py35 # Check if tenable is already in list somehow before adding itCOMMENT
LOW⚡dojo/db_migrations/0197_parser_merge.py43 # Check if nessus is in found by list and removeCOMMENT
LOW⚡dojo/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
LOW⚡dojo/db_migrations/0187_nessus_to_tenable.py20 # Check if nessus is in found by list and removeCOMMENT
LOW⚡dojo/db_migrations/0187_nessus_to_tenable.py23 # Check if nessus WAS is in found by list and removeCOMMENT
LOW⚡dojo/db_migrations/0187_nessus_to_tenable.py26 # Check if tenable is already in list somehow before adding itCOMMENT
19 more matches not shown…
Over-Commented Block145 hits · 121 pts
SeverityFileLineSnippetContext
LOWdocker-compose.override.unit_tests.yml21 DD_DATABASE_PORT: ${DD_DATABASE_PORT:-5432}COMMENT
LOWdocker-compose.override.unit_tests_cicd.yml21 DD_DATABASE_HOST: ${DD_DATABASE_HOST:-postgres}COMMENT
LOWdocker-compose.override.unit_tests_cicd.yml41 # full | prepare | reuse -- see docker/entrypoint-unit-tests.sh. CI setsCOMMENT
LOWdocker-compose.yml1# This docker-compose.yml file is fully functional to evaluate DefectDojoCOMMENT
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.sh81 elseCOMMENT
LOWtests/false_positive_history_test.py21 # Click on the 'Engagement' Dropdown buttonCOMMENT
LOWtests/test_test.py61 # Click on the 'Engagement' Dropdown buttonCOMMENT
LOWtests/test_test.py81 # "Click" the 'Add Test' button to Add Test to engagement.COMMENT
LOWtests/test_test.py161 driver.find_element(By.LINK_TEXT, "Add Finding to Test").click()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.py301COMMENT
LOWdojo/signals.py1from django.dispatch import SignalCOMMENT
LOWdojo/models.py681# Development_Environment admin registered in dojo/development_environment/admin.pyCOMMENT
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# via dojo_crypto_encrypt(); existing "AES.1" values upgrade lazily the nextCOMMENT
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 # Only store the first error to avoid duplicatesCOMMENT
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 # enable either DD_SLA_NOTIFY_ACTIVE or DD_SLA_NOTIFY_ACTIVE_VERIFIED_ONLY to enable the feature.COMMENT
LOWdojo/settings/settings.dist.py201 # Connection timeout (seconds) for establishing a connection to the JIRA serverCOMMENT
LOWdojo/settings/settings.dist.py221 # fields (e.g. backdate a mitigation) from both the UI and the API. Off by defaultCOMMENT
LOWdojo/settings/settings.dist.py281 # Set deduplication algorithms per parser, via en env variable that contains a JSON stringCOMMENT
LOWdojo/settings/settings.dist.py301 # API v3 (alpha) ?expand= guard: maximum number of expanded relation nodes across all paths. See §4.6.COMMENT
LOWdojo/settings/settings.dist.py481COMMENT
LOWdojo/settings/settings.dist.py821COMMENT
LOWdojo/settings/settings.dist.py1101 "expires": int(60 * 60 * 24 * 7 * 1.2), # If a task is not executed within 8.4 days, it should be dropped fCOMMENT
LOWdojo/settings/settings.dist.py1141# The fields must be one of HASHCODE_ALLOWED_FIELDSCOMMENT
LOWdojo/settings/settings.dist.py1581# 'endpoints' is a pseudo field that uses the endpoints (for dynamic scanners). If `V3_FEATURE_LOCATIONS` is True, Dojo COMMENT
LOWdojo/settings/settings.dist.py2261AUDITLOG_FLUSH_MAX_BATCHES = env("DD_AUDITLOG_FLUSH_MAX_BATCHES")COMMENT
LOWdojo/settings/settings.dist.py2281# some pretty out of pocket things to correct this behaviors to correct this weirdness, and thereforeCOMMENT
LOWdojo/settings/settings.dist.py2341 "debug_toolbar.panels.cache.CachePanel",COMMENT
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.py321 # valid empty report. On import there is no Test yet and none can be named from theCOMMENT
LOWdojo/importers/base_importer.py341 # Accept either the current (idempotent) name or the legacy name the pre-patch codeCOMMENT
LOWdojo/importers/default_importer.py121 # Close any old findings in the processed list if the the user specified for thatCOMMENT
LOWdojo/importers/location_manager.py41 # Findings paired with their cleaned locations, in first-recorded order.COMMENT
85 more matches not shown…
Empty Error Handlers18 hits · 90 pts
SeverityFileLineSnippetContext
HIGHdojo/admin.py35except (ImportError, NotRegistered):CODE
HIGHdojo/utils.py1454except Language_Type.DoesNotExist:CODE
HIGHdojo/utils.py2302except ModuleNotFoundError:CODE
HIGHdojo/tools/hcl_appscan/parser.py133except UnboundLocalError:CODE
HIGH…tools/appcheck_web_application_scanner/engines/base.py283except (ValueError, TypeError):CODE
HIGH…tools/appcheck_web_application_scanner/engines/base.py342except CVSSError:CODE
HIGHdojo/tools/nuclei/parser.py110except ValueError:CODE
HIGHdojo/jira/helper.py272except JIRA_Project.DoesNotExist:CODE
HIGHdojo/jira/helper.py462except ModuleNotFoundError:CODE
HIGH…o/db_migrations/0156_migrate_finding_groups_setting.py19except:CODE
HIGH…jo/db_migrations/0047_jira_minimum_severity_default.py16except Exception as e:CODE
HIGH…b_migrations/0175_system_settings_enable_notify_sla.py19except:CODE
HIGH…b_migrations/0175_system_settings_enable_notify_sla.py30except:CODE
HIGH…b_migrations/0175_system_settings_enable_notify_sla.py41except:CODE
HIGHdojo/db_migrations/0147_rename_sslyze_parser.py10except Test_Type_model.DoesNotExist:CODE
HIGHdojo/db_migrations/0061_jira_webhook_secret.py21except Exception as e:CODE
HIGHdojo/auditlog/helpers.py98except LookupError:CODE
HIGHunittests/test_bulk_edit_validation.py216except (AttributeError, TypeError, ImportError):CODE
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
LOW⚡dojo/utils.py1918 # Step 1: Determine finding scopeCOMMENT
LOW⚡dojo/utils.py1925 # Step 2: Prepare duplicate clusters (must happen before any deletion)COMMENT
LOW⚡dojo/utils.py1930 # Step 3: Delete the main scope findingsCOMMENT
LOW⚡dojo/utils.py1938 # Step 4: Delete all remaining related objects (Tests, Engagements,COMMENT
LOW⚡dojo/utils.py1947 # Step 5: Delete the top-level object via ORM to fire Django signalsCOMMENT
LOW⚡dojo/utils.py1952 # Step 6: Recalculate product grade once (Engagement/Test deletes only). Skip when theCOMMENT
LOW⚡dojo/importers/endpoint_manager.py254 # Step 1: Ensure all recorded endpoints exist in DBCOMMENT
LOW⚡dojo/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.py604 # the engagement doesn't exist, so we need to check if the user hasCOMMENT
LOWdojo/authorization/api_permissions.py819 # 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
LOW⚡unittests/test_import_reimport.py785 # Step 2: Mitigate finding ACOMMENT
LOW⚡unittests/test_import_reimport.py793 # Step 3: Import again into engagement 2 → tries to deduplicate against A (mitigated),COMMENT
LOW⚡unittests/test_import_reimport.py910 # Step 2: Mitigate finding ACOMMENT
LOW⚡unittests/test_import_reimport.py918 # Step 3: Import again into engagement 2 → exception, finding B created as new activeCOMMENT
LOW⚡unittests/test_import_reimport.py973 # Step 5: Mitigate finding BCOMMENT
LOW⚡unittests/test_import_reimport.py981 # Step 6: Import again into engagement 4 → should find A (mitigated, exception), B (mitigated, exception),COMMENT
LOW⚡unittests/test_import_reimport.py2643 # Step 3: test1's 4 findings must all still be activeCOMMENT
LOW⚡unittests/test_import_reimport.py2659 # Step 1: Baseline import (default batch size)COMMENT
LOW⚡unittests/test_import_reimport.py2830 # Step 1: Baseline import (default batch size)COMMENT
LOWunittests/test_import_reimport.py758 # Step 1: Import scan into engagement 1 → finding A (active)COMMENT
LOWunittests/test_import_reimport.py823 # Step 4: Import again into engagement 3 → should find both A (mitigated) and B (active)COMMENT
LOWunittests/test_import_reimport.py886 # Step 1: Import scan into engagement 1 → finding A (active)COMMENT
LOWunittests/test_import_reimport.py944 # Step 4: Import again into engagement 3 → should skip finding1 (mitigated, exception),COMMENT
LOWunittests/test_import_reimport.py2614 # Step 1: import 4 findings into an existing test (test1) in the engagement.COMMENT
LOWunittests/test_import_reimport.py2625 # Step 2: call the reimport endpoint with auto_create_context=True and aCOMMENT
LOWunittests/test_import_reimport.py2704 # Step 2: Reimport scan (same test)COMMENT
LOWunittests/test_import_reimport.py2731 # Step 3: Import scan in NEW engagement with batch_size=50COMMENT
LOWunittests/test_import_reimport.py2787 # Step 4: Reimport scan in same new engagement (batch_size=50)COMMENT
LOWunittests/test_import_reimport.py2869 # Step 2: Import scan again (same engagement)COMMENT
LOWunittests/test_import_reimport.py2895 # Step 3: Import scan in NEW engagement with batch_size=50COMMENT
LOWunittests/test_import_reimport.py2950 # 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⚡scripts/update_performance_test_counts.py21 # Step 1: Run tests and generate report only (without updating)STRING
LOW⚡scripts/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.py314 # gather findings over past half year, make sure to start on a sundayCOMMENT
LOWdojo/templatetags/display_tags.py795 # outputs html, so make sure to escape user provided fieldsCOMMENT
LOWdojo/settings/settings.dist.py512 # 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
MEDIUM⚡unittests/scans/nuclei/issue_14071.json25{"template":"http/exposures/files/readme-md.yaml","template-url":"https://cloud.projectdiscovery.io/public/readme-md","tCODE
LOW⚡unittests/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
AI Structural Patterns21 hits · 17 pts
SeverityFileLineSnippetContext
LOWtests/finding_test.py131CODE
LOWdojo/tools/locations.py18CODE
LOWdojo/tools/locations.py45CODE
LOWdojo/tools/locations.py78CODE
LOWdojo/importers/services.py141CODE
LOWdojo/importers/services.py200CODE
LOWdojo/importers/services.py254CODE
LOWdojo/importers/auto_create_context.py280CODE
LOWdojo/finding/helper.py515CODE
LOWdojo/finding/api_v3/routes.py149CODE
LOWdojo/management/commands/import_all_unittest_scans.py66CODE
LOWdojo/product/api_v3/routes.py193CODE
LOWdojo/jira/helper.py914CODE
LOWdojo/notifications/helper.py65CODE
LOWunittests/test_false_positive_history_logic.py2069CODE
LOWunittests/test_import_reimport.py3177CODE
LOWunittests/test_import_reimport.py3224CODE
LOWunittests/dojo_test_case.py629CODE
LOWunittests/dojo_test_case.py689CODE
LOWunittests/api_v3/import_corpus_shim.py121CODE
LOWunittests/api_v3/import_corpus_shim.py140CODE
Modern AI Meta-Vocabulary4 hits · 10 pts
SeverityFileLineSnippetContext
MEDIUMtests/test_test.py232 # 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
Docstring Block Structure1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHdojo/finding/deduplication.py137 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.py867 def handle_request(CODE
LOWdojo/engagement/ui/views.py787 def handle_request(CODE