:books: Web app for browsing, reading and downloading eBooks stored in a Calibre database
This report presents the forensic synthetic code analysis of janeczku/calibre-web, a Fluent project with 17,693 GitHub stars. SynthScan v2.0 examined 149,030 lines of code across 406 source files, recording 612 pattern matches distributed across 15 syntactic categories. The overall adjusted score of 5.7 places this repository in the Low AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
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 612 distinct pattern matches across 15 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 |
|---|---|---|---|---|
| MEDIUM | cps.py | 4 | # This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web) | COMMENT |
| MEDIUM | cps/subproc_wrapper.py | 3 | # This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web) | COMMENT |
| MEDIUM | cps/search_metadata.py | 3 | # This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web) | COMMENT |
| MEDIUM | cps/gevent_wsgi.py | 3 | # This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web) | COMMENT |
| MEDIUM | cps/db.py | 3 | # This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web) | COMMENT |
| MEDIUM | cps/isoLanguages.py | 3 | # This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web) | COMMENT |
| MEDIUM | cps/server.py | 3 | # This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web) | COMMENT |
| MEDIUM | cps/shelf.py | 3 | # This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web) | COMMENT |
| MEDIUM | cps/cover.py | 3 | # This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web) | COMMENT |
| MEDIUM | cps/web.py | 1 | # This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web) | COMMENT |
| MEDIUM | cps/string_helper.py | 3 | # This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web) | COMMENT |
| MEDIUM | cps/kobo_sync_status.py | 3 | # This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web) | COMMENT |
| MEDIUM | cps/ub.py | 3 | # This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web) | COMMENT |
| MEDIUM | cps/embed_helper.py | 3 | # This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web) | COMMENT |
| MEDIUM | cps/oauth_bb.py | 3 | # This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web) | COMMENT |
| MEDIUM | cps/fb2.py | 3 | # This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web) | COMMENT |
| MEDIUM | cps/constants.py | 3 | # This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web) | COMMENT |
| MEDIUM | cps/file_helper.py | 3 | # This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web) | COMMENT |
| MEDIUM | cps/uploader.py | 3 | # This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web) | COMMENT |
| MEDIUM | cps/converter.py | 3 | # This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web) | COMMENT |
| MEDIUM | cps/__init__.py | 3 | # This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web) | COMMENT |
| MEDIUM | cps/editbooks.py | 3 | # This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web) | COMMENT |
| MEDIUM | cps/debug_info.py | 3 | # This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web) | COMMENT |
| MEDIUM | cps/about.py | 3 | # This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web) | COMMENT |
| MEDIUM | cps/logger.py | 3 | # This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web) | COMMENT |
| MEDIUM | cps/gdriveutils.py | 3 | # This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web) | COMMENT |
| MEDIUM | cps/updater.py | 3 | # This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web) | COMMENT |
| MEDIUM | cps/opds.py | 3 | # This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web) | COMMENT |
| MEDIUM | cps/comic.py | 3 | # This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web) | COMMENT |
| MEDIUM | cps/admin.py | 3 | # This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web) | COMMENT |
| MEDIUM | cps/cli.py | 3 | # This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web) | COMMENT |
| MEDIUM | cps/kobo_auth.py | 4 | # This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web) | COMMENT |
| MEDIUM | cps/kobo_auth.py | 21 | """This module is used to control authentication/authorization of Kobo sync requests. | STRING |
| MEDIUM | cps/basic.py | 1 | # This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web) | COMMENT |
| MEDIUM | cps/fs.py | 3 | # This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web) | COMMENT |
| MEDIUM | cps/cache_buster.py | 3 | # This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web) | COMMENT |
| MEDIUM | cps/gdrive.py | 3 | # This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web) | COMMENT |
| MEDIUM | cps/helper.py | 3 | # This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web) | COMMENT |
| MEDIUM | cps/jinjia.py | 3 | # This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web) | COMMENT |
| MEDIUM | cps/usermanagement.py | 3 | # This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web) | COMMENT |
| MEDIUM | cps/search.py | 1 | # This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web) | COMMENT |
| MEDIUM | cps/tornado_wsgi.py | 3 | # This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web) | COMMENT |
| MEDIUM | cps/audio.py | 3 | # This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web) | COMMENT |
| MEDIUM | cps/error_handler.py | 3 | # This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web) | COMMENT |
| MEDIUM | cps/kobo.py | 4 | # This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web) | COMMENT |
| MEDIUM | cps/tasks_status.py | 1 | # This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web) | COMMENT |
| MEDIUM | cps/config_sql.py | 3 | # This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web) | COMMENT |
| MEDIUM | cps/schedule.py | 3 | # This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web) | COMMENT |
| MEDIUM | cps/pagination.py | 3 | # This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web) | COMMENT |
| MEDIUM | cps/clean_html.py | 3 | # This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web) | COMMENT |
| MEDIUM | cps/remotelogin.py | 3 | # This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web) | COMMENT |
| MEDIUM | cps/MyLoginManager.py | 3 | # This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web) | COMMENT |
| MEDIUM | cps/main.py | 3 | # This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web) | COMMENT |
| MEDIUM | cps/epub.py | 3 | # This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web) | COMMENT |
| MEDIUM | cps/render_template.py | 3 | # This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web) | COMMENT |
| MEDIUM | cps/epub_helper.py | 3 | # This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web) | COMMENT |
| MEDIUM | cps/oauth.py | 3 | # This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web) | COMMENT |
| MEDIUM | cps/iso_language_names.py | 3 | # This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web) | COMMENT |
| MEDIUM | cps/iso_language_names.py | 9 | # This file is autogenerated, do NOT add, change, or delete ANY string | COMMENT |
| MEDIUM | cps/tasks/mail.py | 3 | # This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web) | COMMENT |
| 21 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cps/search_metadata.py | 98 | def metadata_change_active_provider(prov_name): | CODE |
| LOW | cps/db.py | 863 | def fill_indexpage_with_archived_books(self, page, database, pagesize, db_filter, order, allow_show_archived, | CODE |
| LOW | cps/isoLanguages.py | 70 | def get_language_code_from_name(locale, language_names, remainder=None): | CODE |
| LOW | cps/isoLanguages.py | 83 | def get_valid_language_codes_from_code(locale, language_names, remainder=None): | CODE |
| LOW | cps/server.py | 100 | def _make_gevent_socket_activated(): | CODE |
| LOW⚡ | cps/shelf.py | 342 | def check_shelf_edit_permissions(cur_shelf): | CODE |
| LOW⚡ | cps/shelf.py | 352 | def check_shelf_view_permissions(cur_shelf): | CODE |
| LOW | cps/ub.py | 69 | def signal_store_user_session(object, user): | CODE |
| LOW | cps/ub.py | 205 | def list_denied_column_values(self): | CODE |
| LOW | cps/ub.py | 209 | def list_allowed_column_values(self): | CODE |
| LOW | cps/ub.py | 578 | def migrate_registration_table(engine, _session): | CODE |
| LOW | cps/ub.py | 592 | def migrate_user_session_table(engine, _session): | CODE |
| LOW | cps/oauth_bb.py | 218 | def generate_oauth_blueprints(): | CODE |
| LOW | cps/editbooks.py | 576 | def table_xchange_author_title(): | CODE |
| LOW | cps/editbooks.py | 851 | def prepare_authors_on_upload(title, authr): | CODE |
| LOW | cps/editbooks.py | 1039 | def render_delete_book_result(book_format, book_id, location=""): | CODE |
| LOW | cps/editbooks.py | 1635 | def create_objects_for_addition(db_element, add_element, db_type): | CODE |
| LOW | cps/gdriveutils.py | 614 | def get_metadata_backup_via_gdrive(metadata_path): | CODE |
| LOW | cps/updater.py | 424 | def _nightly_available_updates(self, request_method): | CODE |
| LOW | cps/updater.py | 481 | def _stable_updater_set_status(self, i, newer, status, parents, commit): | CODE |
| LOW | cps/updater.py | 502 | def _stable_updater_parse_major_version(self, commit, i, parents, current_version, status): | CODE |
| LOW | cps/updater.py | 527 | def _stable_available_updates(self, request_method): | CODE |
| LOW | cps/opds.py | 450 | def get_metadata_calibre_companion(uuid, library): | CODE |
| LOW | cps/comic.py | 64 | def _extract_cover_from_archive(original_file_extension, tmp_file_name, rar_executable): | CODE |
| LOW | cps/cw_babel.py | 40 | def get_available_translations(): | CODE |
| LOW | cps/admin.py | 569 | def update_view_configuration(): | CODE |
| LOW | cps/admin.py | 965 | def check_valid_restricted_column(column): | CODE |
| LOW | cps/admin.py | 1124 | def _configuration_gdrive_helper(to_save): | CODE |
| LOW | cps/admin.py | 1155 | def _configuration_oauth_helper(to_save): | CODE |
| LOW | cps/admin.py | 1177 | def _configuration_logfile_helper(to_save): | CODE |
| LOW | cps/admin.py | 1193 | def _configuration_ldap_helper(to_save): | CODE |
| LOW | cps/admin.py | 1710 | def _db_configuration_update_helper(): | CODE |
| LOW | cps/admin.py | 1780 | def _configuration_update_helper(): | CODE |
| LOW | cps/admin.py | 2110 | def extract_user_data_from_field(user, field): | CODE |
| LOW | cps/admin.py | 2118 | def extract_dynamic_field_from_filter(user, filtr): | CODE |
| LOW | cps/kobo_auth.py | 137 | def disable_failed_auth_redirect_for_blueprint(bp): | CODE |
| LOW | cps/kobo_auth.py | 148 | def register_url_value_preprocessor(kobo): | CODE |
| LOW | cps/cache_buster.py | 70 | def reverse_to_cache_busted_url(endpoint, values): | CODE |
| LOW | cps/gdrive.py | 54 | def authenticate_google_drive(): | CODE |
| LOW | cps/gdrive.py | 123 | def on_received_watch_confirmation(): | CODE |
| LOW⚡ | cps/helper.py | 1122 | def clear_cover_thumbnail_cache(book_id): | CODE |
| LOW⚡ | cps/helper.py | 1127 | def replace_cover_thumbnail_cache(book_id): | CODE |
| LOW⚡ | cps/helper.py | 1137 | def add_book_to_thumbnail_cache(book_id): | CODE |
| LOW | cps/helper.py | 152 | def check_send_to_ereader_with_converter(formats): | CODE |
| LOW | cps/helper.py | 394 | def rename_all_files_on_change(one_book, new_path, old_path, all_new_name, gdrive=False): | CODE |
| LOW | cps/helper.py | 448 | def update_dir_structure_file(book_id, calibre_path, original_filepath, new_author, db_filename): | CODE |
| LOW | cps/helper.py | 497 | def update_dir_structure_gdrive(book_id, first_author): | CODE |
| LOW | cps/helper.py | 786 | def get_series_thumbnail_on_failure(series_id, resolution): | CODE |
| LOW | cps/helper.py | 797 | def get_series_cover_thumbnail(series_id, resolution=None): | CODE |
| LOW | cps/helper.py | 801 | def get_series_cover_internal(series_id, resolution=None): | CODE |
| LOW | cps/helper.py | 852 | def save_cover_from_filestorage(filepath, saved_filename, img): | CODE |
| LOW | cps/helper.py | 979 | def do_kepubify_metadata_replace(book, file_path): | CODE |
| LOW | cps/usermanagement.py | 60 | def requires_basic_auth_if_no_ano(f): | CODE |
| LOW | cps/usermanagement.py | 116 | def load_user_from_reverse_proxy_header(req): | CODE |
| LOW | cps/search.py | 74 | def adv_search_custom_columns(cc, term, q): | CODE |
| LOW | cps/search.py | 255 | def render_adv_search_results(term, offset=None, order=None, limit=None): | CODE |
| LOW | cps/search.py | 388 | def render_prepare_search_form(cc): | CODE |
| LOW | cps/kobo.py | 68 | def get_store_url_for_current_request(): | CODE |
| LOW | cps/kobo.py | 89 | def make_request_to_kobo_store(sync_token=None): | CODE |
| LOW | cps/kobo.py | 108 | def redirect_or_proxy_request(auth=False): | CODE |
| 68 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cps.py | 61 | except Exception: | CODE |
| LOW | cps/db.py | 541 | except Exception: | CODE |
| LOW | cps/db.py | 658 | except Exception: | CODE |
| LOW | cps/db.py | 709 | except Exception as ex: | CODE |
| LOW | cps/db.py | 901 | except Exception as ex: | CODE |
| LOW | cps/db.py | 983 | except Exception: | CODE |
| LOW | cps/db.py | 997 | except Exception as ex: | CODE |
| LOW | cps/db.py | 1177 | except Exception as ex: | CODE |
| MEDIUM | cps/db.py | 766 | def delete_dirty_metadata(self, book_id): | CODE |
| MEDIUM | cps/db.py | 1174 | def lcase(s): | CODE |
| LOW | cps/server.py | 223 | except Exception: | CODE |
| LOW | cps/server.py | 280 | except Exception: | CODE |
| LOW | cps/server.py | 300 | except Exception as ex: | CODE |
| MEDIUM | cps/server.py | 302 | print("Error starting server: %s" % ex) | CODE |
| MEDIUM | cps/server.py | 293 | def start(self): | CODE |
| LOW⚡ | cps/shelf.py | 359 | except Exception as e: | CODE |
| LOW | cps/shelf.py | 402 | except Exception as ex: | CODE |
| MEDIUM | cps/shelf.py | 352 | def check_shelf_view_permissions(cur_shelf): | CODE |
| LOW | cps/web.py | 202 | except Exception as ex: | CODE |
| LOW | cps/web.py | 1300 | except Exception as ex: | CODE |
| LOW | cps/web.py | 1323 | except Exception: | CODE |
| LOW | cps/web.py | 1493 | except Exception as ex: | CODE |
| MEDIUM | cps/web.py | 704 | def render_language_books(page, name, order): | CODE |
| LOW⚡ | cps/ub.py | 658 | except Exception: | CODE |
| LOW⚡ | cps/ub.py | 675 | except Exception: | CODE |
| LOW | cps/ub.py | 719 | except Exception: | CODE |
| LOW | cps/ub.py | 751 | except Exception: | CODE |
| LOW | cps/ub.py | 756 | except Exception: | CODE |
| MEDIUM | cps/ub.py | 94 | def delete_user_session(user_id, session_key): | CODE |
| LOW | cps/oauth_bb.py | 160 | except Exception as ex: | CODE |
| LOW | cps/oauth_bb.py | 208 | except Exception as ex: | CODE |
| LOW | cps/uploader.py | 102 | except Exception as ex: | CODE |
| LOW | cps/uploader.py | 136 | except Exception as ex: | CODE |
| LOW | cps/uploader.py | 184 | except Exception as exc: | CODE |
| LOW | cps/uploader.py | 253 | except Exception as ex: | CODE |
| LOW | cps/converter.py | 44 | except Exception as ex: | CODE |
| LOW | cps/__init__.py | 215 | except Exception as e: | CODE |
| LOW | cps/editbooks.py | 757 | except Exception as ex: | CODE |
| LOW | cps/editbooks.py | 1098 | except Exception as ex: | CODE |
| LOW | cps/editbooks.py | 1126 | except Exception as ex: | CODE |
| LOW | cps/logger.py | 199 | except Exception: | CODE |
| MEDIUM | cps/logger.py | 192 | def write(self, message): | CODE |
| LOW | cps/gdriveutils.py | 182 | except Exception as ex: | CODE |
| LOW | cps/gdriveutils.py | 199 | except Exception as ex: | CODE |
| LOW | cps/gdriveutils.py | 252 | except Exception: | CODE |
| LOW | cps/gdriveutils.py | 531 | except Exception as ex: | CODE |
| MEDIUM | cps/gdriveutils.py | 130 | def __init__(self): | CODE |
| LOW | cps/updater.py | 372 | except Exception: | CODE |
| LOW | cps/comic.py | 95 | except Exception as ex: | CODE |
| MEDIUM | cps/admin.py | 684 | def delete_domain(): | CODE |
| LOW | cps/admin.py | 406 | except Exception as ex: | CODE |
| LOW | cps/admin.py | 542 | except Exception as ex: | CODE |
| LOW | cps/admin.py | 1064 | except Exception: | CODE |
| LOW | cps/admin.py | 1072 | except Exception: | CODE |
| LOW | cps/admin.py | 1321 | except Exception as ex: | CODE |
| LOW | cps/admin.py | 1342 | except Exception as e: | CODE |
| LOW | cps/admin.py | 1569 | except Exception: | CODE |
| LOW | cps/admin.py | 1604 | except Exception as ex: | CODE |
| LOW | cps/admin.py | 1624 | except Exception as ex: | CODE |
| LOW | cps/admin.py | 1661 | except Exception as ex: | CODE |
| 52 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cps.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | qodana.yaml | 1 | #-------------------------------------------------------------------------------# | COMMENT |
| LOW | cps/subproc_wrapper.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | cps/search_metadata.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | cps/gevent_wsgi.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | cps/db.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | cps/isoLanguages.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | cps/server.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | cps/shelf.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | cps/cover.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | cps/web.py | 1 | # This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web) | COMMENT |
| LOW | cps/string_helper.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | cps/kobo_sync_status.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | cps/ub.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | cps/redirect.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | cps/embed_helper.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | cps/oauth_bb.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | cps/fb2.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | cps/constants.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | cps/file_helper.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | cps/uploader.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | cps/converter.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | cps/__init__.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | cps/editbooks.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | cps/editbooks.py | 301 | # Separated from /editbooks so that /editselectedbooks can also use this | COMMENT |
| LOW | cps/debug_info.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | cps/about.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | cps/logger.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | cps/gdriveutils.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | cps/gdriveutils.py | 441 | "mimeType": "application/vnd.google-apps.folder"}) | COMMENT |
| LOW | cps/updater.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | cps/opds.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | cps/comic.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | cps/admin.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | cps/cli.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | cps/kobo_auth.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | cps/basic.py | 1 | # This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web) | COMMENT |
| LOW | cps/fs.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | cps/cache_buster.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | cps/gdrive.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | cps/helper.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | cps/jinjia.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | cps/usermanagement.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | cps/search.py | 1 | # This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web) | COMMENT |
| LOW | cps/tornado_wsgi.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | cps/audio.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | cps/error_handler.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | cps/kobo.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | cps/tasks_status.py | 1 | # This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web) | COMMENT |
| LOW | cps/config_sql.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | cps/schedule.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | cps/pagination.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | cps/clean_html.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | cps/remotelogin.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | cps/MyLoginManager.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | cps/main.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | cps/epub.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | cps/render_template.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | cps/epub_helper.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | cps/oauth.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| 48 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cps/db.py | 122 | CODE | |
| LOW | cps/db.py | 167 | CODE | |
| LOW | cps/db.py | 511 | CODE | |
| LOW | cps/db.py | 567 | CODE | |
| LOW | cps/db.py | 863 | CODE | |
| LOW | cps/server.py | 154 | CODE | |
| LOW | cps/shelf.py | 107 | CODE | |
| LOW | cps/shelf.py | 153 | CODE | |
| LOW | cps/shelf.py | 466 | CODE | |
| LOW | cps/web.py | 375 | CODE | |
| LOW | cps/web.py | 837 | CODE | |
| LOW | cps/web.py | 1196 | CODE | |
| LOW | cps/web.py | 1383 | CODE | |
| LOW | cps/web.py | 1563 | CODE | |
| LOW | cps/dep_check.py | 24 | CODE | |
| LOW | cps/dep_check.py | 75 | CODE | |
| LOW | cps/oauth_bb.py | 128 | CODE | |
| LOW | cps/file_helper.py | 58 | CODE | |
| LOW | cps/uploader.py | 83 | CODE | |
| LOW | cps/uploader.py | 175 | CODE | |
| LOW | cps/editbooks.py | 107 | CODE | |
| LOW | cps/editbooks.py | 314 | CODE | |
| LOW | cps/editbooks.py | 455 | CODE | |
| LOW | cps/editbooks.py | 538 | CODE | |
| LOW | cps/editbooks.py | 617 | CODE | |
| LOW | cps/editbooks.py | 796 | CODE | |
| LOW | cps/editbooks.py | 993 | CODE | |
| LOW | cps/editbooks.py | 1048 | CODE | |
| LOW | cps/editbooks.py | 1080 | CODE | |
| LOW | cps/editbooks.py | 1300 | CODE | |
| LOW | cps/editbooks.py | 1375 | CODE | |
| LOW | cps/editbooks.py | 1411 | CODE | |
| LOW | cps/editbooks.py | 1597 | CODE | |
| LOW | cps/editbooks.py | 1635 | CODE | |
| LOW | cps/gdriveutils.py | 277 | CODE | |
| LOW | cps/updater.py | 162 | CODE | |
| LOW | cps/updater.py | 213 | CODE | |
| LOW | cps/updater.py | 263 | CODE | |
| LOW | cps/updater.py | 341 | CODE | |
| LOW | cps/updater.py | 527 | CODE | |
| LOW | cps/comic.py | 64 | CODE | |
| LOW | cps/comic.py | 112 | CODE | |
| LOW | cps/comic.py | 133 | CODE | |
| LOW | cps/admin.py | 205 | CODE | |
| LOW | cps/admin.py | 447 | CODE | |
| LOW | cps/admin.py | 613 | CODE | |
| LOW | cps/admin.py | 841 | CODE | |
| LOW | cps/admin.py | 889 | CODE | |
| LOW | cps/admin.py | 1539 | CODE | |
| LOW | cps/admin.py | 2020 | CODE | |
| LOW | cps/cli.py | 54 | CODE | |
| LOW | cps/cache_buster.py | 31 | CODE | |
| LOW | cps/helper.py | 263 | CODE | |
| LOW | cps/helper.py | 279 | CODE | |
| LOW | cps/helper.py | 306 | CODE | |
| LOW | cps/helper.py | 355 | CODE | |
| LOW | cps/helper.py | 394 | CODE | |
| LOW | cps/helper.py | 422 | CODE | |
| LOW | cps/helper.py | 530 | CODE | |
| LOW | cps/helper.py | 737 | CODE | |
| 29 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL⚡ | cps/static/js/libs/epub.min.js | 1 | !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("JSZip")):"function"==typeof d | CODE |
| CRITICAL | cps/static/js/libs/jquery.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⚡ | …atic/js/libs/bootstrap-table/bootstrap-editable.min.js | 5 | !function(a){"use strict";var b=function(b,c){this.options=a.extend({},a.fn.editableform.defaults,c),this.$div=a(b),this | CODE |
| CRITICAL⚡ | …atic/js/libs/bootstrap-table/bootstrap-editable.min.js | 7 | daysMin:["Su","Mo","Tu","We","Th","Fr","Sa","Su"],months:["January","February","March","April","May","June","July","Augu | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cps/subproc_wrapper.py | 19 | CODE | |
| LOW | cps/search_metadata.py | 22 | CODE | |
| LOW | cps/cover.py | 19 | CODE | |
| LOW | cps/gdriveutils.py | 25 | CODE | |
| LOW | cps/comic.py | 25 | CODE | |
| LOW | cps/admin.py | 73 | CODE | |
| LOW | cps/tornado_wsgi.py | 32 | CODE | |
| LOW | cps/tornado_wsgi.py | 33 | CODE | |
| LOW | cps/schedule.py | 22 | CODE | |
| LOW | cps/tasks/convert.py | 22 | CODE | |
| LOW | cps/metadata_provider/amazon.py | 25 | CODE | |
| LOW | cps/cw_login/__init__.py | 2 | CODE | |
| LOW | cps/cw_login/__init__.py | 3 | CODE | |
| LOW | cps/cw_login/__init__.py | 4 | CODE | |
| LOW | cps/cw_login/__init__.py | 5 | CODE | |
| LOW | cps/cw_login/__init__.py | 6 | CODE | |
| LOW | cps/cw_login/__init__.py | 7 | CODE | |
| LOW | cps/cw_login/__init__.py | 8 | CODE | |
| LOW | cps/cw_login/__init__.py | 9 | CODE | |
| LOW | cps/cw_login/__init__.py | 10 | CODE | |
| LOW | cps/cw_login/__init__.py | 11 | CODE | |
| LOW | cps/cw_login/__init__.py | 12 | CODE | |
| LOW | cps/cw_login/__init__.py | 13 | CODE | |
| LOW | cps/cw_login/__init__.py | 14 | CODE | |
| LOW | cps/cw_login/__init__.py | 15 | CODE | |
| LOW | cps/cw_login/__init__.py | 16 | CODE | |
| LOW | cps/cw_login/__init__.py | 17 | CODE | |
| LOW | cps/cw_login/__init__.py | 18 | CODE | |
| LOW | cps/cw_login/__init__.py | 19 | CODE | |
| LOW | cps/cw_login/__init__.py | 20 | CODE | |
| LOW | cps/cw_login/__init__.py | 21 | CODE | |
| LOW | cps/cw_login/__init__.py | 22 | CODE | |
| LOW | cps/cw_login/__init__.py | 23 | CODE | |
| LOW | cps/cw_login/__init__.py | 25 | CODE | |
| LOW | cps/cw_login/__init__.py | 26 | CODE | |
| LOW | cps/cw_login/__init__.py | 27 | CODE | |
| LOW | cps/cw_login/__init__.py | 28 | CODE | |
| LOW | cps/cw_login/__init__.py | 29 | CODE | |
| LOW | cps/cw_login/__init__.py | 30 | CODE | |
| LOW | cps/cw_login/__init__.py | 31 | CODE | |
| LOW | cps/cw_login/__init__.py | 32 | CODE | |
| LOW | cps/cw_login/__init__.py | 33 | CODE | |
| LOW | cps/cw_login/__init__.py | 34 | CODE | |
| LOW | cps/cw_login/__init__.py | 35 | CODE | |
| LOW | cps/cw_login/__init__.py | 36 | CODE | |
| LOW | cps/cw_login/__init__.py | 37 | CODE | |
| LOW | cps/cw_advocate/__init__.py | 19 | CODE | |
| LOW | cps/cw_advocate/__init__.py | 20 | CODE | |
| LOW | cps/cw_advocate/__init__.py | 21 | CODE | |
| LOW | cps/cw_advocate/__init__.py | 22 | CODE | |
| LOW | cps/services/background_scheduler.py | 19 | CODE | |
| LOW | cps/services/background_scheduler.py | 26 | CODE | |
| LOW | cps/services/SyncToken.py | 20 | CODE | |
| LOW | cps/services/simpleldap.py | 19 | CODE | |
| LOW | cps/services/simpleldap.py | 27 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | cps/ub.py | 666 | user.email = "admin@example.org" | CODE |
| LOW | cps/static/js/libs/wysihtml5-0.0.3.js | 51 | this.setAttr('placeholder'); | CODE |
| LOW⚡ | cps/static/js/libs/viewer.js | 2370 | input: ["alt", "placeholder"], | CODE |
| LOW⚡ | cps/static/js/libs/viewer.js | 2377 | textarea: ["placeholder"], | CODE |
| LOW⚡ | cps/static/js/libs/viewer.js | 2385 | textbox: ["placeholder", "value"] | CODE |
| LOW | cps/static/js/libs/wysihtml5-0.3.0.min.js | 110 | hasCurrentStyleProperty:function(){return"currentStyle"in c},insertsLineBreaksOnReturn:function(){return d},supportsPlac | CODE |
| LOW | cps/static/js/libs/wysihtml5-0.3.0.min.js | 156 | (function(b){b.simulatePlaceholder=function(c,a,d){var e=function(){a.hasPlaceholderSet()&&a.clear();b.removeClass(a.ele | CODE |
| LOW⚡ | cps/static/js/libs/wysihtml5-0.3.0.min.js | 218 | this.hasPlaceholderSet()&&this.clear();this.base();var c=this.element.lastChild;a&&c&&("BR"===c.nodeName?this.selection. | CODE |
| LOW⚡ | cps/static/js/libs/wysihtml5-0.3.0.min.js | 221 | e),c.addClass(this.iframe,e));(e="string"===typeof this.config.placeholder?this.config.placeholder:this.textarea.element | CODE |
| LOW⚡ | cps/static/js/libs/wysihtml5-0.3.0.min.js | 228 | q=p.hasAttribute("placeholder"),r=q&&p.getAttribute("placeholder");this.focusStylesHost=this.focusStylesHost||e.cloneNod | CODE |
| LOW⚡ | cps/static/js/libs/wysihtml5-0.3.0.min.js | 229 | var m=b.lang.array(g).without(["display"]);n?n.focus():p.blur();q&&p.setAttribute("placeholder",r);if(!b.browser.hasCurr | CODE |
| LOW | cps/static/js/libs/wysihtml5-0.3.0.min.js | 240 | wysihtml5.views.Textarea=wysihtml5.views.View.extend({name:"textarea",constructor:function(b,c,a){this.base(b,c,a);this. | CODE |
| LOW⚡ | cps/static/js/libs/tinymce/tinymce.min.js | 9 | !function(){"use strict";function r(e){if(null===e)return"null";if(void 0===e)return"undefined";var t=typeof e;return"ob | CODE |
| LOW | cps/static/js/libs/tinymce/themes/silver/theme.min.js | 9 | !function(){"use strict";function t(o){return function(t){return e=typeof(n=t),(null===n?"null":"object"==e&&(Array.prot | CODE |
| LOW⚡ | …atic/js/libs/bootstrap-table/bootstrap-editable.min.js | 5 | !function(a){"use strict";var b=function(b,c){this.options=a.extend({},a.fn.editableform.defaults,c),this.$div=a(b),this | CODE |
| LOW⚡ | …atic/js/libs/bootstrap-table/bootstrap-editable.min.js | 7 | daysMin:["Su","Mo","Tu","We","Th","Fr","Sa","Su"],months:["January","February","March","April","May","June","July","Augu | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | cps/static/js/libs/compromise.min.js | 3 | !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define | CODE |
| MEDIUM⚡ | cps/static/js/libs/epub.min.js | 1 | !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("JSZip")):"function"==typeof d | CODE |
| MEDIUM⚡ | cps/static/js/libs/epub.min.js | 1 | !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("JSZip")):"function"==typeof d | CODE |
| MEDIUM⚡ | cps/static/js/libs/tinymce/tinymce.min.js | 9 | !function(){"use strict";function r(e){if(null===e)return"null";if(void 0===e)return"undefined";var t=typeof e;return"ob | CODE |
| MEDIUM⚡ | cps/static/js/libs/tinymce/tinymce.min.js | 9 | !function(){"use strict";function r(e){if(null===e)return"null";if(void 0===e)return"undefined";var t=typeof e;return"ob | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cps/db.py | 976 | # Check if FTS5 table exists before attempting search | COMMENT |
| LOW | cps/db.py | 1088 | # Check if there are more results | COMMENT |
| LOW | cps/updater.py | 573 | # Check if major versions are identical search for newest non-equal commit and update to this one | COMMENT |
| LOW | cps/helper.py | 199 | # Check if a reader is existing for any of the book formats, if not, return empty list, otherwise return | COMMENT |
| LOW | cps/tasks/thumbnail.py | 99 | # Check if job has been cancelled or ended | COMMENT |
| LOW | cps/tasks/thumbnail.py | 296 | # Check if job has been cancelled or ended | COMMENT |
| LOW | cps/metadata_provider/lubimyczytac.py | 278 | # Check if book is not a bundle, i.e. chapter 1-3 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | cps/gdriveutils.py | 476 | Watch for any changes to a specific file. Args: service: Drive API service instance. file_id: ID of the file | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cps/helper.py | 137 | txt += "Don't forget to change your password after your first login.\r\n" | CODE |
| LOW | cps/services/gmail.py | 52 | # don't forget to dump one more time after the refresh | COMMENT |
| LOW | cps/services/gmail.py | 52 | # don't forget to dump one more time after the refresh | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cps/cw_login/__init__.py | 43 | __all__ = [ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cps/static/js/compress/libunrar.js | 15 | var Module;if(!Module)Module=(typeof Module!=="undefined"?Module:null)||{};var moduleOverrides={};for(var key in Module) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cps/cw_advocate/addrvalidator.py | 85 | CODE |