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.
This report presents the forensic synthetic code analysis of jumpserver/jumpserver, a Python project with 31,466 GitHub stars. SynthScan v2.0 examined 184,540 lines of code across 1748 source files, recording 2679 pattern matches distributed across 17 syntactic categories. The overall adjusted score of 17.5 places this repository in the Moderate AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 2679 distinct pattern matches across 17 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | utils/get_no_parent_nodes.py | 17 | CODE | |
| LOW | utils/mongodb_ping.py | 3 | CODE | |
| LOW | utils/mongodb_ping.py | 3 | CODE | |
| LOW | utils/mongodb_ping.py | 3 | CODE | |
| LOW | utils/generate_fake_data/resources/system.py | 4 | CODE | |
| LOW | utils/generate_fake_data/resources/users.py | 7 | CODE | |
| LOW | utils/generate_fake_data/resources/terminal.py | 2 | CODE | |
| LOW | utils/generate_fake_data/resources/terminal.py | 3 | CODE | |
| LOW | utils/generate_fake_data/resources/terminal.py | 4 | CODE | |
| LOW | utils/generate_fake_data/resources/terminal.py | 5 | CODE | |
| LOW | utils/generate_fake_data/resources/perms.py | 6 | CODE | |
| LOW | utils/generate_fake_data/resources/perms.py | 7 | CODE | |
| LOW | utils/generate_fake_data/resources/perms.py | 8 | CODE | |
| LOW | utils/generate_fake_data/resources/assets.py | 7 | CODE | |
| LOW | apps/manage.py | 19 | CODE | |
| LOW | apps/settings/models.py | 7 | CODE | |
| LOW | apps/settings/apps.py | 10 | CODE | |
| LOW | apps/settings/apps.py | 11 | CODE | |
| LOW | apps/settings/admin.py | 1 | CODE | |
| LOW | apps/settings/signal_handlers.py | 15 | CODE | |
| LOW | apps/settings/tasks/__init__.py | 4 | CODE | |
| LOW | apps/settings/tools/__init__.py | 3 | CODE | |
| LOW | apps/settings/tools/__init__.py | 4 | CODE | |
| LOW | apps/settings/tools/__init__.py | 5 | CODE | |
| LOW | apps/settings/tools/__init__.py | 6 | CODE | |
| LOW | apps/settings/tools/__init__.py | 7 | CODE | |
| LOW | apps/settings/tools/ping.py | 10 | CODE | |
| LOW | apps/settings/utils/__init__.py | 4 | CODE | |
| LOW | apps/settings/utils/__init__.py | 5 | CODE | |
| LOW | apps/settings/utils/__init__.py | 6 | CODE | |
| LOW | apps/settings/serializers/__init__.py | 4 | CODE | |
| LOW | apps/settings/serializers/__init__.py | 5 | CODE | |
| LOW | apps/settings/serializers/__init__.py | 6 | CODE | |
| LOW | apps/settings/serializers/__init__.py | 7 | CODE | |
| LOW | apps/settings/serializers/__init__.py | 8 | CODE | |
| LOW | apps/settings/serializers/__init__.py | 9 | CODE | |
| LOW | apps/settings/serializers/__init__.py | 10 | CODE | |
| LOW | apps/settings/serializers/__init__.py | 11 | CODE | |
| LOW | apps/settings/serializers/__init__.py | 12 | CODE | |
| LOW | apps/settings/serializers/__init__.py | 13 | CODE | |
| LOW | apps/settings/serializers/__init__.py | 14 | CODE | |
| LOW | apps/settings/serializers/__init__.py | 15 | CODE | |
| LOW | apps/settings/serializers/__init__.py | 16 | CODE | |
| LOW | apps/settings/serializers/__init__.py | 17 | CODE | |
| LOW | apps/settings/serializers/__init__.py | 18 | CODE | |
| LOW | apps/settings/serializers/auth/mixin.py | 4 | CODE | |
| LOW | apps/settings/serializers/auth/ukey.py | 4 | CODE | |
| LOW | apps/settings/serializers/auth/ukey.py | 5 | CODE | |
| LOW | apps/settings/serializers/auth/__init__.py | 1 | CODE | |
| LOW | apps/settings/serializers/auth/__init__.py | 2 | CODE | |
| LOW | apps/settings/serializers/auth/__init__.py | 3 | CODE | |
| LOW | apps/settings/serializers/auth/__init__.py | 4 | CODE | |
| LOW | apps/settings/serializers/auth/__init__.py | 5 | CODE | |
| LOW | apps/settings/serializers/auth/__init__.py | 6 | CODE | |
| LOW | apps/settings/serializers/auth/__init__.py | 7 | CODE | |
| LOW | apps/settings/serializers/auth/__init__.py | 8 | CODE | |
| LOW | apps/settings/serializers/auth/__init__.py | 9 | CODE | |
| LOW | apps/settings/serializers/auth/__init__.py | 10 | CODE | |
| LOW | apps/settings/serializers/auth/__init__.py | 11 | CODE | |
| LOW | apps/settings/serializers/auth/__init__.py | 12 | CODE | |
| 726 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | utils/test_run_migrations.py | 23 | def migrate_system_role_binding(apps, schema_editor): | CODE |
| LOW | apps/settings/models.py | 98 | def refresh_keycloak_to_openid_if_need(self): | CODE |
| LOW | apps/settings/tests.py | 16 | def test_custom_ca_is_added_to_default_context(self, create_context): | CODE |
| LOW | apps/settings/tests.py | 24 | def test_certificate_verification_can_be_disabled(self, create_context): | CODE |
| LOW⚡ | apps/settings/tests.py | 41 | def test_custom_ca_mode_requires_certificate(self): | CODE |
| LOW⚡ | apps/settings/tests.py | 49 | def test_custom_ca_is_not_required_without_tls(self): | CODE |
| LOW⚡ | apps/settings/tests.py | 58 | def test_private_key_is_rejected(self): | CODE |
| LOW⚡ | apps/settings/tests.py | 66 | def test_invalid_ca_certificate_is_rejected(self): | CODE |
| LOW | apps/settings/signal_handlers.py | 35 | def refresh_settings_on_changed(sender, instance=None, **kwargs): | CODE |
| LOW | apps/settings/signal_handlers.py | 47 | def on_django_ready_add_db_config(sender, **kwargs): | CODE |
| LOW | apps/settings/signal_handlers.py | 52 | def auto_generate_terminal_host_key(sender, **kwargs): | CODE |
| LOW | apps/settings/signal_handlers.py | 64 | def subscribe_settings_change(sender, **kwargs): | CODE |
| LOW | apps/settings/signal_handlers.py | 85 | def after_migrate_some_config(sender, app_config, **kwargs): | CODE |
| LOW | apps/settings/signal_handlers.py | 126 | def register_sqlite_connection(sender, **kwargs): | CODE |
| LOW | apps/settings/tasks/ldap.py | 122 | def import_ldap_user_periodic(**kwargs): | CODE |
| LOW | apps/settings/tasks/ldap.py | 138 | def import_ldap_ha_user_periodic(**kwargs): | CODE |
| LOW | apps/settings/utils/ldap.py | 639 | def _test_search_ou_and_filter(self): | CODE |
| LOW | apps/settings/utils/ldap.py | 651 | def test_search_ou_and_filter(self): | CODE |
| LOW | apps/settings/utils/common.py | 9 | def get_interface_setting_or_default(): | CODE |
| LOW | apps/settings/serializers/auth/mixin.py | 20 | def _sync_tls_certs_if_needed(self): | CODE |
| LOW | apps/settings/api/security.py | 36 | def get_page_offset_and_limit(self): | CODE |
| LOW | apps/settings/api/settings.py | 209 | def prepare_openbao_mount_change(self, serializer): | CODE |
| LOW | apps/settings/api/i18n.py | 18 | def get_component_translations(self, name): | CODE |
| LOW | apps/rbac/tree.py | 416 | def _get_permission_name_icon(self, p: Permission, content_types_name_mapper: dict): | CODE |
| LOW | apps/rbac/backends.py | 15 | def username_allow_authenticate(self, username): | CODE |
| LOW | apps/rbac/builtin.py | 164 | def get_system_role_by_old_name(cls, name): | CODE |
| LOW | apps/rbac/signal_handlers.py | 10 | def after_migrate_update_builtin_role_permissions(sender, app_config, **kwargs): | CODE |
| LOW | apps/rbac/signal_handlers.py | 25 | def on_system_role_permission_changed(sender, instance, **kwargs): | CODE |
| LOW | apps/rbac/signal_handlers.py | 31 | def on_system_role_binding_update(sender, instance, **kwargs): | CODE |
| LOW | apps/rbac/signal_handlers.py | 43 | def on_org_role_permission_changed(sender, instance, action, **kwargs): | CODE |
| LOW | apps/rbac/signal_handlers.py | 49 | def on_org_role_binding_update(sender, instance, **kwargs): | CODE |
| LOW | apps/rbac/models/rolebinding.py | 137 | def get_user_has_the_perm_orgs(cls, perm, user): | CODE |
| LOW | apps/tickets/utils.py | 14 | def send_ticket_applied_mail_to_assignees(ticket, assignees): | CODE |
| LOW | apps/tickets/utils.py | 30 | def send_ticket_processed_mail_to_applicant(ticket, processor): | CODE |
| LOW | apps/tickets/utils.py | 41 | def send_ticket_updated_mail_to_cc_users(ticket): | CODE |
| LOW | apps/tickets/filters.py | 117 | def filter_applicant_username_name(queryset, name, value): | CODE |
| LOW | apps/tickets/tests/test_flow_serializer.py | 23 | def test_rejects_rule_without_matching_approvers( | CODE |
| LOW | apps/tickets/tests/test_flow_serializer.py | 39 | def test_accepts_rule_with_matching_approvers( | CODE |
| LOW | apps/tickets/models/ticket/apply_asset.py | 25 | def get_apply_actions_display(self): | CODE |
| LOW | apps/tickets/models/ticket/login_asset_confirm.py | 24 | def activate_connection_token_if_need(self): | CODE |
| LOW | apps/tickets/models/ticket/general.py | 155 | def _change_state_by_applicant(self, state): | CODE |
| LOW | apps/tickets/models/ticket/general.py | 253 | def create_process_steps_by_flow(self): | CODE |
| LOW | apps/tickets/models/ticket/general.py | 263 | def create_process_steps_by_assignees(self, assignees): | CODE |
| LOW | apps/tickets/models/ticket/general.py | 382 | def get_current_ticket_flow_approve(self): | CODE |
| LOW | apps/tickets/serializers/ticket/common.py | 12 | def get_default_permission_name(ticket): | CODE |
| LOW | apps/tickets/serializers/ticket/common.py | 23 | def _construct_default_permission_name(serializer_field): | CODE |
| LOW | apps/tickets/serializers/ticket/common.py | 49 | def filter_many_to_many_field(self, model, values: list, **kwargs): | CODE |
| LOW | apps/tickets/signal_handlers/ticket.py | 13 | def after_save_set_rel_snapshot(sender, instance, update_fields=None, **kwargs): | CODE |
| LOW | apps/tickets/views/approve.py | 53 | def redirect_message_response(self, **kwargs): | CODE |
| LOW⚡ | apps/tickets/handlers/base.py | 52 | def _send_applied_mail_to_assignees(self, step=None): | CODE |
| LOW⚡ | apps/tickets/handlers/base.py | 61 | def _send_processed_mail_to_applicant(self, step=None): | CODE |
| LOW⚡ | apps/tickets/handlers/base.py | 67 | def _send_ticket_updated_mail_to_cc_users(self): | CODE |
| LOW⚡ | apps/tickets/handlers/base.py | 73 | def _diff_prev_approve_context(self, state): | CODE |
| LOW | apps/tickets/handlers/base.py | 97 | def _create_state_change_comment(self, state): | CODE |
| LOW⚡ | apps/audits/tasks.py | 36 | def clean_operation_log_period(): | CODE |
| LOW⚡ | apps/audits/tasks.py | 43 | def clean_password_change_log_period(): | CODE |
| LOW⚡ | apps/audits/tasks.py | 51 | def clean_activity_log_period(): | CODE |
| LOW | apps/audits/tasks.py | 69 | def clean_celery_tasks_period(): | CODE |
| LOW | apps/audits/tasks.py | 97 | def delete_expired_commands_by_day(keep_days, direct_delete_limit=10000, batch_size=3000): | CODE |
| LOW | apps/audits/tasks.py | 165 | def clean_expired_session_period(): | CODE |
| 640 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | utils/change_user_password.py | 62 | except Exception as exc: | CODE |
| LOW | utils/mongodb_ping.py | 107 | except Exception as e: | STRING |
| LOW | utils/mongodb_ping.py | 118 | except Exception: # noqa | STRING |
| LOW | apps/settings/ws.py | 113 | except Exception as error: | CODE |
| LOW | apps/settings/ws.py | 147 | except Exception as error: | CODE |
| LOW | apps/settings/ws.py | 247 | except Exception as e: | CODE |
| LOW | apps/settings/tools/telnet.py | 45 | except Exception as e: | CODE |
| LOW | apps/settings/tools/nmap.py | 56 | except Exception: | CODE |
| LOW | apps/settings/tools/nmap.py | 86 | except Exception as err: | CODE |
| LOW | apps/settings/tools/traceroute.py | 81 | except Exception as e: | CODE |
| LOW | apps/settings/utils/ldap.py | 155 | except Exception as e: | CODE |
| LOW | apps/settings/utils/ldap.py | 393 | except Exception as e: | CODE |
| LOW | apps/settings/utils/ldap.py | 455 | except Exception as e: | CODE |
| LOW | apps/settings/utils/ldap.py | 463 | except Exception as e: | CODE |
| LOW | apps/settings/utils/ldap.py | 604 | except Exception as e: | CODE |
| LOW | apps/settings/utils/ldap.py | 631 | except Exception as e: | CODE |
| LOW | apps/settings/utils/ldap.py | 661 | except Exception as e: | CODE |
| LOW | apps/settings/utils/ldap.py | 689 | except Exception as e: | CODE |
| LOW | apps/settings/utils/ldap.py | 733 | except Exception as e: | CODE |
| LOW | apps/settings/utils/ldap.py | 774 | except Exception as e: | CODE |
| MEDIUM | apps/settings/utils/ldap.py | 592 | def test_server_uri(self): | CODE |
| MEDIUM | apps/settings/utils/ldap.py | 622 | def test_bind_dn(self): | CODE |
| MEDIUM | apps/settings/utils/ldap.py | 651 | def test_search_ou_and_filter(self): | CODE |
| MEDIUM | apps/settings/utils/ldap.py | 682 | def test_attr_map(self): | CODE |
| LOW | apps/settings/api/ldap.py | 84 | except Exception as e: | CODE |
| LOW | apps/settings/api/ssh_ca.py | 51 | except Exception as e: | CODE |
| MEDIUM | apps/settings/api/ssh_ca.py | 48 | def get(self, request): | CODE |
| LOW | apps/settings/api/chat.py | 69 | except Exception as error: | CODE |
| LOW | apps/settings/api/chat.py | 132 | except Exception as error: | CODE |
| LOW | apps/settings/api/vault.py | 46 | except Exception as e: | CODE |
| LOW | apps/settings/api/email.py | 70 | except Exception as e: | CODE |
| LOW | apps/settings/api/settings.py | 245 | except Exception as e: | CODE |
| LOW | apps/settings/api/sms.py | 168 | except Exception as e: | CODE |
| LOW | apps/rbac/permissions.py | 105 | except Exception as e: | CODE |
| LOW | apps/tickets/views/approve.py | 126 | except Exception as e: | CODE |
| LOW | apps/tickets/handlers/apply_asset.py | 70 | except Exception as e: | CODE |
| LOW | apps/audits/tasks.py | 161 | except Exception as e: | CODE |
| LOW⚡ | apps/audits/handler.py | 103 | except Exception as err: | CODE |
| LOW | apps/audits/handler.py | 218 | except Exception as e: | CODE |
| LOW | apps/audits/models.py | 45 | except Exception: | CODE |
| MEDIUM | apps/audits/models.py | 42 | def _get_city_display(ip, city='') -> str: | CODE |
| LOW | apps/audits/utils.py | 95 | except Exception as e: | CODE |
| LOW | apps/audits/signal_handlers/activity_log.py | 101 | except Exception as e: | CODE |
| LOW | apps/acls/models/command_acl.py | 85 | except Exception as e: | CODE |
| LOW | apps/terminal/startup.py | 62 | except Exception: | CODE |
| LOW⚡ | apps/terminal/tasks.py | 206 | except Exception as e: | CODE |
| LOW | apps/terminal/applets/__init__.py | 17 | except Exception as e: | CODE |
| LOW | apps/terminal/applets/dbeaver/common.py | 41 | except Exception as e: | CODE |
| LOW | apps/terminal/applets/dbeaver/common.py | 66 | except Exception as e: | CODE |
| LOW | apps/terminal/applets/dbeaver/common.py | 184 | except Exception as e: | CODE |
| LOW | apps/terminal/applets/dbeaver/common.py | 201 | except Exception as e: | CODE |
| LOW | apps/terminal/applets/dbeaver/main.py | 21 | except Exception as e: | CODE |
| LOW | apps/terminal/applets/chrome/common.py | 50 | except Exception as e: | CODE |
| LOW | apps/terminal/applets/chrome/common.py | 70 | except Exception as e: | CODE |
| LOW | apps/terminal/applets/chrome/common.py | 96 | except Exception as e: | CODE |
| LOW | apps/terminal/applets/chrome/common.py | 228 | except Exception as e: | CODE |
| LOW | apps/terminal/applets/chrome/common.py | 245 | except Exception as e: | CODE |
| LOW | apps/terminal/applets/chrome/app.py | 117 | except Exception as e: | CODE |
| LOW | apps/terminal/applets/chrome/app.py | 126 | except Exception as e: | CODE |
| LOW | apps/terminal/applets/chrome/app.py | 296 | except Exception as e: | CODE |
| 406 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | apps/settings/ldap_tls.py | 9 | __all__ = ['LDAPTLSUtil'] | CODE |
| LOW | apps/settings/tasks/ldap.py | 18 | __all__ = [ | CODE |
| LOW | apps/settings/utils/db.py | 4 | __all__ = ['DBTableDataAnalyzer'] | CODE |
| LOW | apps/settings/utils/ldap.py | 40 | __all__ = [ | CODE |
| LOW | apps/settings/serializers/task.py | 5 | __all__ = ['TaskNoticeSettingSerializer'] | CODE |
| LOW | apps/settings/serializers/public.py | 6 | __all__ = [ | CODE |
| LOW | apps/settings/serializers/security.py | 6 | __all__ = [ | CODE |
| LOW | apps/settings/serializers/other.py | 4 | __all__ = ['OtherSettingSerializer'] | CODE |
| LOW | apps/settings/serializers/feature.py | 13 | __all__ = [ | CODE |
| LOW | apps/settings/serializers/settings.py | 24 | __all__ = [ | CODE |
| LOW | apps/settings/serializers/msg.py | 12 | __all__ = [ | CODE |
| LOW | apps/settings/serializers/tool.py | 4 | __all__ = [ | CODE |
| LOW | apps/settings/serializers/cleaning.py | 5 | __all__ = ['CleaningSerializer'] | CODE |
| LOW | apps/settings/serializers/auth/oidc.py | 7 | __all__ = [ | CODE |
| LOW | apps/settings/serializers/auth/ldap.py | 9 | __all__ = [ | CODE |
| LOW | apps/settings/serializers/auth/dingtalk.py | 7 | __all__ = ['DingTalkSettingSerializer'] | CODE |
| LOW | apps/settings/serializers/auth/ldap_ha.py | 9 | __all__ = ['LDAPHATestConfigSerializer', 'LDAPHASettingSerializer'] | CODE |
| LOW | apps/settings/serializers/auth/sso.py | 4 | __all__ = [ | CODE |
| LOW | apps/settings/serializers/auth/oauth2.py | 8 | __all__ = [ | CODE |
| LOW | apps/settings/serializers/auth/ukey.py | 7 | __all__ = ['UKeySettingSerializer'] | CODE |
| LOW | apps/settings/serializers/auth/lark.py | 7 | __all__ = ['LarkSettingSerializer'] | CODE |
| LOW | apps/settings/serializers/auth/passkey.py | 4 | __all__ = ['PasskeySettingSerializer'] | CODE |
| LOW | apps/settings/serializers/auth/feishu.py | 6 | __all__ = ['FeiShuSettingSerializer'] | CODE |
| LOW | apps/settings/serializers/auth/radius.py | 10 | __all__ = ['RadiusSettingSerializer'] | CODE |
| LOW | apps/settings/serializers/auth/cas.py | 6 | __all__ = [ | CODE |
| LOW | apps/settings/serializers/auth/sms.py | 9 | __all__ = [ | CODE |
| LOW | apps/settings/serializers/auth/saml2.py | 6 | __all__ = [ | CODE |
| LOW | apps/settings/serializers/auth/base.py | 4 | __all__ = [ | CODE |
| LOW | apps/settings/serializers/auth/slack.py | 7 | __all__ = ['SlackSettingSerializer'] | CODE |
| LOW | apps/settings/serializers/auth/wecom.py | 7 | __all__ = ['WeComSettingSerializer'] | CODE |
| LOW | apps/settings/api/public.py | 14 | __all__ = ['PublicSettingApi', 'OpenPublicSettingApi', 'ServerInfoApi'] | CODE |
| LOW | apps/settings/api/ssh_ca.py | 13 | __all__ = ['SSHCAOpenBaoTestingAPI', 'SSHCAOpenBaoPublicKeyAPI'] | CODE |
| LOW | apps/settings/api/email.py | 17 | __all__ = ['MailTestingAPI'] | CODE |
| LOW | apps/rbac/models/permission.py | 12 | __all__ = ['Permission', 'ContentType'] | CODE |
| LOW | apps/rbac/models/role.py | 10 | __all__ = ['Role', 'SystemRole', 'OrgRole'] | CODE |
| LOW | apps/rbac/models/rolebinding.py | 16 | __all__ = ['RoleBinding', 'SystemRoleBinding', 'OrgRoleBinding'] | CODE |
| LOW | apps/rbac/serializers/content_type.py | 5 | __all__ = ['ContentTypeSerializer'] | CODE |
| LOW | apps/rbac/serializers/permission.py | 6 | __all__ = ['PermissionSerializer'] | CODE |
| LOW | apps/rbac/serializers/role.py | 8 | __all__ = ['RoleSerializer', 'RoleUserSerializer'] | CODE |
| LOW | apps/rbac/serializers/rolebinding.py | 9 | __all__ = [ | CODE |
| LOW | apps/rbac/api/permission.py | 10 | __all__ = ['PermissionViewSet'] | CODE |
| LOW | apps/rbac/api/role.py | 13 | __all__ = [ | CODE |
| LOW | apps/rbac/api/rolebinding.py | 14 | __all__ = [ | CODE |
| LOW | apps/tickets/models/comment.py | 8 | __all__ = ['Comment'] | CODE |
| LOW | apps/tickets/models/flow.py | 14 | __all__ = ['TicketFlow', 'ApprovalRule'] | CODE |
| LOW | apps/tickets/models/ticket/apply_asset.py | 8 | __all__ = ['ApplyAssetTicket'] | CODE |
| LOW | apps/tickets/models/ticket/login_asset_confirm.py | 6 | __all__ = ['ApplyLoginAssetTicket'] | CODE |
| LOW | apps/tickets/models/ticket/apply_application.py | 6 | __all__ = ['ApplyApplicationTicket'] | CODE |
| LOW | apps/tickets/models/ticket/general.py | 32 | __all__ = [ | CODE |
| LOW | apps/tickets/models/ticket/login_confirm.py | 6 | __all__ = ['ApplyLoginTicket'] | CODE |
| LOW | apps/tickets/serializers/comment.py | 6 | __all__ = ['CommentSerializer'] | CODE |
| LOW | apps/tickets/serializers/flow.py | 12 | __all__ = ['TicketFlowSerializer', 'TicketFlowOptionSerializer'] | CODE |
| LOW | apps/tickets/serializers/super_ticket.py | 9 | __all__ = ['SuperTicketSerializer'] | CODE |
| LOW | apps/tickets/serializers/ticket/apply_asset.py | 12 | __all__ = ['ApplyAssetSerializer', 'ApproveAssetSerializer'] | CODE |
| LOW | apps/tickets/serializers/ticket/command_review.py | 4 | __all__ = [ | CODE |
| LOW | apps/tickets/serializers/ticket/ticket.py | 14 | __all__ = [ | CODE |
| LOW | apps/tickets/serializers/ticket/login_asset_review.py | 4 | __all__ = [ | CODE |
| LOW | apps/tickets/serializers/ticket/common.py | 9 | __all__ = ['DefaultPermissionName', 'get_default_permission_name', 'BaseApplyAssetSerializer'] | CODE |
| LOW | apps/tickets/serializers/ticket/login_review.py | 4 | __all__ = [ | CODE |
| LOW | apps/tickets/api/ticket.py | 27 | __all__ = [ | CODE |
| 300 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | utils/clean_duplicate_user_groups.py | 20 | from django.core.exceptions import FieldError | CODE |
| CRITICAL | apps/rbac/models/rolebinding.py | 2 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | apps/labels/api.py | 1 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | apps/terminal/models/session/session.py | 9 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | apps/terminal/api/component/status.py | 47 | tasks = self.request.user.terminal.task_set.filter(is_finished=False, date_created__gte=critical_time) | CODE |
| CRITICAL | apps/jumpserver/rewriting/pagination.py | 2 | from django.core.exceptions import FieldError | CODE |
| CRITICAL | apps/common/drf/filters.py | 819 | from django.core.exceptions import ValidationError as DjangoValidationError | STRING |
| CRITICAL | apps/common/db/fields.py | 10 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | apps/common/db/validators.py | 1 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | apps/accounts/backends/azure/service.py | 26 | from azure.core.exceptions import ResourceNotFoundError, ClientAuthenticationError | CODE |
| CRITICAL | apps/accounts/backends/azure/service.py | 37 | from azure.core.exceptions import ResourceNotFoundError, ClientAuthenticationError | CODE |
| CRITICAL⚡ | apps/accounts/backends/hcp/service.py | 49 | self.client.secrets.kv.v2.configure( | CODE |
| CRITICAL⚡ | apps/accounts/backends/hcp/service.py | 56 | response = self.client.secrets.kv.v2.read_secret_version( | CODE |
| CRITICAL⚡ | apps/accounts/backends/hcp/service.py | 75 | self.client.secrets.kv.v2.patch( | CODE |
| CRITICAL⚡ | apps/accounts/backends/hcp/service.py | 82 | self.client.secrets.kv.v2.delete_metadata_and_all_versions( | CODE |
| CRITICAL⚡ | apps/accounts/backends/hcp/service.py | 88 | self.client.secrets.kv.v2.create_or_update_secret( | CODE |
| CRITICAL⚡ | apps/accounts/backends/hcp/service.py | 96 | self.client.secrets.kv.v2.update_metadata( | CODE |
| CRITICAL | apps/static/js/crypto.bundle.js | 172 | eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* | CODE |
| CRITICAL | apps/static/js/jquery-3.6.1.min.js | 2 | !function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):f | CODE |
| CRITICAL | apps/static/js/jquery-ui.custom.min.js | 16 | (function(e){"function"==typeof define&&define.amd?define(["jquery","./core","./mouse","./widget"],e):e(jQuery)})(functi | CODE |
| CRITICAL | apps/static/js/plugins/xterm/addons/search/search.js | 63 | var line = this._terminal._core.buffer.lines.get(y); | CODE |
| CRITICAL | apps/static/js/plugins/jsencrypt/jsencrypt.3.3.2.min.js | 172 | eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* | CODE |
| CRITICAL | apps/users/models/user/_face.py | 6 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | apps/assets/models/utils.py | 5 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | apps/authentication/models/connection_token.py | 7 | from django.core.exceptions import ValidationError | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | utils/mongodb_ping.py | 88 | # ========================================= | STRING |
| MEDIUM | apps/terminal/const.py | 42 | # ------------------------ | COMMENT |
| MEDIUM | apps/terminal/serializers/storage.py | 19 | # -------------------------- | COMMENT |
| MEDIUM | apps/terminal/serializers/storage.py | 170 | # --------------------------- | COMMENT |
| MEDIUM | apps/libs/ansible/modules/mongodb_user.py | 328 | # ========================================= | STRING |
| MEDIUM | apps/libs/ansible/modules/custom_command.py | 112 | # ========================================= | STRING |
| MEDIUM | apps/libs/ansible/modules/oracle_info.py | 302 | # =========================================== | STRING |
| MEDIUM | apps/libs/ansible/modules/telnet_ping.py | 36 | # ========================================= | STRING |
| MEDIUM | apps/libs/ansible/modules/mongodb_ping.py | 111 | # ========================================= | STRING |
| MEDIUM | apps/libs/ansible/modules/oracle_ping.py | 72 | # ========================================= | STRING |
| MEDIUM | apps/jumpserver/settings/auth.py | 81 | # ============================================================================== | COMMENT |
| MEDIUM | apps/jumpserver/settings/auth.py | 84 | # ============================================================================== | COMMENT |
| MEDIUM | apps/jumpserver/settings/auth.py | 120 | # ============================================================================== | COMMENT |
| MEDIUM | apps/common/utils/zip.py | 10 | # ------------------------- | COMMENT |
| MEDIUM | apps/common/utils/zip.py | 12 | # ------------------------- | COMMENT |
| MEDIUM | apps/common/utils/zip.py | 23 | # ------------------------- | COMMENT |
| MEDIUM | apps/common/utils/zip.py | 25 | # ------------------------- | COMMENT |
| MEDIUM | apps/common/utils/zip.py | 59 | # ------------------------- | COMMENT |
| MEDIUM | apps/common/utils/zip.py | 61 | # ------------------------- | COMMENT |
| MEDIUM⚡ | apps/common/utils/gmssl_python.py | 10 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | apps/common/utils/gmssl_python.py | 26 | # ============================================================================= | COMMENT |
| MEDIUM | apps/common/serializers/fields.py | 28 | # ------------------- | COMMENT |
| MEDIUM | apps/assets/signal_handlers/node_assets_mapping.py | 20 | # ------------------------------------ | COMMENT |
| MEDIUM | apps/authentication/backends/ukey/sdk.py | 69 | # ── CA / 证书链(只读系统设置,不允许在 YAML 中配置)──────────────────────── | COMMENT |
| MEDIUM⚡ | apps/authentication/backends/ukey/sdk.py | 91 | # ── 工具 ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | apps/authentication/backends/ukey/sdk.py | 98 | # ── 认证流程 ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | apps/authentication/backends/ukey/sdk.py | 106 | # ── 证书签发 ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/authentication/backends/ukey/sdk.py | 126 | # ── 厂商 SDK 映射(原始数据,供 API 层序列化给前端)─────────────────────── | COMMENT |
| MEDIUM | apps/authentication/backends/ukey/backends.py | 43 | # ── 主入口 ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/authentication/backends/ukey/backends.py | 63 | # ── Part 1: 用户与 UKey SN 预校验 ──────────────────────────────────────── | COMMENT |
| MEDIUM | apps/authentication/backends/ukey/backends.py | 78 | # ── Part 2: SM2 证书校验流程 ────────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/authentication/backends/ukey/backends.py | 167 | # ── Part 3: RSA / 其他证书校验流程 ─────────────────────────────────────── | COMMENT |
| MEDIUM | apps/authentication/backends/ukey/backends.py | 264 | # ── 公共工具方法 ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | apps/authentication/backends/ukey/views.py | 39 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | apps/authentication/backends/ukey/views.py | 41 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | apps/authentication/backends/ukey/views.py | 75 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | apps/authentication/backends/ukey/views.py | 77 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | …entication/backends/ukey/vendors/ji_da/sdk_config.yaml | 1 | #═══════════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM⚡ | …entication/backends/ukey/vendors/ji_da/sdk_config.yaml | 4 | #═══════════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM⚡ | …entication/backends/ukey/vendors/ji_da/sdk_config.yaml | 6 | # ── 元信息 ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …entication/backends/ukey/vendors/ji_da/sdk_config.yaml | 33 | #═══════════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | …entication/backends/ukey/vendors/ji_da/sdk_config.yaml | 45 | #═══════════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | …entication/backends/ukey/vendors/ji_da/sdk_config.yaml | 76 | #═══════════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | …entication/backends/ukey/vendors/ji_da/sdk_config.yaml | 87 | #═══════════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | …entication/backends/ukey/vendors/ji_da/sdk_config.yaml | 215 | #═══════════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | …entication/backends/ukey/vendors/ji_da/sdk_config.yaml | 248 | #═══════════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | …entication/backends/ukey/vendors/ji_da/sdk_config.yaml | 451 | #═══════════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | …entication/backends/ukey/vendors/ji_da/sdk_config.yaml | 466 | #═══════════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM⚡ | …ication/backends/ukey/vendors/long_mai/sdk_config.yaml | 1 | #═══════════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM⚡ | …ication/backends/ukey/vendors/long_mai/sdk_config.yaml | 4 | #═══════════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM⚡ | …ication/backends/ukey/vendors/long_mai/sdk_config.yaml | 6 | # ── 元信息 ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ication/backends/ukey/vendors/long_mai/sdk_config.yaml | 43 | #═══════════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | …ication/backends/ukey/vendors/long_mai/sdk_config.yaml | 57 | #═══════════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | …ication/backends/ukey/vendors/long_mai/sdk_config.yaml | 113 | #═══════════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | …ication/backends/ukey/vendors/long_mai/sdk_config.yaml | 139 | #═══════════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | …ication/backends/ukey/vendors/long_mai/sdk_config.yaml | 276 | #═══════════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | …ication/backends/ukey/vendors/long_mai/sdk_config.yaml | 309 | #═══════════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | …ication/backends/ukey/vendors/long_mai/sdk_config.yaml | 579 | #═══════════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | …ication/backends/ukey/vendors/long_mai/sdk_config.yaml | 594 | #═══════════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | apps/notifications/notifications.py | 208 | # -------------------------------------------------------------- | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | utils/clean_duplicate_user_groups.py | 23 | CODE | |
| LOW | utils/generate_fake_data/resources/system.py | 46 | CODE | |
| LOW | apps/settings/tools/traceroute.py | 36 | CODE | |
| LOW | apps/settings/utils/ldap.py | 291 | CODE | |
| LOW | apps/settings/serializers/settings.py | 47 | CODE | |
| LOW | apps/settings/api/email.py | 27 | CODE | |
| LOW | apps/rbac/models/permission.py | 94 | CODE | |
| LOW | apps/tickets/models/ticket/general.py | 456 | CODE | |
| LOW | apps/audits/tasks.py | 146 | CODE | |
| LOW | apps/audits/handler.py | 142 | CODE | |
| LOW | apps/audits/utils.py | 35 | CODE | |
| LOW | apps/audits/reporting.py | 14 | CODE | |
| LOW | apps/audits/reporting.py | 139 | CODE | |
| LOW | apps/audits/reporting.py | 261 | CODE | |
| LOW | apps/audits/reporting.py | 342 | CODE | |
| LOW | apps/audits/reporting.py | 517 | CODE | |
| LOW | apps/audits/signal_handlers/other.py | 43 | CODE | |
| LOW | apps/perms/utils/asset_perm.py | 120 | CODE | |
| LOW | apps/perms/utils/tree_metrics.py | 23 | CODE | |
| LOW | apps/perms/api/user_permission/tree/node_with_asset.py | 174 | CODE | |
| LOW | apps/terminal/connect_methods.py | 289 | CODE | |
| LOW | apps/terminal/reporting.py | 13 | CODE | |
| LOW | apps/terminal/applets/chrome/app.py | 133 | CODE | |
| LOW | apps/terminal/models/applet/applet.py | 327 | CODE | |
| LOW | apps/terminal/api/session/command.py | 206 | CODE | |
| LOW | apps/terminal/api/session/session.py | 261 | CODE | |
| LOW | apps/libs/ansible/modules/mongodb_user.py | 212 | CODE | |
| LOW | apps/libs/ansible/modules/mongodb_user.py | 332 | CODE | |
| LOW | apps/libs/ansible/modules/oracle_user.py | 150 | CODE | |
| LOW | apps/libs/ansible/modules/mssql_script.py | 280 | CODE | |
| LOW | apps/libs/ansible/modules/oracle_info.py | 109 | CODE | |
| LOW | apps/libs/ansible/modules_utils/remote_client.py | 172 | CODE | |
| LOW | apps/libs/ansible/modules_utils/remote_client.py | 1013 | CODE | |
| LOW | apps/jumpserver/views/swagger.py | 49 | CODE | |
| LOW | apps/jumpserver/views/schema.py | 281 | CODE | |
| LOW | apps/jumpserver/views/schema.py | 299 | CODE | |
| LOW | apps/common/tree.py | 49 | CODE | |
| LOW | apps/common/cache.py | 95 | CODE | |
| LOW | apps/common/plugins/es.py | 361 | CODE | |
| LOW | apps/common/plugins/es.py | 525 | CODE | |
| LOW | apps/common/plugins/es.py | 589 | CODE | |
| LOW | apps/common/management/commands/check_api.py | 216 | CODE | |
| LOW | apps/common/utils/django.py | 15 | CODE | |
| LOW | apps/common/utils/zip.py | 62 | CODE | |
| LOW | apps/common/utils/connection.py | 51 | CODE | |
| LOW | apps/common/utils/common.py | 319 | CODE | |
| LOW | apps/common/utils/ip/utils.py | 48 | CODE | |
| LOW | apps/common/utils/ip/utils.py | 79 | CODE | |
| LOW | apps/common/storage/jms_storage/multi.py | 56 | CODE | |
| LOW | apps/common/storage/jms_storage/__init__.py | 19 | CODE | |
| LOW | apps/common/const/choices.py | 150 | CODE | |
| LOW | apps/common/serializers/fields.py | 123 | CODE | |
| LOW | apps/common/serializers/fields.py | 241 | CODE | |
| LOW | apps/common/serializers/fields.py | 259 | CODE | |
| LOW | apps/common/serializers/mixin.py | 152 | CODE | |
| LOW | apps/common/serializers/mixin.py | 412 | CODE | |
| LOW | apps/common/serializers/dynamic.py | 28 | CODE | |
| LOW | apps/common/drf/metadata.py | 79 | CODE | |
| LOW | apps/common/drf/exc_handlers.py | 32 | CODE | |
| LOW | apps/common/drf/filters.py | 77 | CODE | |
| 60 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | config_example.yml | 1 | # SECURITY WARNING: keep the secret key used in production secret! | COMMENT |
| LOW | config_example.yml | 21 | # SESSION_COOKIE_AGE: 3600 | COMMENT |
| LOW | config_example.yml | 41 | # When Django start it will bind this host and port | COMMENT |
| LOW | config_example.yml | 61 | # 整个自动化任务的监控与超时(单位:秒) | COMMENT |
| LOW | config_example.yml | 81 | # ANSIBLE_RUNNER_IDLE_TIMEOUT: 900 # 单批无输出超时:15 分钟 | COMMENT |
| LOW | config_example.yml | 101 | # 设置为 0 时不增加 JumpServer 的总超时限制,仍受 sshtunnel/Paramiko 默认超时约束 | COMMENT |
| LOW | config_example.yml | 121 | # VAULT_OPENBAO_ADDR: http://openbao:8200 | COMMENT |
| LOW | config_example.yml | 141 | # AUTH_LDAP_SEARCH_PAGED_SIZE: 1000 | COMMENT |
| LOW | config_example.yml | 161 | # OTP_ISSUER_NAME: JumpServer | COMMENT |
| LOW | config_example.yml | 181 | COMMENT | |
| LOW | apps/__init__.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | apps/rbac/tests.py | 1 | from django.test import TestCase | COMMENT |
| LOW | apps/rbac/tests.py | 21 | # 8. 权限位名称翻译 (整理一个dict,key为codename,value为翻译) | COMMENT |
| LOW | apps/tickets/urls/__init__.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | apps/orgs/mixins/__init__.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | apps/orgs/urls/__init__.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | apps/libs/ansible/modules/mongodb_user.py | 301 | COMMENT | |
| LOW | apps/common/signal_handlers.py | 61 | if current_request: | COMMENT |
| LOW | apps/common/auth/__init__.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | apps/common/utils/gmssl_python.py | 1 | # Copyright 2023 The GmSSL Project. All Rights Reserved. | COMMENT |
| LOW | apps/common/drf/__init__.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | apps/static/css/colorbox.css | 21 | ordered & tabbed in a way that represents the nesting of the generated HTML. | COMMENT |
| LOW | apps/static/js/jumpserver.js | 481 | } | COMMENT |
| LOW | apps/static/js/jumpserver.js | 581 | jumpserver.initServerSideDataTable = function (options) { | COMMENT |
| LOW | apps/static/js/term.js | 621 | // var text = term.grabText( | COMMENT |
| LOW | apps/static/js/term.js | 1181 | } | COMMENT |
| LOW | apps/static/js/term.js | 1381 | COMMENT | |
| LOW | apps/static/js/term.js | 2421 | // if (this.prefix === '>') { | COMMENT |
| LOW | apps/static/js/term.js | 2441 | case 'b': | COMMENT |
| LOW | apps/static/js/term.js | 2461 | // } else { | COMMENT |
| LOW | apps/static/js/term.js | 2481 | // Request DEC private mode (DECRQM). | COMMENT |
| LOW | apps/static/js/term.js | 2501 | // } | COMMENT |
| LOW | apps/static/js/term.js | 2521 | // CSI Ps ; Ps r | COMMENT |
| LOW | apps/static/js/term.js | 2541 | // } else { | COMMENT |
| LOW | apps/static/js/term.js | 2561 | // } | COMMENT |
| LOW | apps/static/js/term.js | 2581 | // CSI Pt ; Pl ; Pb ; Pr ' w | COMMENT |
| LOW | apps/static/js/term.js | 2601 | // CSI Pt; Pl; Pb; Pr$ z | COMMENT |
| LOW | apps/static/js/term.js | 2621 | // case '|': | COMMENT |
| LOW | apps/static/js/term.js | 3561 | // Ps = 2 2 -> Normal (neither bold nor faint). | COMMENT |
| LOW | apps/static/js/term.js | 3581 | // Ps = 4 6 -> Set background color to Cyan. | COMMENT |
| LOW | apps/static/js/term.js | 3601 | // Ps = 1 0 4 -> Set background color to Blue. | COMMENT |
| LOW | apps/static/js/term.js | 3741 | // Ps = 6 -> Report Cursor Position (CPR) [row;column] as CSI | COMMENT |
| LOW | apps/static/js/term.js | 3961 | // CSI Ps c Send Device Attributes (Primary DA). | COMMENT |
| LOW | apps/static/js/term.js | 3981 | // Ps = 0 or omitted -> request the applications's identification | COMMENT |
| LOW | apps/static/js/term.js | 4061 | this.x = this.cols - 1; | COMMENT |
| LOW | apps/static/js/term.js | 4081 | // Ps = 9 -> Send Mouse X & Y on button press. See the sec- | COMMENT |
| LOW | apps/static/js/term.js | 4101 | // Ps = 6 6 -> Application keypad (DECNKM). | COMMENT |
| LOW | apps/static/js/term.js | 4121 | // enables the altSendsEscape resource). | COMMENT |
| LOW | apps/static/js/term.js | 4281 | // Ps = 4 -> Jump (Fast) Scroll (DECSCLM). | COMMENT |
| LOW | apps/static/js/term.js | 4301 | // compile-time option). | COMMENT |
| LOW | apps/static/js/term.js | 4321 | // Ps = 1 0 3 7 -> Send VT220 Remove from the editing-keypad | COMMENT |
| LOW | apps/static/js/term.js | 4561 | this.tabs = {}; | COMMENT |
| LOW | apps/static/js/term.js | 4581 | // Set or reset resource-values used by xterm to decide whether | COMMENT |
| LOW | apps/static/js/term.js | 4601 | // Ps = 1 -> modifyCursorKeys. | COMMENT |
| LOW | apps/static/js/term.js | 4641 | }; | COMMENT |
| LOW | apps/static/js/term.js | 4661 | // as in the ANSI DECRQM. | COMMENT |
| LOW | apps/static/js/term.js | 4681 | // Ps = 0 -> Clear all LEDS (default). | COMMENT |
| LOW | apps/static/js/term.js | 4741 | COMMENT | |
| LOW | apps/static/js/term.js | 4761 | // Ps = 3 ; x ; y -> Move window to [x, y]. | COMMENT |
| LOW | apps/static/js/term.js | 4781 | // Ps = 1 4 -> Report xterm window in pixels. Result is CSI | COMMENT |
| 19 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | apps/settings/serializers/auth/sms.py | 46 | CODE | |
| LOW | apps/audits/backends/es.py | 61 | CODE | |
| LOW | apps/audits/signal_handlers/login_log.py | 53 | CODE | |
| LOW | apps/acls/api/login_asset_check.py | 83 | CODE | |
| LOW | apps/terminal/backends/command/db.py | 66 | CODE | |
| LOW | apps/terminal/backends/command/db.py | 103 | CODE | |
| LOW | apps/terminal/backends/command/base.py | 17 | CODE | |
| LOW | apps/terminal/serializers/session.py | 84 | CODE | |
| LOW | apps/terminal/api/session/session.py | 290 | CODE | |
| LOW | apps/orgs/middleware.py | 37 | CODE | |
| LOW | apps/jumpserver/middleware.py | 43 | CODE | |
| LOW | apps/jumpserver/middleware.py | 80 | CODE | |
| LOW | apps/jumpserver/middleware.py | 103 | CODE | |
| LOW | apps/common/cache.py | 142 | CODE | |
| LOW | apps/common/cache.py | 199 | CODE | |
| LOW | apps/common/utils/django.py | 15 | CODE | |
| LOW | apps/common/utils/common.py | 423 | CODE | |
| LOW | apps/common/utils/common.py | 506 | CODE | |
| LOW | apps/common/storage/jms_storage/ceph.py | 70 | CODE | |
| LOW | apps/common/storage/jms_storage/s3.py | 74 | CODE | |
| LOW | apps/common/drf/renders/csv.py | 42 | CODE | |
| LOW | apps/common/drf/renders/base.py | 122 | CODE | |
| LOW | apps/common/sdk/im/utils.py | 71 | CODE | |
| LOW | apps/common/sdk/im/dingtalk/__init__.py | 117 | CODE | |
| LOW | apps/common/sdk/im/dingtalk/__init__.py | 181 | CODE | |
| LOW | apps/common/sdk/im/dingtalk/__init__.py | 198 | CODE | |
| LOW | apps/common/sdk/im/dingtalk/__init__.py | 214 | CODE | |
| LOW | apps/common/sdk/im/dingtalk/__init__.py | 223 | CODE | |
| LOW | apps/common/api/patch.py | 77 | CODE | |
| LOW | apps/common/api/patch.py | 85 | CODE | |
| LOW | apps/accounts/backends/hcp/service.py | 64 | CODE | |
| LOW | apps/accounts/backends/hcp/main.py | 32 | CODE | |
| LOW | apps/accounts/models/automations/check_account.py | 152 | CODE | |
| LOW | apps/accounts/automations/gather_account/manager.py | 313 | CODE | |
| LOW | apps/users/views/profile/otp.py | 168 | CODE | |
| LOW | apps/ops/ansible/inventory.py | 451 | CODE | |
| LOW | apps/assets/api/mixin.py | 86 | CODE | |
| LOW | apps/assets/automations/base/manager.py | 350 | CODE | |
| LOW | apps/authentication/backends/oidc/middleware.py | 31 | CODE | |
| LOW | apps/authentication/backends/saml2/views.py | 47 | CODE | |
| LOW | apps/authentication/models/connection_token.py | 275 | CODE | |
| LOW | apps/authentication/views/dingtalk.py | 56 | CODE | |
| LOW | apps/authentication/views/dingtalk.py | 157 | CODE | |
| LOW | apps/authentication/views/feishu.py | 78 | CODE | |
| LOW | apps/authentication/views/login.py | 375 | CODE | |
| LOW | apps/authentication/views/base.py | 162 | CODE | |
| LOW | apps/authentication/views/slack.py | 58 | CODE | |
| LOW | apps/authentication/views/wecom.py | 50 | CODE | |
| LOW | apps/reports/views.py | 178 | CODE | |
| LOW | apps/reports/api/assets/base.py | 22 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | apps/terminal/tasks.py | 196 | type__in=[ReplayStorageType.server, ReplayStorageType.null] | CODE |
| HIGH⚡ | apps/terminal/tasks.py | 199 | type__in=[CommandStorageType.server, CommandStorageType.null] | CODE |
| HIGH | apps/assets/utils/node.py | 297 | stack.push(info) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | apps/common/utils/gmssl_python.py | 11 | # This file is derived from GmSSL-Python project (v2.2.2) | COMMENT |
| MEDIUM⚡ | apps/common/utils/gmssl_python.py | 20 | # This file is included by direct copy due to dependency conflict issues | COMMENT |
| MEDIUM⚡ | apps/common/utils/gmssl_python.py | 25 | # This file is used in accordance with the Apache License 2.0 terms. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | requirements/static_files.sh | 27 | # Check if the file already exists | COMMENT |
| LOW | apps/accounts/tasks/push_account.py | 76 | # Check if the account is in QUEUED status | COMMENT |
| LOW | apps/authentication/decorators.py | 116 | # Check if user has been authenticated | COMMENT |
| LOW | apps/authentication/decorators.py | 118 | # Check if session contains a saved next URL | COMMENT |
| LOW⚡ | apps/authentication/decorators.py | 167 | # Check if response is a redirect to guard view | COMMENT |
| LOW⚡ | apps/authentication/decorators.py | 171 | # Check if the redirect location is to guard view | COMMENT |
| LOW⚡ | apps/authentication/decorators.py | 178 | # Check if path matches guard view URL pattern | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | apps/assets/tests/tree.py | 23 | CODE | |
| MEDIUM | apps/assets/tests/tree.py | 25 | CODE | |
| MEDIUM | apps/assets/tests/tree.py | 26 | CODE | |
| MEDIUM | apps/assets/tests/tree.py | 32 | CODE | |
| MEDIUM | apps/assets/tests/tree.py | 33 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | apps/libs/ansible/modules/mssql_script.py | 81 | (Query V('SELECT %(name\)s"') with V(example: '{"name": "John Doe"}).)'. | CODE |
| LOW | apps/static/js/plugins/select2/select2.full.min.js | 2 | !function(n){"function"==typeof define&&define.amd?define(["jquery"],n):"object"==typeof module&&module.exports?module.e | CODE |
| LOW | apps/static/js/plugins/sweetalert/sweetalert.min.js | 1 | !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&&r | CODE |
| LOW | apps/users/forms/profile.py | 146 | widget=forms.Textarea(attrs={'placeholder': _('ssh-rsa AAAA...')}), | CODE |
| LOW | apps/authentication/forms.py | 23 | 'placeholder': _("Username"), | CODE |
| LOW | apps/authentication/forms.py | 68 | 'placeholder': _("Dynamic code"), | CODE |
| LOW | apps/authentication/confirm/mfa.py | 21 | 'placeholder': backend.placeholder, | CODE |
| LOW | apps/authentication/confirm/password.py | 27 | 'placeholder': _('Password'), | CODE |
| LOW | …ntication/templates/authentication/_captcha_field.html | 25 | $('#id_captcha_1').addClass('form-control').attr('placeholder', placeholder) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | apps/common/drf/renders/base.py | 94 | def process_data(self, data): | CODE |
| LOW | apps/accounts/models/automations/base.py | 21 | def execute_task(self): | CODE |
| LOW | apps/assets/models/automations/base.py | 67 | def execute_task(self): | CODE |
| LOW | apps/assets/automations/ping_gateway/manager.py | 138 | def execute_task(self, gateway, account): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | apps/accounts/demos/python/demo.py | 1 | # Example usage | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | apps/authentication/backends/oidc/views.py | 37 | """ Allows to start the authorization flow in order to authenticate the end-user. | STRING |