Misago is fully featured modern forum application that is fast, scalable and responsive.
This report presents the forensic synthetic code analysis of rafalp/Misago, a Python project with 2,777 GitHub stars. SynthScan v2.0 examined 402,107 lines of code across 3342 source files, recording 11629 pattern matches distributed across 16 syntactic categories. The overall adjusted score of 31.2 places this repository in the Strong 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 11629 distinct pattern matches across 16 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 | generate_dev_docs.py | 190 | def generate_plugin_manifest_reference(): | CODE |
| LOW | generate_dev_docs.py | 223 | def generate_hooks_reference_index(hooks_data: dict[str, dict[str, ast.Module]]): | CODE |
| LOW | generate_dev_docs.py | 491 | def generate_outlets_reference(): | CODE |
| LOW | generate_dev_docs.py | 513 | def get_callable_class_signature(class_def: ast.ClassDef) -> tuple[str, str | None]: | CODE |
| LOW | frontend/src/formValidators.js | 59 | function setFormControlValidationState(element, input, errors) { | CODE |
| LOW | frontend/src/formValidators.js | 67 | function setFormControlErrorValidationState(element, input, errors) { | CODE |
| LOW⚡ | frontend/src/formValidators.js | 82 | function setFormControlSuccessValidationState(element) { | CODE |
| LOW⚡ | frontend/src/formValidators.js | 89 | function clearFormControlValidationState(element) { | CODE |
| LOW⚡ | frontend/src/formValidators.js | 96 | function clearFormControlValidationMessages(element) { | CODE |
| LOW | frontend/src/PollChoicesControl.js | 3 | function activatePollChoicesControl(element) { | CODE |
| LOW | frontend/src/template/condition/eval.js | 5 | function evaluateTemplateCondition(condition, context) { | CODE |
| LOW | frontend/src/template/condition/eval.js | 31 | function evaluateDeepContextVariable(path, context) { | CODE |
| LOW | frontend/src/template/condition/eval.js | 42 | function evaluateConditionExpression(expression, context) { | CODE |
| LOW | frontend/src/template/condition/tokenizer.js | 4 | function tokenizeTemplateCondition(condition) { | CODE |
| LOW | frontend/src/template/condition/parser.js | 110 | function parseNestedTemplateCondition(expressions) { | CODE |
| LOW | frontend/src/template/condition/parser.js | 116 | function insertBranchingExpression(expressions) { | CODE |
| LOW | frontend/src/template/condition/parser.js | 135 | function insertConditionalExpression(expressions) { | CODE |
| LOW | …nd/src/components/Navbar/NavbarNotificationsToggle.jsx | 4 | export default function NavbarNotificationsToggle({ | CODE |
| LOW | …/src/components/Navbar/NavbarNotificationsDropdown.jsx | 6 | export default function NavbarNotificationsDropdown({ | CODE |
| LOW | …/components/MarkupEditor/MarkupFormattingHelpModal.jsx | 4 | export default function MarkupFormattingHelpModal() { | CODE |
| LOW | …ents/NotificationsOverlay/NotificationsOverlayBody.jsx | 39 | function NotificationsOverlayBodyPill({ active, children, onClick }) { | CODE |
| LOW | …nents/NotificationsList/NotificationsListItemActor.jsx | 4 | export default function NotificationsListItemActor({ notification }) { | CODE |
| LOW | …nts/NotificationsList/NotificationsListItemMessage.jsx | 4 | export default function NotificationsListItemMessage({ notification }) { | CODE |
| LOW | …/NotificationsList/NotificationsListItemReadStatus.jsx | 3 | export default function NotificationsListItemReadStatus({ notification }) { | CODE |
| LOW | …s/NotificationsList/NotificationsListItemTimestamp.jsx | 4 | export default function NotificationsListItemTimestamp({ notification }) { | CODE |
| LOW | …ts/NotificationsDropdown/NotificationsDropdownBody.jsx | 5 | export default function NotificationsDropdownBody({ | CODE |
| LOW | …ts/NotificationsDropdown/NotificationsDropdownBody.jsx | 37 | function NotificationsDropdownBodyPill({ active, children, onClick }) { | CODE |
| LOW | …c/components/Notifications/NotificationsPagination.jsx | 29 | function NotificationsPaginationLink({ disabled, children, url }) { | CODE |
| LOW | frontend/src/reducers/threads.js | 68 | export function getThreadModerationOptions(thread_acl) { | CODE |
| LOW | …dev_site_fixture/management/commands/loaddevfixture.py | 629 | def create_thread_with_specified_length(thread_length: int, title: str): | CODE |
| LOW | …shots-plugin/misago_post_snapshots_plugin/snapshots.py | 17 | def restore_post_from_snapshot(post: Post, snapshot: PostSnapshot): | CODE |
| LOW | dev-docs/notifications.md | 102 | def get_verb_notification_message(notification: Notification) -> str: | CODE |
| LOW | dev-docs/notifications.md | 120 | def get_custom_notification_message(notification: Notification) -> str: | CODE |
| LOW | dev-docs/notifications.md | 125 | def get_custom_notification_message(notification: Notification) -> str: | CODE |
| LOW | dev-docs/notifications.md | 138 | def get_verb_notification_redirect_url(request: HttpRequest, notification: Notification) -> str: | CODE |
| LOW | dev-docs/notifications.md | 161 | def get_custom_notification_redirect_url( | CODE |
| LOW | dev-docs/notifications.md | 174 | def get_custom_notification_redirect_url( | CODE |
| LOW | dev-docs/translation-strings-contextual-markers.md | 73 | def check_some_post_permission(user_permissions, post): | CODE |
| LOW | …plugins/hooks/check-see-thread-post-permission-hook.md | 18 | def custom_check_see_thread_post_permission_filter( | CODE |
| LOW | …plugins/hooks/check-see-thread-post-permission-hook.md | 63 | def check_see_thread_post_permission_action( | CODE |
| LOW | …plugins/hooks/check-see-thread-post-permission-hook.md | 110 | def check_user_can_see_thread_post( | CODE |
| LOW | …s/plugins/hooks/check-locked-thread-permission-hook.md | 18 | def custom_check_locked_thread_permission_filter( | CODE |
| LOW | …s/plugins/hooks/check-locked-thread-permission-hook.md | 51 | def check_locked_thread_permission_action( | CODE |
| LOW | …s/plugins/hooks/check-locked-thread-permission-hook.md | 82 | def check_user_can_post_in_locked_thread( | CODE |
| LOW | …/hooks/get-category-threads-moderation-actions-hook.md | 18 | def custom_get_category_threads_moderation_actions_filter( | CODE |
| LOW | …/hooks/get-category-threads-moderation-actions-hook.md | 62 | def get_category_threads_moderation_actions_action( | CODE |
| LOW | …/hooks/get-category-threads-moderation-actions-hook.md | 141 | def include_custom_moderation_action( | CODE |
| LOW | dev-docs/plugins/hooks/validate-posting-hook.md | 18 | def custom_validate_posting_filter( | CODE |
| LOW | dev-docs/plugins/hooks/validate-posting-hook.md | 52 | def validate_posting_are_not_spam(formset, state): | CODE |
| LOW | …ocs/plugins/hooks/remove-private-thread-member-hook.md | 34 | def record_private_thread_remove_member_actor_ip( | CODE |
| LOW | dev-docs/plugins/hooks/create-group-hook.md | 22 | def custom_create_group_filter(action: CreateGroupHookAction, **kwargs) -> Group: | CODE |
| LOW | dev-docs/plugins/hooks/unpin-thread-hook.md | 18 | def custom_unpin_thread_filter( | CODE |
| LOW | dev-docs/plugins/hooks/unpin-thread-hook.md | 108 | def register_user_that_unpinned_thread( | CODE |
| LOW | …hooks/check-see-private-thread-post-permission-hook.md | 18 | def custom_check_see_private_thread_post_permission_filter( | CODE |
| LOW | …hooks/check-see-private-thread-post-permission-hook.md | 57 | def check_see_private_thread_post_permission_action( | CODE |
| LOW | …hooks/check-see-private-thread-post-permission-hook.md | 96 | def check_user_can_see_thread( | CODE |
| LOW | dev-docs/plugins/hooks/select-thread-solution-hook.md | 18 | def custom_select_thread_solution_filter( | CODE |
| LOW | dev-docs/plugins/hooks/select-thread-solution-hook.md | 71 | def select_thread_solution_action( | CODE |
| LOW | dev-docs/plugins/hooks/select-thread-solution-hook.md | 125 | def record_solution_user_ip_address( | CODE |
| LOW | dev-docs/plugins/hooks/hide-thread-hook.md | 18 | def custom_hide_thread_filter( | CODE |
| 9127 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | frontend/highlight/highlight.js | 697 | ;const e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","cod | CODE |
| LOW | frontend/highlight/highlight.js | 920 | ;const e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","cod | CODE |
| LOW | frontend/highlight/highlight.js | 971 | ;const e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","cod | CODE |
| LOW | frontend/templates/status-messages.html | 8 | <p class="status-message-text">Lorem ipsum <a href="#">dolor</a> met.</p> | CODE |
| LOW | frontend/templates/status-messages.html | 24 | Lorem ipsum | CODE |
| LOW | frontend/src/utils/test-utils.js | 55 | '<p>Lorem ipsum dolor met sit amet elit, si vis pacem para bellum.</p>\n<p>To help see <a href="http://wololo.co | CODE |
| LOW | …/components/MarkupEditor/MarkupFormattingHelpModal.jsx | 259 | markup={"- Lorem ipsum\n- Dolor met\n- Vulputate lectus"} | CODE |
| LOW | …/components/MarkupEditor/MarkupFormattingHelpModal.jsx | 262 | <li>Lorem ipsum</li> | CODE |
| LOW | …/components/MarkupEditor/MarkupFormattingHelpModal.jsx | 273 | markup={"1. Lorem ipsum\n2. Dolor met\n3. Vulputate lectus"} | CODE |
| LOW | …/components/MarkupEditor/MarkupFormattingHelpModal.jsx | 276 | <li>Lorem ipsum</li> | CODE |
| LOW | …/components/MarkupEditor/MarkupFormattingHelpModal.jsx | 432 | markup={"Lorem ipsum\n- - -\nDolor met"} | CODE |
| LOW | …/components/MarkupEditor/MarkupFormattingHelpModal.jsx | 435 | <p>Lorem ipsum</p> | CODE |
| LOW | …/components/MarkupEditor/MarkupFormattingHelpModal.jsx | 446 | markup={"Lorem ipsum\n[hr]\nDolor met"} | CODE |
| LOW | …/components/MarkupEditor/MarkupFormattingHelpModal.jsx | 449 | <p>Lorem ipsum</p> | CODE |
| LOW | …dev_site_fixture/management/commands/loaddevfixture.py | 183 | "user@example.com", | CODE |
| LOW | dev-docs/plugins/hooks/action-hook.md | 188 | > Lorem **ipsum** dolor sit amet elit. | CODE |
| LOW | dev-docs/plugins/hooks/filter-hook.md | 215 | > Lorem **ipsum** dolor sit amet elit. | CODE |
| LOW | misago/conftest.py | 116 | return create_test_user("User", "user@example.com", user_password) | CODE |
| LOW⚡ | misago/core/tests/test_utils.py | 94 | ("Lorem ipsum.", "<p>Lorem ipsum.</p>"), | CODE |
| LOW⚡ | misago/core/tests/test_utils.py | 97 | ("Lorem ipsum.\nDolor met.", "<p>Lorem ipsum.<br>Dolor met.</p>"), | CODE |
| LOW⚡ | misago/core/tests/test_utils.py | 98 | ("Lorem ipsum.\n\nDolor met.", "<p>Lorem ipsum.</p>\n\n<p>Dolor met.</p>"), | CODE |
| LOW⚡ | misago/core/tests/test_utils.py | 275 | message = get_exception_message(PermissionDenied("Lorem Ipsum")) | CODE |
| LOW⚡ | misago/core/tests/test_utils.py | 276 | self.assertEqual(message, "Lorem Ipsum") | CODE |
| LOW⚡ | misago/core/tests/test_utils.py | 286 | message = get_exception_message(PermissionDenied("Lorem Ipsum"), "Default") | CODE |
| LOW⚡ | misago/core/tests/test_utils.py | 287 | self.assertEqual(message, "Lorem Ipsum") | CODE |
| LOW⚡ | misago/core/tests/test_utils.py | 295 | message = get_exception_message(default_message="Lorem Ipsum") | CODE |
| LOW⚡ | misago/core/tests/test_utils.py | 296 | self.assertEqual(message, "Lorem Ipsum") | CODE |
| LOW⚡ | misago/core/tests/test_mail.py | 14 | user = create_test_user("User", "user@example.com") | CODE |
| LOW⚡ | misago/core/tests/test_mail.py | 19 | user = create_test_user("User", "user@example.com") | CODE |
| LOW⚡ | misago/core/tests/test_mail.py | 28 | user = create_test_user("User", "user@example.com") | CODE |
| LOW | misago/core/tests/test_templatetags.py | 151 | tpl.render(Context({"item": "Lorem Ipsum"})).strip(), "Lorem Ipsum" | STRING |
| LOW | misago/core/tests/test_templatetags.py | 165 | Context({"item": "Lorem Ipsum", "parent": "Some Thread"}) | STRING |
| LOW | misago/core/tests/test_templatetags.py | 167 | "Lorem Ipsum | Some Thread", | STRING |
| LOW | misago/core/tests/test_templatetags.py | 180 | tpl.render(Context({"item": "Lorem Ipsum"})).strip(), | STRING |
| LOW | misago/core/tests/test_templatetags.py | 181 | "Lorem Ipsum (page: 3)", | STRING |
| LOW⚡ | misago/core/tests/test_templatetags.py | 195 | Context({"item": "Lorem Ipsum", "parent": "Some Thread"}) | STRING |
| LOW⚡ | misago/core/tests/test_templatetags.py | 197 | "Lorem Ipsum (page: 3) | Some Thread", | STRING |
| LOW | misago/test/files/textfile.txt | 1 | Lorem ipsum dolor met sit amet elit. | CODE |
| LOW | misago/plugins/tests/test_plugin_metadata_creation.py | 91 | author="Lorem Ipsum", | CODE |
| LOW | misago/plugins/tests/test_plugin_metadata_creation.py | 116 | assert metadata.author == "Lorem Ipsum" | CODE |
| LOW | …/test_private_thread_detail_view_moderation_actions.py | 64 | "moderation-lock_reason": "Lorem ipsum", | CODE |
| LOW | …/test_private_thread_detail_view_moderation_actions.py | 80 | assert user_private_thread.lock_reason == "Lorem ipsum" | CODE |
| LOW | …/test_private_thread_detail_view_moderation_actions.py | 150 | "moderation-hide_reason": "Lorem ipsum", | CODE |
| LOW | …/test_private_thread_detail_view_moderation_actions.py | 166 | assert user_private_thread.hide_reason == "Lorem ipsum" | CODE |
| LOW | …/test_private_thread_detail_view_moderation_actions.py | 604 | "moderation-lock_reason": "Lorem ipsum", | CODE |
| LOW | …/test_private_thread_detail_view_moderation_actions.py | 627 | assert reply.lock_reason == "Lorem ipsum" | CODE |
| LOW | …/test_private_thread_detail_view_moderation_actions.py | 727 | "moderation-hide_reason": "Lorem ipsum", | CODE |
| LOW | …/test_private_thread_detail_view_moderation_actions.py | 750 | assert reply.hide_reason == "Lorem ipsum" | CODE |
| LOW | …/test_private_thread_detail_view_moderation_actions.py | 1548 | "moderation-lock_reason": "Lorem ipsum", | CODE |
| LOW | …/test_private_thread_detail_view_moderation_actions.py | 1571 | assert reply.lock_reason == "Lorem ipsum" | CODE |
| LOW | …/test_private_thread_detail_view_moderation_actions.py | 1635 | "moderation-hide_reason": "Lorem ipsum", | CODE |
| LOW | …/test_private_thread_detail_view_moderation_actions.py | 1658 | assert reply.hide_reason == "Lorem ipsum" | CODE |
| LOW⚡ | …threads/tests/test_private_thread_detail_view_posts.py | 666 | assert_contains(response, "Reason: Lorem ipsum") | CODE |
| LOW⚡ | …threads/tests/test_private_thread_detail_view_posts.py | 678 | hide_reason="Lorem ipsum offtopic", | CODE |
| LOW⚡ | …threads/tests/test_private_thread_detail_view_posts.py | 967 | hide_reason="Lorem ipsum offtopic", | CODE |
| LOW⚡ | …threads/tests/test_private_thread_detail_view_posts.py | 976 | assert_contains(response, "Lorem ipsum offtopic") | CODE |
| LOW⚡ | …threads/tests/test_private_thread_detail_view_posts.py | 1009 | hide_reason="Lorem ipsum offtopic", | CODE |
| LOW⚡ | …threads/tests/test_private_thread_detail_view_posts.py | 1017 | assert_contains(response, "Lorem ipsum offtopic") | CODE |
| LOW⚡ | …threads/tests/test_private_thread_detail_view_posts.py | 1048 | hide_reason="Lorem ipsum offtopic", | CODE |
| LOW⚡ | …threads/tests/test_private_thread_detail_view_posts.py | 1055 | assert_contains(response, "Lorem ipsum offtopic") | CODE |
| 955 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | frontend/src/components/change-avatar/upload.js | 40 | this.props.options.upload.allowed_mime_types.indexOf(image.type) === -1 | CODE |
| CRITICAL | frontend/src/components/change-avatar/upload.js | 47 | this.props.options.upload.allowed_extensions.map(function (extension) { | CODE |
| CRITICAL | …/hooks/get-category-threads-moderation-actions-hook.md | 101 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | dev-docs/plugins/hooks/validate-posting-hook.md | 46 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | …ks/get-private-thread-posts-moderation-actions-hook.md | 101 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | dev-docs/plugins/hooks/validate-thread-solution-hook.md | 77 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | …cs/plugins/hooks/get-thread-moderation-actions-hook.md | 101 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | …ugins/hooks/validate-new-private-thread-member-hook.md | 102 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | dev-docs/plugins/hooks/validate-poll-question-hook.md | 102 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | …lugins/hooks/validate-new-private-thread-owner-hook.md | 102 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | …gins/hooks/get-thread-posts-moderation-actions-hook.md | 101 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | dev-docs/plugins/hooks/validate-poll-choices-hook.md | 114 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | …ugins/hooks/get-thread-post-moderation-actions-hook.md | 101 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | …s/plugins/hooks/get-threads-moderation-actions-hook.md | 88 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | dev-docs/plugins/hooks/validate-thread-title-hook.md | 102 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | …ns/hooks/get-private-thread-moderation-actions-hook.md | 101 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | …oks/get-private-thread-post-moderation-actions-hook.md | 101 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL⚡ | misago/forms/tests/test_dict_field.py | 3 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | misago/core/validators.py | 3 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL⚡ | misago/core/tests/test_validators.py | 2 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL⚡ | …hreads/tests/test_validate_new_private_thread_owner.py | 2 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL⚡ | …reads/tests/test_validate_new_private_thread_member.py | 2 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | …vatethreads/hooks/validate_new_private_thread_owner.py | 99 | from django.core.exceptions import ValidationError | STRING |
| CRITICAL | …atethreads/hooks/validate_new_private_thread_member.py | 98 | from django.core.exceptions import ValidationError | STRING |
| CRITICAL | misago/admin/views/generic/ordering.py | 1 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | misago/solutions/validators.py | 1 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL⚡ | misago/solutions/tests/test_validators.py | 2 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | misago/solutions/hooks/validate_thread_solution.py | 80 | from django.core.exceptions import ValidationError | STRING |
| CRITICAL | misago/polls/validators.py | 3 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL⚡ | misago/polls/tests/test_validate_poll_question.py | 2 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | misago/polls/tests/test_validate_poll_choices.py | 2 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | misago/polls/tests/test_validate_poll_vote.py | 2 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | misago/polls/hooks/validate_poll_question.py | 96 | from django.core.exceptions import ValidationError | STRING |
| CRITICAL | misago/polls/hooks/validate_poll_choices.py | 107 | from django.core.exceptions import ValidationError | STRING |
| CRITICAL⚡ | misago/threads/tests/conftest.py | 2 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | misago/threads/views/list.py | 7 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL⚡ | misago/static/misago/js/vendor.js | 2 | (self.webpackChunkmisago=self.webpackChunkmisago||[]).push([[736],{14316:function(e,t,n){var r,o;r=[n(19755)],o=function | CODE |
| CRITICAL | misago/static/misago/js/misago.js | 1 | (()=>{var e,t,n,a={60642:(e,t,n)=>{"use strict";n.d(t,{b:()=>f,D:()=>v});var a=n(15861),r=n(15671),o=n(43144),i=n(97326) | CODE |
| CRITICAL | misago/users/validators.py | 7 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | misago/users/captcha.py | 2 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | misago/users/forms/auth.py | 4 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | misago/users/forms/register.py | 4 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | misago/users/tests/test_validators.py | 3 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | misago/users/tests/test_avatars.py | 4 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | misago/users/management/commands/createsuperuser.py | 11 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | misago/users/profilefields/__init__.py | 4 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | misago/users/api/userendpoints/avatar.py | 3 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | misago/users/avatars/uploaded.py | 3 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | misago/attachments/upload.py | 3 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | misago/attachments/validators.py | 4 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL⚡ | …o/attachments/tests/test_validate_attachments_limit.py | 2 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL⚡ | misago/attachments/tests/test_validate_uploaded_file.py | 2 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | …go/attachments/tests/test_handle_attachments_upload.py | 2 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | misago/attachments/tests/test_store_uploaded_file.py | 4 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | …chments/tests/test_validate_uploaded_file_extension.py | 2 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | misago/posting/validators.py | 3 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | misago/posting/floodcontrol.py | 3 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | misago/posting/formsets/formset.py | 3 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL⚡ | misago/posting/tests/conftest.py | 2 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL⚡ | misago/posting/tests/test_validate_flood_control.py | 1 | from django.core.exceptions import ValidationError | CODE |
| 20 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | manage.py | 15 | CODE | |
| LOW | …dev_site_fixture/management/commands/loaddevfixture.py | 19 | CODE | |
| LOW | …apshots_plugin/management/commands/snapshotallposts.py | 1 | CODE | |
| LOW | …s_plugin/management/commands/deleteallpostsnapshots.py | 1 | CODE | |
| LOW | …napshots_plugin/management/commands/restoreallposts.py | 1 | CODE | |
| LOW | …nifest-plugin/invalid_manifest_plugin/misago_plugin.py | 1 | CODE | |
| LOW | devproject/__init__.py | 1 | CODE | |
| LOW | devproject/settings.py | 17 | CODE | |
| LOW | devproject/test_settings.py | 1 | CODE | |
| LOW | misago/conftest.py | 26 | CODE | |
| LOW | misago/conftest.py | 34 | CODE | |
| LOW | misago/conftest.py | 35 | CODE | |
| LOW | misago/conftest.py | 36 | CODE | |
| LOW | misago/conftest.py | 37 | CODE | |
| LOW | misago/conftest.py | 38 | CODE | |
| LOW | misago/conftest.py | 39 | CODE | |
| LOW | misago/conftest.py | 40 | CODE | |
| LOW | misago/conftest.py | 42 | CODE | |
| LOW | misago/metadata.py | 6 | CODE | |
| LOW | misago/__init__.py | 1 | CODE | |
| LOW | misago/__init__.py | 1 | CODE | |
| LOW | misago/middleware/privatethreads.py | 12 | CODE | |
| LOW | misago/forms/formset.py | 1 | CODE | |
| LOW | misago/forms/tests/test_list_field.py | 3 | CODE | |
| LOW | misago/core/exceptions.py | 2 | CODE | |
| LOW | misago/core/testproject/urlswitherrorhandlers.py | 1 | CODE | |
| LOW | misago/core/tests/test_utils.py | 5 | CODE | |
| LOW | misago/formats/daterelative.py | 2 | CODE | |
| LOW | misago/readtracker/readtime.py | 9 | CODE | |
| LOW | misago/readtracker/apps.py | 10 | CODE | |
| LOW | misago/readtracker/tracker.py | 14 | CODE | |
| LOW | misago/test/__init__.py | 1 | CODE | |
| LOW | misago/test/__init__.py | 1 | CODE | |
| LOW | misago/test/__init__.py | 1 | CODE | |
| LOW | misago/test/__init__.py | 1 | CODE | |
| LOW | misago/test/__init__.py | 1 | CODE | |
| LOW | misago/test/__init__.py | 1 | CODE | |
| LOW | misago/test/__init__.py | 1 | CODE | |
| LOW | misago/test/__init__.py | 1 | CODE | |
| LOW | misago/test/__init__.py | 11 | CODE | |
| LOW | misago/test/__init__.py | 12 | CODE | |
| LOW | misago/test/__init__.py | 13 | CODE | |
| LOW | misago/test/__init__.py | 14 | CODE | |
| LOW | misago/test/__init__.py | 14 | CODE | |
| LOW | misago/test/__init__.py | 14 | CODE | |
| LOW | misago/test/__init__.py | 14 | CODE | |
| LOW | misago/test/__init__.py | 20 | CODE | |
| LOW | misago/apiv2/pagination/__init__.py | 1 | CODE | |
| LOW | misago/apiv2/pagination/__init__.py | 1 | CODE | |
| LOW | misago/apiv2/pagination/__init__.py | 1 | CODE | |
| LOW | misago/likes/postfeed.py | 18 | CODE | |
| LOW | misago/likes/like.py | 13 | CODE | |
| LOW | misago/likes/views.py | 8 | CODE | |
| LOW | misago/likes/tests/test_synchronizepostlikes.py | 3 | CODE | |
| LOW | …sago/likes/management/commands/synchronizepostlikes.py | 3 | CODE | |
| LOW | misago/likes/hooks/like_post.py | 10 | CODE | |
| LOW | misago/likes/hooks/remove_post_like.py | 1 | CODE | |
| LOW | misago/likes/hooks/remove_post_like.py | 7 | CODE | |
| LOW | misago/likes/hooks/remove_post_like.py | 10 | CODE | |
| LOW | misago/likes/hooks/__init__.py | 1 | CODE | |
| 675 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | misago/solutions/hooks/clear_thread_solution.py | 0 | a function implemented by a plugin that can be registered in this hook. # arguments ## `action: synchronizecategoryhooka | STRING |
| HIGH | misago/solutions/hooks/select_thread_solution.py | 0 | a function implemented by a plugin that can be registered in this hook. # arguments ## `action: synchronizecategoryhooka | STRING |
| HIGH | misago/solutions/hooks/unlock_thread_solution.py | 0 | a function implemented by a plugin that can be registered in this hook. # arguments ## `action: synchronizecategoryhooka | STRING |
| HIGH | misago/solutions/hooks/lock_thread_solution.py | 0 | a function implemented by a plugin that can be registered in this hook. # arguments ## `action: synchronizecategoryhooka | STRING |
| HIGH | misago/threads/hooks/synchronize_thread.py | 0 | a function implemented by a plugin that can be registered in this hook. # arguments ## `action: synchronizecategoryhooka | STRING |
| HIGH | misago/categories/hooks/synchronize_category.py | 0 | a function implemented by a plugin that can be registered in this hook. # arguments ## `action: synchronizecategoryhooka | STRING |
| HIGH | misago/permissions/hooks/get_threads_category_query.py | 0 | misago function used to get the name of the predefined database `where` clause (represented as a `q` object instance) to | STRING |
| HIGH | …permissions/hooks/get_threads_pinned_category_query.py | 0 | misago function used to get the name of the predefined database `where` clause (represented as a `q` object instance) to | STRING |
| HIGH | misago/permissions/hooks/get_category_threads_query.py | 0 | misago function used to get the name of the predefined database `where` clause (represented as a `q` object instance) to | STRING |
| HIGH | misago/permissions/hooks/get_threads_category_query.py | 0 | a function implemented by a plugin that can be registered in this hook. # arguments ## `action: getcategorythreadsqueryh | STRING |
| HIGH | …permissions/hooks/get_threads_pinned_category_query.py | 0 | a function implemented by a plugin that can be registered in this hook. # arguments ## `action: getcategorythreadsqueryh | STRING |
| HIGH | misago/permissions/hooks/get_category_threads_query.py | 0 | a function implemented by a plugin that can be registered in this hook. # arguments ## `action: getcategorythreadsqueryh | STRING |
| HIGH | …ermissions/hooks/check_restore_post_edit_permission.py | 0 | misago function used to check if a user has permission to hide a post edit. raises django's `permissiondenied` if they d | STRING |
| HIGH | …permissions/hooks/check_unhide_post_edit_permission.py | 0 | misago function used to check if a user has permission to hide a post edit. raises django's `permissiondenied` if they d | STRING |
| HIGH | …permissions/hooks/check_delete_post_edit_permission.py | 0 | misago function used to check if a user has permission to hide a post edit. raises django's `permissiondenied` if they d | STRING |
| HIGH | …o/permissions/hooks/check_hide_post_edit_permission.py | 0 | misago function used to check if a user has permission to hide a post edit. raises django's `permissiondenied` if they d | STRING |
| HIGH | …ermissions/hooks/check_restore_post_edit_permission.py | 0 | a function implemented by a plugin that can be registered in this hook. # arguments ## `action: checkaccesscategorypermi | STRING |
| HIGH | …ssions/hooks/check_clear_thread_solution_permission.py | 0 | a function implemented by a plugin that can be registered in this hook. # arguments ## `action: checkaccesscategorypermi | STRING |
| HIGH | …sago/permissions/hooks/check_access_post_permission.py | 0 | a function implemented by a plugin that can be registered in this hook. # arguments ## `action: checkaccesscategorypermi | STRING |
| HIGH | …s/hooks/check_add_private_thread_members_permission.py | 0 | a function implemented by a plugin that can be registered in this hook. # arguments ## `action: checkaccesscategorypermi | STRING |
| HIGH | …sions/hooks/check_select_thread_solution_permission.py | 0 | a function implemented by a plugin that can be registered in this hook. # arguments ## `action: checkaccesscategorypermi | STRING |
| HIGH | …issions/hooks/check_reply_private_thread_permission.py | 0 | a function implemented by a plugin that can be registered in this hook. # arguments ## `action: checkaccesscategorypermi | STRING |
| HIGH | …permissions/hooks/check_unhide_post_edit_permission.py | 0 | a function implemented by a plugin that can be registered in this hook. # arguments ## `action: checkaccesscategorypermi | STRING |
| HIGH | …ssions/hooks/check_see_post_edit_history_permission.py | 0 | a function implemented by a plugin that can be registered in this hook. # arguments ## `action: checkaccesscategorypermi | STRING |
| HIGH | …ssions/hooks/check_locked_private_thread_permission.py | 0 | a function implemented by a plugin that can be registered in this hook. # arguments ## `action: checkaccesscategorypermi | STRING |
| HIGH | …sago/permissions/hooks/check_edit_thread_permission.py | 0 | a function implemented by a plugin that can be registered in this hook. # arguments ## `action: checkaccesscategorypermi | STRING |
| HIGH | …sago/permissions/hooks/check_unlike_post_permission.py | 0 | a function implemented by a plugin that can be registered in this hook. # arguments ## `action: checkaccesscategorypermi | STRING |
| HIGH | misago/permissions/hooks/check_see_thread_permission.py | 0 | a function implemented by a plugin that can be registered in this hook. # arguments ## `action: checkaccesscategorypermi | STRING |
| HIGH | …permissions/hooks/check_edit_thread_poll_permission.py | 0 | a function implemented by a plugin that can be registered in this hook. # arguments ## `action: checkaccesscategorypermi | STRING |
| HIGH | …permissions/hooks/check_delete_post_edit_permission.py | 0 | a function implemented by a plugin that can be registered in this hook. # arguments ## `action: checkaccesscategorypermi | STRING |
| HIGH | …o/permissions/hooks/check_hide_post_edit_permission.py | 0 | a function implemented by a plugin that can be registered in this hook. # arguments ## `action: checkaccesscategorypermi | STRING |
| HIGH | …ago/permissions/hooks/check_start_thread_permission.py | 0 | a function implemented by a plugin that can be registered in this hook. # arguments ## `action: checkaccesscategorypermi | STRING |
| HIGH | misago/permissions/hooks/check_start_poll_permission.py | 0 | a function implemented by a plugin that can be registered in this hook. # arguments ## `action: checkaccesscategorypermi | STRING |
| HIGH | misago/permissions/hooks/check_like_post_permission.py | 0 | a function implemented by a plugin that can be registered in this hook. # arguments ## `action: checkaccesscategorypermi | STRING |
| HIGH | …/permissions/hooks/check_access_category_permission.py | 0 | a function implemented by a plugin that can be registered in this hook. # arguments ## `action: checkaccesscategorypermi | STRING |
| HIGH | …missions/hooks/check_vote_in_thread_poll_permission.py | 0 | a function implemented by a plugin that can be registered in this hook. # arguments ## `action: checkaccesscategorypermi | STRING |
| HIGH | …sions/hooks/check_unlock_thread_solution_permission.py | 0 | a function implemented by a plugin that can be registered in this hook. # arguments ## `action: checkaccesscategorypermi | STRING |
| HIGH | …missions/hooks/check_edit_private_thread_permission.py | 0 | a function implemented by a plugin that can be registered in this hook. # arguments ## `action: checkaccesscategorypermi | STRING |
| HIGH | …permissions/hooks/check_edit_thread_post_permission.py | 0 | a function implemented by a plugin that can be registered in this hook. # arguments ## `action: checkaccesscategorypermi | STRING |
| HIGH | …go/permissions/hooks/check_access_thread_permission.py | 0 | a function implemented by a plugin that can be registered in this hook. # arguments ## `action: checkaccesscategorypermi | STRING |
| HIGH | …ago/permissions/hooks/check_reply_thread_permission.py | 0 | a function implemented by a plugin that can be registered in this hook. # arguments ## `action: checkaccesscategorypermi | STRING |
| HIGH | …o/permissions/hooks/check_see_post_likes_permission.py | 0 | a function implemented by a plugin that can be registered in this hook. # arguments ## `action: checkaccesscategorypermi | STRING |
| HIGH | …rmissions/hooks/check_delete_thread_poll_permission.py | 0 | a function implemented by a plugin that can be registered in this hook. # arguments ## `action: checkaccesscategorypermi | STRING |
| HIGH | …ermissions/hooks/check_close_thread_poll_permission.py | 0 | a function implemented by a plugin that can be registered in this hook. # arguments ## `action: checkaccesscategorypermi | STRING |
| HIGH | …go/permissions/hooks/check_locked_thread_permission.py | 0 | a function implemented by a plugin that can be registered in this hook. # arguments ## `action: checkaccesscategorypermi | STRING |
| HIGH | …/permissions/hooks/check_see_thread_post_permission.py | 0 | a function implemented by a plugin that can be registered in this hook. # arguments ## `action: checkaccesscategorypermi | STRING |
| HIGH | …ons/hooks/check_edit_private_thread_post_permission.py | 0 | a function implemented by a plugin that can be registered in this hook. # arguments ## `action: checkaccesscategorypermi | STRING |
| HIGH | …ermissions/hooks/check_start_thread_poll_permission.py | 0 | a function implemented by a plugin that can be registered in this hook. # arguments ## `action: checkaccesscategorypermi | STRING |
| HIGH | …sions/hooks/check_change_thread_solution_permission.py | 0 | a function implemented by a plugin that can be registered in this hook. # arguments ## `action: checkaccesscategorypermi | STRING |
| HIGH | …issions/hooks/check_lock_thread_solution_permission.py | 0 | a function implemented by a plugin that can be registered in this hook. # arguments ## `action: checkaccesscategorypermi | STRING |
| HIGH | …permissions/hooks/check_open_thread_poll_permission.py | 0 | a function implemented by a plugin that can be registered in this hook. # arguments ## `action: checkaccesscategorypermi | STRING |
| HIGH | …ssions/hooks/check_clear_thread_solution_permission.py | 0 | misago function used to check whether the user has permission to lock the thread’s selected solution. raises `permission | STRING |
| HIGH | …sions/hooks/check_unlock_thread_solution_permission.py | 0 | misago function used to check whether the user has permission to lock the thread’s selected solution. raises `permission | STRING |
| HIGH | …issions/hooks/check_lock_thread_solution_permission.py | 0 | misago function used to check whether the user has permission to lock the thread’s selected solution. raises `permission | STRING |
| HIGH | …sago/permissions/hooks/check_access_post_permission.py | 0 | misago function used to check if a user has permission to access a thread of any type (threads, private threads, or plug | STRING |
| HIGH | …/permissions/hooks/check_access_category_permission.py | 0 | misago function used to check if a user has permission to access a thread of any type (threads, private threads, or plug | STRING |
| HIGH | …go/permissions/hooks/check_access_thread_permission.py | 0 | misago function used to check if a user has permission to access a thread of any type (threads, private threads, or plug | STRING |
| HIGH | …issions/hooks/check_reply_private_thread_permission.py | 0 | misago function used to check if the user has permission to edit a post in a private thread. it raises django's `permiss | STRING |
| HIGH | …sago/permissions/hooks/check_edit_thread_permission.py | 0 | misago function used to check if the user has permission to edit a post in a private thread. it raises django's `permiss | STRING |
| HIGH | misago/permissions/hooks/check_see_thread_permission.py | 0 | misago function used to check if the user has permission to edit a post in a private thread. it raises django's `permiss | STRING |
| 73 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | misago/core/templatetags/misago_withcontext.py | 33 | with context.push(**extra_context): | CODE |
| HIGH | misago/plugins/outlets.py | 99 | with context.push(**new_context): | CODE |
| HIGH⚡ | misago/parser/plaintext.py | 127 | state.push(f"{info}, {syntax}:\n{content}", hardbreak=True) | CODE |
| HIGH⚡ | misago/parser/plaintext.py | 129 | state.push(f"{info or syntax}:\n{content}", hardbreak=True) | CODE |
| HIGH⚡ | misago/parser/plaintext.py | 131 | state.push(content, hardbreak=True) | CODE |
| HIGH⚡ | misago/parser/plaintext.py | 377 | state.push(token.attrs["src"]) | CODE |
| HIGH⚡ | misago/parser/plaintext.py | 383 | state.push(f" ({alt}, {title})") | CODE |
| HIGH⚡ | misago/parser/plaintext.py | 385 | state.push(f" ({alt})") | CODE |
| HIGH⚡ | misago/parser/plaintext.py | 410 | state.push(state.renderer.render(tokens[1:-1])) | CODE |
| HIGH⚡ | misago/parser/plaintext.py | 420 | state.push("\n") | CODE |
| HIGH⚡ | misago/parser/plaintext.py | 430 | state.push(token.content) | CODE |
| HIGH | misago/parser/plaintext.py | 111 | state.push(state.renderer.render(tokens[1:-1]), hardbreak=True) | CODE |
| HIGH | misago/parser/plaintext.py | 160 | state.push(prefix + state.renderer.render(tokens[1:-1]), hardbreak=True) | CODE |
| HIGH | misago/parser/plaintext.py | 179 | state.push(prefix + state.renderer.render(tokens[1:-1]), hardbreak=True) | CODE |
| HIGH | misago/parser/plaintext.py | 198 | state.push(content) | CODE |
| HIGH | misago/parser/plaintext.py | 216 | state.push(content) | CODE |
| HIGH | misago/parser/plaintext.py | 302 | state.push("\n".join(table_rows), hardbreak=True) | CODE |
| HIGH | misago/parser/plaintext.py | 313 | state.push(name, hardbreak=True) | CODE |
| HIGH | misago/parser/plaintext.py | 326 | state.push(state.renderer.render(tokens[1:-1]), hardbreak=True) | CODE |
| HIGH | misago/parser/plaintext.py | 337 | state.push(state.renderer.render(token.children)) | CODE |
| HIGH | misago/parser/plaintext.py | 347 | state.push(token.content) | CODE |
| HIGH | misago/parser/plaintext.py | 362 | state.push(url) | CODE |
| HIGH | misago/parser/plaintext.py | 366 | state.push(f" ({content})") | CODE |
| HIGH | misago/parser/plaintext.py | 396 | state.push(token.attrs["href"]) | CODE |
| HIGH⚡ | misago/parser/bbcode.py | 79 | token = state.push("paragraph_open", "p", 1) | CODE |
| HIGH⚡ | misago/parser/bbcode.py | 82 | token = state.push("inline", "", 0) | CODE |
| HIGH⚡ | misago/parser/bbcode.py | 87 | token = state.push("paragraph_close", "p", -1) | CODE |
| HIGH | misago/parser/bbcode.py | 385 | token = state.push(f"{self.name}_open", self.element, 1) | CODE |
| HIGH | misago/parser/bbcode.py | 399 | token = state.push(f"{self.name}_close", self.element, -1) | CODE |
| HIGH | misago/parser/bbcode.py | 406 | token = state.push(self.name, self.element, 0) | CODE |
| HIGH | misago/parser/plugins/hrbbcode.py | 39 | token = state.push("hr_bbcode", "hr", 0) | CODE |
| HIGH | misago/parser/plugins/fence.py | 127 | token = state.push("fence", "code", 0) | CODE |
| HIGH | misago/parser/plugins/attachment.py | 8 | md.inline.ruler.push("attachment", attachment_rule) | CODE |
| HIGH | misago/parser/plugins/attachment.py | 37 | token = state.push("attachment", "misago-attachment", 0) | CODE |
| HIGH | misago/parser/plugins/urlbbcode.py | 81 | token = state.push("link_open", "a", 1) | CODE |
| HIGH | misago/parser/plugins/urlbbcode.py | 95 | token = state.push("text", "", 0) | CODE |
| HIGH | misago/parser/plugins/urlbbcode.py | 98 | token = state.push("link_close", "a", -1) | CODE |
| HIGH⚡ | misago/parser/plugins/linkify.py | 79 | token = state.push("link_open", "a", 1) | CODE |
| HIGH⚡ | misago/parser/plugins/linkify.py | 84 | token = state.push("text", "", 0) | CODE |
| HIGH⚡ | misago/parser/plugins/linkify.py | 87 | token = state.push("link_close", "a", -1) | CODE |
| HIGH | misago/parser/plugins/imgbbcode.py | 8 | md.inline.ruler.push("img_bbcode", img_bbcode_rule) | CODE |
| HIGH | misago/parser/plugins/imgbbcode.py | 79 | token = state.push("image", "img", 0) | CODE |
| HIGH | misago/parser/plugins/formattingbbcode.py | 14 | md.inline.ruler.push( | CODE |
| HIGH | misago/parser/plugins/formattingbbcode.py | 67 | token = state.push(name + "_bbcode_open", markup, 1) | CODE |
| HIGH | misago/parser/plugins/formattingbbcode.py | 71 | token = state.push(name + "_bbcode_close", markup, -1) | CODE |
| HIGH | misago/parser/plugins/mention.py | 10 | md.inline.ruler.push("mention", mention_rule) | CODE |
| HIGH | misago/parser/plugins/mention.py | 37 | token = state.push("mention", "misago-mention", 0) | CODE |
| HIGH | misago/parser/plugins/shortimage.py | 106 | token = state.push("image", "img", 0) | CODE |
| HIGH | misago/parser/hooks/render_tokens_to_plaintext.py | 98 | state.push(tokens[idx].content) | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | misago/likes/hooks/like_post.py | 39 | # Return value | STRING |
| LOW | misago/likes/hooks/like_post.py | 85 | # Return value | STRING |
| LOW | misago/likes/hooks/remove_post_like.py | 38 | ## Return value | STRING |
| LOW | misago/likes/hooks/remove_post_like.py | 83 | ## Return value | STRING |
| LOW | misago/likes/hooks/get_post_feed_post_likes_data.py | 42 | ## Return value | STRING |
| LOW | misago/likes/hooks/get_post_feed_post_likes_data.py | 97 | ## Return value | STRING |
| LOW | misago/context_processors/hooks/context_processor.py | 19 | # Return value | STRING |
| LOW | misago/context_processors/hooks/context_processor.py | 63 | # Return value | STRING |
| LOW | …o/privatethreads/hooks/remove_private_thread_member.py | 36 | # Return value | STRING |
| LOW | …o/privatethreads/hooks/remove_private_thread_member.py | 80 | # Return value | STRING |
| LOW | …rivatethreads/hooks/get_private_threads_breadcrumbs.py | 18 | # Return value | STRING |
| LOW | …rivatethreads/hooks/get_private_threads_breadcrumbs.py | 43 | # Return value | STRING |
| LOW | …privatethreads/hooks/get_private_thread_breadcrumbs.py | 23 | # Return value | STRING |
| LOW | …privatethreads/hooks/get_private_thread_breadcrumbs.py | 56 | # Return value | STRING |
| LOW | misago/privatethreads/hooks/set_private_thread_owner.py | 30 | # Return value | STRING |
| LOW | misago/privatethreads/hooks/set_private_thread_owner.py | 68 | # Return value | STRING |
| LOW | misago/oauth2/hooks/filter_user_data.py | 38 | # Return value | STRING |
| LOW | misago/oauth2/hooks/filter_user_data.py | 95 | # Return value | STRING |
| LOW | misago/oauth2/hooks/validate_user_data.py | 46 | # Return value | STRING |
| LOW | misago/oauth2/hooks/validate_user_data.py | 112 | # Return value | STRING |
| LOW | misago/polls/hooks/close_poll.py | 30 | # Return value | STRING |
| LOW | misago/polls/hooks/close_poll.py | 66 | # Return value | STRING |
| LOW | misago/polls/hooks/close_thread_poll.py | 37 | # Return value | STRING |
| LOW | misago/polls/hooks/close_thread_poll.py | 80 | # Return value | STRING |
| LOW | misago/polls/hooks/save_thread_poll.py | 38 | # Return value | STRING |
| LOW | misago/polls/hooks/save_thread_poll.py | 81 | # Return value | STRING |
| LOW | misago/polls/hooks/open_thread_poll.py | 37 | # Return value | STRING |
| LOW | misago/polls/hooks/open_thread_poll.py | 80 | # Return value | STRING |
| LOW | misago/polls/hooks/delete_thread_poll.py | 37 | # Return value | STRING |
| LOW | misago/polls/hooks/delete_thread_poll.py | 80 | # Return value | STRING |
| LOW | misago/polls/hooks/open_poll.py | 30 | # Return value | STRING |
| LOW | misago/polls/hooks/open_poll.py | 66 | # Return value | STRING |
| LOW | misago/parser/highlighter.py | 18 | # Check if lexer exists | COMMENT |
| LOW | misago/parser/hooks/replace_rich_text_tokens.py | 32 | # Return value | STRING |
| LOW | misago/parser/hooks/replace_rich_text_tokens.py | 75 | # Return value | STRING |
| LOW | misago/parser/hooks/shorten_url.py | 17 | # Return value | STRING |
| LOW | misago/parser/hooks/shorten_url.py | 42 | # Return value | STRING |
| LOW | misago/parser/hooks/create_parser.py | 39 | # Return value | STRING |
| LOW | misago/parser/hooks/create_parser.py | 91 | # Return value | STRING |
| LOW | misago/parser/hooks/highlight_syntax.py | 20 | # Return value | STRING |
| LOW | misago/parser/hooks/highlight_syntax.py | 48 | # Return value | STRING |
| LOW | misago/parser/hooks/render_tokens_to_plaintext.py | 26 | # Return value | STRING |
| LOW | misago/parser/hooks/render_tokens_to_plaintext.py | 58 | # Return value | STRING |
| LOW | misago/parser/hooks/tokenize.py | 28 | # Return value | STRING |
| LOW | misago/parser/hooks/tokenize.py | 66 | # Return value | STRING |
| LOW | misago/parser/hooks/get_tokens_metadata.py | 18 | # Return value | STRING |
| LOW | misago/parser/hooks/get_tokens_metadata.py | 42 | # Return value | STRING |
| LOW | misago/permissions/hooks/get_threads_category_query.py | 32 | # Return value | STRING |
| LOW | misago/permissions/hooks/get_threads_category_query.py | 68 | # Return value | STRING |
| LOW | …go/permissions/hooks/can_upload_threads_attachments.py | 25 | # Return value | STRING |
| LOW | …go/permissions/hooks/can_upload_threads_attachments.py | 58 | # Return value | STRING |
| LOW | …o/permissions/hooks/build_user_category_permissions.py | 31 | # Return value | STRING |
| LOW | …o/permissions/hooks/build_user_category_permissions.py | 75 | # Return value | STRING |
| LOW | misago/permissions/hooks/get_category_access_level.py | 42 | # Return value | STRING |
| LOW | misago/permissions/hooks/get_category_access_level.py | 76 | # Return value | STRING |
| LOW | misago/permissions/hooks/can_see_post_likes_count.py | 34 | # Return value | STRING |
| LOW | misago/permissions/hooks/can_see_post_likes_count.py | 78 | # Return value | STRING |
| LOW | …permissions/hooks/get_threads_pinned_category_query.py | 32 | # Return value | STRING |
| LOW | …permissions/hooks/get_threads_pinned_category_query.py | 68 | # Return value | STRING |
| LOW | …missions/hooks/filter_private_thread_posts_queryset.py | 31 | ## Return value | STRING |
| 198 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | devproject/__init__.py | 3 | __all__ = ["celery_app"] | CODE |
| LOW | misago/settings.py | 3 | __all__ = [ | CODE |
| LOW⚡ | misago/test/categories.py | 19 | __all__ = ["CategoryRelations", "category_relations_factory"] | CODE |
| LOW | misago/test/posts.py | 15 | __all__ = ["post_factory", "thread_reply_factory"] | CODE |
| LOW | misago/test/__init__.py | 22 | __all__ = [ | CODE |
| LOW | misago/test/threads.py | 27 | __all__ = ["ThreadRelations", "thread_factory", "thread_relations_factory"] | CODE |
| LOW | misago/apiv2/pagination/__init__.py | 3 | __all__ = ["PaginationError", "PaginationResult", "paginate_queryset"] | CODE |
| LOW | misago/likes/hooks/__init__.py | 6 | __all__ = [ | CODE |
| LOW | misago/context_processors/hooks/__init__.py | 3 | __all__ = ["context_processor_hook"] | CODE |
| LOW | misago/privatethreads/hooks/__init__.py | 8 | __all__ = [ | CODE |
| LOW | misago/oauth2/hooks/__init__.py | 4 | __all__ = ["filter_user_data_hook", "validate_user_data_hook"] | CODE |
| LOW | misago/admin/views/generic/__init__.py | 13 | __all__ = [ | CODE |
| LOW | misago/solutions/hooks/__init__.py | 7 | __all__ = [ | CODE |
| LOW | misago/polls/hooks/__init__.py | 12 | __all__ = [ | CODE |
| LOW⚡ | misago/parser/tokenizer.py | 62 | def set_links_rel_external_nofollow_noopener(tokens: list[Token]) -> None: | CODE |
| LOW⚡ | misago/parser/tokenizer.py | 70 | def set_links_target_blank(tokens: list[Token]) -> None: | CODE |
| LOW⚡ | misago/parser/tokenizer.py | 78 | def set_autolinks_attr(tokens: list[Token]) -> None: | CODE |
| LOW⚡ | misago/parser/tokenizer.py | 87 | def set_tables_styles(tokens: list[Token]) -> None: | CODE |
| LOW⚡ | misago/parser/tokenizer.py | 93 | def set_tables_rows_ids(tokens: list[Token]) -> None: | CODE |
| LOW⚡ | misago/parser/tokenizer.py | 102 | def set_tables_cells_cols(tokens: list[Token]) -> None: | CODE |
| LOW | misago/parser/tokenizer.py | 130 | def set_lists_type_metadata(tokens: list[Token]) -> None: | CODE |
| LOW | misago/parser/tokenizer.py | 192 | def set_lists_styles(tokens: list[Token]) -> None: | CODE |
| LOW⚡ | misago/permissions/copy.py | 9 | __all__ = ["copy_category_permissions", "copy_group_permissions"] | CODE |
| LOW⚡ | misago/permissions/attachments.py | 24 | __all__ = [ | CODE |
| LOW | misago/permissions/threads/__init__.py | 20 | __all__ = [ | CODE |
| LOW | misago/permissions/hooks/__init__.py | 127 | __all__ = [ | CODE |
| LOW | misago/threads/prefetch.py | 31 | __all__ = [ | CODE |
| LOW | misago/threads/models/__init__.py | 4 | __all__ = ["Post", "Thread"] | CODE |
| LOW | misago/threads/hooks/__init__.py | 36 | __all__ = [ | CODE |
| LOW | misago/users/groups.py | 17 | __all__ = [ | CODE |
| LOW | misago/users/permissions/delete.py | 13 | __all__ = [ | CODE |
| LOW | misago/users/permissions/moderation.py | 16 | __all__ = [ | CODE |
| LOW | misago/users/permissions/profiles.py | 12 | __all__ = [ | CODE |
| LOW | misago/users/permissions/decorators.py | 4 | __all__ = ["authenticated_only", "anonymous_only"] | CODE |
| LOW | misago/users/serializers/auth.py | 10 | __all__ = ["AuthenticatedUserSerializer", "AnonymousUserSerializer"] | CODE |
| LOW | misago/users/serializers/user.py | 10 | __all__ = ["StatusSerializer", "UserSerializer", "UserCardSerializer"] | CODE |
| LOW | misago/users/serializers/moderation.py | 7 | __all__ = ["ModerateAvatarSerializer"] | CODE |
| LOW | misago/users/serializers/usernamechange.py | 6 | __all__ = ["UsernameChangeSerializer"] | CODE |
| LOW | misago/users/serializers/ban.py | 7 | __all__ = ["BanMessageSerializer", "BanDetailsSerializer"] | CODE |
| LOW | misago/users/serializers/rank.py | 6 | __all__ = ["RankSerializer"] | CODE |
| LOW | misago/users/hooks/__init__.py | 6 | __all__ = [ | CODE |
| LOW | misago/users/profilefields/basefields.py | 7 | __all__ = [ | CODE |
| LOW | misago/users/avatars/__init__.py | 4 | __all__ = [ | CODE |
| LOW | misago/threadevents/hooks/__init__.py | 6 | __all__ = [ | CODE |
| LOW⚡ | misago/attachments/delete.py | 20 | __all__ = [ | CODE |
| LOW⚡ | misago/attachments/storage.py | 10 | __all__ = [ | CODE |
| LOW | misago/attachments/hooks/__init__.py | 12 | __all__ = [ | CODE |
| LOW | misago/categories/delete.py | 22 | __all__ = ["delete_category"] | CODE |
| LOW | misago/categories/components.py | 19 | __all__ = [ | CODE |
| LOW | misago/categories/hooks/__init__.py | 8 | __all__ = [ | CODE |
| LOW | misago/postedits/hooks/__init__.py | 7 | __all__ = [ | CODE |
| LOW | misago/notifications/hooks/__init__.py | 7 | __all__ = [ | CODE |
| LOW | misago/acl/test.py | 6 | __all__ = ["patch_user_acl"] | CODE |
| LOW | misago/posting/validators.py | 21 | __all__ = [ | CODE |
| LOW | misago/posting/forms/__init__.py | 15 | __all__ = [ | CODE |
| LOW | misago/posting/formsets/__init__.py | 25 | __all__ = [ | CODE |
| LOW | misago/posting/state/__init__.py | 24 | __all__ = [ | CODE |
| LOW | misago/posting/hooks/__init__.py | 44 | __all__ = [ | CODE |
| LOW | misago/testutils/__init__.py | 6 | __all__ = [ | CODE |
| LOW | misago/moderation/hooks/__init__.py | 24 | __all__ = [ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | generate_dev_docs.py | 82 | CODE | |
| LOW | generate_dev_docs.py | 256 | CODE | |
| LOW | generate_dev_docs.py | 513 | CODE | |
| LOW | generate_dev_docs.py | 566 | CODE | |
| LOW | generate_dev_docs.py | 618 | CODE | |
| LOW | …st_snapshots_plugin/management/commands/restorepost.py | 19 | CODE | |
| LOW | misago/forms/fields.py | 275 | CODE | |
| LOW | misago/core/page.py | 20 | CODE | |
| LOW | misago/core/exceptionhandler.py | 130 | CODE | |
| LOW | misago/core/tests/test_jsi18n.py | 22 | CODE | |
| LOW | misago/apiv2/notifications/views.py | 14 | CODE | |
| LOW | misago/admin/site.py | 104 | CODE | |
| LOW | misago/admin/attachments/forms.py | 69 | CODE | |
| LOW | misago/admin/views/__init__.py | 26 | CODE | |
| LOW | misago/admin/views/generic/list.py | 262 | CODE | |
| LOW | misago/admin/views/generic/formsbuttons.py | 162 | CODE | |
| LOW | misago/polls/validators.py | 85 | CODE | |
| LOW | misago/parser/plaintext.py | 137 | CODE | |
| LOW | misago/parser/plaintext.py | 221 | CODE | |
| LOW | misago/parser/plaintext.py | 275 | CODE | |
| LOW | misago/parser/tokens.py | 66 | CODE | |
| LOW | misago/parser/tokens.py | 101 | CODE | |
| LOW | misago/parser/tokens.py | 133 | CODE | |
| LOW | misago/parser/tokens.py | 165 | CODE | |
| LOW | misago/parser/tokens.py | 236 | CODE | |
| LOW | misago/parser/tokenizer.py | 62 | CODE | |
| LOW | misago/parser/tokenizer.py | 70 | CODE | |
| LOW | misago/parser/tokenizer.py | 78 | CODE | |
| LOW | misago/parser/tokenizer.py | 429 | CODE | |
| LOW | misago/parser/bbcode.py | 96 | CODE | |
| LOW | misago/parser/bbcode.py | 199 | CODE | |
| LOW | misago/parser/bbcode.py | 246 | CODE | |
| LOW | misago/parser/mentions.py | 28 | CODE | |
| LOW | misago/parser/richtext.py | 63 | CODE | |
| LOW | misago/parser/plugins/formattingbbcode.py | 20 | CODE | |
| LOW | misago/parser/plugins/formattingbbcode.py | 21 | CODE | |
| LOW | misago/markup/bbcode/code.py | 27 | CODE | |
| LOW | misago/threads/postfeed.py | 328 | CODE | |
| LOW | misago/threads/tests/test_thread_posts_paginator.py | 246 | CODE | |
| LOW | misago/users/admin/views/users.py | 123 | CODE | |
| LOW | misago/users/management/commands/createsuperuser.py | 76 | CODE | |
| LOW | misago/users/models/ban.py | 25 | CODE | |
| LOW | misago/users/api/users.py | 202 | CODE | |
| LOW | misago/users/api/mention.py | 12 | CODE | |
| LOW | misago/menus/menu.py | 14 | CODE | |
| LOW | misago/conf/admin/forms/base.py | 17 | CODE | |
| LOW | misago/categories/admin/views/perms.py | 33 | CODE | |
| LOW | …sago/categories/management/commands/prunecategories.py | 20 | CODE | |
| LOW | misago/themes/activetheme.py | 4 | CODE | |
| LOW | misago/postedits/diff.py | 37 | CODE | |
| LOW | misago/postedits/diff.py | 234 | CODE | |
| LOW | misago/acl/admin/test.py | 4 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | misago/static/misago/js/zxcvbn.js | 1 | !function(e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.a | CODE |
| MEDIUM⚡ | misago/static/misago/js/zxcvbn.js | 1 | !function(e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.a | CODE |
| MEDIUM⚡ | misago/static/misago/js/zxcvbn.js | 1 | !function(e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.a | CODE |
| MEDIUM⚡ | misago/static/misago/js/zxcvbn.js | 1 | !function(e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.a | CODE |
| MEDIUM⚡ | misago/static/misago/js/zxcvbn.js | 1 | !function(e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.a | CODE |
| MEDIUM⚡ | misago/static/misago/js/zxcvbn.js | 1 | !function(e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.a | CODE |
| MEDIUM⚡ | misago/static/misago/js/zxcvbn.js | 1 | !function(e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.a | CODE |
| MEDIUM⚡ | misago/static/misago/js/vendor.js | 2 | (self.webpackChunkmisago=self.webpackChunkmisago||[]).push([[736],{14316:function(e,t,n){var r,o;r=[n(19755)],o=function | CODE |
| LOW⚡ | misago/static/misago/js/vendor.js | 2 | (self.webpackChunkmisago=self.webpackChunkmisago||[]).push([[736],{14316:function(e,t,n){var r,o;r=[n(19755)],o=function | CODE |
| MEDIUM⚡ | misago/static/misago/js/vendor.js | 2 | (self.webpackChunkmisago=self.webpackChunkmisago||[]).push([[736],{14316:function(e,t,n){var r,o;r=[n(19755)],o=function | CODE |
| LOW | misago/static/misago/admin/ace-editor/worker-css.js | 1 | "no use strict";!function(e){function t(e,t){var n=e,r="";while(n){var i=t[n];if(typeof i=="string")return i+r;if(i)retu | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | requirements.txt | 1 | # | COMMENT |
| LOW | requirements.txt | 21 | celery[redis]==5.3.6 | COMMENT |
| LOW | requirements.txt | 41 | coverage[toml]==6.5.0 | COMMENT |
| LOW | requirements.txt | 61 | # social-auth-app-django | COMMENT |
| LOW | requirements.txt | 81 | idna==3.6 | COMMENT |
| LOW | requirements.txt | 101 | oauthlib==3.2.2 | COMMENT |
| LOW | requirements.txt | 121 | pyjwt==2.8.0 | COMMENT |
| LOW | requirements.txt | 141 | # freezegun | COMMENT |
| LOW | requirements.txt | 161 | # via social-auth-core | COMMENT |
| LOW | requirements.txt | 181 | # via ariadne | COMMENT |
| LOW | requirements.txt | 201 | # celery | COMMENT |
| LOW | devproject/settings.py | 201 | # with social one, if both have same e-mail address. | COMMENT |
| LOW | misago/parser/plugins/fence.py | 1 | # Copied from with changes | COMMENT |
| LOW | misago/parser/plugins/linkify.py | 1 | # Copied from with changes | COMMENT |
| LOW | misago/parser/plugins/shortimage.py | 1 | # Copied from with changes | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | misago/privatethreads/views/members.py | 216 | def perform_action( | CODE |
| LOW | misago/privatethreads/views/members.py | 254 | def perform_action( | CODE |
| LOW | misago/privatethreads/views/members.py | 286 | def perform_action( | CODE |
| LOW | misago/threadevents/views.py | 83 | def perform_action( | CODE |
| LOW | misago/threadevents/views.py | 94 | def perform_action(self, request: HttpRequest, thread_event: ThreadEvent) -> bool: | CODE |
| LOW | misago/threadevents/views.py | 111 | def perform_action(self, request: HttpRequest, thread_event: ThreadEvent) -> bool: | CODE |
| LOW | misago/threadevents/views.py | 193 | def perform_action(self, request: HttpRequest, thread_event: ThreadEvent): | CODE |
| LOW | misago/postedits/views.py | 390 | def perform_action(self, request: HttpRequest, post_edit: PostEdit) -> HttpResponse: | CODE |
| LOW | misago/postedits/views.py | 446 | def perform_action(self, request, post_edit: PostEdit) -> HttpResponse: | CODE |
| LOW | misago/postedits/views.py | 473 | def perform_action(self, request, post_edit: PostEdit) -> HttpResponse: | CODE |
| LOW | misago/postedits/views.py | 500 | def perform_action(self, request, post_edit: PostEdit) -> HttpResponse: | CODE |
| LOW | misago/postedits/views.py | 529 | def perform_action(self, request, post_edit: PostEdit) -> HttpResponse: | CODE |
| LOW⚡ | misago/acl/tests/test_patching_user_acl.py | 17 | def test_function(): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | misago/core/tests/test_jsi18n.py | 33 | except Exception: | CODE |
| LOW | misago/plugins/metadata.py | 91 | except Exception as exc: | CODE |
| LOW | misago/users/datadownloads/__init__.py | 38 | except Exception as error: | CODE |
| LOW | misago/users/avatars/uploaded.py | 30 | except Exception: | CODE |
| LOW | misago/themes/admin/media.py | 37 | except Exception: | CODE |
| MEDIUM | misago/themes/admin/media.py | 34 | def save_image(theme, image): | CODE |
| LOW | misago/themes/admin/importer.py | 47 | except Exception: | CODE |
| LOW | misago/notifications/tasks.py | 54 | except Exception: | CODE |
| LOW | misago/notifications/tasks.py | 88 | except Exception: | CODE |
| LOW | misago/posting/tasks.py | 25 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | misago/test/posts.py | 20 | CODE | |
| LOW | misago/test/posts.py | 99 | CODE | |
| LOW | misago/test/threads.py | 32 | CODE | |
| LOW | misago/test/polls.py | 25 | CODE | |
| LOW | misago/admin/site.py | 147 | CODE | |
| LOW | misago/postedits/create.py | 18 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | misago/static/misago/js/zxcvbn.js | 1 | !function(e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.a | CODE |
| MEDIUM⚡ | misago/static/misago/js/zxcvbn.js | 1 | !function(e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.a | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | devproject/urls.py | 75 | # If you replace those handlers with custom ones, make sure you decorate them | COMMENT |
| MEDIUM⚡ | misago/static/misago/js/vendor.js | 2 | (self.webpackChunkmisago=self.webpackChunkmisago||[]).push([[736],{14316:function(e,t,n){var r,o;r=[n(19755)],o=function | CODE |
| LOW | misago/static/misago/admin/ace-editor/worker-css.js | 1 | "no use strict";!function(e){function t(e,t){var n=e,r="";while(n){var i=t[n];if(typeof i=="string")return i+r;if(i)retu | CODE |