AI Slop Code RIsk Monitor

jumpserver/jumpserver

JumpServer is an Open-source Privileged Access Management (PAM) platform with AI-powered capabilities, providing DevOps and IT teams a unified workspace to securely access SSH, RDP, Kubernetes, databases, websites, RemoteApp, VirtualApp, and more.

21.7 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for jumpserver/jumpserver, a Python project with 31,745 GitHub stars. SynthScan examined 197,362 lines of code across 1768 source files, recording 3263 pattern matches distributed across 18 syntactic categories. The legacy adjusted pattern signal is 21.7 (Elevated 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.

21.7
Adjusted Signal
21.7
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
31.7K
Stars
Python
Language
197.4K
Lines of Code
1.8K
Files
3.3K
Pattern Hits
2026-10-12
Scan Date
0.07
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 32.2/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 26.9/100 · MEDIUM

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

Agent Over-Engineering Ratio 50.8/100 · HIGH

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

PR Review Velocity Impact 66.9/100 · HIGH

Which changes need focused human review? 3263 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 35HIGH 96MEDIUM 151LOW 2981

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 3263 distinct pattern matches across 18 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.

Hyper-Verbose Identifiers1178 hits · 1244 pts
SeverityFileLineSnippetContext
LOWutils/test_run_migrations.py23def migrate_system_role_binding(apps, schema_editor):CODE
LOWapps/settings/models.py100 def refresh_ldap_timeout_if_need(self, value):CODE
LOWapps/settings/models.py107 def refresh_keycloak_to_openid_if_need(self):CODE
LOWapps/settings/tests.py23 def test_custom_ca_is_added_to_default_context(self, create_context):CODE
LOWapps/settings/tests.py31 def test_certificate_verification_can_be_disabled(self, create_context):CODE
LOW⚡apps/settings/tests.py48 def test_custom_ca_mode_requires_certificate(self):CODE
LOW⚡apps/settings/tests.py56 def test_custom_ca_is_not_required_without_tls(self):CODE
LOW⚡apps/settings/tests.py65 def test_private_key_is_rejected(self):CODE
LOW⚡apps/settings/tests.py73 def test_invalid_ca_certificate_is_rejected(self):CODE
LOW⚡apps/settings/tests.py87 def test_enabled_api_requires_base_url(self):CODE
LOW⚡apps/settings/tests.py97 def test_enabled_api_accepts_http_url_without_embed_url(self):CODE
LOW⚡apps/settings/tests.py107 def test_enabled_iframe_requires_embed_url(self):CODE
LOWapps/settings/tests.py118 def test_enabled_iframe_accepts_https_url_without_base_url(self):CODE
LOWapps/settings/tests.py128 def test_iframe_rejects_non_http_urls(self):CODE
LOWapps/settings/tests.py148 def test_partial_update_validates_configured_iframe_method(self):CODE
LOWapps/settings/tests.py156 def test_sort_ignores_missing_field(self):CODE
LOWapps/settings/tests.py198 async def test_view_only_users_cannot_connect(self):CODE
LOWapps/settings/tests.py210 async def test_users_without_auth_permission_cannot_connect(self):CODE
LOWapps/settings/tests.py223 async def test_auth_settings_editors_can_test_ldap(self):CODE
LOW⚡apps/settings/signal_handlers.py35def refresh_settings_on_changed(sender, instance=None, **kwargs):CODE
LOW⚡apps/settings/signal_handlers.py42def on_django_ready_add_db_config(sender, **kwargs):CODE
LOW⚡apps/settings/signal_handlers.py47def auto_generate_terminal_host_key(sender, **kwargs):CODE
LOWapps/settings/signal_handlers.py59def subscribe_settings_change(sender, **kwargs):CODE
LOWapps/settings/signal_handlers.py80def after_migrate_some_config(sender, app_config, **kwargs):CODE
LOWapps/settings/signal_handlers.py121def register_sqlite_connection(sender, **kwargs):CODE
LOWapps/settings/tasks/ldap.py122def import_ldap_user_periodic(**kwargs):CODE
LOWapps/settings/tasks/ldap.py138def import_ldap_ha_user_periodic(**kwargs):CODE
LOWapps/settings/utils/ldap.py63def is_memberof_groups_mapping(mapping):CODE
LOWapps/settings/utils/ldap.py67def unescape_dn_attribute_value(value):CODE
LOWapps/settings/utils/ldap.py94def extract_ou_values_from_dn(dn):CODE
LOWapps/settings/utils/ldap.py248 def iter_ldap_search_attributes(self):CODE
LOWapps/settings/utils/ldap.py541 def _get_memberof_group_names(self, groups) -> list:CODE
LOWapps/settings/utils/ldap.py774 def _test_search_ou_and_filter(self):CODE
LOWapps/settings/utils/ldap.py786 def test_search_ou_and_filter(self):CODE
LOWapps/settings/utils/common.py9def get_interface_setting_or_default():CODE
LOWapps/settings/serializers/feature.py38def validate_chat_ai_base_url(value):CODE
LOWapps/settings/serializers/feature.py45def validate_secret_destination(attrs, secret_field, destination_fields):CODE
LOWapps/settings/serializers/feature.py57def validate_ssh_ca_openbao_address(value):CODE
LOWapps/settings/serializers/feature.py87def validate_ssh_ca_source_addresses(value):CODE
LOWapps/settings/serializers/auth/mixin.py20 def _sync_tls_certs_if_needed(self):CODE
LOWapps/settings/serializers/auth/mixin.py36 def _invalidate_ldap_users_cache_if_needed(self):CODE
LOWapps/settings/api/security.py36 def get_page_offset_and_limit(self):CODE
LOWapps/settings/api/settings.py211 def prepare_openbao_mount_change(self, serializer):CODE
LOWapps/settings/api/i18n.py18 def get_component_translations(self, name):CODE
LOWapps/rbac/tree.py408 def _get_permission_name_icon(self, p: Permission, content_types_name_mapper: dict):CODE
LOWapps/rbac/backends.py15 def username_allow_authenticate(self, username):CODE
LOWapps/rbac/builtin.py164 def get_system_role_by_old_name(cls, name):CODE
LOWapps/rbac/signal_handlers.py10def after_migrate_update_builtin_role_permissions(sender, app_config, **kwargs):CODE
LOWapps/rbac/signal_handlers.py25def on_system_role_permission_changed(sender, instance, **kwargs):CODE
LOWapps/rbac/signal_handlers.py31def on_system_role_binding_update(sender, instance, **kwargs):CODE
LOWapps/rbac/signal_handlers.py43def on_org_role_permission_changed(sender, instance, action, **kwargs):CODE
LOWapps/rbac/signal_handlers.py49def on_org_role_binding_update(sender, instance, **kwargs):CODE
LOWapps/rbac/models/rolebinding.py137 def get_user_has_the_perm_orgs(cls, perm, user):CODE
LOWapps/tickets/utils.py14def send_ticket_applied_mail_to_assignees(ticket, assignees):CODE
LOWapps/tickets/utils.py30def send_ticket_processed_mail_to_applicant(ticket, processor):CODE
LOWapps/tickets/utils.py41def send_ticket_updated_mail_to_cc_users(ticket):CODE
LOWapps/tickets/filters.py117 def filter_applicant_username_name(queryset, name, value):CODE
LOWapps/tickets/tests/test_session_api.py69 def test_unrelated_user_cannot_read_session_in_same_or_other_org(self):CODE
LOWapps/tickets/tests/test_session_api.py75 def test_ticket_related_user_can_read_session_across_orgs(self):CODE
LOWapps/tickets/tests/test_session_api.py86 def test_auditor_can_read_session_in_authorized_org(self):CODE
1118 more matches not shown…
Unused Imports781 hits · 780 pts
SeverityFileLineSnippetContext
LOWutils/get_no_parent_nodes.py17CODE
LOWutils/mongodb_ping.py3CODE
LOWutils/mongodb_ping.py3CODE
LOWutils/mongodb_ping.py3CODE
LOWutils/generate_fake_data/resources/system.py4CODE
LOWutils/generate_fake_data/resources/users.py7CODE
LOWutils/generate_fake_data/resources/terminal.py2CODE
LOWutils/generate_fake_data/resources/terminal.py3CODE
LOWutils/generate_fake_data/resources/terminal.py4CODE
LOWutils/generate_fake_data/resources/terminal.py5CODE
LOWutils/generate_fake_data/resources/perms.py6CODE
LOWutils/generate_fake_data/resources/perms.py7CODE
LOWutils/generate_fake_data/resources/perms.py8CODE
LOWutils/generate_fake_data/resources/assets.py7CODE
LOWrequirements/download_face_models.py4CODE
LOWapps/manage.py19CODE
LOWapps/settings/models.py8CODE
LOWapps/settings/apps.py10CODE
LOWapps/settings/apps.py11CODE
LOWapps/settings/admin.py1CODE
LOWapps/settings/signal_handlers.py15CODE
LOWapps/settings/tasks/__init__.py4CODE
LOWapps/settings/tools/__init__.py3CODE
LOWapps/settings/tools/__init__.py4CODE
LOWapps/settings/tools/__init__.py5CODE
LOWapps/settings/tools/__init__.py6CODE
LOWapps/settings/tools/__init__.py7CODE
LOWapps/settings/tools/ping.py10CODE
LOWapps/settings/utils/__init__.py4CODE
LOWapps/settings/utils/__init__.py5CODE
LOWapps/settings/utils/__init__.py6CODE
LOWapps/settings/serializers/__init__.py4CODE
LOWapps/settings/serializers/__init__.py5CODE
LOWapps/settings/serializers/__init__.py6CODE
LOWapps/settings/serializers/__init__.py7CODE
LOWapps/settings/serializers/__init__.py8CODE
LOWapps/settings/serializers/__init__.py9CODE
LOWapps/settings/serializers/__init__.py10CODE
LOWapps/settings/serializers/__init__.py11CODE
LOWapps/settings/serializers/__init__.py12CODE
LOWapps/settings/serializers/__init__.py13CODE
LOWapps/settings/serializers/__init__.py14CODE
LOWapps/settings/serializers/__init__.py15CODE
LOWapps/settings/serializers/__init__.py16CODE
LOWapps/settings/serializers/__init__.py17CODE
LOWapps/settings/serializers/auth/mixin.py4CODE
LOWapps/settings/serializers/auth/ukey.py4CODE
LOWapps/settings/serializers/auth/ukey.py5CODE
LOWapps/settings/serializers/auth/__init__.py1CODE
LOWapps/settings/serializers/auth/__init__.py2CODE
LOWapps/settings/serializers/auth/__init__.py3CODE
LOWapps/settings/serializers/auth/__init__.py4CODE
LOWapps/settings/serializers/auth/__init__.py5CODE
LOWapps/settings/serializers/auth/__init__.py6CODE
LOWapps/settings/serializers/auth/__init__.py7CODE
LOWapps/settings/serializers/auth/__init__.py8CODE
LOWapps/settings/serializers/auth/__init__.py9CODE
LOWapps/settings/serializers/auth/__init__.py10CODE
LOWapps/settings/serializers/auth/__init__.py11CODE
LOWapps/settings/serializers/auth/__init__.py12CODE
721 more matches not shown…
Excessive Try-Catch Wrapping450 hits · 535 pts
SeverityFileLineSnippetContext
LOWutils/change_user_password.py74 except Exception as exc:CODE
LOWutils/mongodb_ping.py107 except Exception as e:STRING
LOWutils/mongodb_ping.py118 except Exception: # noqaSTRING
LOWrequirements/download_face_models.py112 except Exception:CODE
LOWrequirements/download_face_models.py177 except Exception:CODE
LOWapps/settings/ws.py115 except Exception as error:CODE
LOWapps/settings/ws.py173 except Exception as error:CODE
LOWapps/settings/ws.py278 except Exception as e:CODE
MEDIUMapps/settings/ws.py164def receive(self, text_data=None, bytes_data=None, **kwargs):CODE
LOWapps/settings/tools/telnet.py45 except Exception as e:CODE
LOWapps/settings/tools/nmap.py96 except Exception:CODE
LOWapps/settings/tools/nmap.py138 except Exception as err:CODE
LOWapps/settings/tools/traceroute.py81 except Exception as e:CODE
MEDIUMapps/settings/utils/ldap.py727def test_server_uri(self):CODE
MEDIUMapps/settings/utils/ldap.py757def test_bind_dn(self):CODE
MEDIUMapps/settings/utils/ldap.py786def test_search_ou_and_filter(self):CODE
MEDIUMapps/settings/utils/ldap.py817def test_attr_map(self):CODE
LOWapps/settings/utils/ldap.py244 except Exception as e:CODE
LOWapps/settings/utils/ldap.py495 except Exception as e:CODE
LOWapps/settings/utils/ldap.py534 except Exception:CODE
LOWapps/settings/utils/ldap.py596 except Exception as e:CODE
LOWapps/settings/utils/ldap.py739 except Exception as e:CODE
LOWapps/settings/utils/ldap.py766 except Exception as e:CODE
LOWapps/settings/utils/ldap.py796 except Exception as e:CODE
LOWapps/settings/utils/ldap.py824 except Exception as e:CODE
LOWapps/settings/utils/ldap.py868 except Exception as e:CODE
LOWapps/settings/utils/ldap.py909 except Exception as e:CODE
LOWapps/settings/api/ldap.py84 except Exception as e:CODE
LOWapps/settings/api/ssh_ca.py60 except Exception as e:CODE
MEDIUMapps/settings/api/ssh_ca.py57def get(self, request):CODE
LOWapps/settings/api/chat.py182 except Exception as error:CODE
LOWapps/settings/api/chat.py245 except Exception as error:CODE
LOWapps/settings/api/vault.py48 except Exception as e:CODE
LOWapps/settings/api/email.py70 except Exception as e:CODE
LOWapps/settings/api/settings.py256 except Exception as e:CODE
LOWapps/settings/api/sms.py168 except Exception as e:CODE
LOWapps/rbac/permissions.py105 except Exception as e:CODE
LOWapps/tickets/views/approve.py126 except Exception as e:CODE
LOWapps/tickets/handlers/apply_asset.py73 except Exception as e:CODE
LOWapps/audits/tasks.py161 except Exception as e:CODE
LOW⚡apps/audits/handler.py103 except Exception as err:CODE
LOWapps/audits/handler.py224 except Exception as e:CODE
LOWapps/audits/models.py49 except Exception:CODE
MEDIUMapps/audits/models.py46def _get_city_display(ip, city='') -> str:CODE
LOWapps/audits/utils.py95 except Exception as e:CODE
LOWapps/audits/signal_handlers/activity_log.py101 except Exception as e:CODE
LOWapps/acls/models/command_acl.py85 except Exception as e:CODE
LOWapps/acls/models/login_asset_acl.py39 except Exception:CODE
LOWapps/acls/models/login_asset_acl.py47 except Exception:CODE
MEDIUMapps/acls/models/login_asset_acl.py44def _cache_review(key, ticket_id, timeout):CODE
LOWapps/perms/tasks.py121 except Exception:CODE
LOWapps/terminal/startup.py62 except Exception:CODE
LOW⚡apps/terminal/tasks.py242 except Exception as e:CODE
LOWapps/terminal/applets/__init__.py17 except Exception as e:CODE
LOWapps/terminal/applets/dbx/common.py41 except Exception as e:CODE
LOWapps/terminal/applets/dbx/common.py66 except Exception as e:CODE
LOWapps/terminal/applets/dbx/common.py192 except Exception as e:CODE
LOWapps/terminal/applets/dbx/common.py209 except Exception as e:CODE
LOWapps/terminal/applets/dbx/common.py227 except Exception as e:CODE
LOWapps/terminal/applets/dbx/main.py25 except Exception as e:CODE
390 more matches not shown…
Empty Error Handlers85 hits · 425 pts
SeverityFileLineSnippetContext
HIGHutils/clean_duplicate_user_groups.py26except FieldError:CODE
HIGHutils/mongodb_ping.py118except Exception: # noqaCODE
HIGHapps/manage.py8except:CODE
HIGHapps/settings/models.py82except (ProgrammingError, OperationalError):CODE
HIGHapps/settings/signal_handlers.py54except:CODE
HIGHapps/settings/signal_handlers.py97except (ProgrammingError, OperationalError):CODE
HIGHapps/audits/tasks.py236except:CODE
HIGHapps/audits/models.py331except (AttributeError, KeyError, IndexError, TypeError, ValueError):CODE
HIGHapps/audits/utils.py121except:CODE
HIGHapps/audits/utils.py112except:CODE
HIGHapps/terminal/tasks.py100except:CODE
HIGHapps/terminal/tasks.py120except:CODE
HIGHapps/terminal/applets/dbx/app.py90except OSError:CODE
HIGHapps/terminal/models/session/session.py114except:CODE
HIGHapps/terminal/signal_handlers/virtualapp.py41except FileNotFoundError:CODE
HIGHapps/orgs/signal_handlers/common.py47except (ProgrammingError, OperationalError):CODE
HIGHapps/libs/ansible/modules/mongodb_user.py423except Exception:CODE
HIGHapps/libs/ansible/modules/mongodb_user.py398except Exception:CODE
HIGHapps/libs/ansible/modules/mongodb_user.py450except Exception:CODE
HIGHapps/libs/ansible/modules/rdp_ping.py142except Exception:CODE
HIGHapps/libs/ansible/modules/oracle_info.py169except KeyError:CODE
HIGHapps/libs/ansible/modules/oracle_info.py283except KeyError:CODE
HIGHapps/libs/ansible/modules/mongodb_ping.py151except Exception: # noqaCODE
HIGHapps/libs/ansible/modules_utils/ssh_tunnel.py80except socket.gaierror:CODE
HIGHapps/libs/ansible/modules_utils/ssh_tunnel.py172except Exception:CODE
HIGHapps/libs/ansible/modules_utils/ssh_tunnel.py147except OSError:CODE
HIGHapps/libs/ansible/modules_utils/ssh_tunnel.py151except OSError:CODE
HIGHapps/libs/ansible/modules_utils/ssh_tunnel.py158except Exception:CODE
HIGHapps/libs/ansible/modules_utils/ssh_tunnel.py166except Exception:CODE
HIGHapps/libs/ansible/modules_utils/ssh_tunnel.py179except Exception:CODE
HIGHapps/libs/ansible/modules_utils/ssh_tunnel.py184except Exception:CODE
HIGHapps/libs/ansible/modules_utils/ssh_tunnel.py188except Exception:CODE
HIGHapps/libs/ansible/modules_utils/oracle_common.py108except:CODE
HIGHapps/jumpserver/conf.py126except Exception as e:CODE
HIGHapps/jumpserver/conf.py1033except Exception:CODE
HIGHapps/jumpserver/middleware.py40except pytz.UnknownTimeZoneError:CODE
HIGHapps/jumpserver/settings/base.py22except Exception:CODE
HIGHapps/jumpserver/settings/base.py206except ImportError:CODE
HIGHapps/common/cache.py237except:CODE
HIGH…s/common/management/commands/services/services/base.py142except:CODE
HIGH…s/common/management/commands/services/services/base.py104except:CODE
HIGH…s/common/management/commands/services/services/base.py167except:CODE
HIGHapps/common/utils/encode.py84except paramiko.SSHException:CODE
HIGHapps/common/utils/yml.py158except OSError:CODE
HIGHapps/common/utils/common.py234except ValueError:CODE
HIGHapps/common/utils/common.py123except ValueError:CODE
HIGHapps/common/utils/lock.py154except AttributeError:CODE
HIGHapps/common/utils/lock.py162except NotAcquired:CODE
HIGHapps/common/storage/jms_storage/multi.py25except Exception:CODE
HIGHapps/common/storage/jms_storage/multi.py52except:CODE
HIGHapps/common/storage/jms_storage/multi.py66except:CODE
HIGHapps/common/storage/jms_storage/multi.py75except:CODE
HIGHapps/common/storage/jms_storage/ceph.py24except ValueError:CODE
HIGHapps/common/storage/jms_storage/s3.py28except ValueError:CODE
HIGHapps/common/storage/jms_storage/ftp.py95except:CODE
HIGHapps/common/serializers/fields.py265except Exception:CODE
HIGHapps/common/drf/metadata.py68except (exceptions.APIException, PermissionDenied, Http404):CODE
HIGHapps/common/sessions/cache.py52except Exception:CODE
HIGHapps/common/sdk/gm/base/cipher.py48except Exception:CODE
HIGHapps/common/db/models.py87except:CODE
25 more matches not shown…
Hallucination Indicators35 hits · 380 pts
SeverityFileLineSnippetContext
CRITICALutils/clean_duplicate_user_groups.py20from django.core.exceptions import FieldErrorCODE
CRITICALapps/settings/serializers/feature.py8from django.core.exceptions import ValidationErrorCODE
CRITICALapps/rbac/models/rolebinding.py2from django.core.exceptions import ValidationErrorCODE
CRITICALapps/tickets/serializers/ticket/apply_asset.py1from django.core.exceptions import ValidationError as DjangoValidationErrorCODE
CRITICALapps/labels/api.py1from django.core.exceptions import ValidationErrorCODE
CRITICALapps/perms/utils/expire_soon_notice.py4from django.core.exceptions import ValidationErrorCODE
CRITICALapps/perms/serializers/permission.py3from django.core.exceptions import ValidationError as DjangoValidationErrorCODE
CRITICALapps/terminal/models/session/session.py9from django.core.exceptions import ValidationErrorCODE
CRITICALapps/terminal/api/component/status.py47 tasks = self.request.user.terminal.task_set.filter(is_finished=False, date_created__gte=critical_time)CODE
CRITICALapps/jumpserver/rewriting/pagination.py2from django.core.exceptions import FieldErrorCODE
CRITICALapps/common/drf/filters.py819 from django.core.exceptions import ValidationError as DjangoValidationErrorSTRING
CRITICALapps/common/db/fields.py10from django.core.exceptions import ValidationErrorCODE
CRITICALapps/common/db/validators.py1from django.core.exceptions import ValidationErrorCODE
CRITICALapps/accounts/backends/azure/service.py26 from azure.core.exceptions import ResourceNotFoundError, ClientAuthenticationErrorCODE
CRITICALapps/accounts/backends/azure/service.py37 from azure.core.exceptions import ResourceNotFoundError, ClientAuthenticationErrorCODE
CRITICAL⚡apps/accounts/backends/hcp/service.py49 self.client.secrets.kv.v2.configure(CODE
CRITICAL⚡apps/accounts/backends/hcp/service.py56 response = self.client.secrets.kv.v2.read_secret_version(CODE
CRITICAL⚡apps/accounts/backends/hcp/service.py75 self.client.secrets.kv.v2.patch(CODE
CRITICAL⚡apps/accounts/backends/hcp/service.py82 self.client.secrets.kv.v2.delete_metadata_and_all_versions(CODE
CRITICAL⚡apps/accounts/backends/hcp/service.py88 self.client.secrets.kv.v2.create_or_update_secret(CODE
CRITICAL⚡apps/accounts/backends/hcp/service.py96 self.client.secrets.kv.v2.update_metadata(CODE
CRITICALapps/accounts/models/account.py1from django.core.exceptions import ValidationError as DjangoValidationErrorCODE
CRITICALapps/accounts/serializers/account/account.py4from django.core.exceptions import ValidationError as DjangoValidationErrorCODE
CRITICALapps/accounts/automations/verify_account/manager.py50 rdp = self.credential.asset.platform.protocols.filter(CODE
CRITICALapps/static/js/crypto.bundle.js172eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/*CODE
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):fCODE
CRITICALapps/static/js/jquery-ui.custom.min.js16(function(e){"function"==typeof define&&define.amd?define(["jquery","./core","./mouse","./widget"],e):e(jQuery)})(functiCODE
CRITICALapps/static/js/plugins/xterm/addons/search/search.js63 var line = this._terminal._core.buffer.lines.get(y);CODE
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/*CODE
CRITICALapps/users/tests/test_face_codec.py3from django.core.exceptions import ValidationErrorCODE
CRITICALapps/users/models/user/_face.py5from django.core.exceptions import ValidationErrorCODE
CRITICALapps/assets/validators.py5from django.core.exceptions import ValidationErrorCODE
CRITICAL⚡apps/assets/tests/test_web_login_script.py1from django.core.exceptions import ValidationErrorCODE
CRITICALapps/assets/models/utils.py5from django.core.exceptions import ValidationErrorCODE
CRITICALapps/authentication/models/connection_token.py7from django.core.exceptions import ValidationErrorCODE
Modern Structural Boilerplate358 hits · 358 pts
SeverityFileLineSnippetContext
LOWapps/settings/ldap_tls.py9__all__ = ['LDAPTLSUtil']CODE
LOWapps/settings/tasks/ldap.py18__all__ = [CODE
LOWapps/settings/utils/db.py4__all__ = ['DBTableDataAnalyzer']CODE
LOWapps/settings/utils/ldap.py42__all__ = [CODE
LOWapps/settings/serializers/task.py5__all__ = ['TaskNoticeSettingSerializer']CODE
LOWapps/settings/serializers/public.py6__all__ = [CODE
LOWapps/settings/serializers/security.py8__all__ = [CODE
LOWapps/settings/serializers/other.py4__all__ = ['OtherSettingSerializer']CODE
LOWapps/settings/serializers/feature.py19__all__ = [CODE
LOWapps/settings/serializers/settings.py24__all__ = [CODE
LOWapps/settings/serializers/msg.py12__all__ = [CODE
LOWapps/settings/serializers/tool.py4__all__ = [CODE
LOWapps/settings/serializers/cleaning.py5__all__ = ['CleaningSerializer']CODE
LOWapps/settings/serializers/auth/oidc.py7__all__ = [CODE
LOWapps/settings/serializers/auth/ldap.py9__all__ = [CODE
LOWapps/settings/serializers/auth/dingtalk.py7__all__ = ['DingTalkSettingSerializer']CODE
LOWapps/settings/serializers/auth/ldap_ha.py9__all__ = ['LDAPHATestConfigSerializer', 'LDAPHASettingSerializer']CODE
LOWapps/settings/serializers/auth/sso.py4__all__ = [CODE
LOWapps/settings/serializers/auth/oauth2.py10__all__ = [CODE
LOWapps/settings/serializers/auth/ukey.py7__all__ = ['UKeySettingSerializer']CODE
LOWapps/settings/serializers/auth/lark.py7__all__ = ['LarkSettingSerializer']CODE
LOWapps/settings/serializers/auth/passkey.py4__all__ = ['PasskeySettingSerializer']CODE
LOWapps/settings/serializers/auth/feishu.py6__all__ = ['FeiShuSettingSerializer']CODE
LOWapps/settings/serializers/auth/radius.py10__all__ = ['RadiusSettingSerializer']CODE
LOWapps/settings/serializers/auth/cas.py6__all__ = [CODE
LOWapps/settings/serializers/auth/sms.py9__all__ = [CODE
LOWapps/settings/serializers/auth/saml2.py9__all__ = [CODE
LOWapps/settings/serializers/auth/base.py4__all__ = [CODE
LOWapps/settings/serializers/auth/slack.py7__all__ = ['SlackSettingSerializer']CODE
LOWapps/settings/serializers/auth/wecom.py7__all__ = ['WeComSettingSerializer']CODE
LOWapps/settings/api/public.py15__all__ = ['PublicSettingApi', 'OpenPublicSettingApi', 'ServerInfoApi']CODE
LOWapps/settings/api/ssh_ca.py14__all__ = ['SSHCAOpenBaoTestingAPI', 'SSHCAOpenBaoPublicKeyAPI']CODE
LOWapps/settings/api/email.py17__all__ = ['MailTestingAPI']CODE
LOWapps/rbac/models/permission.py12__all__ = ['Permission', 'ContentType']CODE
LOWapps/rbac/models/role.py10__all__ = ['Role', 'SystemRole', 'OrgRole']CODE
LOWapps/rbac/models/rolebinding.py16__all__ = ['RoleBinding', 'SystemRoleBinding', 'OrgRoleBinding']CODE
LOWapps/rbac/serializers/content_type.py5__all__ = ['ContentTypeSerializer']CODE
LOWapps/rbac/serializers/permission.py6__all__ = ['PermissionSerializer']CODE
LOWapps/rbac/serializers/role.py8__all__ = ['RoleSerializer', 'RoleUserSerializer']CODE
LOWapps/rbac/serializers/rolebinding.py9__all__ = [CODE
LOWapps/rbac/api/permission.py10__all__ = ['PermissionViewSet']CODE
LOWapps/rbac/api/role.py13__all__ = [CODE
LOWapps/rbac/api/rolebinding.py14__all__ = [CODE
LOWapps/tickets/models/comment.py8__all__ = ['Comment']CODE
LOWapps/tickets/models/flow.py14__all__ = ['TicketFlow', 'ApprovalRule']CODE
LOWapps/tickets/models/ticket/apply_asset.py8__all__ = ['ApplyAssetTicket']CODE
LOWapps/tickets/models/ticket/login_asset_confirm.py6__all__ = ['ApplyLoginAssetTicket']CODE
LOWapps/tickets/models/ticket/apply_application.py6__all__ = ['ApplyApplicationTicket']CODE
LOWapps/tickets/models/ticket/general.py32__all__ = [CODE
LOWapps/tickets/models/ticket/login_confirm.py6__all__ = ['ApplyLoginTicket']CODE
LOWapps/tickets/serializers/comment.py6__all__ = ['CommentSerializer']CODE
LOWapps/tickets/serializers/flow.py12__all__ = ['TicketFlowSerializer', 'TicketFlowOptionSerializer']CODE
LOWapps/tickets/serializers/super_ticket.py9__all__ = ['SuperTicketSerializer']CODE
LOWapps/tickets/serializers/ticket/apply_asset.py14__all__ = ['ApplyAssetSerializer', 'ApproveAssetSerializer']CODE
LOWapps/tickets/serializers/ticket/command_review.py4__all__ = [CODE
LOWapps/tickets/serializers/ticket/ticket.py14__all__ = [CODE
LOWapps/tickets/serializers/ticket/login_asset_review.py4__all__ = [CODE
LOWapps/tickets/serializers/ticket/common.py9__all__ = ['DefaultPermissionName', 'get_default_permission_name', 'BaseApplyAssetSerializer']CODE
LOWapps/tickets/serializers/ticket/login_review.py4__all__ = [CODE
LOWapps/tickets/api/ticket.py27__all__ = [CODE
298 more matches not shown…
Decorative Section Separators58 hits · 180 pts
SeverityFileLineSnippetContext
MEDIUMutils/mongodb_ping.py88# =========================================STRING
MEDIUMapps/terminal/const.py46# ------------------------COMMENT
MEDIUMapps/terminal/serializers/storage.py19# --------------------------COMMENT
MEDIUMapps/terminal/serializers/storage.py170# ---------------------------COMMENT
MEDIUMapps/libs/ansible/modules/mongodb_user.py328# =========================================STRING
MEDIUMapps/libs/ansible/modules/custom_command.py112# =========================================STRING
MEDIUMapps/libs/ansible/modules/oracle_info.py302# ===========================================STRING
MEDIUMapps/libs/ansible/modules/telnet_ping.py36# =========================================STRING
MEDIUMapps/libs/ansible/modules/mongodb_ping.py111# =========================================STRING
MEDIUMapps/libs/ansible/modules/oracle_ping.py72# =========================================STRING
MEDIUMapps/jumpserver/settings/auth.py83# ==============================================================================COMMENT
MEDIUMapps/jumpserver/settings/auth.py86# ==============================================================================COMMENT
MEDIUMapps/jumpserver/settings/auth.py122# ==============================================================================COMMENT
MEDIUMapps/common/utils/zip.py9# -------------------------COMMENT
MEDIUMapps/common/utils/zip.py11# -------------------------COMMENT
MEDIUMapps/common/utils/zip.py22# -------------------------COMMENT
MEDIUMapps/common/utils/zip.py24# -------------------------COMMENT
MEDIUM⚡apps/common/utils/gmssl_python.py10# =============================================================================COMMENT
MEDIUM⚡apps/common/utils/gmssl_python.py26# =============================================================================COMMENT
MEDIUMapps/common/serializers/fields.py29# -------------------COMMENT
MEDIUMapps/assets/signal_handlers/node_assets_mapping.py20# ------------------------------------COMMENT
MEDIUMapps/authentication/backends/ukey/sdk.py69 # ── CA / 证书链(只读系统设置,不允许在 YAML 中配置)────────────────────────COMMENT
MEDIUM⚡apps/authentication/backends/ukey/sdk.py91 # ── 工具 ─────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡apps/authentication/backends/ukey/sdk.py98 # ── 认证流程 ──────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡apps/authentication/backends/ukey/sdk.py106 # ── 证书签发 ──────────────────────────────────────────────────────────────COMMENT
MEDIUMapps/authentication/backends/ukey/sdk.py126 # ── 厂商 SDK 映射(原始数据,供 API 层序列化给前端)───────────────────────COMMENT
MEDIUMapps/authentication/backends/ukey/backends.py43 # ── 主入口 ────────────────────────────────────────────────────────────────COMMENT
MEDIUMapps/authentication/backends/ukey/backends.py63 # ── Part 1: 用户与 UKey SN 预校验 ────────────────────────────────────────COMMENT
MEDIUMapps/authentication/backends/ukey/backends.py78 # ── Part 2: SM2 证书校验流程 ──────────────────────────────────────────────COMMENT
MEDIUMapps/authentication/backends/ukey/backends.py167 # ── Part 3: RSA / 其他证书校验流程 ───────────────────────────────────────COMMENT
MEDIUMapps/authentication/backends/ukey/backends.py264 # ── 公共工具方法 ──────────────────────────────────────────────────────────COMMENT
MEDIUM⚡apps/authentication/backends/ukey/views.py39 # ------------------------------------------------------------------COMMENT
MEDIUM⚡apps/authentication/backends/ukey/views.py41 # ------------------------------------------------------------------COMMENT
MEDIUM⚡apps/authentication/backends/ukey/views.py75 # ------------------------------------------------------------------COMMENT
MEDIUM⚡apps/authentication/backends/ukey/views.py77 # ------------------------------------------------------------------COMMENT
MEDIUM⚡…entication/backends/ukey/vendors/ji_da/sdk_config.yaml1#═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM⚡…entication/backends/ukey/vendors/ji_da/sdk_config.yaml4#═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM⚡…entication/backends/ukey/vendors/ji_da/sdk_config.yaml6# ── 元信息 ──────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…entication/backends/ukey/vendors/ji_da/sdk_config.yaml33#═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM…entication/backends/ukey/vendors/ji_da/sdk_config.yaml45#═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM…entication/backends/ukey/vendors/ji_da/sdk_config.yaml76#═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM…entication/backends/ukey/vendors/ji_da/sdk_config.yaml87#═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM…entication/backends/ukey/vendors/ji_da/sdk_config.yaml215#═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM…entication/backends/ukey/vendors/ji_da/sdk_config.yaml248#═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM…entication/backends/ukey/vendors/ji_da/sdk_config.yaml451#═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM…entication/backends/ukey/vendors/ji_da/sdk_config.yaml466#═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM⚡…ication/backends/ukey/vendors/long_mai/sdk_config.yaml1#═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM⚡…ication/backends/ukey/vendors/long_mai/sdk_config.yaml4#═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM⚡…ication/backends/ukey/vendors/long_mai/sdk_config.yaml6# ── 元信息 ──────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…ication/backends/ukey/vendors/long_mai/sdk_config.yaml43#═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM…ication/backends/ukey/vendors/long_mai/sdk_config.yaml57#═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM…ication/backends/ukey/vendors/long_mai/sdk_config.yaml113#═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM…ication/backends/ukey/vendors/long_mai/sdk_config.yaml139#═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM…ication/backends/ukey/vendors/long_mai/sdk_config.yaml276#═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM…ication/backends/ukey/vendors/long_mai/sdk_config.yaml309#═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM…ication/backends/ukey/vendors/long_mai/sdk_config.yaml579#═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM…ication/backends/ukey/vendors/long_mai/sdk_config.yaml594#═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMapps/notifications/notifications.py208 # --------------------------------------------------------------STRING
Deep Nesting144 hits · 140 pts
SeverityFileLineSnippetContext
LOWutils/clean_duplicate_user_groups.py23CODE
LOWutils/generate_fake_data/resources/system.py46CODE
LOWrequirements/download_face_models.py84CODE
LOWrequirements/download_face_models.py125CODE
LOWapps/settings/tests.py223CODE
LOWapps/settings/tools/traceroute.py36CODE
LOWapps/settings/utils/ldap.py393CODE
LOWapps/settings/serializers/settings.py47CODE
LOWapps/settings/api/email.py27CODE
LOWapps/rbac/models/permission.py94CODE
LOWapps/tickets/models/ticket/general.py486CODE
LOWapps/audits/tasks.py146CODE
LOWapps/audits/handler.py142CODE
LOWapps/audits/utils.py35CODE
LOWapps/audits/tests.py48CODE
LOWapps/audits/reporting.py14CODE
LOWapps/audits/reporting.py139CODE
LOWapps/audits/reporting.py261CODE
LOWapps/audits/reporting.py342CODE
LOWapps/audits/reporting.py517CODE
LOWapps/audits/signal_handlers/other.py43CODE
LOWapps/acls/tests.py177CODE
LOWapps/acls/models/connect_method.py23CODE
LOWapps/perms/utils/user_asset_tree.py28CODE
LOWapps/perms/utils/user_asset_tree.py44CODE
LOWapps/perms/utils/user_asset_tree.py69CODE
LOWapps/perms/utils/user_asset_tree.py130CODE
LOWapps/perms/utils/asset_perm.py377CODE
LOWapps/perms/utils/tree_metrics.py26CODE
LOWapps/perms/api/user_permission/tree/node_with_asset.py305CODE
LOWapps/terminal/test_tinker_version.py212CODE
LOWapps/terminal/test_tinker_version.py244CODE
LOWapps/terminal/test_tinker_version.py548CODE
LOWapps/terminal/connect_methods.py284CODE
LOWapps/terminal/reporting.py13CODE
LOWapps/terminal/applets/dbx/app.py228CODE
LOWapps/terminal/applets/dbx/app.py562CODE
LOWapps/terminal/utils/virtualapp.py104CODE
LOWapps/terminal/utils/virtualapp.py186CODE
LOWapps/terminal/utils/virtualapp.py255CODE
LOWapps/terminal/utils/virtualapp.py310CODE
LOWapps/terminal/serializers/virtualapp.py69CODE
LOWapps/terminal/api/session/command.py206CODE
LOWapps/terminal/api/session/session.py274CODE
LOW…s/terminal/automations/deploy_app_provider/__init__.py53CODE
LOWapps/libs/ansible/modules/mongodb_user.py212CODE
LOWapps/libs/ansible/modules/mongodb_user.py332CODE
LOWapps/libs/ansible/modules/oracle_user.py156CODE
LOWapps/libs/ansible/modules/mssql_script.py280CODE
LOWapps/libs/ansible/modules/oracle_info.py109CODE
LOWapps/libs/ansible/modules_utils/remote_client.py172CODE
LOWapps/libs/ansible/modules_utils/remote_client.py1013CODE
LOWapps/jumpserver/views/swagger.py45CODE
LOWapps/jumpserver/views/schema.py103CODE
LOWapps/common/tree.py49CODE
LOWapps/common/cache.py95CODE
LOWapps/common/plugins/es.py361CODE
LOWapps/common/plugins/es.py525CODE
LOWapps/common/plugins/es.py589CODE
LOWapps/common/management/commands/check_api.py215CODE
84 more matches not shown…
Over-Commented Block84 hits · 72 pts
SeverityFileLineSnippetContext
LOWconfig_example.yml1# SECURITY WARNING: keep the secret key used in production secret!COMMENT
LOWconfig_example.yml21# SESSION_COOKIE_AGE: 3600COMMENT
LOWconfig_example.yml61# 带协议时按指定协议匹配。不支持通配符;显式配置会替换默认列表。COMMENT
LOWconfig_example.yml81COMMENT
LOWconfig_example.yml101# ANSIBLE_RUNNER_JOB_TIMEOUT: 1800 # 单批硬超时:30 分钟COMMENT
LOWconfig_example.yml121# 限制通过网关建隧道时 DNS 解析、TCP 连接、SSH 握手和认证的总等待时间COMMENT
LOWconfig_example.yml141# TERMINAL_REPLAY_STORAGE: {}COMMENT
LOWconfig_example.yml161# VIDEO_WORKER_CLEAN_PERIOD: 7COMMENT
LOWconfig_example.yml181# VIDEO_WORKER_FRAME_FILTER_CONFIRMATIONS: 2COMMENT
LOWconfig_example.yml201# VIDEO_WORKER_SECRET_KEY: '' # 通过 Secret 注入,不要写入仓库COMMENT
LOWconfig_example.yml221# 内置 OpenBao 作为默认 Vault backend;开启后请先确认 OpenBao Server 已完成初始化和授权COMMENT
LOWconfig_example.yml241# SSH_CA_OPENBAO_TOKEN:COMMENT
LOWconfig_example.yml261# AUTH_LDAP_SYNC_CRONTAB: * 6 * * *COMMENT
LOWconfig_example.yml281COMMENT
LOWconfig_example.yml301#INSIGHTFACE_MODEL_NAME: buffalo_lCOMMENT
LOWapps/__init__.py1#!/usr/bin/env pythonCOMMENT
LOWapps/rbac/tests.py1from django.test import TestCaseCOMMENT
LOWapps/rbac/tests.py21# 8. 权限位名称翻译 (整理一个dict,key为codename,value为翻译)COMMENT
LOWapps/tickets/urls/__init__.py1# -*- coding: utf-8 -*-COMMENT
LOWapps/orgs/mixins/__init__.py1# -*- coding: utf-8 -*-COMMENT
LOWapps/orgs/urls/__init__.py1# -*- coding: utf-8 -*-COMMENT
LOWapps/libs/ansible/modules/mongodb_user.py301COMMENT
LOWapps/common/signal_handlers.py61 if current_request:COMMENT
LOWapps/common/auth/__init__.py1# -*- coding: utf-8 -*-COMMENT
LOWapps/common/utils/gmssl_python.py1# Copyright 2023 The GmSSL Project. All Rights Reserved.COMMENT
LOWapps/common/drf/__init__.py1# -*- coding: utf-8 -*-COMMENT
LOWapps/static/css/colorbox.css21 ordered & tabbed in a way that represents the nesting of the generated HTML.COMMENT
LOWapps/static/js/jumpserver.js481}COMMENT
LOWapps/static/js/jumpserver.js581jumpserver.initServerSideDataTable = function (options) {COMMENT
LOWapps/static/js/term.js621 // var text = term.grabText(COMMENT
LOWapps/static/js/term.js1181 }COMMENT
LOWapps/static/js/term.js1381COMMENT
LOWapps/static/js/term.js2421 // if (this.prefix === '>') {COMMENT
LOWapps/static/js/term.js2441 case 'b':COMMENT
LOWapps/static/js/term.js2461 // } else {COMMENT
LOWapps/static/js/term.js2481 // Request DEC private mode (DECRQM).COMMENT
LOWapps/static/js/term.js2501 // }COMMENT
LOWapps/static/js/term.js2521 // CSI Ps ; Ps rCOMMENT
LOWapps/static/js/term.js2541 // } else {COMMENT
LOWapps/static/js/term.js2561 // }COMMENT
LOWapps/static/js/term.js2581 // CSI Pt ; Pl ; Pb ; Pr ' wCOMMENT
LOWapps/static/js/term.js2601 // CSI Pt; Pl; Pb; Pr$ zCOMMENT
LOWapps/static/js/term.js2621 // case '|':COMMENT
LOWapps/static/js/term.js3561// Ps = 2 2 -> Normal (neither bold nor faint).COMMENT
LOWapps/static/js/term.js3581// Ps = 4 6 -> Set background color to Cyan.COMMENT
LOWapps/static/js/term.js3601// Ps = 1 0 4 -> Set background color to Blue.COMMENT
LOWapps/static/js/term.js3741// Ps = 6 -> Report Cursor Position (CPR) [row;column] as CSICOMMENT
LOWapps/static/js/term.js3961// CSI Ps c Send Device Attributes (Primary DA).COMMENT
LOWapps/static/js/term.js3981// Ps = 0 or omitted -> request the applications's identificationCOMMENT
LOWapps/static/js/term.js4061 this.x = this.cols - 1;COMMENT
LOWapps/static/js/term.js4081// Ps = 9 -> Send Mouse X & Y on button press. See the sec-COMMENT
LOWapps/static/js/term.js4101// Ps = 6 6 -> Application keypad (DECNKM).COMMENT
LOWapps/static/js/term.js4121// enables the altSendsEscape resource).COMMENT
LOWapps/static/js/term.js4281// Ps = 4 -> Jump (Fast) Scroll (DECSCLM).COMMENT
LOWapps/static/js/term.js4301// compile-time option).COMMENT
LOWapps/static/js/term.js4321// Ps = 1 0 3 7 -> Send VT220 Remove from the editing-keypadCOMMENT
LOWapps/static/js/term.js4561 this.tabs = {};COMMENT
LOWapps/static/js/term.js4581// Set or reset resource-values used by xterm to decide whetherCOMMENT
LOWapps/static/js/term.js4601// Ps = 1 -> modifyCursorKeys.COMMENT
LOWapps/static/js/term.js4641};COMMENT
24 more matches not shown…
Cross-Language Confusion11 hits · 68 pts
SeverityFileLineSnippetContext
HIGH⚡apps/terminal/tasks.py232 type__in=[ReplayStorageType.server, ReplayStorageType.null]CODE
HIGH⚡apps/terminal/tasks.py235 type__in=[CommandStorageType.server, CommandStorageType.null]CODE
HIGHapps/terminal/applets/dbx/app.py383 const visible = el => !!el && !!(el.getClientRects().length || el.offsetWidth || el.offsetHeight);CODE
HIGHapps/terminal/applets/dbx/app.py394 if (save && save.checked) save.click();CODE
HIGHapps/terminal/applets/dbx/app.py402 const visible = el => !!el && !!(el.getClientRects().length || el.offsetWidth || el.offsetHeight);CODE
HIGH⚡apps/terminal/applets/dbx/app.py427 if (v === p || v.startsWith(p + '-')) return l;CODE
HIGH⚡apps/terminal/applets/dbx/app.py429 return null;CODE
HIGH⚡apps/terminal/applets/dbx/app.py432 let stored = null;CODE
HIGHapps/terminal/applets/dbx/app.py521 const covered = hit && hit.closest && hit.closest('#' + id)CODE
HIGHapps/terminal/applets/dbx/app.py523 : 'under-' + (hit ? (hit.getAttribute('data-slot') || hit.id || hit.tagName) : 'none');CODE
HIGHapps/assets/utils/node.py297 stack.push(info)CODE
AI Structural Patterns49 hits · 48 pts
SeverityFileLineSnippetContext
LOWapps/settings/serializers/auth/sms.py46CODE
LOWapps/audits/handler.py184CODE
LOWapps/audits/backends/es.py61CODE
LOWapps/audits/signal_handlers/login_log.py53CODE
LOWapps/acls/api/login_asset_check.py85CODE
LOWapps/terminal/backends/command/db.py66CODE
LOWapps/terminal/backends/command/db.py103CODE
LOWapps/terminal/backends/command/base.py17CODE
LOWapps/terminal/serializers/session.py85CODE
LOWapps/terminal/api/session/session.py303CODE
LOWapps/orgs/middleware.py37CODE
LOWapps/jumpserver/middleware.py43CODE
LOWapps/jumpserver/middleware.py80CODE
LOWapps/jumpserver/middleware.py103CODE
LOWapps/common/cache.py142CODE
LOWapps/common/cache.py199CODE
LOWapps/common/utils/django.py15CODE
LOWapps/common/utils/common.py423CODE
LOWapps/common/utils/common.py505CODE
LOWapps/common/storage/jms_storage/ceph.py70CODE
LOWapps/common/storage/jms_storage/s3.py74CODE
LOWapps/common/drf/renders/csv.py42CODE
LOWapps/common/drf/renders/base.py122CODE
LOWapps/common/sdk/im/utils.py71CODE
LOWapps/common/sdk/im/dingtalk/__init__.py117CODE
LOWapps/common/sdk/im/dingtalk/__init__.py181CODE
LOWapps/common/sdk/im/dingtalk/__init__.py198CODE
LOWapps/common/sdk/im/dingtalk/__init__.py214CODE
LOWapps/common/sdk/im/dingtalk/__init__.py223CODE
LOWapps/common/api/patch.py78CODE
LOWapps/common/api/patch.py86CODE
LOWapps/accounts/personal_credentials.py104CODE
LOWapps/accounts/backends/hcp/service.py64CODE
LOWapps/accounts/backends/hcp/main.py32CODE
LOWapps/accounts/models/automations/check_account.py152CODE
LOWapps/accounts/automations/gather_account/manager.py314CODE
LOWapps/users/views/profile/otp.py168CODE
LOWapps/ops/ansible/inventory.py463CODE
LOWapps/assets/automations/base/manager.py350CODE
LOWapps/authentication/backends/oidc/middleware.py30CODE
LOWapps/authentication/backends/saml2/views.py49CODE
LOWapps/authentication/views/dingtalk.py52CODE
LOWapps/authentication/views/feishu.py78CODE
LOWapps/authentication/views/login.py383CODE
LOWapps/authentication/views/base.py162CODE
LOWapps/authentication/views/slack.py58CODE
LOWapps/authentication/views/wecom.py52CODE
LOWapps/reports/views.py178CODE
LOWapps/reports/api/assets/base.py22CODE
Self-Referential Comments3 hits · 14 pts
SeverityFileLineSnippetContext
MEDIUM⚡apps/common/utils/gmssl_python.py11# This file is derived from GmSSL-Python project (v2.2.2)COMMENT
MEDIUM⚡apps/common/utils/gmssl_python.py20# This file is included by direct copy due to dependency conflict issuesCOMMENT
MEDIUM⚡apps/common/utils/gmssl_python.py25# This file is used in accordance with the Apache License 2.0 terms.COMMENT
Redundant / Tautological Comments7 hits · 13 pts
SeverityFileLineSnippetContext
LOWrequirements/static_files.sh27 # Check if the file already existsCOMMENT
LOWapps/accounts/tasks/push_account.py76 # Check if the account is in QUEUED statusCOMMENT
LOWapps/authentication/decorators.py116 # Check if user has been authenticatedCOMMENT
LOWapps/authentication/decorators.py118 # Check if session contains a saved next URLCOMMENT
LOW⚡apps/authentication/decorators.py167 # Check if response is a redirect to guard viewCOMMENT
LOW⚡apps/authentication/decorators.py171 # Check if the redirect location is to guard viewCOMMENT
LOW⚡apps/authentication/decorators.py178 # Check if path matches guard view URL patternCOMMENT
Dead Code5 hits · 10 pts
SeverityFileLineSnippetContext
MEDIUMapps/assets/tests/tree.py23CODE
MEDIUMapps/assets/tests/tree.py25CODE
MEDIUMapps/assets/tests/tree.py26CODE
MEDIUMapps/assets/tests/tree.py32CODE
MEDIUMapps/assets/tests/tree.py33CODE
Fake / Example Data9 hits · 9 pts
SeverityFileLineSnippetContext
LOWapps/libs/ansible/modules/mssql_script.py81 (Query V('SELECT %(name\)s"') with V(example: '{"name": "John Doe"}).)'.CODE
LOWapps/static/js/plugins/select2/select2.full.min.js2!function(n){"function"==typeof define&&define.amd?define(["jquery"],n):"object"==typeof module&&module.exports?module.eCODE
LOWapps/static/js/plugins/sweetalert/sweetalert.min.js1!function(e,t,n){"use strict";!function o(e,t,n){function a(s,l){if(!t[s]){if(!e[s]){var i="function"==typeof require&&rCODE
LOWapps/users/forms/profile.py146 widget=forms.Textarea(attrs={'placeholder': _('ssh-rsa AAAA...')}),CODE
LOWapps/authentication/forms.py23 'placeholder': _("Username"),CODE
LOWapps/authentication/forms.py68 'placeholder': _("Dynamic code"),CODE
LOWapps/authentication/confirm/mfa.py21 'placeholder': backend.placeholder,CODE
LOWapps/authentication/confirm/password.py27 'placeholder': _('Password'),CODE
LOW…ntication/templates/authentication/_captcha_field.html25 $('#id_captcha_1').addClass('form-control').attr('placeholder', placeholder)CODE
Overly Generic Function Names4 hits · 4 pts
SeverityFileLineSnippetContext
LOWapps/common/drf/renders/base.py94 def process_data(self, data):CODE
LOWapps/accounts/models/automations/base.py21 def execute_task(self):CODE
LOWapps/assets/models/automations/base.py67 def execute_task(self):CODE
LOWapps/assets/automations/ping_gateway/manager.py153 def execute_task(self, gateway, account):CODE
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWapps/accounts/demos/python/demo.py1# Example usageCOMMENT
AI Slop Vocabulary1 hit · 1 pts
SeverityFileLineSnippetContext
MEDIUMapps/authentication/backends/oidc/views.py37 """ Allows to start the authorization flow in order to authenticate the end-user.STRING