Repository Analysis

jumpserver/jumpserver

JumpServer is an open-source Privileged Access Management (PAM) platform that provides DevOps and IT teams with on-demand and secure access to SSH, RDP, Kubernetes, Database and RemoteApp endpoints through a web browser.

12.8 Low AI signal View on GitHub
12.8
Adjusted Score
12.8
Raw Score
100%
Time Factor
2026-05-29
Last Push
30,524
Stars
Python
Language
169,130
Lines of Code
1648
Files
1790
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 23HIGH 3MEDIUM 88LOW 1676

Pattern Findings

1790 matches across 13 categories. Click a row to expand file-level details.

Unused Imports725 hits · 725 pts
SeverityFileLineSnippet
LOWutils/get_no_parent_nodes.py17
LOWutils/generate_fake_data/resources/system.py4
LOWutils/generate_fake_data/resources/users.py7
LOWutils/generate_fake_data/resources/terminal.py2
LOWutils/generate_fake_data/resources/terminal.py3
LOWutils/generate_fake_data/resources/terminal.py4
LOWutils/generate_fake_data/resources/terminal.py5
LOWutils/generate_fake_data/resources/perms.py6
LOWutils/generate_fake_data/resources/perms.py7
LOWutils/generate_fake_data/resources/perms.py8
LOWutils/generate_fake_data/resources/assets.py7
LOWapps/manage.py19
LOWapps/settings/apps.py10
LOWapps/settings/apps.py11
LOWapps/settings/admin.py1
LOWapps/settings/tests.py1
LOWapps/settings/tasks/__init__.py4
LOWapps/settings/tools/__init__.py3
LOWapps/settings/tools/__init__.py4
LOWapps/settings/tools/__init__.py5
LOWapps/settings/tools/__init__.py6
LOWapps/settings/tools/__init__.py7
LOWapps/settings/tools/ping.py10
LOWapps/settings/utils/__init__.py4
LOWapps/settings/utils/__init__.py5
LOWapps/settings/utils/__init__.py6
LOWapps/settings/serializers/__init__.py4
LOWapps/settings/serializers/__init__.py5
LOWapps/settings/serializers/__init__.py6
LOWapps/settings/serializers/__init__.py7
LOWapps/settings/serializers/__init__.py8
LOWapps/settings/serializers/__init__.py9
LOWapps/settings/serializers/__init__.py10
LOWapps/settings/serializers/__init__.py11
LOWapps/settings/serializers/__init__.py12
LOWapps/settings/serializers/__init__.py13
LOWapps/settings/serializers/__init__.py14
LOWapps/settings/serializers/__init__.py15
LOWapps/settings/serializers/__init__.py16
LOWapps/settings/serializers/auth/mixin.py3
LOWapps/settings/serializers/auth/__init__.py1
LOWapps/settings/serializers/auth/__init__.py2
LOWapps/settings/serializers/auth/__init__.py3
LOWapps/settings/serializers/auth/__init__.py4
LOWapps/settings/serializers/auth/__init__.py5
LOWapps/settings/serializers/auth/__init__.py6
LOWapps/settings/serializers/auth/__init__.py7
LOWapps/settings/serializers/auth/__init__.py8
LOWapps/settings/serializers/auth/__init__.py9
LOWapps/settings/serializers/auth/__init__.py10
LOWapps/settings/serializers/auth/__init__.py11
LOWapps/settings/serializers/auth/__init__.py12
LOWapps/settings/serializers/auth/__init__.py13
LOWapps/settings/serializers/auth/__init__.py14
LOWapps/settings/serializers/auth/__init__.py15
LOWapps/settings/serializers/auth/__init__.py16
LOWapps/settings/urls/api_urls.py1
LOWapps/settings/api/ldap.py9
LOWapps/settings/api/__init__.py1
LOWapps/settings/api/__init__.py2
665 more matches not shown…
Hyper-Verbose Identifiers509 hits · 549 pts
SeverityFileLineSnippet
LOWutils/test_run_migrations.py23def migrate_system_role_binding(apps, schema_editor):
LOWapps/settings/models.py99 def refresh_keycloak_to_openid_if_need(self):
LOWapps/settings/models.py231def register_sqlite_connection():
LOWapps/settings/signal_handlers.py30def refresh_settings_on_changed(sender, instance=None, **kwargs):
LOWapps/settings/signal_handlers.py42def on_django_ready_add_db_config(sender, **kwargs):
LOWapps/settings/signal_handlers.py47def auto_generate_terminal_host_key(sender, **kwargs):
LOWapps/settings/signal_handlers.py59def subscribe_settings_change(sender, **kwargs):
LOWapps/settings/tasks/ldap.py122def import_ldap_user_periodic(**kwargs):
LOWapps/settings/tasks/ldap.py138def import_ldap_ha_user_periodic(**kwargs):
LOWapps/settings/utils/ldap.py585 def _test_search_ou_and_filter(self):
LOWapps/settings/utils/ldap.py597 def test_search_ou_and_filter(self):
LOWapps/settings/utils/common.py9def get_interface_setting_or_default():
LOWapps/settings/api/security.py36 def get_page_offset_and_limit(self):
LOWapps/settings/api/i18n.py18 def get_component_translations(self, name):
LOWapps/rbac/tree.py385 def _get_permission_name_icon(self, p: Permission, content_types_name_mapper: dict):
LOWapps/rbac/backends.py15 def username_allow_authenticate(self, username):
LOWapps/rbac/builtin.py158 def get_system_role_by_old_name(cls, name):
LOWapps/rbac/signal_handlers.py10def after_migrate_update_builtin_role_permissions(sender, app_config, **kwargs):
LOWapps/rbac/signal_handlers.py25def on_system_role_permission_changed(sender, instance, **kwargs):
LOWapps/rbac/signal_handlers.py31def on_system_role_binding_update(sender, instance, **kwargs):
LOWapps/rbac/signal_handlers.py43def on_org_role_permission_changed(sender, instance, action, **kwargs):
LOWapps/rbac/signal_handlers.py49def on_org_role_binding_update(sender, instance, **kwargs):
LOWapps/rbac/models/rolebinding.py136 def get_user_has_the_perm_orgs(cls, perm, user):
LOWapps/tickets/utils.py11def send_ticket_applied_mail_to_assignees(ticket, assignees):
LOWapps/tickets/utils.py27def send_ticket_processed_mail_to_applicant(ticket, processor):
LOWapps/tickets/filters.py82 def filter_applicant_username_name(queryset, name, value):
LOWapps/tickets/models/ticket/apply_asset.py25 def get_apply_actions_display(self):
LOWapps/tickets/models/ticket/login_asset_confirm.py24 def activate_connection_token_if_need(self):
LOWapps/tickets/models/ticket/general.py153 def _change_state_by_applicant(self, state):
LOWapps/tickets/models/ticket/general.py228 def create_process_steps_by_flow(self):
LOWapps/tickets/models/ticket/general.py238 def create_process_steps_by_assignees(self, assignees):
LOWapps/tickets/models/ticket/general.py356 def get_current_ticket_flow_approve(self):
LOWapps/tickets/serializers/ticket/common.py12def get_default_permission_name(ticket):
LOWapps/tickets/serializers/ticket/common.py23 def _construct_default_permission_name(serializer_field):
LOWapps/tickets/serializers/ticket/common.py49 def filter_many_to_many_field(self, model, values: list, **kwargs):
LOWapps/tickets/signal_handlers/ticket.py13def after_save_set_rel_snapshot(sender, instance, update_fields=None, **kwargs):
LOWapps/tickets/views/approve.py54 def redirect_message_response(self, **kwargs):
LOWapps/tickets/handlers/base.py48 def _send_applied_mail_to_assignees(self, step=None):
LOWapps/tickets/handlers/base.py57 def _send_processed_mail_to_applicant(self, step=None):
LOWapps/tickets/handlers/base.py63 def _diff_prev_approve_context(self, state):
LOWapps/tickets/handlers/base.py87 def _create_state_change_comment(self, state):
LOWapps/audits/tasks.py35def clean_operation_log_period():
LOWapps/audits/tasks.py42def clean_password_change_log_period():
LOWapps/audits/tasks.py50def clean_activity_log_period():
LOWapps/audits/tasks.py68def clean_celery_tasks_period():
LOWapps/audits/tasks.py109def clean_expired_session_period():
LOWapps/audits/tasks.py156def upload_ftp_file_to_external_storage(ftp_log_id, file_name):
LOWapps/audits/handler.py45 def _look_for_two_dict_change(self, left_dict, right_dict):
LOWapps/audits/handler.py57 def cache_instance_before_data(self, instance_dict):
LOWapps/audits/handler.py65 def get_instance_dict_from_cache(self, instance_id):
LOWapps/audits/handler.py74 def get_instance_current_with_cache_diff(self, current_instance):
LOWapps/audits/handler.py163 def create_or_update_operate_log(
LOWapps/audits/serializers.py228 def get_is_current_user_session(self, obj) -> bool:
LOWapps/audits/utils.py35def _get_instance_field_value(
LOWapps/audits/utils.py101def model_to_dict_for_operate_log(
LOWapps/audits/utils.py139def construct_userlogin_usernames(user_queryset):
LOWapps/audits/utils.py148def record_operate_log_and_activity_log(ids, action, detail, model, **kwargs):
LOWapps/audits/backends/db.py41 def convert_before_after_to_diff(cls, before, after):
LOWapps/audits/backends/db.py56 def convert_diff_to_before_after(cls, diff):
LOWapps/audits/signal_handlers/activity_log.py96def after_task_publish_for_activity_log(headers=None, body=None, **kwargs):
449 more matches not shown…
Excessive Try-Catch Wrapping344 hits · 417 pts
SeverityFileLineSnippet
LOWapps/settings/apps.py16 except Exception:
LOWapps/settings/ws.py113 except Exception as error:
LOWapps/settings/ws.py147 except Exception as error:
LOWapps/settings/ws.py243 except Exception as e:
LOWapps/settings/tools/telnet.py44 except Exception as e:
LOWapps/settings/tools/nmap.py34 except Exception as err:
LOWapps/settings/tools/traceroute.py71 except Exception as e:
LOWapps/settings/utils/ldap.py124 except Exception as e:
LOWapps/settings/utils/ldap.py359 except Exception as e:
LOWapps/settings/utils/ldap.py421 except Exception as e:
LOWapps/settings/utils/ldap.py429 except Exception as e:
LOWapps/settings/utils/ldap.py550 except Exception as e:
LOWapps/settings/utils/ldap.py577 except Exception as e:
LOWapps/settings/utils/ldap.py607 except Exception as e:
LOWapps/settings/utils/ldap.py635 except Exception as e:
LOWapps/settings/utils/ldap.py678 except Exception as e:
LOWapps/settings/utils/ldap.py717 except Exception as e:
MEDIUMapps/settings/utils/ldap.py538def test_server_uri(self):
MEDIUMapps/settings/utils/ldap.py568def test_bind_dn(self):
MEDIUMapps/settings/utils/ldap.py597def test_search_ou_and_filter(self):
MEDIUMapps/settings/utils/ldap.py628def test_attr_map(self):
LOWapps/settings/api/ldap.py84 except Exception as e:
LOWapps/settings/api/chat.py87 except Exception as e:
LOWapps/settings/api/vault.py45 except Exception as e:
LOWapps/settings/api/email.py70 except Exception as e:
LOWapps/settings/api/sms.py168 except Exception as e:
LOWapps/rbac/permissions.py105 except Exception as e:
LOWapps/tickets/views/approve.py124 except Exception as e:
LOWapps/tickets/handlers/apply_asset.py70 except Exception as e:
LOWapps/audits/tasks.py105 except Exception as e:
LOWapps/audits/handler.py82 except Exception as err:
LOWapps/audits/handler.py197 except Exception as e:
LOWapps/audits/utils.py95 except Exception as e:
LOWapps/audits/signal_handlers/activity_log.py101 except Exception as e:
LOWapps/acls/models/command_acl.py85 except Exception as e:
LOWapps/terminal/startup.py62 except Exception:
LOWapps/terminal/tasks.py206 except Exception as e:
LOWapps/terminal/applets/__init__.py17 except Exception as e:
LOWapps/terminal/applets/dbeaver/common.py41 except Exception as e:
LOWapps/terminal/applets/dbeaver/common.py66 except Exception as e:
LOWapps/terminal/applets/dbeaver/common.py184 except Exception as e:
LOWapps/terminal/applets/dbeaver/common.py201 except Exception as e:
LOWapps/terminal/applets/dbeaver/main.py21 except Exception as e:
LOWapps/terminal/applets/chrome/common.py50 except Exception as e:
LOWapps/terminal/applets/chrome/common.py70 except Exception as e:
LOWapps/terminal/applets/chrome/common.py96 except Exception as e:
LOWapps/terminal/applets/chrome/common.py228 except Exception as e:
LOWapps/terminal/applets/chrome/common.py245 except Exception as e:
LOWapps/terminal/applets/chrome/app.py113 except Exception as e:
LOWapps/terminal/applets/chrome/app.py122 except Exception as e:
LOWapps/terminal/applets/chrome/app.py292 except Exception as e:
LOWapps/terminal/applets/chrome/app.py296 except Exception as e:
LOWapps/terminal/applets/chrome/app.py315 except Exception as e:
LOWapps/terminal/applets/chrome/main.py21 except Exception as e:
LOWapps/terminal/models/applet/applet.py112 except Exception as e:
LOWapps/terminal/api/component/storage.py130 except Exception as e:
LOW…ps/terminal/automations/deploy_applet_host/__init__.py155 except Exception as e:
MEDIUMapps/orgs/utils.py176 print("Error: {} not has org_id attr".format(org_aware_resource))
LOWapps/orgs/mixins/ws.py17 except Exception as e:
MEDIUMapps/orgs/mixins/ws.py12def get_cookie(self):
284 more matches not shown…
Hallucination Indicators23 hits · 260 pts
SeverityFileLineSnippet
CRITICALutils/clean_duplicate_user_groups.py20from django.core.exceptions import FieldError
CRITICALapps/rbac/models/rolebinding.py2from django.core.exceptions import ValidationError
CRITICALapps/labels/api.py1from django.core.exceptions import ValidationError
CRITICALapps/terminal/models/session/session.py9from django.core.exceptions import ValidationError
CRITICALapps/terminal/api/component/status.py47 tasks = self.request.user.terminal.task_set.filter(is_finished=False, date_created__gte=critical_time)
CRITICALapps/jumpserver/rewriting/pagination.py2from django.core.exceptions import FieldError
CRITICALapps/common/db/fields.py10from django.core.exceptions import ValidationError
CRITICALapps/common/db/validators.py1from django.core.exceptions import ValidationError
CRITICALapps/accounts/backends/azure/service.py26 from azure.core.exceptions import ResourceNotFoundError, ClientAuthenticationError
CRITICALapps/accounts/backends/azure/service.py37 from azure.core.exceptions import ResourceNotFoundError, ClientAuthenticationError
CRITICALapps/accounts/backends/hcp/service.py49 self.client.secrets.kv.v2.configure(
CRITICALapps/accounts/backends/hcp/service.py56 response = self.client.secrets.kv.v2.read_secret_version(
CRITICALapps/accounts/backends/hcp/service.py75 self.client.secrets.kv.v2.patch(
CRITICALapps/accounts/backends/hcp/service.py82 self.client.secrets.kv.v2.delete_metadata_and_all_versions(
CRITICALapps/accounts/backends/hcp/service.py88 self.client.secrets.kv.v2.create_or_update_secret(
CRITICALapps/accounts/backends/hcp/service.py96 self.client.secrets.kv.v2.update_metadata(
CRITICALapps/static/js/jquery-3.6.1.min.js2!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):f
CRITICALapps/static/js/jquery-ui.custom.min.js16(function(e){"function"==typeof define&&define.amd?define(["jquery","./core","./mouse","./widget"],e):e(jQuery)})(functi
CRITICALapps/static/js/plugins/xterm/addons/search/search.js63 var line = this._terminal._core.buffer.lines.get(y);
CRITICALapps/static/js/plugins/jsencrypt/jsencrypt.3.3.2.min.js172eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/*
CRITICALapps/users/models/user/_face.py6from django.core.exceptions import ValidationError
CRITICALapps/assets/models/utils.py5from django.core.exceptions import ValidationError
CRITICALapps/authentication/models/connection_token.py7from django.core.exceptions import ValidationError
Deep Nesting87 hits · 87 pts
SeverityFileLineSnippet
LOWutils/clean_duplicate_user_groups.py23
LOWutils/generate_fake_data/resources/system.py46
LOWapps/settings/utils/ldap.py257
LOWapps/settings/serializers/settings.py45
LOWapps/settings/api/email.py27
LOWapps/rbac/models/permission.py94
LOWapps/tickets/models/ticket/general.py422
LOWapps/audits/tasks.py90
LOWapps/audits/handler.py121
LOWapps/audits/utils.py35
LOWapps/audits/signal_handlers/other.py43
LOWapps/perms/utils/asset_perm.py120
LOWapps/perms/api/user_permission/tree/node_with_asset.py174
LOWapps/terminal/connect_methods.py286
LOWapps/terminal/applets/chrome/app.py57
LOWapps/terminal/applets/chrome/app.py129
LOWapps/terminal/models/applet/applet.py312
LOWapps/terminal/api/session/command.py201
LOWapps/terminal/api/session/session.py246
LOWapps/libs/ansible/modules/mongodb_user.py204
LOWapps/libs/ansible/modules/mongodb_user.py317
LOWapps/libs/ansible/modules/oracle_user.py140
LOWapps/libs/ansible/modules/mssql_script.py274
LOWapps/libs/ansible/modules/oracle_info.py109
LOWapps/libs/ansible/modules_utils/remote_client.py205
LOWapps/jumpserver/api/aggregate/utils.py56
LOWapps/jumpserver/views/swagger.py49
LOWapps/jumpserver/views/schema.py265
LOWapps/jumpserver/views/schema.py283
LOWapps/common/tree.py49
LOWapps/common/cache.py95
LOWapps/common/plugins/es.py342
LOWapps/common/plugins/es.py506
LOWapps/common/plugins/es.py570
LOWapps/common/management/commands/check_api.py220
LOWapps/common/utils/django.py15
LOWapps/common/utils/connection.py51
LOWapps/common/utils/common.py326
LOWapps/common/utils/ip/utils.py48
LOWapps/common/utils/ip/utils.py79
LOWapps/common/storage/jms_storage/multi.py56
LOWapps/common/storage/jms_storage/__init__.py19
LOWapps/common/const/choices.py137
LOWapps/common/serializers/fields.py123
LOWapps/common/serializers/fields.py234
LOWapps/common/serializers/fields.py252
LOWapps/common/serializers/mixin.py151
LOWapps/common/serializers/mixin.py411
LOWapps/common/serializers/dynamic.py28
LOWapps/common/drf/metadata.py64
LOWapps/common/drf/metadata.py136
LOWapps/common/drf/exc_handlers.py32
LOWapps/common/drf/filters.py120
LOWapps/common/drf/parsers/base.py115
LOWapps/common/drf/renders/base.py107
LOWapps/common/drf/renders/base.py135
LOWapps/common/db/fields.py314
LOWapps/common/db/fields.py342
LOWapps/common/db/fields.py453
LOWapps/common/db/fields.py573
27 more matches not shown…
Over-Commented Block66 hits · 54 pts
SeverityFileLineSnippet
LOWconfig_example.yml1# SECURITY WARNING: keep the secret key used in production secret!
LOWconfig_example.yml21# SESSION_COOKIE_AGE: 3600
LOWconfig_example.yml41# When Django start it will bind this host and port
LOWconfig_example.yml61# 启用 / 禁用
LOWconfig_example.yml81# PERIOD_TASK_ENABLED: True
LOWconfig_example.yml101#FACE_RECOGNITION_DISTANCE_THRESHOLD': 0.35
LOWapps/__init__.py1#!/usr/bin/env python
LOWapps/rbac/tests.py1from django.test import TestCase
LOWapps/rbac/tests.py21# 8. 权限位名称翻译 (整理一个dict,key为codename,value为翻译)
LOWapps/tickets/urls/__init__.py1# -*- coding: utf-8 -*-
LOWapps/orgs/mixins/__init__.py1# -*- coding: utf-8 -*-
LOWapps/orgs/urls/__init__.py1# -*- coding: utf-8 -*-
LOWapps/libs/ansible/modules/mongodb_user.py281 # and is not synchronized among replica sets, the user must be stored on the admin db
LOWapps/common/signal_handlers.py61 if current_request:
LOWapps/common/auth/__init__.py1# -*- coding: utf-8 -*-
LOWapps/common/drf/__init__.py1# -*- coding: utf-8 -*-
LOWapps/static/css/colorbox.css21 ordered & tabbed in a way that represents the nesting of the generated HTML.
LOWapps/static/js/jumpserver.js481}
LOWapps/static/js/jumpserver.js581jumpserver.initServerSideDataTable = function (options) {
LOWapps/static/js/term.js621 // var text = term.grabText(
LOWapps/static/js/term.js1181 }
LOWapps/static/js/term.js1381
LOWapps/static/js/term.js2421 // if (this.prefix === '>') {
LOWapps/static/js/term.js2441 case 'b':
LOWapps/static/js/term.js2461 // } else {
LOWapps/static/js/term.js2481 // Request DEC private mode (DECRQM).
LOWapps/static/js/term.js2501 // }
LOWapps/static/js/term.js2521 // CSI Ps ; Ps r
LOWapps/static/js/term.js2541 // } else {
LOWapps/static/js/term.js2561 // }
LOWapps/static/js/term.js2581 // CSI Pt ; Pl ; Pb ; Pr ' w
LOWapps/static/js/term.js2601 // CSI Pt; Pl; Pb; Pr$ z
LOWapps/static/js/term.js2621 // case '|':
LOWapps/static/js/term.js3561// Ps = 2 2 -> Normal (neither bold nor faint).
LOWapps/static/js/term.js3581// Ps = 4 6 -> Set background color to Cyan.
LOWapps/static/js/term.js3601// Ps = 1 0 4 -> Set background color to Blue.
LOWapps/static/js/term.js3741// Ps = 6 -> Report Cursor Position (CPR) [row;column] as CSI
LOWapps/static/js/term.js3961// CSI Ps c Send Device Attributes (Primary DA).
LOWapps/static/js/term.js3981// Ps = 0 or omitted -> request the applications's identification
LOWapps/static/js/term.js4061 this.x = this.cols - 1;
LOWapps/static/js/term.js4081// Ps = 9 -> Send Mouse X & Y on button press. See the sec-
LOWapps/static/js/term.js4101// Ps = 6 6 -> Application keypad (DECNKM).
LOWapps/static/js/term.js4121// enables the altSendsEscape resource).
LOWapps/static/js/term.js4281// Ps = 4 -> Jump (Fast) Scroll (DECSCLM).
LOWapps/static/js/term.js4301// compile-time option).
LOWapps/static/js/term.js4321// Ps = 1 0 3 7 -> Send VT220 Remove from the editing-keypad
LOWapps/static/js/term.js4561 this.tabs = {};
LOWapps/static/js/term.js4581// Set or reset resource-values used by xterm to decide whether
LOWapps/static/js/term.js4601// Ps = 1 -> modifyCursorKeys.
LOWapps/static/js/term.js4641};
LOWapps/static/js/term.js4661// as in the ANSI DECRQM.
LOWapps/static/js/term.js4681// Ps = 0 -> Clear all LEDS (default).
LOWapps/static/js/term.js4741
LOWapps/static/js/term.js4761// Ps = 3 ; x ; y -> Move window to [x, y].
LOWapps/static/js/term.js4781// Ps = 1 4 -> Report xterm window in pixels. Result is CSI
LOWapps/static/js/term.js4801 ;
LOWapps/static/js/term.js4821// cussion of "Title Modes")
LOWapps/static/js/term.js4841 ;
LOWapps/static/js/term.js4861// rectangle is disabled. Filter rectangles are always treated
LOWapps/static/js/term.js4921// Enable Locator Reporting (DECELR).
6 more matches not shown…
Decorative Section Separators15 hits · 31 pts
SeverityFileLineSnippet
MEDIUMapps/terminal/const.py42# ------------------------
MEDIUMapps/terminal/serializers/storage.py19# --------------------------
MEDIUMapps/terminal/serializers/storage.py170# ---------------------------
MEDIUMapps/libs/ansible/modules/mongodb_user.py313# =========================================
MEDIUMapps/libs/ansible/modules/custom_command.py81# =========================================
MEDIUMapps/libs/ansible/modules/oracle_info.py250# ===========================================
MEDIUMapps/libs/ansible/modules/telnet_ping.py36# =========================================
MEDIUMapps/libs/ansible/modules/mongodb_ping.py89# =========================================
MEDIUMapps/libs/ansible/modules/oracle_ping.py79# =========================================
MEDIUMapps/jumpserver/settings/auth.py99# ==============================================================================
MEDIUMapps/jumpserver/settings/auth.py102# ==============================================================================
MEDIUMapps/jumpserver/settings/auth.py138# ==============================================================================
MEDIUMapps/common/serializers/fields.py28# -------------------
MEDIUMapps/assets/signal_handlers/node_assets_mapping.py20# ------------------------------------
MEDIUMapps/notifications/notifications.py214 # --------------------------------------------------------------
Cross-Language Confusion3 hits · 20 pts
SeverityFileLineSnippet
HIGHapps/terminal/tasks.py196 type__in=[ReplayStorageType.server, ReplayStorageType.null]
HIGHapps/terminal/tasks.py199 type__in=[CommandStorageType.server, CommandStorageType.null]
HIGHapps/assets/utils/node.py116 stack.push(info)
Redundant / Tautological Comments7 hits · 13 pts
SeverityFileLineSnippet
LOWrequirements/static_files.sh27 # Check if the file already exists
LOWapps/accounts/tasks/push_account.py76 # Check if the account is in QUEUED status
LOWapps/authentication/decorators.py116 # Check if user has been authenticated
LOWapps/authentication/decorators.py118 # Check if session contains a saved next URL
LOWapps/authentication/decorators.py167 # Check if response is a redirect to guard view
LOWapps/authentication/decorators.py171 # Check if the redirect location is to guard view
LOWapps/authentication/decorators.py178 # Check if path matches guard view URL pattern
Dead Code5 hits · 10 pts
SeverityFileLineSnippet
MEDIUMapps/assets/tests/tree.py23
MEDIUMapps/assets/tests/tree.py25
MEDIUMapps/assets/tests/tree.py26
MEDIUMapps/assets/tests/tree.py32
MEDIUMapps/assets/tests/tree.py33
Overly Generic Function Names4 hits · 4 pts
SeverityFileLineSnippet
LOWapps/common/drf/renders/base.py77 def process_data(self, data):
LOWapps/accounts/models/automations/base.py21 def execute_task(self):
LOWapps/assets/models/automations/base.py67 def execute_task(self):
LOWapps/assets/automations/ping_gateway/manager.py23 def execute_task(self, gateway, account):
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippet
LOWapps/libs/ansible/modules/mssql_script.py75 (Query V('SELECT %(name\)s"') with V(example: '{"name": "John Doe"}).)'.
AI Slop Vocabulary1 hit · 1 pts
SeverityFileLineSnippet
MEDIUMapps/authentication/backends/oidc/views.py38 """ Allows to start the authorization flow in order to authenticate the end-user.