🧙 Build, run, and manage data pipelines for integrating and transforming data.
This report summarizes scanner evidence for mage-ai/mage-ai, a Python project with 8,827 GitHub stars. SynthScan examined 556,116 lines of code across 5092 source files, recording 4529 pattern matches distributed across 27 syntactic categories. The legacy adjusted pattern signal is 12.2 (Moderate pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 2987 finding(s).
Are imports declared and package/API names verified? 420 finding(s).
Are wrappers, guards, and repeated structures necessary? 3028 finding(s).
Which changes need focused human review? 4529 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 4529 distinct pattern matches across 27 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | mage_ai/settings/server.py | 79 | def is_disable_pipeline_edit_access( | CODE |
| LOW | mage_ai/settings/repo.py | 30 | def base_repo_path_directory_name() -> str: | CODE |
| LOW⚡ | mage_ai/settings/platform/constants.py | 10 | def platform_settings_full_path() -> str: | CODE |
| LOW⚡ | mage_ai/settings/platform/constants.py | 14 | def set_project_platform_activated_flag(): | CODE |
| LOW⚡ | mage_ai/settings/platform/constants.py | 24 | def project_platform_activated() -> bool: | CODE |
| LOW⚡ | mage_ai/settings/platform/constants.py | 28 | def user_project_platform_activated() -> bool: | CODE |
| LOW | mage_ai/settings/platform/__init__.py | 69 | def build_repo_path_for_all_projects( | CODE |
| LOW | mage_ai/settings/platform/__init__.py | 100 | def repo_path_from_database_query_to_project_repo_path( | CODE |
| LOW | mage_ai/settings/platform/__init__.py | 139 | def get_repo_paths_for_file_path( | CODE |
| LOW | mage_ai/settings/platform/__init__.py | 215 | def build_active_project_repo_path( | CODE |
| LOW | mage_ai/settings/platform/__init__.py | 370 | def project_platform_settings( | CODE |
| LOW | mage_ai/settings/platform/__init__.py | 417 | def __combined_platform_settings(repo_path: str = None, mage_projects_only: bool = False) -> Dict: | CODE |
| LOW | mage_ai/settings/platform/__init__.py | 460 | def __get_projects_of_any_type() -> Dict: | CODE |
| LOW | mage_ai/settings/platform/__init__.py | 534 | def local_platform_settings_full_path(repo_path: str = None) -> str: | CODE |
| LOW | mage_ai/settings/platform/__init__.py | 541 | def __local_platform_settings(repo_path: str = None) -> Dict: | CODE |
| LOW | mage_ai/settings/platform/__init__.py | 560 | def __update_local_platform_settings( | CODE |
| LOW | mage_ai/settings/platform/utils.py | 17 | def get_pipeline_from_platform( | CODE |
| LOW | mage_ai/settings/platform/utils.py | 49 | async def get_pipeline_from_platform_async( | CODE |
| LOW | mage_ai/settings/platform/utils.py | 142 | def full_paths_for_all_projects( | CODE |
| LOW | mage_ai/kernels/magic/kernels/models.py | 137 | async def __cleanup_resources_async(self) -> None: | CODE |
| LOW | mage_ai/kernels/magic/threads/reader.py | 11 | def read_queue_and_forward_results(read_queue: Queue, write_queue: FasterQueue, stop_event: Event): | CODE |
| LOW | mage_ai/kernels/magic/queues/manager.py | 24 | def get_execution_result_queue(uuid: Optional[str] = None) -> FasterQueue: | CODE |
| LOW | mage_ai/kernels/magic/queues/manager.py | 34 | async def get_execution_result_queue_async() -> Dict[str, FasterQueue]: | CODE |
| LOW⚡ | mage_ai/kernels/default/utils.py | 28 | def is_cmdline_contains_ipykernel(cmdline, search_term='ipykernel_launcher'): | CODE |
| LOW⚡ | mage_ai/kernels/default/utils.py | 35 | async def find_ipykernel_launchers_info_async(timeout: int = 5) -> List[Dict]: | CODE |
| LOW | mage_ai/kernels/default/utils.py | 48 | def find_ipykernel_launchers_info(check_active_status: bool = False) -> List[Dict]: | CODE |
| LOW | mage_ai/autocomplete/utils.py | 84 | async def extract_classes_from_file(file_path: str, cwd: str = None, mode: str = 'r'): | CODE |
| LOW | mage_ai/autocomplete/utils.py | 125 | async def build_file_content_mapping(paths, files): | CODE |
| LOW | mage_ai/cache/file.py | 36 | def initialize_cache_with_settings(self, replace: bool = False) -> "FileCache": | CODE |
| LOW | mage_ai/cache/pipeline.py | 162 | async def initialize_cache_for_models(self, pipelines: List[Dict] = None) -> None: | CODE |
| LOW | mage_ai/cache/block.py | 101 | def get_pipeline_count_mapping(self) -> Dict: | CODE |
| LOW | mage_ai/cache/block.py | 240 | async def initialize_cache_for_all_pipelines( | CODE |
| LOW | mage_ai/cache/tag.py | 28 | def get_pipeline_uuids_with_tags(self, tags: List): | CODE |
| LOW | mage_ai/cache/tag.py | 39 | def get_all_pipeline_uuids_with_tags(self): | CODE |
| LOW | mage_ai/cache/tag.py | 152 | async def initialize_cache_for_all_objects(self) -> None: | CODE |
| LOW | mage_ai/cache/dbt/cache.py | 63 | async def initialize_cache_for_models_async( | CODE |
| LOW | mage_ai/cache/dbt/cache.py | 78 | def initialize_cache_for_models( | CODE |
| LOW | mage_ai/cache/dbt/utils.py | 17 | def absolute_project_file_path(relative_project_path: str) -> str: | CODE |
| LOW | mage_ai/cache/dbt/utils.py | 164 | def get_project_path_from_file_path( | CODE |
| LOW | mage_ai/cache/block_action_object/__init__.py | 47 | def parse_block_file_absolute_path(block_file_absolute_path: str) -> Dict: | CODE |
| LOW | mage_ai/cache/block_action_object/__init__.py | 112 | def build_key_for_custom_block_template( | CODE |
| LOW | mage_ai/cache/block_action_object/__init__.py | 135 | def build_key_for_mage_template(self, block_action_object: Dict) -> str: | CODE |
| LOW | mage_ai/cache/block_action_object/__init__.py | 216 | def update_custom_block_template( | CODE |
| LOW | mage_ai/cache/block_action_object/__init__.py | 240 | async def initialize_cache_for_all_objects(self, project=None) -> None: | CODE |
| LOW | mage_ai/frontend/oracle/components/Calendar/utils.ts | 5 | export function getDateAndTimeObjFromDatetimeString( | CODE |
| LOW | mage_ai/frontend/tests/pages.spec.ts | 4 | async function navigateToAndWaitTilLoaded(name: string) { | CODE |
| LOW | mage_ai/frontend/utils/useAutoResizer.ts | 122 | function observeThenResizeElements(resizeElements?: ResizableElements) { | CODE |
| LOW | mage_ai/frontend/utils/date.ts | 223 | export function dateFromFromUnixTimestamp( | CODE |
| LOW | mage_ai/frontend/utils/date.ts | 236 | export function dateFormatLongFromUnixTimestamp(text, opts: { withSeconds?: boolean } = {}) { | CODE |
| LOW | mage_ai/frontend/utils/date.ts | 240 | export function isoDateFormatFromDateParts( | CODE |
| LOW | mage_ai/frontend/utils/date.ts | 263 | export function getDatePartsFromUnixTimestamp(timestamp: string | number): { | CODE |
| LOW | mage_ai/frontend/utils/date.ts | 299 | export function getStartDateStringFromPeriod( | CODE |
| LOW | mage_ai/frontend/utils/date.ts | 331 | export function getDayRangeForCurrentMonth() { | CODE |
| LOW | mage_ai/frontend/utils/date.ts | 344 | export function convertToMillisecondsTimestamp(value: number): number { | CODE |
| LOW | mage_ai/frontend/utils/array.ts | 117 | export function sortTuplesArrayByFirstItem(arr, opts: any = {}) { | CODE |
| LOW | mage_ai/frontend/utils/string.ts | 169 | export function capitalizeRemoveUnderscoreLower(word = '') { | CODE |
| LOW | mage_ai/frontend/utils/string.ts | 173 | export function lowercaseRemoveUnderscore(word = '') { | CODE |
| LOW | mage_ai/frontend/utils/string.ts | 210 | export function camelCaseToNormalWithSpaces(camelCaseString: string): string { | CODE |
| LOW | mage_ai/frontend/utils/string.ts | 297 | export function changeDecimalToWholeNumber(number, floatingPoints = 2) { | CODE |
| LOW | mage_ai/frontend/utils/string.ts | 314 | export function randomSimpleHashGenerator() { | CODE |
| 1693 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | mage_ai/settings/repo.py | 222 | except Exception: | CODE |
| HIGH | mage_ai/settings/platform/__init__.py | 186 | except ValueError: | CODE |
| HIGH | mage_ai/settings/platform/__init__.py | 203 | except ValueError: | CODE |
| HIGH | mage_ai/settings/models/configuration_option.py | 114 | except ValueError: | CODE |
| HIGH | mage_ai/kernels/models.py | 80 | except Exception: | CODE |
| HIGH | mage_ai/kernels/magic/kernels/models.py | 170 | except Empty: | CODE |
| HIGH | mage_ai/kernels/magic/kernels/models.py | 182 | except Empty: | CODE |
| HIGH | mage_ai/kernels/magic/threads/reader.py | 32 | except Empty: | CODE |
| HIGH | mage_ai/kernels/default/models.py | 88 | except Exception: | CODE |
| HIGH | mage_ai/kernels/default/utils.py | 64 | except (psutil.NoSuchProcess, psutil.AccessDenied, psutil.ZombieProcess): | CODE |
| HIGH | mage_ai/io/mssql.py | 277 | except AttributeError: | CODE |
| HIGH | mage_ai/io/mssql.py | 284 | except AttributeError: | CODE |
| HIGH | mage_ai/io/bigquery.py | 497 | except Exception: | CODE |
| HIGH | mage_ai/io/oracledb.py | 150 | except AttributeError: | CODE |
| HIGH | mage_ai/io/oracledb.py | 157 | except AttributeError: | CODE |
| HIGH | mage_ai/io/postgres.py | 257 | except AttributeError: | CODE |
| HIGH | mage_ai/io/postgres.py | 264 | except AttributeError: | CODE |
| HIGH | mage_ai/io/duckdb.py | 107 | except AttributeError: | CODE |
| HIGH | mage_ai/io/duckdb.py | 114 | except AttributeError: | CODE |
| HIGH | mage_ai/io/mysql.py | 189 | except AttributeError: | CODE |
| HIGH | mage_ai/io/mysql.py | 196 | except AttributeError: | CODE |
| HIGH | mage_ai/tests/base_test.py | 83 | except Exception: | CODE |
| HIGH | mage_ai/tests/base_test.py | 122 | except Exception: | CODE |
| HIGH | mage_ai/tests/settings/test_platform.py | 72 | except Exception: | CODE |
| HIGH | mage_ai/tests/settings/test_platform.py | 76 | except Exception: | CODE |
| HIGH | …data_preparation/test_repo_manager_project_platform.py | 59 | except Exception: | CODE |
| HIGH | …data_preparation/test_repo_manager_project_platform.py | 66 | except Exception: | CODE |
| HIGH | mage_ai/tests/data_preparation/models/test_file.py | 59 | except FileNotFoundError: | CODE |
| HIGH | mage_ai/tests/data_preparation/models/test_file.py | 63 | except FileNotFoundError: | CODE |
| HIGH | …/tests/data_preparation/storage/shared/test_secrets.py | 116 | except Exception: | CODE |
| HIGH | mage_ai/tests/shared/mixins.py | 410 | except Exception: | CODE |
| HIGH | mage_ai/tests/shared/mixins.py | 414 | except Exception: | CODE |
| HIGH | mage_ai/tests/api/resources/test_base_resource.py | 195 | except Exception: | CODE |
| HIGH | mage_ai/tests/api/resources/test_base_resource.py | 234 | except Exception: | CODE |
| HIGH | mage_ai/tests/api/resources/test_base_resource.py | 120 | except Exception: | CODE |
| HIGH | mage_ai/data_preparation/repo_manager.py | 122 | except Exception: | CODE |
| HIGH | mage_ai/data_preparation/shared/utils.py | 28 | except Exception: | CODE |
| HIGH | mage_ai/data_preparation/shared/utils.py | 34 | except Exception: | CODE |
| HIGH | mage_ai/data_preparation/shared/secrets.py | 152 | except InvalidToken: | CODE |
| HIGH | mage_ai/data_preparation/shared/secrets.py | 182 | except InvalidToken: | CODE |
| HIGH | mage_ai/data_preparation/shared/secrets.py | 198 | except InvalidToken: | CODE |
| HIGH | mage_ai/data_preparation/models/variable.py | 1608 | except ValueError: | CODE |
| HIGH | mage_ai/data_preparation/models/variable.py | 1012 | except Exception: | CODE |
| HIGH | mage_ai/data_preparation/models/variable.py | 1052 | except Exception: | CODE |
| HIGH | mage_ai/data_preparation/models/variable.py | 1393 | except Exception: | CODE |
| HIGH | mage_ai/data_preparation/models/variable.py | 1316 | except Exception: | CODE |
| HIGH | mage_ai/data_preparation/models/pipeline.py | 875 | except Exception: | CODE |
| HIGH | mage_ai/data_preparation/models/pipeline.py | 728 | except Exception: | CODE |
| HIGH | …a_preparation/models/pipelines/integration_pipeline.py | 280 | except json.decoder.JSONDecodeError: | CODE |
| HIGH | mage_ai/data_preparation/models/project/__init__.py | 88 | except Exception: | CODE |
| HIGH | mage_ai/data_preparation/models/block/utils.py | 331 | except Exception: | CODE |
| HIGH | mage_ai/data_preparation/models/block/outputs.py | 328 | except ValueError: | CODE |
| HIGH | mage_ai/data_preparation/models/block/dbt/block_sql.py | 108 | except ValueError: | CODE |
| HIGH | mage_ai/data_preparation/models/block/dbt/block_sql.py | 116 | except ValueError: | CODE |
| HIGH | mage_ai/data_preparation/models/block/dbt/block_yaml.py | 146 | except Exception: | CODE |
| HIGH | mage_ai/data_preparation/models/block/dbt/block.py | 264 | except FileNotFoundError: | CODE |
| HIGH | …/data_preparation/models/block/integration/__init__.py | 325 | except json.decoder.JSONDecodeError: | CODE |
| HIGH | mage_ai/data_preparation/models/block/platform/utils.py | 104 | except ValueError: | CODE |
| HIGH | …ata_preparation/models/block/data_integration/utils.py | 1499 | except json.decoder.JSONDecodeError: | CODE |
| HIGH | …ata_preparation/models/block/data_integration/utils.py | 357 | except json.JSONDecodeError: | CODE |
| 139 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …/monaco-editor/min/vs/basic-languages/python/python.js | 0 | /,"string","@popall"],[/'/,"string"]],enddbldocstring:[[/[^"]+/,"string"],[/\\"/,"string"],[/ | STRING |
| HIGH | …tend_dist/_next/static/chunks/8864.7850fff7eb0aacd7.js | 0 | /,"string","@popall"],[/'/,"string"]],enddbldocstring:[[/[^"]+/,"string"],[/\\"/,"string"],[/ | STRING |
| HIGH | …/monaco-editor/min/vs/basic-languages/python/python.js | 0 | /,"string","@popall"],[/'/,"string"]],enddbldocstring:[[/[^"]+/,"string"],[/\\"/,"string"],[/ | STRING |
| HIGH | …_template/_next/static/chunks/8864.7850fff7eb0aacd7.js | 0 | /,"string","@popall"],[/'/,"string"]],enddbldocstring:[[/[^"]+/,"string"],[/\\"/,"string"],[/ | STRING |
| HIGH | …/monaco-editor/min/vs/basic-languages/python/python.js | 0 | /,"string","@popall"],[/'/,"string"]],enddbldocstring:[[/[^"]+/,"string"],[/\\"/,"string"],[/ | STRING |
| HIGH | …/monaco-editor/min/vs/basic-languages/elixir/elixir.js | 0 | /,{token:"string.delimiter",next:"@doublequotedheredoc"}],[/ | STRING |
| HIGH | …tend_dist/_next/static/chunks/7682.a7f192e7f7048fe9.js | 0 | /,{token:"string.delimiter",next:"@doublequotedheredoc"}],[/ | STRING |
| HIGH | …/monaco-editor/min/vs/basic-languages/elixir/elixir.js | 0 | /,{token:"string.delimiter",next:"@doublequotedheredoc"}],[/ | STRING |
| HIGH | …_template/_next/static/chunks/7682.a7f192e7f7048fe9.js | 0 | /,{token:"string.delimiter",next:"@doublequotedheredoc"}],[/ | STRING |
| HIGH | …/monaco-editor/min/vs/basic-languages/elixir/elixir.js | 0 | /,{token:"string.delimiter",next:"@doublequotedheredoc"}],[/ | STRING |
| HIGH | …/monaco-editor/min/vs/basic-languages/elixir/elixir.js | 0 | /,{token:"string.delimiter",next:"@pop"}],{include:"@stringcontentinterpol"}],singlequotedheredoc:[[/ | STRING |
| HIGH | …tend_dist/_next/static/chunks/7682.a7f192e7f7048fe9.js | 0 | /,{token:"string.delimiter",next:"@pop"}],{include:"@stringcontentinterpol"}],singlequotedheredoc:[[/ | STRING |
| HIGH | …/monaco-editor/min/vs/basic-languages/elixir/elixir.js | 0 | /,{token:"string.delimiter",next:"@pop"}],{include:"@stringcontentinterpol"}],singlequotedheredoc:[[/ | STRING |
| HIGH | …_template/_next/static/chunks/7682.a7f192e7f7048fe9.js | 0 | /,{token:"string.delimiter",next:"@pop"}],{include:"@stringcontentinterpol"}],singlequotedheredoc:[[/ | STRING |
| HIGH | …/monaco-editor/min/vs/basic-languages/elixir/elixir.js | 0 | /,{token:"string.delimiter",next:"@pop"}],{include:"@stringcontentinterpol"}],singlequotedheredoc:[[/ | STRING |
| HIGH | …/monaco-editor/min/vs/basic-languages/elixir/elixir.js | 0 | /,{token:"comment.block.documentation",next:"@doublequotedheredocdocstring"}],[/\@(module|type)?doc (~[ss])? | STRING |
| HIGH | …tend_dist/_next/static/chunks/7682.a7f192e7f7048fe9.js | 0 | /,{token:"comment.block.documentation",next:"@doublequotedheredocdocstring"}],[/\@(module|type)?doc (~[ss])? | STRING |
| HIGH | …/monaco-editor/min/vs/basic-languages/elixir/elixir.js | 0 | /,{token:"comment.block.documentation",next:"@doublequotedheredocdocstring"}],[/\@(module|type)?doc (~[ss])? | STRING |
| HIGH | …_template/_next/static/chunks/7682.a7f192e7f7048fe9.js | 0 | /,{token:"comment.block.documentation",next:"@doublequotedheredocdocstring"}],[/\@(module|type)?doc (~[ss])? | STRING |
| HIGH | …/monaco-editor/min/vs/basic-languages/elixir/elixir.js | 0 | /,{token:"comment.block.documentation",next:"@doublequotedheredocdocstring"}],[/\@(module|type)?doc (~[ss])? | STRING |
| HIGH | …/monaco-editor/min/vs/basic-languages/elixir/elixir.js | 0 | /,{token:"comment.block.documentation",next:"@pop"}],{include:"@docstringcontent"}],singlequotedheredocdocstring:[[/ | STRING |
| HIGH | …tend_dist/_next/static/chunks/7682.a7f192e7f7048fe9.js | 0 | /,{token:"comment.block.documentation",next:"@pop"}],{include:"@docstringcontent"}],singlequotedheredocdocstring:[[/ | STRING |
| HIGH | …/monaco-editor/min/vs/basic-languages/elixir/elixir.js | 0 | /,{token:"comment.block.documentation",next:"@pop"}],{include:"@docstringcontent"}],singlequotedheredocdocstring:[[/ | STRING |
| HIGH | …_template/_next/static/chunks/7682.a7f192e7f7048fe9.js | 0 | /,{token:"comment.block.documentation",next:"@pop"}],{include:"@docstringcontent"}],singlequotedheredocdocstring:[[/ | STRING |
| HIGH | …/monaco-editor/min/vs/basic-languages/elixir/elixir.js | 0 | /,{token:"comment.block.documentation",next:"@pop"}],{include:"@docstringcontent"}],singlequotedheredocdocstring:[[/ | STRING |
| HIGH | …blic/monaco-editor/min/vs/basic-languages/java/java.js | 0 | /,"string","@multistring"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape", | STRING |
| HIGH | …tend_dist/_next/static/chunks/6023.43a9147a8746404e.js | 0 | /,"string","@multistring"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape", | STRING |
| HIGH | …dist/monaco-editor/min/vs/basic-languages/java/java.js | 0 | /,"string","@multistring"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape", | STRING |
| HIGH | …_template/_next/static/chunks/6023.43a9147a8746404e.js | 0 | /,"string","@multistring"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape", | STRING |
| HIGH | …late/monaco-editor/min/vs/basic-languages/java/java.js | 0 | /,"string","@multistring"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape", | STRING |
| HIGH | …/monaco-editor/min/vs/basic-languages/kotlin/kotlin.js | 0 | /,"string","@multistring"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape", | STRING |
| HIGH | …tend_dist/_next/static/chunks/9539.964eb50deb1bc7f9.js | 0 | /,"string","@multistring"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape", | STRING |
| HIGH | …/monaco-editor/min/vs/basic-languages/kotlin/kotlin.js | 0 | /,"string","@multistring"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape", | STRING |
| HIGH | …_template/_next/static/chunks/9539.964eb50deb1bc7f9.js | 0 | /,"string","@multistring"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape", | STRING |
| HIGH | …/monaco-editor/min/vs/basic-languages/kotlin/kotlin.js | 0 | /,"string","@multistring"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape", | STRING |
| HIGH | …ic/monaco-editor/min/vs/basic-languages/scala/scala.js | 0 | /,{token:"string.quote",bracket:"@open",next:"@rawstringt"}],[/\braw"/,{token:"string.quote",bracket:"@open",next:"@raws | STRING |
| HIGH | …tend_dist/_next/static/chunks/3568.2846268cea131344.js | 0 | /,{token:"string.quote",bracket:"@open",next:"@rawstringt"}],[/\braw"/,{token:"string.quote",bracket:"@open",next:"@raws | STRING |
| HIGH | …st/monaco-editor/min/vs/basic-languages/scala/scala.js | 0 | /,{token:"string.quote",bracket:"@open",next:"@rawstringt"}],[/\braw"/,{token:"string.quote",bracket:"@open",next:"@raws | STRING |
| HIGH | …_template/_next/static/chunks/3568.2846268cea131344.js | 0 | /,{token:"string.quote",bracket:"@open",next:"@rawstringt"}],[/\braw"/,{token:"string.quote",bracket:"@open",next:"@raws | STRING |
| HIGH | …te/monaco-editor/min/vs/basic-languages/scala/scala.js | 0 | /,{token:"string.quote",bracket:"@open",next:"@rawstringt"}],[/\braw"/,{token:"string.quote",bracket:"@open",next:"@raws | STRING |
| HIGH | …ic/monaco-editor/min/vs/basic-languages/scala/scala.js | 0 | "/,{token:"string.quote",bracket:"@open",next:"@fstringt"}],[/\bf"/,{token:"string.quote",bracket:"@open",next:"@fstring | STRING |
| HIGH | …tend_dist/_next/static/chunks/3568.2846268cea131344.js | 0 | "/,{token:"string.quote",bracket:"@open",next:"@fstringt"}],[/\bf"/,{token:"string.quote",bracket:"@open",next:"@fstring | STRING |
| HIGH | …st/monaco-editor/min/vs/basic-languages/scala/scala.js | 0 | "/,{token:"string.quote",bracket:"@open",next:"@fstringt"}],[/\bf"/,{token:"string.quote",bracket:"@open",next:"@fstring | STRING |
| HIGH | …_template/_next/static/chunks/3568.2846268cea131344.js | 0 | "/,{token:"string.quote",bracket:"@open",next:"@fstringt"}],[/\bf"/,{token:"string.quote",bracket:"@open",next:"@fstring | STRING |
| HIGH | …te/monaco-editor/min/vs/basic-languages/scala/scala.js | 0 | "/,{token:"string.quote",bracket:"@open",next:"@fstringt"}],[/\bf"/,{token:"string.quote",bracket:"@open",next:"@fstring | STRING |
| HIGH | …ic/monaco-editor/min/vs/basic-languages/swift/swift.js | 0 | /,"string.quote","@enddbldocstring"]],enddbldocstring:[[/[^"]+/,"string"],[/\\"/,"string"],[/ | STRING |
| HIGH | …tend_dist/_next/static/chunks/8921.8948fb1d14fa5d4a.js | 0 | /,"string.quote","@enddbldocstring"]],enddbldocstring:[[/[^"]+/,"string"],[/\\"/,"string"],[/ | STRING |
| HIGH | …st/monaco-editor/min/vs/basic-languages/swift/swift.js | 0 | /,"string.quote","@enddbldocstring"]],enddbldocstring:[[/[^"]+/,"string"],[/\\"/,"string"],[/ | STRING |
| HIGH | …_template/_next/static/chunks/8921.8948fb1d14fa5d4a.js | 0 | /,"string.quote","@enddbldocstring"]],enddbldocstring:[[/[^"]+/,"string"],[/\\"/,"string"],[/ | STRING |
| HIGH | …te/monaco-editor/min/vs/basic-languages/swift/swift.js | 0 | /,"string.quote","@enddbldocstring"]],enddbldocstring:[[/[^"]+/,"string"],[/\\"/,"string"],[/ | STRING |
| HIGH | …onaco-editor/min/vs/basic-languages/graphql/graphql.js | 0 | /,{token:"string",next:"@mlstring",nextembedded:"markdown"}],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,{token:"string.qu | STRING |
| HIGH | …tend_dist/_next/static/chunks/8834.2c9736273be09191.js | 0 | /,{token:"string",next:"@mlstring",nextembedded:"markdown"}],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,{token:"string.qu | STRING |
| HIGH | …onaco-editor/min/vs/basic-languages/graphql/graphql.js | 0 | /,{token:"string",next:"@mlstring",nextembedded:"markdown"}],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,{token:"string.qu | STRING |
| HIGH | …_template/_next/static/chunks/8834.2c9736273be09191.js | 0 | /,{token:"string",next:"@mlstring",nextembedded:"markdown"}],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,{token:"string.qu | STRING |
| HIGH | …onaco-editor/min/vs/basic-languages/graphql/graphql.js | 0 | /,{token:"string",next:"@mlstring",nextembedded:"markdown"}],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,{token:"string.qu | STRING |
| HIGH | …ic/monaco-editor/min/vs/basic-languages/julia/julia.js | 0 | /,"regexp.delim","@tregexp"],[/r"/,"regexp.delim","@sregexp"],[/raw | STRING |
| HIGH | …tend_dist/_next/static/chunks/1793.92253d9ee5bda191.js | 0 | /,"regexp.delim","@tregexp"],[/r"/,"regexp.delim","@sregexp"],[/raw | STRING |
| HIGH | …st/monaco-editor/min/vs/basic-languages/julia/julia.js | 0 | /,"regexp.delim","@tregexp"],[/r"/,"regexp.delim","@sregexp"],[/raw | STRING |
| HIGH | …_template/_next/static/chunks/1793.92253d9ee5bda191.js | 0 | /,"regexp.delim","@tregexp"],[/r"/,"regexp.delim","@sregexp"],[/raw | STRING |
| HIGH | …te/monaco-editor/min/vs/basic-languages/julia/julia.js | 0 | /,"regexp.delim","@tregexp"],[/r"/,"regexp.delim","@sregexp"],[/raw | STRING |
| 125 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | mage_ai/settings/server.py | 30 | except Exception: | CODE |
| LOW | mage_ai/settings/repo.py | 222 | except Exception: | CODE |
| LOW | mage_ai/settings/models/configuration_option.py | 31 | except Exception as err: | CODE |
| LOW | mage_ai/kernels/models.py | 80 | except Exception: | CODE |
| MEDIUM | mage_ai/kernels/models.py | 65 | def prepare_usage(self): | CODE |
| LOW | mage_ai/kernels/magic/execution.py | 146 | except Exception as err: | CODE |
| LOW | mage_ai/kernels/magic/process.py | 46 | except Exception as err: | CODE |
| LOW | mage_ai/kernels/magic/kernels/models.py | 84 | except Exception as e: | CODE |
| LOW | mage_ai/kernels/magic/kernels/manager.py | 85 | except Exception as e: | CODE |
| LOW | mage_ai/kernels/magic/threads/reader.py | 34 | except Exception as err: | CODE |
| LOW | mage_ai/kernels/default/models.py | 88 | except Exception: | CODE |
| MEDIUM | mage_ai/kernels/default/models.py | 73 | def prepare_usage(self): | CODE |
| LOW⚡ | mage_ai/kernels/default/utils.py | 24 | except Exception as e: | CODE |
| LOW | mage_ai/kernels/default/utils.py | 149 | except Exception as e: | CODE |
| LOW | mage_ai/cache/mem_lru.py | 71 | except Exception: | CODE |
| LOW | mage_ai/cache/mem_lru.py | 106 | except Exception: | CODE |
| LOW | mage_ai/cache/file.py | 89 | except Exception as err: | CODE |
| LOW | mage_ai/cache/block.py | 73 | except Exception: | CODE |
| LOW | mage_ai/cache/dbt/utils.py | 72 | except Exception as err: | CODE |
| LOW | mage_ai/cache/dbt/utils.py | 123 | except Exception as err: | CODE |
| LOW | mage_ai/io/redshift.py | 127 | except Exception as e: | CODE |
| LOW | mage_ai/io/redshift.py | 272 | except Exception as e: | CODE |
| LOW | mage_ai/io/bigquery.py | 408 | except Exception: | STRING |
| LOW | mage_ai/io/bigquery.py | 422 | except Exception: | STRING |
| LOW | mage_ai/io/bigquery.py | 424 | except Exception: | STRING |
| LOW | mage_ai/io/bigquery.py | 497 | except Exception: | STRING |
| LOW | mage_ai/io/oracledb.py | 134 | except Exception as exc: | STRING |
| LOW | mage_ai/io/weaviate.py | 98 | except Exception: | CODE |
| LOW | mage_ai/io/weaviate.py | 122 | except Exception: | CODE |
| LOW | mage_ai/io/algolia.py | 62 | except Exception as e: | CODE |
| LOW | mage_ai/io/algolia.py | 91 | except Exception as e: | CODE |
| LOW | mage_ai/io/postgres.py | 164 | except Exception: | CODE |
| LOW | mage_ai/io/spark.py | 21 | except Exception: | CODE |
| LOW | mage_ai/tests/base_test.py | 83 | except Exception: | CODE |
| LOW | mage_ai/tests/base_test.py | 122 | except Exception: | CODE |
| MEDIUM | mage_ai/tests/base_test.py | 79 | def tearDownClass(self): | CODE |
| MEDIUM | mage_ai/tests/base_test.py | 118 | def tearDownClass(self): | CODE |
| LOW | mage_ai/tests/factory.py | 38 | except Exception as err: | CODE |
| LOW | mage_ai/tests/settings/test_platform.py | 72 | except Exception: | CODE |
| LOW | mage_ai/tests/settings/test_platform.py | 76 | except Exception: | CODE |
| MEDIUM | mage_ai/tests/settings/test_platform.py | 69 | def tearDown(self): | CODE |
| LOW | mage_ai/tests/settings/platform/test_utils.py | 59 | except Exception: | CODE |
| LOW | mage_ai/tests/settings/platform/test_utils.py | 121 | except Exception: | CODE |
| LOW | …_ai/tests/settings/models/test_configuration_option.py | 53 | except Exception as err: | CODE |
| MEDIUM | …_ai/tests/settings/models/test_configuration_option.py | 50 | def tearDown(self): | CODE |
| LOW | …data_preparation/test_repo_manager_project_platform.py | 59 | except Exception: | CODE |
| LOW | …data_preparation/test_repo_manager_project_platform.py | 66 | except Exception: | CODE |
| LOW | …ts/data_preparation/models/test_global_data_product.py | 39 | except Exception: | CODE |
| LOW | mage_ai/tests/data_preparation/models/test_pipeline.py | 1115 | except Exception: | STRING |
| LOW⚡ | …a_preparation/models/global_hooks/test_global_hooks.py | 288 | except Exception: | CODE |
| LOW⚡ | …a_preparation/models/global_hooks/test_global_hooks.py | 297 | except Exception: | CODE |
| LOW⚡ | …a_preparation/models/global_hooks/test_global_hooks.py | 307 | except Exception: | CODE |
| LOW | …a_preparation/models/block/test_global_data_product.py | 22 | except Exception: | CODE |
| LOW | …/data_preparation/models/block/hook/test_hook_block.py | 78 | except Exception as err: | CODE |
| LOW | …/tests/data_preparation/storage/shared/test_secrets.py | 116 | except Exception: | CODE |
| LOW | mage_ai/tests/shared/mixins.py | 390 | except Exception as err: | STRING |
| LOW | mage_ai/tests/shared/mixins.py | 410 | except Exception: | STRING |
| LOW | mage_ai/tests/shared/mixins.py | 414 | except Exception: | STRING |
| LOW | mage_ai/tests/shared/mixins.py | 443 | except Exception as err: | STRING |
| LOW | mage_ai/tests/shared/mixins.py | 469 | except Exception as err: | STRING |
| 507 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | mage_ai/settings/repo.py | 34 | CODE | |
| LOW | mage_ai/settings/repo.py | 162 | CODE | |
| LOW | mage_ai/settings/platform/__init__.py | 22 | CODE | |
| LOW | mage_ai/settings/platform/__init__.py | 139 | CODE | |
| LOW | mage_ai/settings/platform/__init__.py | 460 | CODE | |
| LOW | mage_ai/settings/models/configuration_option.py | 79 | CODE | |
| LOW | mage_ai/kernels/magic/execution.py | 18 | CODE | |
| LOW | mage_ai/kernels/magic/kernels/models.py | 174 | CODE | |
| LOW | mage_ai/kernels/magic/kernels/manager.py | 53 | CODE | |
| LOW | mage_ai/kernels/magic/threads/reader.py | 11 | CODE | |
| LOW | mage_ai/kernels/default/models.py | 27 | CODE | |
| LOW | mage_ai/cache/dbt/cache.py | 93 | CODE | |
| LOW | mage_ai/cache/dbt/cache.py | 136 | CODE | |
| LOW | mage_ai/cache/block_action_object/__init__.py | 240 | CODE | |
| LOW | mage_ai/version_control/models.py | 321 | CODE | |
| LOW | mage_ai/version_control/models.py | 386 | CODE | |
| LOW | mage_ai/version_control/models.py | 492 | CODE | |
| LOW | mage_ai/io/redshift.py | 138 | CODE | |
| LOW | mage_ai/io/redshift.py | 194 | CODE | |
| LOW | mage_ai/io/trino.py | 273 | CODE | |
| LOW | mage_ai/io/trino.py | 323 | CODE | |
| LOW | mage_ai/io/mssql.py | 265 | CODE | |
| LOW | mage_ai/io/bigquery.py | 198 | CODE | |
| LOW | mage_ai/io/bigquery.py | 360 | CODE | |
| LOW | mage_ai/io/bigquery.py | 242 | CODE | |
| LOW | mage_ai/io/oracledb.py | 139 | CODE | |
| LOW | mage_ai/io/snowflake.py | 197 | CODE | |
| LOW | mage_ai/io/snowflake.py | 433 | CODE | |
| LOW | mage_ai/io/snowflake.py | 238 | CODE | |
| LOW | mage_ai/io/postgres.py | 95 | CODE | |
| LOW | mage_ai/io/postgres.py | 211 | CODE | |
| LOW | mage_ai/io/sql.py | 220 | CODE | |
| LOW | mage_ai/io/sql.py | 294 | CODE | |
| LOW | mage_ai/io/duckdb.py | 96 | CODE | |
| LOW | mage_ai/io/chroma.py | 37 | CODE | |
| LOW | mage_ai/io/s3.py | 84 | CODE | |
| LOW | mage_ai/io/base.py | 54 | CODE | |
| LOW | mage_ai/io/base.py | 154 | CODE | |
| LOW | mage_ai/io/base.py | 253 | CODE | |
| LOW | mage_ai/io/mysql.py | 178 | CODE | |
| LOW | …_ai/tests/settings/models/test_configuration_option.py | 73 | CODE | |
| LOW | …_ai/tests/settings/models/test_configuration_option.py | 131 | CODE | |
| LOW | …ts/data_preparation/models/test_global_data_product.py | 122 | CODE | |
| LOW | …ts/data_preparation/models/test_global_data_product.py | 158 | CODE | |
| LOW | mage_ai/tests/data_preparation/models/test_project.py | 63 | CODE | |
| LOW | …sts/data_preparation/models/global_hooks/test_utils.py | 16 | CODE | |
| LOW | …ests/data_preparation/models/global_hooks/test_hook.py | 443 | CODE | |
| LOW | …ests/data_preparation/models/global_hooks/test_hook.py | 604 | CODE | |
| LOW | …data_preparation/models/global_hooks/test_pipelines.py | 53 | CODE | |
| LOW | …ata_preparation/models/global_hooks/test_predicates.py | 419 | CODE | |
| LOW | …ata_preparation/models/global_hooks/test_predicates.py | 292 | CODE | |
| LOW | …ts/data_preparation/models/block/dynamic/test_utils.py | 12 | CODE | |
| LOW | …/data_preparation/models/block/platform/test_mixins.py | 104 | CODE | |
| LOW | …/data_preparation/models/block/platform/test_mixins.py | 204 | CODE | |
| LOW | …/tests/data_preparation/storage/shared/test_secrets.py | 85 | CODE | |
| LOW | …hestration/test_pipeline_scheduler_project_platform.py | 32 | CODE | |
| LOW | …hestration/test_pipeline_scheduler_project_platform.py | 63 | CODE | |
| LOW | …hestration/test_pipeline_scheduler_project_platform.py | 164 | CODE | |
| LOW | …hestration/test_pipeline_scheduler_project_platform.py | 216 | CODE | |
| LOW | mage_ai/tests/api/endpoints/mixins.py | 33 | CODE | |
| 572 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | mage_ai/settings/server.py | 35 | # ---------------------------------- | COMMENT |
| MEDIUM⚡ | mage_ai/settings/server.py | 37 | # ---------------------------------- | COMMENT |
| MEDIUM⚡ | mage_ai/settings/server.py | 45 | # ------------------------- | COMMENT |
| MEDIUM⚡ | mage_ai/settings/server.py | 47 | # ------------------------- | COMMENT |
| MEDIUM⚡ | mage_ai/settings/server.py | 142 | # -------------------- | COMMENT |
| MEDIUM⚡ | mage_ai/settings/server.py | 144 | # -------------------- | COMMENT |
| MEDIUM⚡ | mage_ai/settings/server.py | 150 | # ------------------------- | COMMENT |
| MEDIUM⚡ | mage_ai/settings/server.py | 152 | # ------------------------- | COMMENT |
| MEDIUM⚡ | mage_ai/settings/server.py | 201 | # ------------------------- | COMMENT |
| MEDIUM⚡ | mage_ai/settings/server.py | 203 | # ------------------------- | COMMENT |
| MEDIUM⚡ | mage_ai/settings/server.py | 212 | # ------------------------- | COMMENT |
| MEDIUM⚡ | mage_ai/settings/server.py | 214 | # ------------------------- | COMMENT |
| MEDIUM⚡ | mage_ai/settings/server.py | 231 | # ------------------------- | COMMENT |
| MEDIUM⚡ | mage_ai/settings/server.py | 233 | # ------------------------- | COMMENT |
| MEDIUM⚡ | mage_ai/settings/server.py | 240 | # ------------------------- | COMMENT |
| MEDIUM⚡ | mage_ai/settings/server.py | 242 | # ------------------------- | COMMENT |
| MEDIUM⚡ | mage_ai/settings/server.py | 247 | # ------------------------- | COMMENT |
| MEDIUM⚡ | mage_ai/settings/server.py | 249 | # ------------------------- | COMMENT |
| MEDIUM | mage_ai/settings/server.py | 65 | # ------------------------- | COMMENT |
| MEDIUM | mage_ai/settings/server.py | 67 | # ------------------------- | COMMENT |
| MEDIUM | mage_ai/settings/server.py | 93 | # ------------------- | COMMENT |
| MEDIUM | mage_ai/settings/server.py | 95 | # ------------------- | COMMENT |
| MEDIUM | mage_ai/settings/server.py | 115 | # --------------------- | COMMENT |
| MEDIUM | mage_ai/settings/server.py | 117 | # --------------------- | COMMENT |
| MEDIUM | mage_ai/settings/server.py | 184 | # ----------------------------- | COMMENT |
| MEDIUM | mage_ai/settings/server.py | 186 | # ----------------------------- | COMMENT |
| MEDIUM | mage_ai/frontend/scripts/convert.py | 40 | # # # ----------------------------------------- | COMMENT |
| MEDIUM | mage_ai/data_preparation/git/__init__.py | 337 | # ------------------------------------------------------- | COMMENT |
| MEDIUM | mage_ai/orchestration/constants.py | 16 | # ================================================ | COMMENT |
| MEDIUM | integrations/newrelic/example_newrelic.ini | 1 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | integrations/newrelic/example_newrelic.ini | 21 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | integrations/newrelic/example_newrelic.ini | 187 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | integrations/newrelic/example_newrelic.ini | 210 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …tegrations/sources/mongodb/tests/test_mongodb_oplog.py | 104 | # ------------------------------- | COMMENT |
| MEDIUM | …tegrations/sources/mongodb/tests/test_mongodb_oplog.py | 106 | # ------------------------------- | COMMENT |
| MEDIUM | …tegrations/sources/mongodb/tests/test_mongodb_oplog.py | 135 | # ----------------------------------- | COMMENT |
| MEDIUM | …tegrations/sources/mongodb/tests/test_mongodb_oplog.py | 137 | # ----------------------------------- | COMMENT |
| MEDIUM | …tegrations/sources/mongodb/tests/test_mongodb_oplog.py | 224 | # ----------------------------------- | COMMENT |
| MEDIUM | …tegrations/sources/mongodb/tests/test_mongodb_oplog.py | 226 | # ----------------------------------- | COMMENT |
| MEDIUM | …urces/mongodb/tests/test_mongodb_cname_restrictions.py | 101 | # --------------------------------- | COMMENT |
| MEDIUM | …urces/mongodb/tests/test_mongodb_cname_restrictions.py | 103 | # --------------------------------- | COMMENT |
| MEDIUM | …urces/mongodb/tests/test_mongodb_cname_restrictions.py | 130 | # ---------------------------------------- | COMMENT |
| MEDIUM | …urces/mongodb/tests/test_mongodb_cname_restrictions.py | 132 | # ---------------------------------------- | COMMENT |
| MEDIUM | …urces/mongodb/tests/test_mongodb_cname_restrictions.py | 219 | # ------------------------------------------- | COMMENT |
| MEDIUM | …urces/mongodb/tests/test_mongodb_cname_restrictions.py | 221 | # ------------------------------------------- | COMMENT |
| MEDIUM | …tions/sources/mongodb/tests/test_mongodb_full_table.py | 147 | # ------------------------------- | COMMENT |
| MEDIUM | …tions/sources/mongodb/tests/test_mongodb_full_table.py | 149 | # ------------------------------- | COMMENT |
| MEDIUM | …tions/sources/mongodb/tests/test_mongodb_full_table.py | 165 | # ------------------------------------------- | COMMENT |
| MEDIUM | …tions/sources/mongodb/tests/test_mongodb_full_table.py | 167 | # ------------------------------------------- | COMMENT |
| MEDIUM | …tions/sources/mongodb/tests/test_mongodb_full_table.py | 212 | # ------------------------------------------- | COMMENT |
| MEDIUM | …tions/sources/mongodb/tests/test_mongodb_full_table.py | 214 | # ------------------------------------------- | COMMENT |
| MEDIUM | …/sources/mongodb/tests/test_mongodb_table_reset_log.py | 99 | # --------------------------------- | COMMENT |
| MEDIUM | …/sources/mongodb/tests/test_mongodb_table_reset_log.py | 101 | # --------------------------------- | COMMENT |
| MEDIUM | …/sources/mongodb/tests/test_mongodb_table_reset_log.py | 129 | # ---------------------------------------- | COMMENT |
| MEDIUM | …/sources/mongodb/tests/test_mongodb_table_reset_log.py | 131 | # ---------------------------------------- | COMMENT |
| MEDIUM | …/sources/mongodb/tests/test_mongodb_table_reset_log.py | 168 | # ------------------------------------------- | COMMENT |
| MEDIUM | …/sources/mongodb/tests/test_mongodb_table_reset_log.py | 170 | # ------------------------------------------- | COMMENT |
| MEDIUM | …urces/mongodb/tests/test_mongodb_fname_restrictions.py | 104 | # --------------------------------- | COMMENT |
| MEDIUM | …urces/mongodb/tests/test_mongodb_fname_restrictions.py | 106 | # --------------------------------- | COMMENT |
| MEDIUM | …urces/mongodb/tests/test_mongodb_fname_restrictions.py | 134 | # ---------------------------------------- | COMMENT |
| 67 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | mage_ai/settings/__init__.py | 6 | CODE | |
| LOW | mage_ai/settings/platform/__init__.py | 9 | CODE | |
| LOW | mage_ai/settings/keys/__init__.py | 1 | CODE | |
| LOW | mage_ai/kernels/models.py | 1 | CODE | |
| LOW | mage_ai/kernels/default/models.py | 1 | CODE | |
| LOW | mage_ai/tests/orchestration/utils/test_resources.py | 1 | CODE | |
| LOW | mage_ai/tests/orchestration/utils/test_resources.py | 2 | CODE | |
| LOW | mage_ai/data_preparation/models/variable.py | 1 | CODE | |
| LOW | …_ai/data_preparation/models/block/dynamic/variables.py | 1 | CODE | |
| LOW | mage_ai/data_preparation/models/block/dbt/__init__.py | 1 | CODE | |
| LOW | …n/templates/data_exporters/streaming/generic_python.py | 2 | CODE | |
| LOW | …ation/templates/data_integrations/destinations/base.py | 1 | CODE | |
| LOW | …reparation/templates/data_integrations/sources/base.py | 1 | CODE | |
| LOW | …reparation/templates/data_integrations/sources/base.py | 1 | CODE | |
| LOW | …reparation/templates/repo/data_loaders/load_titanic.py | 1 | CODE | |
| LOW | …reparation/templates/repo/data_loaders/load_titanic.py | 3 | CODE | |
| LOW | mage_ai/server/utils/output_display.py | 1 | CODE | |
| LOW | mage_ai/shared/croniter.py | 9 | CODE | |
| LOW | mage_ai/shared/croniter.py | 9 | CODE | |
| LOW | mage_ai/shared/croniter.py | 9 | CODE | |
| LOW | mage_ai/shared/enum.py | 3 | CODE | |
| LOW | mage_ai/shared/enum.py | 3 | CODE | |
| LOW | mage_ai/shared/enum.py | 5 | CODE | |
| LOW | mage_ai/system/models.py | 1 | CODE | |
| LOW | mage_ai/system/browser/models.py | 1 | CODE | |
| LOW | mage_ai/orchestration/pipeline_scheduler.py | 1 | CODE | |
| LOW | …ai/api/resources/PipelineExecutionFrameworkResource.py | 1 | CODE | |
| LOW | mage_ai/api/resources/BrowserItemResource.py | 1 | CODE | |
| LOW | mage_ai/api/resources/BaseResource.py | 1 | CODE | |
| LOW | mage_ai/frameworks/execution/models/pipeline/adapter.py | 1 | CODE | |
| LOW | mage_ai/frameworks/execution/models/pipeline/base.py | 1 | CODE | |
| LOW | mage_ai/frameworks/execution/models/block/adapter.py | 1 | CODE | |
| LOW | mage_ai/data/variables/wrapper.py | 1 | CODE | |
| LOW | …ge_integrations/mage_integrations/destinations/sink.py | 3 | CODE | |
| LOW | …integrations/mage_integrations/destinations/sqlsink.py | 3 | CODE | |
| LOW | …_integrations/mage_integrations/destinations/target.py | 3 | CODE | |
| LOW | …ns/mage_integrations/destinations/delta_lake/writer.py | 2 | CODE | |
| LOW | …ns/mage_integrations/destinations/delta_lake/schema.py | 1 | CODE | |
| LOW | …ns/mage_integrations/destinations/delta_lake/schema.py | 6 | CODE | |
| LOW | …ons/destinations/clickhouse/target_clickhouse/sinks.py | 3 | CODE | |
| LOW | …ns/destinations/clickhouse/target_clickhouse/target.py | 1 | CODE | |
| LOW | …_integrations/destinations/trino/connectors/iceberg.py | 5 | CODE | |
| LOW | …stinations/elasticsearch/target_elasticsearch/sinks.py | 11 | CODE | |
| LOW | …stinations/elasticsearch/target_elasticsearch/sinks.py | 11 | CODE | |
| LOW | …stinations/elasticsearch/target_elasticsearch/sinks.py | 11 | CODE | |
| LOW | …stinations/elasticsearch/target_elasticsearch/sinks.py | 11 | CODE | |
| LOW | …stinations/elasticsearch/target_elasticsearch/sinks.py | 11 | CODE | |
| LOW | …stinations/elasticsearch/target_elasticsearch/sinks.py | 11 | CODE | |
| LOW | …integrations/mage_integrations/utils/schema_helpers.py | 1 | CODE | |
| LOW | …integrations/mage_integrations/utils/schema_helpers.py | 1 | CODE | |
| LOW | …integrations/mage_integrations/utils/schema_helpers.py | 1 | CODE | |
| LOW | …_integrations/connections/google_analytics/__init__.py | 9 | CODE | |
| LOW | …_integrations/connections/google_analytics/__init__.py | 19 | CODE | |
| LOW | mage_integrations/mage_integrations/sources/query.py | 1 | CODE | |
| LOW | …integrations/sources/postmark/tap_postmark/__init__.py | 4 | CODE | |
| LOW | …mage_integrations/sources/postmark/tap_postmark/tap.py | 6 | CODE | |
| LOW | …integrations/sources/postmark/tap_postmark/cleaners.py | 4 | CODE | |
| LOW | …ations/sources/freshdesk/tests/test_freshdesk_check.py | 2 | CODE | |
| LOW | …ations/sources/freshdesk/tests/test_freshdesk_check.py | 4 | CODE | |
| LOW | …ations/sources/freshdesk/tests/test_freshdesk_check.py | 4 | CODE | |
| 292 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .pre-commit-config.yaml | 41 | # - id: black | COMMENT |
| LOW | mage_ai/settings/repo.py | 121 | # get_repo_path() == /home/src/test/nested_repo_project | COMMENT |
| LOW | mage_ai/frontend/next-env.d.ts | 1 | /// <reference types="next" /> | COMMENT |
| LOW | …nd/components/ComputeManagement/Stages/StagesTable.tsx | 581 | <Text {...SHARED_TEXT_PROPS} key="submissionTime"> | COMMENT |
| LOW | …ponents/CustomTemplates/TemplateDetail/index.style.tsx | 61 | export const ContentStyle = styled.div` | COMMENT |
| LOW | …ponents/CustomTemplates/TemplateDetail/index.style.tsx | 81 | // border-radius: ${BORDER_RADIUS}px; | COMMENT |
| LOW | …ponents/CustomTemplates/TemplateDetail/index.style.tsx | 101 | // export const CardDescriptionStyle = styled.div` | COMMENT |
| LOW | mage_ai/frontend/components/v2/IDE/index.style.tsx | 61 | // width: 100%; | COMMENT |
| LOW | mage_ai/frontend/components/v2/IDE/index.style.tsx | 81 | // } | COMMENT |
| LOW | mage_ai/frontend/components/v2/IDE/Manager.tsx | 421 | callback(this.languageClient); | COMMENT |
| LOW | mage_ai/frontend/components/v2/IDE/Manager.tsx | 441 | // }, | COMMENT |
| LOW | mage_ai/frontend/components/v2/IDE/Manager.tsx | 461 | // '/home/src/mage_ai/autocomplete', | COMMENT |
| LOW | mage_ai/frontend/components/v2/IDE/Manager.tsx | 481 | // '/home/src/mage_ai/shared', | COMMENT |
| LOW | …e_ai/frontend/components/v2/IDE/autocomplete/index.tsx | 1 | import { Ref } from 'react'; | COMMENT |
| LOW | …e_ai/frontend/components/v2/IDE/autocomplete/index.tsx | 21 | // Operator | COMMENT |
| LOW | …e_ai/frontend/components/v2/IDE/autocomplete/index.tsx | 161 | // applyCustomDecorations(monaco.editor); | COMMENT |
| LOW | mage_ai/frontend/components/v2/IDE/utils/index.ts | 1 | // webSocket.onopen = () => { | COMMENT |
| LOW | mage_ai/frontend/components/v2/IDE/utils/index.ts | 21 | // uri: model.uri.toString(), | COMMENT |
| LOW | mage_ai/frontend/components/v2/IDE/utils/index.ts | 41 | // languageClient.sendNotification('textDocument/didOpen', languageclient.TextDocumentItem.create( | COMMENT |
| LOW | mage_ai/frontend/components/v2/IDE/utils/index.ts | 61 | // new Error('You cannot add a new model as neither editor nor diff editor is available.'), | COMMENT |
| LOW | mage_ai/frontend/components/v2/IDE/shortcuts/index.ts | 21 | function saveCode(monaco, onSave) { | COMMENT |
| LOW | mage_ai/frontend/components/v2/IDE/shortcuts/index.ts | 81 | .map(func => func(monaco)) | COMMENT |
| LOW | mage_ai/frontend/components/v2/IDE/shortcuts/index.ts | 101 | // "11": "PageUp", | COMMENT |
| LOW | mage_ai/frontend/components/v2/IDE/shortcuts/index.ts | 121 | // "128": "LaunchMediaPlayer", | COMMENT |
| LOW | mage_ai/frontend/components/v2/IDE/shortcuts/index.ts | 141 | // "27": "Digit6", | COMMENT |
| LOW | mage_ai/frontend/components/v2/IDE/shortcuts/index.ts | 161 | // "45": "KeyO", | COMMENT |
| LOW | mage_ai/frontend/components/v2/IDE/shortcuts/index.ts | 181 | // "63": "F5", | COMMENT |
| LOW | mage_ai/frontend/components/v2/IDE/shortcuts/index.ts | 201 | // "81": "F23", | COMMENT |
| LOW | mage_ai/frontend/components/v2/IDE/shortcuts/index.ts | 221 | // "ABNT_C1": 115, | COMMENT |
| LOW | mage_ai/frontend/components/v2/IDE/shortcuts/index.ts | 241 | // "Delete": 20, | COMMENT |
| LOW | mage_ai/frontend/components/v2/IDE/shortcuts/index.ts | 261 | // "F12": 70, | COMMENT |
| LOW | mage_ai/frontend/components/v2/IDE/shortcuts/index.ts | 281 | // "F9": 67, | COMMENT |
| LOW | mage_ai/frontend/components/v2/IDE/shortcuts/index.ts | 301 | // "KeyP": 46, | COMMENT |
| LOW | mage_ai/frontend/components/v2/IDE/shortcuts/index.ts | 321 | // "Meta": 57, | COMMENT |
| LOW | mage_ai/frontend/components/v2/IDE/shortcuts/index.ts | 341 | // "PageDown": 12, | COMMENT |
| LOW | …e_ai/frontend/components/v2/IDE/events/addListeners.ts | 21 | // onDidChangeCursorPosition | COMMENT |
| LOW | …e_ai/frontend/components/v2/IDE/events/addListeners.ts | 41 | // onDidType | COMMENT |
| LOW | mage_ai/frontend/components/v2/IDE/themes/base.ts | 21 | // Foreground color of the editor. | COMMENT |
| LOW | mage_ai/frontend/components/v2/IDE/themes/base.ts | 41 | // Highlight/Selection colorss | COMMENT |
| LOW | mage_ai/frontend/components/v2/IDE/themes/base.ts | 81 | 'editorBracketHighlight.foreground6': '#CBFE001A', | COMMENT |
| LOW | mage_ai/frontend/components/v2/IDE/themes/base.ts | 101 | // ---------------------------------------------------------------------------------------------- | COMMENT |
| LOW | mage_ai/frontend/components/v2/IDE/themes/base.ts | 121 | 'editorWarning.foreground': '#FFCC19', // Yellow | COMMENT |
| LOW | mage_ai/frontend/components/v2/IDE/themes/base.ts | 141 | 'editor.lineNumbersForeground': '#FFFFFF', | COMMENT |
| LOW | mage_ai/frontend/components/v2/IDE/themes/base.ts | 201 | 'editorSuggestWidget.highlightForeground': '#FF144D', | COMMENT |
| LOW | mage_ai/frontend/components/v2/IDE/themes/base.ts | 241 | // Keybinding label border color. The keybinding label is used to represent a keyboard shortcut. | COMMENT |
| LOW | mage_ai/frontend/components/v2/IDE/themes/base.ts | 261 | // // Border color of the editor hover. | COMMENT |
| LOW | mage_ai/frontend/components/v2/IDE/themes/base.ts | 281 | // Lists | COMMENT |
| LOW | mage_ai/frontend/components/v2/IDE/themes/base.ts | 301 | // // List/Tree foreground color of the match highlights when searching inside the list/tree. | COMMENT |
| LOW | mage_ai/frontend/components/v2/IDE/themes/base.ts | 321 | // // Foreground color of list items containing warnings. | COMMENT |
| LOW | mage_ai/frontend/components/v2/Canvas/utils/rect.ts | 881 | COMMENT | |
| LOW | mage_ai/frontend/components/v2/Apps/Layout.tsx | 81 | const colsInRow = configs?.length || 0; | COMMENT |
| LOW | …i/frontend/components/v2/Apps/PipelineCanvas/index.tsx | 1081 | // } | COMMENT |
| LOW | …i/frontend/components/v2/Apps/PipelineCanvas/index.tsx | 1121 | COMMENT | |
| LOW | …tend/components/v2/Apps/PipelineCanvas/utils/blocks.ts | 261 | // "downstream_blocks": [ | COMMENT |
| LOW | …i/frontend/components/v2/Apps/Browser/System/worker.ts | 1 | export const createWorker = async () => { | COMMENT |
| LOW | …i/frontend/components/v2/Apps/Browser/System/worker.ts | 21 | // removeContextMenu(); | COMMENT |
| LOW | …i/frontend/components/v2/Apps/Browser/System/worker.ts | 41 | // uuid: app?.uuid, | COMMENT |
| LOW | …i/frontend/components/v2/Apps/Browser/System/worker.ts | 61 | // worker.postMessage({ | COMMENT |
| LOW | …ntend/components/CodeBlockV2/dbt/useCodeBlockProps.tsx | 601 | }), | COMMENT |
| LOW | …end/components/PipelineDetail/FileHeaderMenu/index.tsx | 141 | }, | COMMENT |
| 225 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | mage_ai/frontend/components/v2/Builder/mocks.ts | 587 | "from mlops.utils.deploy.aws import (\n IAM_USER_NAME,\n POLICY_NAME_TERRAFORM_APPLY_DEPLOY_MAGE,\n POL | CODE |
| MEDIUM | mage_ai/frontend/components/v2/Builder/mocks.ts | 878 | "from mlops.utils.deploy.aws import (\n IAM_USER_NAME_CICD,\n POLICY_NAME_GITHUB_ACTIONS_DEPLOY_MAGE,\n | CODE |
| MEDIUM | mage_ai/io/airtable.py | 30 | self.client = Api(token, **kwargs) # Create the Airtable API client | CODE |
| MEDIUM | mage_ai/tests/test_shared.py | 73 | # Create the CSR matrix with specified shape | COMMENT |
| MEDIUM | …e_ai/tests/data_preparation/storage/test_s3_storage.py | 10 | # Create a mock for the s3.Client instance | COMMENT |
| MEDIUM | …_ai/tests/data_preparation/storage/test_gcs_storage.py | 21 | # Create a mock for the gcs.Client instance | COMMENT |
| MEDIUM | mage_ai/tests/streaming/sources/test_kafka_raw_value.py | 12 | # Create a mock message with non-UTF8 key | COMMENT |
| MEDIUM | mage_ai/tests/streaming/sources/test_kafka_raw_value.py | 46 | # Create a mock message with UTF-8 key | COMMENT |
| MEDIUM | mage_ai/tests/streaming/sources/test_kafka_raw_value.py | 78 | # Create a mock message with non-UTF8 key but without RAW_VALUE | COMMENT |
| MEDIUM | mage_ai/tests/authentication/providers/test_oidc.py | 26 | # Creating an instance of OidcProvider with userinfo_endpoint included | COMMENT |
| MEDIUM | mage_ai/tests/services/k8s/test_job_manager.py | 257 | # Create a mock K8sExecutorConfig with container_config | COMMENT |
| MEDIUM | mage_ai/tests/services/aws/ecs/test_config.py | 39 | # Create an instance of EcsConfig and call the method to test | COMMENT |
| MEDIUM | …ts/cluster_manager/kubernetes/test_workload_manager.py | 147 | # Create a mock Ingress object | COMMENT |
| MEDIUM | mage_ai/data_preparation/models/block/dynamic/utils.py | 930 | # Create a mapping of the original upstream block | COMMENT |
| MEDIUM | mage_ai/data_preparation/executors/block_executor.py | 943 | # Create a block run for the stream for each batch in that stream. | COMMENT |
| MEDIUM | mage_ai/data_preparation/executors/block_executor.py | 1036 | # Create a child block run for every selected stream. | COMMENT |
| MEDIUM | mage_ai/data_preparation/executors/pipeline_executor.py | 59 | # Create the async task to execute | COMMENT |
| MEDIUM | mage_ai/data_preparation/git/__init__.py | 385 | # Create a temporary directory to store the current contents of the submodule | COMMENT |
| MEDIUM | mage_ai/system/memory/utils.py | 454 | # Create a format string for padding the columns | COMMENT |
| MEDIUM | mage_ai/data_integrations/utils/scheduler.py | 369 | # Create a child block run in batches. | COMMENT |
| MEDIUM | mage_ai/data/tabular/utils.py | 59 | # Create a Polars Series from the PyArrow Array | COMMENT |
| MEDIUM | …ervices/azure/container_instance/container_instance.py | 37 | # Create the ACI management client | COMMENT |
| MEDIUM | …ervices/azure/container_instance/container_instance.py | 78 | # Create the container group | COMMENT |
| MEDIUM | mage_ai/services/k8s/job_manager.py | 139 | # Create the specification of deployment | COMMENT |
| MEDIUM | mage_ai/services/ssh/aws/emr/models.py | 298 | # This method is invoked when the server restarts. | COMMENT |
| MEDIUM | …integrations/sources/postmark/tap_postmark/discover.py | 37 | # Create a catalog entry | COMMENT |
| MEDIUM | …integrations/sources/postmark/tap_postmark/cleaners.py | 245 | # Create a new record | COMMENT |
| MEDIUM | …ions/mage_integrations/sources/freshdesk/tests/base.py | 171 | # Create the connection | COMMENT |
| MEDIUM | …grations/mage_integrations/sources/intercom/streams.py | 501 | # Initialize parent object | COMMENT |
| MEDIUM | …urces/facebook_ads/tests/unittests/test_retry_logic.py | 27 | # Create the mock and force the function to throw an error | COMMENT |
| MEDIUM | …urces/facebook_ads/tests/unittests/test_retry_logic.py | 38 | # Initialize the object and call `sync()` | COMMENT |
| MEDIUM⚡ | …urces/facebook_ads/tests/unittests/test_retry_logic.py | 50 | # Create the mock and force the function to throw an error | COMMENT |
| MEDIUM⚡ | …urces/facebook_ads/tests/unittests/test_retry_logic.py | 55 | # Initialize the object and call `sync()` | COMMENT |
| MEDIUM⚡ | …urces/facebook_ads/tests/unittests/test_retry_logic.py | 119 | # Create the mock and force the function to throw an error | COMMENT |
| MEDIUM⚡ | …urces/facebook_ads/tests/unittests/test_retry_logic.py | 124 | # Initialize the object and call `sync()` | COMMENT |
| MEDIUM⚡ | …urces/facebook_ads/tests/unittests/test_retry_logic.py | 137 | # Create the mock and force the function to throw an error | COMMENT |
| MEDIUM⚡ | …urces/facebook_ads/tests/unittests/test_retry_logic.py | 142 | # Initialize the object and call `sync()` | COMMENT |
| MEDIUM⚡ | …urces/facebook_ads/tests/unittests/test_retry_logic.py | 207 | # Create the mock and force the function to throw an error | COMMENT |
| MEDIUM⚡ | …urces/facebook_ads/tests/unittests/test_retry_logic.py | 213 | # Initialize the object and call `sync()` | COMMENT |
| MEDIUM | …urces/facebook_ads/tests/unittests/test_retry_logic.py | 252 | # Create the mock and force the function to throw an error | COMMENT |
| MEDIUM | …urces/facebook_ads/tests/unittests/test_retry_logic.py | 257 | # Initialize the object and call `sync()` | COMMENT |
| MEDIUM | …/mongodb/tests/test_mongodb_log_based_interruptible.py | 204 | # Create a new collection which is still not replicated | COMMENT |
| MEDIUM⚡ | …ations/mage_integrations/sources/hubspot/tests/base.py | 225 | # Create the connection | COMMENT |
| MEDIUM | …_integrations/sources/zendesk/test/test_all_streams.py | 79 | # Create the connection for Zendesk | COMMENT |
| MEDIUM | …ge_integrations/sources/zendesk/test/test_bookmarks.py | 49 | # Create the connection for Zendesk | COMMENT |
| MEDIUM | …ge_integrations/sources/zendesk/test/test_bookmarks.py | 95 | # Create a new record | COMMENT |
| MEDIUM | …ns/sources/zendesk/test/test_custom_fields_discover.py | 11 | # Create the connection for Zendesk | COMMENT |
| MEDIUM | …ns/sources/zendesk/test/test_custom_fields_discover.py | 32 | # Create an array of arrays where the first element is the word minus the last letter ie: "organization" | COMMENT |
| MEDIUM | …rations/sources/zendesk/test/test_minimal_selection.py | 26 | # Create the connection for Zendesk | COMMENT |
| MEDIUM | …es/salesforce/client/tap_salesforce/salesforce/bulk.py | 142 | # Create a new job | COMMENT |
| MEDIUM | …egrations/mage_integrations/sources/stripe/__init__.py | 829 | # The following code arose because we encountered a bug in the API | COMMENT |
| MEDIUM | …egrations/mage_integrations/sources/stripe/__init__.py | 1040 | # Create a map to hold relate event object ids to timestamps | COMMENT |
| MEDIUM | scripts/frontend/fix.sh | 4 | # Initialize the variable to store the value of --stdin-filename | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | mage_ai/version_control/models.py | 358 | return await branch_utils.push(self) | CODE |
| HIGH | mage_ai/version_control/branch/utils.py | 45 | # custom_progress = api.push( | COMMENT |
| HIGH | mage_ai/version_control/branch/utils.py | 66 | # git_manager.push() | COMMENT |
| HIGH⚡ | …_ai/tests/data_cleaner/transformer_actions/test_row.py | 343 | action = dict(action_code='(value < 110 and value >= 50) and (value != null)') | CODE |
| HIGH⚡ | …_ai/tests/data_cleaner/transformer_actions/test_row.py | 345 | action3 = dict(action_code='(brand != null and value > 60) or (discounted == null)') | CODE |
| HIGH⚡ | …_ai/tests/data_cleaner/transformer_actions/test_row.py | 348 | ' or (discounted == False and value != null)' | CODE |
| HIGH⚡ | …_ai/tests/data_cleaner/transformer_actions/test_row.py | 352 | ' or (discounted != null)' | CODE |
| HIGH⚡ | …_ai/tests/data_cleaner/transformer_actions/test_row.py | 465 | action = dict(action_code='("Val ue" < 110 and "Val ue" >= 50) and ("Val ue" != null)') | CODE |
| HIGH⚡ | …_ai/tests/data_cleaner/transformer_actions/test_row.py | 469 | '== null)' | CODE |
| HIGH⚡ | …_ai/tests/data_cleaner/transformer_actions/test_row.py | 473 | ' or ("dis>>> ??cou nted" == False and "Val ue" != null)' | CODE |
| HIGH⚡ | …_ai/tests/data_cleaner/transformer_actions/test_row.py | 477 | 'nTory" <= 80) or ("dis>>> ??cou nted" != null)' | CODE |
| HIGH | …_ai/tests/data_cleaner/transformer_actions/test_row.py | 550 | action_code='("e e e e e e e e" != null and " kas22d fe ($)" != null) and "e e e e ' | CODE |
| HIGH | …_ai/tests/data_cleaner/transformer_actions/test_row.py | 554 | action_code='("e e e e e e e e" != null and " kas22d fe ($)" != null) and "e e e e ' | CODE |
| HIGH | …_ai/tests/data_cleaner/transformer_actions/test_row.py | 655 | action = dict(action_code='(col != null) and (orig_col != null)') | CODE |
| HIGH | mage_ai/data_preparation/repo_manager.py | 365 | overwrite_uuid (str): If not null, the overwrite_uuid will overwrite the current | STRING |
| HIGH | mage_ai/data_preparation/git/__init__.py | 468 | self.repo.git.push( | CODE |
| HIGH | mage_ai/data_preparation/git/__init__.py | 513 | remote.push(branch_name, custom_progress) | CODE |
| HIGH⚡ | mage_ai/data_preparation/git/api.py | 176 | remote.push(branch_name, custom_progress) | CODE |
| HIGH | mage_ai/server/terminal_server.py | 114 | command[index] = r"clear -x && history -c && history -w && clear -x" | CODE |
| HIGH | mage_ai/server/websockets/terminal/utils.py | 171 | "ls --color=al > /dev/null 2>&1 && alias ls='ls -F --color=al' || alias ls='ls -G'", | CODE |
| HIGH | mage_ai/api/resources/GitBranchResource.py | 267 | custom_progress = api.push( | CODE |
| HIGH | mage_ai/api/resources/GitBranchResource.py | 289 | git_manager.push() | CODE |
| HIGH | …ge_ai/command_center/version_control/projects/utils.py | 131 | 'but run cat ~/.ssh/id_ed25519 | base64 | tr -d \\n && echo ' | CODE |
| HIGH | mage_ai/data_cleaner/cleaning_rules/impute_values.py | 107 | 4. Else, if less than RAND_EMPTY_UB ratio of entries are null, use random imputation | STRING |
| HIGH | mage_ai/data_cleaner/cleaning_rules/impute_values.py | 164 | 4. Else, if less than RAND_EMPTY_UB ratio of entries are null, use random imputation | STRING |
| HIGH | mage_ai/data_cleaner/cleaning_rules/impute_values.py | 198 | 4. Else, if less than RAND_EMPTY_UB ratio of entries are null, use random imputation | STRING |
| HIGH | …/mage_integrations/sources/zendesk/tap_zendesk/http.py | 114 | Return true if exception is required to retry otherwise return false | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | mage_ai/settings/repo.py | 41 | Retrieve the repository path based on the given parameters. Args: file_path (str, optional): The path | STRING |
| HIGH | mage_ai/io/airtable.py | 37 | Initializes an Airtable client from a configuration loader. Args: config (BaseConfigLoader | STRING |
| HIGH | mage_ai/io/mongodb.py | 49 | Loads the data frame from the MongoDB collection. Args: collection (str): MongoDB collecti | STRING |
| HIGH | mage_ai/io/sql.py | 29 | Maps pandas Data Frame column to SQL type Args: series (Series): Column to map | STRING |
| HIGH | mage_ai/io/base.py | 155 | Gets data frame reader based on file format Args: format (Union[FileFormat, str]): Format | STRING |
| HIGH | mage_ai/io/google_sheets.py | 89 | Fetches a Google Sheet, given a sheet_url, sheet_id, or sheet_name. Args: sheet_url (str, optional) | STRING |
| HIGH | mage_ai/io/google_sheets.py | 130 | Fetches a worksheet from a Google Sheet, given a sheet_url, sheet_id, or sheet_name. The worksheet may be fetche | STRING |
| HIGH | mage_ai/io/google_sheets.py | 179 | Loads a Google Sheet into a Pandas DataFrame, given a sheet_url, sheet_id, or sheet_name. A worksheet name or po | STRING |
| HIGH | mage_ai/io/google_sheets.py | 249 | Checks if a given sheet & worksheet (optional) exists. Args: sheet_url (str, optional): A sheet URL | STRING |
| HIGH | mage_ai/data_preparation/models/pipeline.py | 1598 | Searches for a file with a specified name in the provided directory and its subdirectories. Used in the | STRING |
| HIGH | mage_ai/data_preparation/models/triggers/__init__.py | 165 | Retrieve triggers for a given pipeline, utilizing a cache to avoid unnecessary file reads. This function check | STRING |
| HIGH | mage_ai/data_preparation/models/block/sql/__init__.py | 56 | Execute SQL code within the given block's data context. Args: block (Block): The block containing the | STRING |
| HIGH | mage_ai/data_preparation/logging/logger_manager.py | 219 | Get the full log file path for the current pipeline or block. Args: create_dir (bool, opti | STRING |
| HIGH | mage_ai/server/active_kernel.py | 30 | Switches the active kernel to the specified kernel name, handling its startup and shutdown. This function | STRING |
| HIGH | mage_ai/streaming/sinks/sink_factory.py | 85 | Find the class that's decorated with streaming_sink from the source code. Args: content (s | STRING |
| HIGH | mage_ai/streaming/sources/kafka_oauth.py | 34 | Create an OAuth token provider for OAUTHBEARER mechanism. Args: sasl_config: SASL configuration co | STRING |
| HIGH | mage_ai/streaming/sources/source_factory.py | 58 | Find the class that's decorated with streaming_source from the source code. Args: content | STRING |
| HIGH | mage_ai/data/tabular/reader.py | 55 | Dynamically creates a filter expression for a given column, value, and comparison operation. Args: - column | STRING |
| HIGH | …_integrations/mage_integrations/destinations/target.py | 181 | Get sink for a stream. Developers can override this method to return a custom Sink type depending on th | STRING |
| HIGH | …ns/destinations/clickhouse/target_clickhouse/target.py | 92 | Internal method to process jsonl lines from a Singer tap. Args: file_input: Readable stream of mess | STRING |
| HIGH | …ns/destinations/opensearch/target_opensearch/target.py | 196 | Internal method to process jsonl lines from a Singer tap. Args: file_input: Readable stream of mess | STRING |
| HIGH | …ns/mage_integrations/destinations/bigquery/__init__.py | 698 | Run a BigQuery load job using the provided parameters. Args: client: The BigQuery client i | STRING |
| HIGH | …grations/destinations/mongodb/target_mongodb/target.py | 81 | Internal method to process jsonl lines from a Singer tap. Args: file_input: Readable stream of mess | STRING |
| HIGH | …ns/destinations/salesforce/target_salesforce/target.py | 133 | Internal method to process jsonl lines from a Singer tap. Args: file_input: Readable stream of mess | STRING |
| HIGH | …tinations/elasticsearch/target_elasticsearch/target.py | 222 | Internal method to process jsonl lines from a Singer tap. Args: file_input: Readable stream of mess | STRING |
| HIGH | …integrations/mage_integrations/connections/sql/base.py | 34 | Execute the provided SQL queries using the given connection, or create a new one if not provided. If a | STRING |
| HIGH | …ns/mage_integrations/sources/google_sheets/__init__.py | 200 | Retrieves metadata for a given sheet in a Google Spreadsheet. Args: sheet (dict): The meta | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …ontend_dist/_next/static/chunks/52.f85240ece214e16f.js | 1 | "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[52],{17463:function(e,t,i){i.d(t,{p:function(){ret | CODE |
| CRITICAL | …tend_dist/_next/static/chunks/4261.d74157a140111d66.js | 1 | (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4261],{39584:function(e){"use strict";function t(e,t,r){e insta | CODE |
| CRITICAL⚡ | …ks/pages/pipelines/[pipeline]/edit-08c613f3ee652f20.js | 1 | (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2551],{53779:function(e,n,t){"use strict";t.d(n,{C:function(){r | CODE |
| CRITICAL | …th_template/_next/static/chunks/52.f85240ece214e16f.js | 1 | "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[52],{17463:function(e,t,i){i.d(t,{p:function(){ret | CODE |
| CRITICAL | …_template/_next/static/chunks/4261.d74157a140111d66.js | 1 | (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4261],{39584:function(e){"use strict";function t(e,t,r){e insta | CODE |
| CRITICAL⚡ | …ks/pages/pipelines/[pipeline]/edit-08c613f3ee652f20.js | 1 | (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2551],{53779:function(e,n,t){"use strict";t.d(n,{C:function(){r | CODE |
| CRITICAL | mage_ai/orchestration/db/__init__.py | 105 | self.session.registry.registry.value.start_cache() | CODE |
| CRITICAL | mage_ai/orchestration/db/__init__.py | 110 | self.session.registry.registry.value.stop_cache() | CODE |
| CRITICAL | mage_ai/services/spark/models/stages.py | 301 | # org.apache.spark.sql.Dataset.count(Dataset.scala:3625) | COMMENT |
| CRITICAL | mage_ai/services/spark/models/stages.py | 417 | # org.apache.spark.sql.Dataset.count(Dataset.scala:3625) | COMMENT |
| CRITICAL | mage_ai/services/spark/models/threads.py | 17 | # "java.base@11.0.20/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)", | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | mage_ai/io/redshift.py | 138 | CODE | |
| LOW | mage_ai/io/clickhouse.py | 195 | CODE | |
| LOW | mage_ai/io/trino.py | 273 | CODE | |
| LOW | mage_ai/io/mongodb.py | 11 | CODE | |
| LOW | mage_ai/io/bigquery.py | 198 | CODE | |
| LOW | mage_ai/io/druid.py | 151 | CODE | |
| LOW | mage_ai/io/snowflake.py | 197 | CODE | |
| LOW | mage_ai/io/postgres.py | 23 | CODE | |
| LOW | mage_ai/io/pinot.py | 115 | CODE | |
| LOW | mage_ai/io/sql.py | 220 | CODE | |
| LOW | …a_preparation/models/global_hooks/test_global_hooks.py | 52 | CODE | |
| LOW | mage_ai/tests/shared/mixins.py | 80 | CODE | |
| LOW | mage_ai/tests/shared/mixins.py | 212 | CODE | |
| LOW | mage_ai/tests/api/test_views.py | 17 | CODE | |
| LOW | mage_ai/tests/api/test_views.py | 267 | CODE | |
| LOW | mage_ai/tests/api/test_views.py | 277 | CODE | |
| LOW | mage_ai/tests/api/endpoints/mixins.py | 79 | CODE | |
| LOW | mage_ai/tests/api/endpoints/mixins.py | 198 | CODE | |
| LOW | mage_ai/tests/api/endpoints/mixins.py | 303 | CODE | |
| LOW | mage_ai/tests/api/endpoints/mixins.py | 408 | CODE | |
| LOW | mage_ai/tests/api/endpoints/mixins.py | 513 | CODE | |
| LOW | mage_ai/tests/api/endpoints/mixins.py | 97 | CODE | |
| LOW | mage_ai/tests/api/endpoints/mixins.py | 214 | CODE | |
| LOW | mage_ai/tests/api/endpoints/mixins.py | 319 | CODE | |
| LOW | mage_ai/tests/api/endpoints/mixins.py | 424 | CODE | |
| LOW | mage_ai/tests/api/endpoints/mixins.py | 529 | CODE | |
| LOW | mage_ai/tests/api/endpoints/mixins.py | 648 | CODE | |
| LOW | mage_ai/tests/api/endpoints/mixins.py | 733 | CODE | |
| LOW | mage_ai/tests/api/endpoints/mixins.py | 822 | CODE | |
| LOW | mage_ai/tests/api/endpoints/mixins.py | 909 | CODE | |
| LOW | mage_ai/tests/api/endpoints/mixins.py | 1020 | CODE | |
| LOW | mage_ai/tests/api/endpoints/mixins.py | 115 | CODE | |
| LOW | mage_ai/tests/api/endpoints/mixins.py | 230 | CODE | |
| LOW | mage_ai/tests/api/endpoints/mixins.py | 335 | CODE | |
| LOW | mage_ai/tests/api/endpoints/mixins.py | 440 | CODE | |
| LOW | mage_ai/tests/api/endpoints/mixins.py | 545 | CODE | |
| LOW | …icies/permissions/test_base_policy_with_permissions.py | 491 | CODE | |
| LOW | mage_ai/data_preparation/variable_manager.py | 61 | CODE | |
| LOW | mage_ai/data_preparation/variable_manager.py | 213 | CODE | |
| LOW | mage_ai/data_preparation/variable_manager.py | 326 | CODE | |
| LOW | mage_ai/data_preparation/variable_manager.py | 367 | CODE | |
| LOW | mage_ai/data_preparation/models/variable.py | 71 | CODE | |
| LOW | mage_ai/data_preparation/models/file.py | 523 | CODE | |
| LOW | mage_ai/data_preparation/models/file.py | 167 | CODE | |
| LOW | mage_ai/data_preparation/models/pipeline.py | 94 | CODE | |
| LOW | mage_ai/data_preparation/models/pipeline.py | 1148 | CODE | |
| LOW | mage_ai/data_preparation/models/pipeline.py | 1921 | CODE | |
| LOW | mage_ai/data_preparation/models/widget/__init__.py | 72 | CODE | |
| LOW | …_ai/data_preparation/models/global_hooks/predicates.py | 56 | CODE | |
| LOW | mage_ai/data_preparation/models/global_hooks/models.py | 373 | CODE | |
| LOW | mage_ai/data_preparation/models/global_hooks/models.py | 472 | CODE | |
| LOW | mage_ai/data_preparation/models/global_hooks/models.py | 571 | CODE | |
| LOW | mage_ai/data_preparation/models/global_hooks/models.py | 929 | CODE | |
| LOW | mage_ai/data_preparation/models/global_hooks/models.py | 1030 | CODE | |
| LOW | mage_ai/data_preparation/models/global_hooks/models.py | 950 | CODE | |
| LOW | mage_ai/data_preparation/models/block/__init__.py | 170 | CODE | |
| LOW | mage_ai/data_preparation/models/block/__init__.py | 267 | CODE | |
| LOW | mage_ai/data_preparation/models/block/__init__.py | 357 | CODE | |
| LOW | mage_ai/data_preparation/models/block/__init__.py | 696 | CODE | |
| LOW | mage_ai/data_preparation/models/block/__init__.py | 1046 | CODE | |
| 93 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | …ublic/monaco-editor/min/vs/language/html/htmlWorker.js | 259 | * To learn about this declaration in Firefox for Mobile, see [this article](https://developer.mozilla.org/en-US/do | COMMENT |
| MEDIUM⚡ | …ublic/monaco-editor/min/vs/language/html/htmlWorker.js | 269 | Default mode, which indicates no preference for the decoding mode. The browser decides what is best for the user.`},{nam | CODE |
| MEDIUM⚡ | …ublic/monaco-editor/min/vs/language/html/htmlWorker.js | 269 | Default mode, which indicates no preference for the decoding mode. The browser decides what is best for the user.`},{nam | CODE |
| MEDIUM | …ublic/monaco-editor/min/vs/language/html/htmlWorker.js | 287 | **Note**: Sites that automatically play audio (or videos with an audio track) can be an unpleasant experience for users, | CODE |
| LOW | mage_ai/io/snowflake.py | 328 | # should_create_table is True when the table does not exist, so just create the | COMMENT |
| LOW | …ata_preparation/models/block/data_integration/utils.py | 841 | # If source, then just pass the output file to the destination to read from. | COMMENT |
| MEDIUM | …tend_dist/_next/static/chunks/7849-e52eeca7d1a2b973.js | 2 | (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7849],{26037:function(e){"use strict";e.exports=function(e,n){v | CODE |
| MEDIUM | …tend_dist/_next/static/chunks/7849-e52eeca7d1a2b973.js | 2 | (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7849],{26037:function(e){"use strict";e.exports=function(e,n){v | CODE |
| MEDIUM | …dist/_next/static/chunks/framework-ea07653270784974.js | 2 | "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9774],{9188:function(e,t,n){var r=n(82684);functio | CODE |
| MEDIUM | …dist/_next/static/chunks/framework-ea07653270784974.js | 2 | "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9774],{9188:function(e,t,n){var r=n(82684);functio | CODE |
| MEDIUM⚡ | …_dist/monaco-editor/min/vs/language/html/htmlWorker.js | 259 | * To learn about this declaration in Firefox for Mobile, see [this article](https://developer.mozilla.org/en-US/do | COMMENT |
| MEDIUM⚡ | …_dist/monaco-editor/min/vs/language/html/htmlWorker.js | 269 | Default mode, which indicates no preference for the decoding mode. The browser decides what is best for the user.`},{nam | CODE |
| MEDIUM⚡ | …_dist/monaco-editor/min/vs/language/html/htmlWorker.js | 269 | Default mode, which indicates no preference for the decoding mode. The browser decides what is best for the user.`},{nam | CODE |
| MEDIUM | …_dist/monaco-editor/min/vs/language/html/htmlWorker.js | 287 | **Note**: Sites that automatically play audio (or videos with an audio track) can be an unpleasant experience for users, | CODE |
| MEDIUM | …_template/_next/static/chunks/7849-e52eeca7d1a2b973.js | 2 | (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7849],{26037:function(e){"use strict";e.exports=function(e,n){v | CODE |
| MEDIUM | …_template/_next/static/chunks/7849-e52eeca7d1a2b973.js | 2 | (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7849],{26037:function(e){"use strict";e.exports=function(e,n){v | CODE |
| MEDIUM | …late/_next/static/chunks/framework-ea07653270784974.js | 2 | "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9774],{9188:function(e,t,n){var r=n(82684);functio | CODE |
| MEDIUM | …late/_next/static/chunks/framework-ea07653270784974.js | 2 | "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9774],{9188:function(e,t,n){var r=n(82684);functio | CODE |
| MEDIUM⚡ | …plate/monaco-editor/min/vs/language/html/htmlWorker.js | 259 | * To learn about this declaration in Firefox for Mobile, see [this article](https://developer.mozilla.org/en-US/do | COMMENT |
| MEDIUM⚡ | …plate/monaco-editor/min/vs/language/html/htmlWorker.js | 269 | Default mode, which indicates no preference for the decoding mode. The browser decides what is best for the user.`},{nam | CODE |
| MEDIUM⚡ | …plate/monaco-editor/min/vs/language/html/htmlWorker.js | 269 | Default mode, which indicates no preference for the decoding mode. The browser decides what is best for the user.`},{nam | CODE |
| MEDIUM | …plate/monaco-editor/min/vs/language/html/htmlWorker.js | 287 | **Note**: Sites that automatically play audio (or videos with an audio track) can be an unpleasant experience for users, | CODE |
| LOW | mage_ai/api/resources/GitBranchResource.py | 217 | # arguments to the action, but for now we will just pass in a single argument. | COMMENT |
| MEDIUM | …ns/mage_integrations/destinations/teradata/__init__.py | 212 | # Run commands in one Teradata session to leverage TEMP table | STRING |
| MEDIUM | …s/mage_integrations/destinations/snowflake/__init__.py | 468 | # Run commands in one Snowflake session to leverage TEMP table | STRING |
| LOW | …ions/mage_integrations/sources/hubspot/tests/client.py | 73 | # to do a response.json() on a 204 response. To get around this we just return an empty list | COMMENT |
| MEDIUM | …egrations/mage_integrations/sources/stripe/__init__.py | 842 | # in the wild. To make it as robust as possible we're currently | COMMENT |
| LOW | …egrations/mage_integrations/sources/stripe/__init__.py | 953 | # Events can have the same created at time, so just use the first one | COMMENT |
| LOW | …egrations/mage_integrations/sources/stripe/__init__.py | 971 | # Else just return | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | mage_ai/settings/backends.py | 8 | logger = logging.getLogger(__name__) | CODE |
| LOW | mage_ai/settings/repo.py | 113 | def set_repo_path(repo_path: str) -> None: | CODE |
| LOW | mage_ai/cache/dbt/cache.py | 93 | async def update_async(self, file_path: str) -> None: | CODE |
| LOW | mage_ai/version_control/models.py | 651 | def set_user_config(self) -> None: | CODE |
| LOW | mage_ai/io/duckdb.py | 13 | logger = logging.getLogger(__name__) | CODE |
| LOW | mage_ai/io/chroma.py | 10 | logger = logging.getLogger(__name__) | CODE |
| LOW | mage_ai/data_preparation/repo_manager.py | 36 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | mage_ai/data_preparation/repo_manager.py | 345 | def set_project_uuid_from_metadata() -> None: | CODE |
| LOW⚡ | mage_ai/data_preparation/repo_manager.py | 354 | def update_settings_on_metadata_change() -> None: | CODE |
| LOW | mage_ai/data_preparation/repo_manager.py | 408 | def set_repo_path(repo_path: str) -> None: | CODE |
| LOW⚡ | mage_ai/data_preparation/models/file.py | 637 | async def update_caches_async(repo_path: str, dir_path: str, filename: str) -> None: | CODE |
| LOW⚡ | mage_ai/data_preparation/models/file.py | 652 | def update_caches(repo_path: str, dir_path: str, filename: str) -> None: | CODE |
| LOW⚡ | mage_ai/data_preparation/models/file.py | 667 | def update_file_cache() -> None: | CODE |
| LOW⚡ | mage_ai/data_preparation/models/block/__init__.py | 3163 | def update_callback_blocks(self, callback_blocks: List[Any]) -> None: | CODE |
| LOW⚡ | mage_ai/data_preparation/models/block/__init__.py | 3166 | def update_conditional_blocks(self, conditional_blocks: List[Any]) -> None: | CODE |
| LOW⚡ | mage_ai/data_preparation/models/block/__init__.py | 3169 | def update_upstream_blocks(self, upstream_blocks: List[Any], **kwargs) -> None: | CODE |
| LOW | mage_ai/data_preparation/models/block/__init__.py | 3211 | def update_status(self, status: BlockStatus) -> None: | CODE |
| LOW | mage_ai/data_preparation/models/block/__init__.py | 3474 | def set_global_vars(self, global_vars: Dict) -> None: | CODE |
| LOW | mage_ai/data_preparation/models/block/dbt/__init__.py | 3 | __all__ = ['DBTBlock'] | CODE |
| LOW | …ta_preparation/models/block/data_integration/mixins.py | 191 | def update_catalog_file(self, catalog: Dict = None) -> None: | CODE |
| LOW | mage_ai/data_preparation/models/block/spark/mixins.py | 183 | def set_spark_job_execution_start(self, execution_uuid: str = None) -> None: | CODE |
| LOW | mage_ai/data_preparation/models/block/spark/mixins.py | 207 | def set_spark_job_execution_end(self) -> None: | CODE |
| LOW | mage_ai/data_preparation/git/__init__.py | 517 | def set_origin(self, remote_name: str) -> None: | CODE |
| LOW | mage_ai/data_preparation/git/__init__.py | 564 | def update_config(self, settings: Dict) -> None: | CODE |
| LOW | mage_ai/server/server.py | 152 | def update_latest_activity(self) -> None: | CODE |
| LOW⚡ | mage_ai/server/execution_manager.py | 43 | def set_current_pipeline_process(process: multiprocessing.Process) -> None: | CODE |
| LOW⚡ | mage_ai/server/execution_manager.py | 50 | def set_current_message_task(task: asyncio.Task) -> None: | CODE |
| LOW | mage_ai/server/execution_manager.py | 96 | def set_previous_config_path(path: str) -> None: | CODE |
| LOW | mage_ai/shared/conversions.py | 13 | logger = logging.getLogger(__name__) | CODE |
| LOW | mage_ai/shared/logger.py | 11 | logger = logging.getLogger(__name__) | CODE |
| LOW | mage_ai/shared/logger.py | 87 | def set_logging_format(logging_format: str = None, level: str = None) -> None: | CODE |
| LOW | mage_ai/streaming/sources/kafka_oauth.py | 30 | logger = logging.getLogger(__name__) | CODE |
| LOW | mage_ai/orchestration/db/models/schedules.py | 1223 | def update_block_run_statuses(self, block_runs: List['BlockRun']) -> None: | CODE |
| LOW | mage_ai/data_cleaner/statistics/calculator.py | 23 | logger = logging.getLogger(__name__) | CODE |
| LOW | mage_ai/data_cleaner/analysis/calculator.py | 25 | logger = logging.getLogger(__name__) | CODE |
| LOW | mage_ai/data_cleaner/transformer_actions/utils.py | 18 | logger = logging.getLogger(__name__) | CODE |
| LOW | mage_ai/data_cleaner/transformer_actions/column.py | 28 | logger = logging.getLogger(__name__) | CODE |
| LOW | mage_ai/authentication/permissions/seed.py | 37 | logger = logging.getLogger(__name__) | CODE |
| LOW | mage_ai/services/aws/emr/emr.py | 19 | logger = logging.getLogger(__name__) | CODE |
| LOW | mage_ai/services/aws/emr/emr_basics.py | 15 | logger = logging.getLogger(__name__) | CODE |
| LOW | …integrations/mage_integrations/destinations/sqlsink.py | 414 | __all__ = ["SQLSink", "SQLConnector"] | STRING |
| LOW | …ns/sources/pipedrive/tap_pipedrive/streams/__init__.py | 18 | __all__ = ['CurrenciesStream', 'ActivityTypesStream', 'FiltersStream', 'StagesStream', 'PipelinesStream', | CODE |
| LOW | …e_integrations/sources/zendesk/spikes/ticket_events.py | 27 | logger = logging.getLogger(__name__) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | mage_ai/kernels/default/utils.py | 55 | # Check if cmdline is available and contains 'ipykernel_launcher' | COMMENT |
| LOW | mage_ai/tests/api/operations/test_pipeline_schedules.py | 101 | # Check if trigger in triggers.yaml config file was also updated | COMMENT |
| LOW | mage_ai/data_preparation/models/pipeline.py | 346 | # Verify if zip contents are part of a root folder | COMMENT |
| LOW | mage_ai/data_preparation/models/triggers/__init__.py | 89 | # Check if trigger has valid cron expression | COMMENT |
| LOW | mage_ai/data_preparation/models/block/__init__.py | 1387 | # Print result to block output | COMMENT |
| LOW | mage_ai/server/api/downloads.py | 121 | if file_list[0].endswith('.xlsx'): # Check if it's an XLSX file | CODE |
| LOW | mage_ai/streaming/sources/nats_js.py | 113 | # Check if the stream exists, and create it if it doesn't | COMMENT |
| LOW | mage_ai/system/memory/process.py | 180 | # Check if any line in the traceback belongs to your function's code file | COMMENT |
| LOW | mage_ai/ai/utils/xgboost.py | 18 | # Check if the booster has been trained by checking for the existence of an attribute | COMMENT |
| LOW | mage_ai/orchestration/triggers/global_data_product.py | 184 | # Check if most recent pipeline run has failed, canceled, or report the status | COMMENT |
| LOW | mage_ai/orchestration/triggers/global_data_product.py | 202 | # Check if polling has timed out | COMMENT |
| LOW | mage_ai/orchestration/triggers/global_data_product.py | 216 | # Check if global data product is outdated | COMMENT |
| LOW | mage_ai/orchestration/utils/resources.py | 48 | # Check if cgroup v2 is being used (single unified hierarchy) | COMMENT |
| LOW | mage_ai/api/policies/mixins/user_permissions.py | 101 | # Check if user is an owner | COMMENT |
| LOW | mage_ai/data/models/generator.py | 19 | # Check if the total length has been determined already | COMMENT |
| LOW | mage_ai/data/models/generator.py | 56 | self.data = None # Set data to None when the generator is exhausted | CODE |
| LOW | docs/docs.sh | 3 | # Check if mintlify is installed | COMMENT |
| LOW | …rations/sources/twitter_ads/tap_twitter_ads/streams.py | 513 | # Increment counters | COMMENT |
| LOW | …rations/sources/twitter_ads/tap_twitter_ads/streams.py | 963 | # Increment total_records | COMMENT |
| LOW | …rations/mage_integrations/sources/dynamodb/__init__.py | 118 | # Check if streams available | COMMENT |
| LOW | …e_integrations/sources/hubspot/tap_hubspot/__init__.py | 804 | # Check if we should include associations | COMMENT |
| LOW | …ns/mage_integrations/sources/github/tap_github/sync.py | 128 | # Check if the key is available in the list of currently selected repo's list or not. | COMMENT |
| LOW | …es/salesforce/client/tap_salesforce/salesforce/bulk.py | 111 | # Set pk_chunking to True to indicate that we should write a bookmark differently | COMMENT |
| LOW | scripts/dev.sh | 211 | # Check if SERVICES is empty and set it to default services if it is | COMMENT |
| LOW | scripts/devex/copy_git_hooks.sh | 7 | # Check if the correct number of arguments are provided | COMMENT |
| LOW | scripts/devex/copy_git_hooks.sh | 16 | # Check if the source and destination directories exist | COMMENT |
| LOW | scripts/frontend/fix.py | 57 | # Check if line contains a filename (assuming error lines do not start with '/') | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ublic/monaco-editor/min/vs/language/html/htmlWorker.js | 439 | **Note:** Do not use this attribute, as it is non-standard and only implemented in some versions of Microsoft Internet E | CODE |
| LOW | mage_ai/frontend/pages/settings/workspace/sync-data.tsx | 325 | value: 'placeholder', | CODE |
| LOW | …ests/authentication/providers/test_active_directory.py | 45 | 'userPrincipalName': 'test@test.com', | CODE |
| LOW | …ests/authentication/providers/test_active_directory.py | 131 | self.assertEqual(user_info['email'], 'test@test.com') | CODE |
| LOW | …ests/authentication/providers/test_active_directory.py | 132 | self.assertEqual(user_info['username'], 'test@test.com') | CODE |
| LOW | mage_ai/server/frontend_dist/v2.html | 37 | </style></head><body><div id="__next"></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"m | CODE |
| LOW | …_dist/_next/static/chunks/29107295-c0a511dcab14f9e9.js | 2 | (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3662],{10103:function(n,t,r){var e;n=r.nmd(n),function(){var u, | CODE |
| LOW | …pages/settings/workspace/sync-data-da85e399cc91f625.js | 1 | (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2403],{79264:function(e,t,n){"use strict";var i=n(82394),r=n(75 | CODE |
| LOW | mage_ai/server/frontend_dist/v2/canvas.html | 37 | </style></head><body><div id="__next"></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"m | CODE |
| LOW | …_dist/monaco-editor/min/vs/language/html/htmlWorker.js | 439 | **Note:** Do not use this attribute, as it is non-standard and only implemented in some versions of Microsoft Internet E | CODE |
| LOW | mage_ai/server/frontend_dist_base_path_template/v2.html | 37 | </style></head><body><div id="__next"></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"m | CODE |
| LOW | …plate/_next/static/chunks/29107295-c0a511dcab14f9e9.js | 2 | (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3662],{10103:function(n,t,r){var e;n=r.nmd(n),function(){var u, | CODE |
| LOW | …pages/settings/workspace/sync-data-da85e399cc91f625.js | 1 | (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2403],{79264:function(e,t,n){"use strict";var i=n(82394),r=n(75 | CODE |
| LOW | …server/frontend_dist_base_path_template/v2/canvas.html | 37 | </style></head><body><div id="__next"></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"m | CODE |
| LOW | …plate/monaco-editor/min/vs/language/html/htmlWorker.js | 439 | **Note:** Do not use this attribute, as it is non-standard and only implemented in some versions of Microsoft Internet E | CODE |
| LOW | …rations/sources/hubspot/tap_hubspot/schemas/forms.json | 112 | "placeholder": { | CODE |
| LOW | …ions/mage_integrations/sources/hubspot/tests/client.py | 1114 | # "placeholder": "" | COMMENT |
| LOW | …ions/mage_integrations/sources/hubspot/tests/client.py | 1053 | "placeholder": "" | CODE |
| LOW | …ions/mage_integrations/sources/hubspot/tests/client.py | 1083 | "placeholder": "" | CODE |
| LOW | …ge_integrations/sources/zendesk/test/test_bookmarks.py | 113 | user = User(name="John Doe", email="{}@mailinator.com".format(uuid.uuid4())) | CODE |
| LOW | …/sources/zendesk/test/unittests/test_discovery_mode.py | 61 | discover.discover_streams('dummy_client', {'subdomain': 'arp', 'access_token': 'dummy_token', 'start_date':START | CODE |
| LOW | …/sources/zendesk/test/unittests/test_discovery_mode.py | 104 | discover.discover_streams('dummy_client', {'subdomain': 'arp', 'access_token': 'dummy_token', 'start_date':START | CODE |
| LOW | …/sources/zendesk/test/unittests/test_discovery_mode.py | 149 | responses = discover.discover_streams('dummy_client', {'subdomain': 'arp', 'access_token': 'dummy_token', 'start | CODE |
| LOW | …/sources/zendesk/test/unittests/test_discovery_mode.py | 187 | responses = discover.discover_streams('dummy_client', {'subdomain': 'arp', 'access_token': 'dummy_token', 's | CODE |
| LOW | …/sources/zendesk/test/unittests/test_discovery_mode.py | 226 | responses = discover.discover_streams('dummy_client', {'subdomain': 'arp', 'access_token': 'dummy_token', 's | CODE |
| LOW | …/sources/zendesk/test/unittests/test_discovery_mode.py | 264 | discover.discover_streams('dummy_client', {'subdomain': 'arp', 'access_token': 'dummy_token', 'start_date':START | CODE |
| LOW | …/sources/zendesk/test/unittests/test_discovery_mode.py | 303 | responses = discover.discover_streams('dummy_client', {'subdomain': 'arp', 'access_token': 'dummy_token', 's | CODE |
| LOW | …egrations/mage_integrations/sources/stripe/__init__.py | 583 | record = {'id': 'dummy_id', 'tiers': [{"flat_amount": 4578"unit_amount": 7241350}]} | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …/data_preparation/models/block/dynamic/test_factory.py | 4 | # from mage_ai.orchestration.pipeline_scheduler import PipelineScheduler | COMMENT |
| MEDIUM | …sts/orchestration/triggers/test_global_data_product.py | 12 | # from mage_ai.orchestration.pipeline_scheduler import PipelineScheduler, schedule_all | COMMENT |
| MEDIUM | …e_ai/data_preparation/templates/data_loaders/qdrant.py | 20 | # Use all-MiniLM-L6-v2 embedding model as default. | COMMENT |
| MEDIUM⚡ | …ks/pages/pipelines/[pipeline]/edit-08c613f3ee652f20.js | 1 | (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2551],{53779:function(e,n,t){"use strict";t.d(n,{C:function(){r | CODE |
| MEDIUM | …ages/pipelines/[pipeline]/settings-03d9bca3bc5e6088.js | 1 | (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8170],{81334:function(e,n,t){"use strict";t.d(n,{Z:function(){r | CODE |
| MEDIUM⚡ | …ks/pages/pipelines/[pipeline]/edit-08c613f3ee652f20.js | 1 | (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2551],{53779:function(e,n,t){"use strict";t.d(n,{C:function(){r | CODE |
| MEDIUM | …ages/pipelines/[pipeline]/settings-03d9bca3bc5e6088.js | 1 | (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8170],{81334:function(e,n,t){"use strict";t.d(n,{Z:function(){r | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …/public/monaco-editor/min/vs/language/css/cssWorker.js | 31 | `);return[{language:"html",value:t}]},n.prototype.doPrint=function(e,t){for(var r=0,i=e;r<i.length;r++){var o=i[r];this. | CODE |
| MEDIUM | …ublic/monaco-editor/min/vs/language/html/htmlWorker.js | 305 | **Usage note:** Do not use this attribute, as it has been deprecated. The [\`<caption>\`](https://developer.mozilla.org/ | CODE |
| LOW | …pages/settings/workspace/sync-data-da85e399cc91f625.js | 1 | (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2403],{79264:function(e,t,n){"use strict";var i=n(82394),r=n(75 | CODE |
| MEDIUM⚡ | …ks/pages/pipelines/[pipeline]/edit-08c613f3ee652f20.js | 1 | (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2551],{53779:function(e,n,t){"use strict";t.d(n,{C:function(){r | CODE |
| LOW | …nd_dist/monaco-editor/min/vs/language/css/cssWorker.js | 31 | `);return[{language:"html",value:t}]},n.prototype.doPrint=function(e,t){for(var r=0,i=e;r<i.length;r++){var o=i[r];this. | CODE |
| MEDIUM | …_dist/monaco-editor/min/vs/language/html/htmlWorker.js | 305 | **Usage note:** Do not use this attribute, as it has been deprecated. The [\`<caption>\`](https://developer.mozilla.org/ | CODE |
| LOW | …pages/settings/workspace/sync-data-da85e399cc91f625.js | 1 | (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2403],{79264:function(e,t,n){"use strict";var i=n(82394),r=n(75 | CODE |
| MEDIUM⚡ | …ks/pages/pipelines/[pipeline]/edit-08c613f3ee652f20.js | 1 | (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2551],{53779:function(e,n,t){"use strict";t.d(n,{C:function(){r | CODE |
| LOW | …emplate/monaco-editor/min/vs/language/css/cssWorker.js | 31 | `);return[{language:"html",value:t}]},n.prototype.doPrint=function(e,t){for(var r=0,i=e;r<i.length;r++){var o=i[r];this. | CODE |
| MEDIUM | …plate/monaco-editor/min/vs/language/html/htmlWorker.js | 305 | **Usage note:** Do not use this attribute, as it has been deprecated. The [\`<caption>\`](https://developer.mozilla.org/ | CODE |
| LOW | …ge_integrations/sources/zendesk/test/test_bookmarks.py | 159 | # TODO NEW TEST: Ticket Audits/Comments, etc... -- make sure to test Audits+Comments selection permutations | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | mage_ai/tests/settings/models/test_dbt_project2.yml | 31 | # In this example config, we tell dbt to build all models in the example/ | COMMENT |
| HIGH | mage_ai/tests/settings/models/test_dbt_project1.yml | 31 | # In this example config, we tell dbt to build all models in the example/ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | mage_ai/frontend/components/ChartBlock/constants.ts | 392 | elif not isinstance(item, pd.DataFrame): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …grations/mage_integrations/sources/freshdesk/README.md | 21 | Follow [Freshdesk’s documentation](https://support.freshdesk.com/en/support/solutions/articles/215517-how-to-find-your-a | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | mage_ai/frontend/components/v2/IDE/utils/index.ts | 65 | // // Step 1: Create a new model reference | COMMENT |
| LOW⚡ | mage_ai/frontend/components/v2/IDE/utils/index.ts | 71 | // // Step 2: Update editor models with the new model | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | mage_ai/frontend/components/v2/IDE/utils/index.ts | 65 | // // Step 1: Create a new model reference | COMMENT |
| LOW⚡ | mage_ai/frontend/components/v2/IDE/utils/index.ts | 71 | // // Step 2: Update editor models with the new model | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | mage_ai/data_preparation/variable_manager.py | 42 | # TODO: implement caching logic | COMMENT |
| LOW | mage_ai/data_preparation/models/global_hooks/models.py | 324 | # TODO: implement | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | mage_ai/tests/shared/test_retry.py | 13 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | mage_ai/server/utils/execute_custom_code.py | 62 | def run_task( | CODE |
| LOW | mage_ai/services/aws/ecs/ecs.py | 8 | def run_task( | CODE |