Perform data science on data that remains in someone else's server
This report presents the forensic synthetic code analysis of OpenMined/PySyft, a Python project with 9,925 GitHub stars. SynthScan v2.0 examined 64,177 lines of code across 467 source files, recording 1752 pattern matches distributed across 19 syntactic categories. The overall adjusted score of 37.3 places this repository in the Strong AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 1752 distinct pattern matches across 19 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | syft_client/utils.py | 22 | def resolve_dataset_file_path(*args, **kwargs): | CODE |
| LOW | syft_client/utils.py | 26 | def get_syftbox_folder_if_not_passed( | CODE |
| LOW | syft_client/utils.py | 109 | def resolve_dataset_files_path( | CODE |
| LOW | syft_client/utils.py | 480 | def _get_package_manager_info() -> dict[str, Any]: | CODE |
| LOW | syft_client/utils.py | 508 | def _get_project_config_files() -> list[str]: | CODE |
| LOW | syft_client/job_auto_approval.py | 145 | def auto_approve_and_run_jobs( | CODE |
| LOW | syft_client/sync/login_utils.py | 28 | def _delete_remote_unversioned_state( | CODE |
| LOW | syft_client/sync/login_utils.py | 39 | def _handle_version_incompatible( | CODE |
| LOW | syft_client/sync/login_utils.py | 75 | def handle_potential_version_mismatches_on_login( | CODE |
| LOW⚡ | syft_client/sync/syftbox_manager.py | 1270 | def _upload_dataset_to_collection(self, dataset, users: list[str] | str) -> str: | CODE |
| LOW | syft_client/sync/syftbox_manager.py | 78 | def get_jupyter_default_syftbox_folder(email: str): | CODE |
| LOW | syft_client/sync/syftbox_manager.py | 82 | def get_colab_default_syftbox_folder(email: str): | CODE |
| LOW | syft_client/sync/syftbox_manager.py | 332 | def for_google_drive_testing_connection( | CODE |
| LOW | syft_client/sync/syftbox_manager.py | 631 | def _pair_with_google_drive_testing_connection( | CODE |
| LOW | syft_client/sync/syftbox_manager.py | 714 | def pair_with_mock_drive_service_connection( | CODE |
| LOW | syft_client/sync/syftbox_manager.py | 810 | def _init_encrypted_peer_store(self) -> None: | CODE |
| LOW | syft_client/sync/syftbox_manager.py | 1000 | def _check_peer_request_exists(self, email: str) -> bool: | CODE |
| LOW | syft_client/sync/syftbox_manager.py | 1027 | def _sync_peer_install_sources_to_job_client(self) -> None: | CODE |
| LOW | syft_client/sync/syftbox_manager.py | 1041 | def _ensure_local_peer_permissions(self) -> None: | CODE |
| LOW | syft_client/sync/syftbox_manager.py | 1053 | def _share_any_datasets_with_peer(self, peer_email: str): | CODE |
| LOW | syft_client/sync/syftbox_manager.py | 1166 | def _get_all_accepted_events_do(self) -> List[FileChangeEvent]: | CODE |
| LOW | syft_client/sync/syftbox_manager.py | 1235 | def _cleanup_failed_dataset_creation( | CODE |
| LOW | syft_client/sync/syftbox_manager.py | 1325 | def _upload_private_dataset_to_collection(self, dataset) -> str | None: | CODE |
| LOW | syft_client/sync/syftbox_manager.py | 1488 | def reset_all_connection_caches(self): | CODE |
| LOW | syft_client/sync/syftbox_manager.py | 1649 | def compact_outboxes_if_needed( | CODE |
| LOW | syft_client/sync/syftbox_manager.py | 1710 | def _resolve_dataset_owners_for_name(self, dataset_name: str) -> str | None: | CODE |
| LOW | syft_client/sync/login.py | 15 | def _verify_token_matches_email(client: SyftboxManager) -> None: | CODE |
| LOW | syft_client/sync/checkpoints/checkpoint.py | 77 | def from_file_hashes_and_contents( | CODE |
| LOW | syft_client/sync/checkpoints/checkpoint.py | 161 | def filename_to_sequence_number(cls, filename: str) -> int | None: | CODE |
| LOW | syft_client/sync/checkpoints/checkpoint.py | 186 | def compact_incremental_checkpoints( | CODE |
| LOW | syft_client/sync/utils/pre_submit_scan.py | 86 | def _print_client_kwarg_warning() -> None: | CODE |
| LOW | syft_client/sync/utils/pre_submit_scan.py | 97 | def _print_dataset_files_warning() -> None: | CODE |
| LOW | syft_client/sync/utils/print_utils.py | 32 | def print_peer_adding_to_platform(peer_email: str, platform_str: str): | CODE |
| LOW | syft_client/sync/utils/print_utils.py | 36 | def print_peer_added_to_platform(peer_email: str, platform_str: str): | CODE |
| LOW⚡ | syft_client/sync/utils/print_utils.py | 48 | def print_peer_request_sending(peer_email: str) -> None: | CODE |
| LOW⚡ | syft_client/sync/utils/print_utils.py | 52 | def print_peer_request_resending(peer_email: str) -> None: | CODE |
| LOW⚡ | syft_client/sync/utils/print_utils.py | 56 | def print_peer_request_accepting(peer_email: str) -> None: | CODE |
| LOW⚡ | syft_client/sync/utils/print_utils.py | 66 | def print_peer_connection_established(peer_email: str) -> None: | CODE |
| LOW⚡ | syft_client/sync/utils/print_utils.py | 71 | def print_peer_already_connected(peer_email: str, state: str) -> None: | CODE |
| LOW | syft_client/sync/utils/syftbox_utils.py | 38 | def get_event_hash_from_content(content: str | bytes) -> str: | CODE |
| LOW | syft_client/sync/utils/syftbox_utils.py | 58 | def random_syftbox_folder_for_testing(): | CODE |
| LOW | syft_client/sync/utils/syftbox_utils.py | 82 | def _get_default_syftbox_path(email: str) -> Path: | CODE |
| LOW | syft_client/sync/utils/syftbox_utils.py | 127 | def _delete_local_syftbox_dirs(local_syftbox_path: Path, verbose: bool = True) -> None: | CODE |
| LOW⚡ | syft_client/sync/connections/base_connection.py | 26 | def watcher_send_proposed_file_changes_message( | CODE |
| LOW⚡ | syft_client/sync/connections/base_connection.py | 35 | def owner_create_dataset_collection_folder( | CODE |
| LOW⚡ | syft_client/sync/connections/base_connection.py | 40 | def owner_tag_dataset_collection_as_any(self, tag: str, content_hash: str) -> None: | CODE |
| LOW⚡ | syft_client/sync/connections/base_connection.py | 43 | def owner_share_dataset_collection( | CODE |
| LOW⚡ | syft_client/sync/connections/base_connection.py | 48 | def owner_upload_dataset_files( | CODE |
| LOW⚡ | syft_client/sync/connections/base_connection.py | 53 | def owner_list_dataset_collections(self) -> list[str]: | CODE |
| LOW⚡ | syft_client/sync/connections/base_connection.py | 56 | def owner_list_all_dataset_collections_with_permissions( | CODE |
| LOW⚡ | syft_client/sync/connections/base_connection.py | 62 | def watcher_list_dataset_collections(self) -> list[dict]: | CODE |
| LOW⚡ | syft_client/sync/connections/base_connection.py | 66 | def watcher_download_dataset_collection( | CODE |
| LOW⚡ | syft_client/sync/connections/base_connection.py | 71 | def owner_create_private_dataset_collection_folder( | CODE |
| LOW⚡ | syft_client/sync/connections/base_connection.py | 76 | def owner_upload_private_dataset_files( | CODE |
| LOW⚡ | syft_client/sync/connections/base_connection.py | 81 | def owner_list_private_dataset_collections(self) -> list[FileCollection]: | CODE |
| LOW⚡ | syft_client/sync/connections/base_connection.py | 84 | def owner_get_private_collection_file_metadatas( | CODE |
| LOW⚡ | syft_client/sync/connections/base_connection.py | 93 | def watcher_send_raw_bytes_to_inbox( | CODE |
| LOW⚡ | syft_client/sync/connections/base_connection.py | 98 | def owner_download_next_raw_proposed_message_from_inbox( | CODE |
| LOW⚡ | syft_client/sync/connections/base_connection.py | 104 | def owner_write_raw_bytes_to_outbox( | CODE |
| LOW⚡ | syft_client/sync/connections/base_connection.py | 109 | def watcher_download_raw_events_from_outbox( | CODE |
| 825 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | notification_config.minimal.yaml | 1 | # ============================================================================ | COMMENT |
| MEDIUM | notification_config.minimal.yaml | 3 | # ============================================================================ | COMMENT |
| MEDIUM | notification_config.minimal.yaml | 15 | # ============================================================================ | COMMENT |
| MEDIUM | notification_config.minimal.yaml | 17 | # ============================================================================ | COMMENT |
| MEDIUM | notification_config.minimal.yaml | 28 | # ============================================================================ | COMMENT |
| MEDIUM | notification_config.minimal.yaml | 30 | # ============================================================================ | COMMENT |
| MEDIUM | syft_client/utils.py | 245 | # ============================================================================= | COMMENT |
| MEDIUM | syft_client/utils.py | 247 | # ============================================================================= | COMMENT |
| MEDIUM | syft_client/sync/syftbox_manager.py | 1624 | # ========================================================================= | COMMENT |
| MEDIUM | syft_client/sync/syftbox_manager.py | 1626 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | syft_client/sync/connections/base_connection.py | 89 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | syft_client/sync/connections/base_connection.py | 91 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | syft_client/sync/connections/base_connection.py | 114 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | syft_client/sync/connections/base_connection.py | 116 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | syft_client/sync/connections/connection_router.py | 80 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | syft_client/sync/connections/connection_router.py | 82 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | syft_client/sync/connections/connection_router.py | 143 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | syft_client/sync/connections/connection_router.py | 145 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | syft_client/sync/connections/connection_router.py | 174 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | syft_client/sync/connections/connection_router.py | 176 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | syft_client/sync/connections/connection_router.py | 241 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | syft_client/sync/connections/connection_router.py | 243 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | syft_client/sync/connections/connection_router.py | 260 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | syft_client/sync/connections/connection_router.py | 262 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | syft_client/sync/connections/connection_router.py | 404 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | syft_client/sync/connections/connection_router.py | 406 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | syft_client/sync/connections/connection_router.py | 488 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | syft_client/sync/connections/connection_router.py | 490 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | syft_client/sync/connections/connection_router.py | 529 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | syft_client/sync/connections/connection_router.py | 531 | # ========================================================================= | COMMENT |
| MEDIUM | syft_client/sync/connections/connection_router.py | 444 | # ========================================================================= | COMMENT |
| MEDIUM | syft_client/sync/connections/connection_router.py | 446 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | syft_client/sync/connections/drive/gdrive_transport.py | 1743 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | syft_client/sync/connections/drive/gdrive_transport.py | 1745 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | syft_client/sync/connections/drive/gdrive_transport.py | 1950 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | syft_client/sync/connections/drive/gdrive_transport.py | 1952 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | syft_client/sync/connections/drive/gdrive_transport.py | 2067 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | syft_client/sync/connections/drive/gdrive_transport.py | 2069 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | syft_client/sync/connections/drive/gdrive_transport.py | 2245 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | syft_client/sync/connections/drive/gdrive_transport.py | 2247 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | syft_client/sync/connections/drive/gdrive_transport.py | 2385 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | syft_client/sync/connections/drive/gdrive_transport.py | 2387 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | syft_client/sync/sync/datasite_owner_syncer.py | 419 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | syft_client/sync/sync/datasite_owner_syncer.py | 421 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | syft_client/sync/sync/datasite_owner_syncer.py | 819 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | syft_client/sync/sync/datasite_owner_syncer.py | 821 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | syft_client/sync/sync/datasite_owner_syncer.py | 878 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | syft_client/sync/sync/datasite_owner_syncer.py | 880 | # ========================================================================= | COMMENT |
| MEDIUM | syft_client/sync/sync/caches/datasite_owner_cache.py | 359 | # ========================================================================= | COMMENT |
| MEDIUM | syft_client/sync/sync/caches/datasite_owner_cache.py | 361 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | tests/unit/test_encryption.py | 140 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | tests/unit/test_encryption.py | 142 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | tests/unit/test_encryption.py | 251 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | tests/unit/test_encryption.py | 253 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | tests/unit/test_encryption.py | 301 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | tests/unit/test_encryption.py | 303 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | tests/unit/test_encryption.py | 476 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | tests/unit/test_encryption.py | 478 | # ========================================================================= | COMMENT |
| MEDIUM | tests/unit/test_encryption.py | 13 | # ========================================================================= | COMMENT |
| MEDIUM | tests/unit/test_encryption.py | 15 | # ========================================================================= | COMMENT |
| 92 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | syft_client/__init__.py | 20 | CODE | |
| LOW | syft_client/__init__.py | 21 | CODE | |
| LOW | syft_client/__init__.py | 21 | CODE | |
| LOW | syft_client/__init__.py | 21 | CODE | |
| LOW | syft_client/__init__.py | 22 | CODE | |
| LOW | syft_client/__init__.py | 22 | CODE | |
| LOW | syft_client/__init__.py | 22 | CODE | |
| LOW | syft_client/__init__.py | 22 | CODE | |
| LOW | syft_client/__init__.py | 22 | CODE | |
| LOW | syft_client/__init__.py | 29 | CODE | |
| LOW | syft_client/__init__.py | 29 | CODE | |
| LOW | syft_client/__init__.py | 29 | CODE | |
| LOW | syft_client/__init__.py | 34 | CODE | |
| LOW | syft_client/__init__.py | 34 | CODE | |
| LOW | syft_client/utils.py | 1 | CODE | |
| LOW | syft_client/utils.py | 19 | CODE | |
| LOW | syft_client/utils.py | 340 | CODE | |
| LOW | syft_client/job_auto_approval.py | 5 | CODE | |
| LOW | syft_client/sync/checkpoints/checkpoint.py | 240 | CODE | |
| LOW | syft_client/sync/checkpoints/checkpoint.py | 24 | CODE | |
| LOW | syft_client/sync/checkpoints/__init__.py | 1 | CODE | |
| LOW | syft_client/sync/checkpoints/__init__.py | 1 | CODE | |
| LOW | syft_client/sync/checkpoints/__init__.py | 1 | CODE | |
| LOW | syft_client/sync/checkpoints/__init__.py | 6 | CODE | |
| LOW | syft_client/sync/checkpoints/__init__.py | 6 | CODE | |
| LOW | syft_client/sync/utils/pre_submit_scan.py | 1 | CODE | |
| LOW | syft_client/sync/utils/print_utils.py | 9 | CODE | |
| LOW | syft_client/sync/utils/syftbox_utils.py | 20 | CODE | |
| LOW | syft_client/sync/connections/connection_router.py | 24 | CODE | |
| LOW | syft_client/sync/connections/drive/gdrive_transport.py | 58 | CODE | |
| LOW | syft_client/sync/version/version_info.py | 5 | CODE | |
| LOW | syft_client/sync/version/__init__.py | 8 | CODE | |
| LOW | syft_client/sync/version/__init__.py | 9 | CODE | |
| LOW | syft_client/sync/version/__init__.py | 9 | CODE | |
| LOW | syft_client/sync/version/__init__.py | 9 | CODE | |
| LOW | syft_client/sync/version/__init__.py | 9 | CODE | |
| LOW | syft_client/sync/version/__init__.py | 9 | CODE | |
| LOW | syft_client/sync/version/exceptions.py | 8 | CODE | |
| LOW | syft_client/sync/peers/__init__.py | 1 | CODE | |
| LOW | tests/unit/test_install_source_advertise.py | 11 | CODE | |
| LOW | scripts/check_token.py | 3 | CODE | |
| LOW | scripts/investigate_approve.py | 38 | CODE | |
| LOW | scripts/investigate_do_sync.py | 28 | CODE | |
| LOW | …ages/syft-notebook-ui/src/syft_notebook_ui/__init__.py | 1 | CODE | |
| LOW | …ages/syft-notebook-ui/src/syft_notebook_ui/__init__.py | 1 | CODE | |
| LOW | packages/syft-job/scripts/export_release_artifact.py | 17 | CODE | |
| LOW | packages/syft-job/src/syft_job/job.py | 1 | CODE | |
| LOW | packages/syft-job/src/syft_job/job_repr.py | 1 | CODE | |
| LOW | packages/syft-job/src/syft_job/job_repr.py | 7 | CODE | |
| LOW | packages/syft-job/src/syft_job/__init__.py | 2 | CODE | |
| LOW | packages/syft-job/src/syft_job/__init__.py | 4 | CODE | |
| LOW | packages/syft-job/src/syft_job/__init__.py | 4 | CODE | |
| LOW | packages/syft-job/src/syft_job/__init__.py | 4 | CODE | |
| LOW | packages/syft-job/src/syft_job/__init__.py | 5 | CODE | |
| LOW | packages/syft-job/src/syft_job/__init__.py | 6 | CODE | |
| LOW | packages/syft-job/src/syft_job/__init__.py | 6 | CODE | |
| LOW | packages/syft-job/src/syft_job/__init__.py | 7 | CODE | |
| LOW | packages/syft-job/src/syft_job/__init__.py | 7 | CODE | |
| LOW | packages/syft-job/src/syft_job/__init__.py | 8 | CODE | |
| LOW | packages/syft-job/src/syft_job/__init__.py | 10 | CODE | |
| 177 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | syft_client/gdrive_utils.py | 104 | except Exception: | CODE |
| LOW | syft_client/utils.py | 261 | except Exception: | CODE |
| LOW | syft_client/utils.py | 369 | except Exception: | CODE |
| LOW | syft_client/utils.py | 562 | except Exception: | CODE |
| LOW | syft_client/utils.py | 591 | except Exception: | CODE |
| LOW | syft_client/utils.py | 619 | except Exception as e: | CODE |
| LOW | syft_client/utils.py | 629 | except Exception as e: | CODE |
| LOW | syft_client/job_auto_approval.py | 35 | except Exception: | CODE |
| LOW | syft_client/job_auto_approval.py | 217 | except Exception as e: | CODE |
| LOW⚡ | syft_client/sync/syftbox_manager.py | 1246 | except Exception: | CODE |
| LOW⚡ | syft_client/sync/syftbox_manager.py | 1255 | except Exception: | CODE |
| LOW⚡ | syft_client/sync/syftbox_manager.py | 1264 | except Exception: | CODE |
| LOW | syft_client/sync/syftbox_manager.py | 471 | except Exception: | CODE |
| LOW | syft_client/sync/syftbox_manager.py | 1067 | except Exception: | CODE |
| LOW | syft_client/sync/syftbox_manager.py | 1225 | except Exception: | CODE |
| LOW | syft_client/sync/syftbox_manager.py | 1377 | except Exception: | CODE |
| LOW | syft_client/sync/syftbox_manager.py | 1381 | except Exception: | CODE |
| LOW | syft_client/sync/syftbox_manager.py | 1541 | except Exception: | CODE |
| LOW | syft_client/sync/messages/proposed_filechange.py | 92 | except Exception: | CODE |
| LOW | syft_client/sync/utils/pre_submit_scan.py | 46 | except Exception: | CODE |
| LOW | syft_client/sync/utils/syftbox_utils.py | 23 | except Exception: | CODE |
| LOW⚡ | syft_client/sync/connections/connection_router.py | 464 | except Exception as e: | CODE |
| LOW⚡ | syft_client/sync/connections/connection_router.py | 509 | except Exception as e: | CODE |
| LOW | syft_client/sync/connections/connection_router.py | 549 | except Exception as e: | CODE |
| MEDIUM | syft_client/sync/connections/drive/gdrive_transport.py | 1239 | print(f"Error deleting file: {file_id}") | CODE |
| LOW⚡ | syft_client/sync/connections/drive/gdrive_transport.py | 977 | except Exception: | CODE |
| LOW⚡ | syft_client/sync/connections/drive/gdrive_transport.py | 991 | except Exception: | CODE |
| LOW⚡ | syft_client/sync/connections/drive/gdrive_transport.py | 1638 | except Exception: | CODE |
| LOW⚡ | syft_client/sync/connections/drive/gdrive_transport.py | 2064 | except Exception as e: | CODE |
| LOW⚡ | syft_client/sync/connections/drive/gdrive_transport.py | 2239 | except Exception as e: | CODE |
| LOW⚡ | syft_client/sync/connections/drive/gdrive_transport.py | 2382 | except Exception as e: | CODE |
| LOW | syft_client/sync/connections/drive/gdrive_transport.py | 482 | except Exception as e: | CODE |
| LOW | syft_client/sync/connections/drive/gdrive_transport.py | 691 | except Exception as e: | CODE |
| LOW | syft_client/sync/connections/drive/gdrive_transport.py | 1234 | except Exception as e: | CODE |
| LOW | syft_client/sync/connections/drive/gdrive_transport.py | 1920 | except Exception: | CODE |
| LOW | syft_client/sync/connections/drive/gdrive_transport.py | 1934 | except Exception: | CODE |
| LOW | syft_client/sync/connections/drive/gdrive_transport.py | 2031 | except Exception as e: | CODE |
| LOW | syft_client/sync/connections/drive/gdrive_transport.py | 2111 | except Exception as e: | CODE |
| LOW | syft_client/sync/connections/drive/gdrive_transport.py | 2176 | except Exception as e: | CODE |
| LOW | syft_client/sync/connections/drive/gdrive_transport.py | 2299 | except Exception: | CODE |
| LOW | syft_client/sync/connections/drive/gdrive_transport.py | 2354 | except Exception as e: | CODE |
| LOW | syft_client/sync/connections/drive/gdrive_transport.py | 2455 | except Exception: | CODE |
| LOW | …ft_client/sync/connections/drive/mock_drive_service.py | 840 | except Exception as e: | CODE |
| LOW | syft_client/sync/version/local_version.py | 23 | except Exception: | CODE |
| LOW | syft_client/sync/version/peer_manager.py | 257 | except Exception as e: | CODE |
| LOW | syft_client/sync/version/version_info.py | 111 | except Exception as e: | CODE |
| LOW | syft_client/sync/peers/peer_store.py | 84 | except Exception: | CODE |
| LOW | syft_client/sync/sync/datasite_owner_syncer.py | 128 | except Exception: | CODE |
| LOW | syft_client/sync/sync/datasite_owner_syncer.py | 535 | except Exception: | CODE |
| LOW | …lient/sync/sync/caches/cache_file_writer_connection.py | 30 | except Exception: | CODE |
| LOW | syft_client/sync/sync/caches/datasite_watcher_cache.py | 107 | except Exception: | CODE |
| LOW | syft_client/sync/events/file_change_event.py | 52 | except Exception as e: | CODE |
| LOW | tests/unit/test_sync_file_lock.py | 60 | except Exception as e: | CODE |
| LOW | scripts/reproduce_stale_socket.py | 143 | except Exception as e: | CODE |
| LOW | scripts/reproduce_delete_issue.py | 55 | except Exception as e: | CODE |
| LOW | scripts/investigate_approve.py | 59 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | scripts/investigate_approve.py | 345 | except Exception: | CODE |
| LOW | scripts/verify_dataset_before_peer_accept.py | 60 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | scripts/investigate_do_sync.py | 50 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | scripts/investigate_do_sync.py | 249 | except Exception: | CODE |
| 100 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | syft_client/sync/connections/connection_router.py | 0 | share the version file with a peer so they can read it. | STRING |
| HIGH | syft_client/sync/version/peer_manager.py | 0 | share the version file with a peer so they can read it. | STRING |
| HIGH | syft_client/sync/connections/drive/gdrive_transport.py | 0 | share the version file with a peer so they can read it. | STRING |
| HIGH | packages/syft-restrict/examples/gemma_inference.py | 0 | gemma 3 it — flax inference module standalone inference engine for gemma 3 instruction-tuned models using flax. module h | STRING |
| HIGH | …s/syft-restrict/examples/gemma_inference.obfuscated.py | 0 | gemma 3 it — flax inference module standalone inference engine for gemma 3 instruction-tuned models using flax. module h | STRING |
| HIGH | notebooks/enclave/gemma/gemma_inference.py | 0 | gemma 3 it — flax inference module standalone inference engine for gemma 3 instruction-tuned models using flax. module h | STRING |
| HIGH | notebooks/enclave/gemma/nbsplit/gemma_inference.py | 0 | gemma 3 it — flax inference module standalone inference engine for gemma 3 instruction-tuned models using flax. module h | STRING |
| HIGH | packages/syft-restrict/examples/gemma_inference.py | 0 | causal masks — local layers also clip to a sliding window. | STRING |
| HIGH | notebooks/enclave/gemma/gemma_inference.py | 0 | causal masks — local layers also clip to a sliding window. | STRING |
| HIGH | notebooks/enclave/gemma/nbsplit/gemma_inference.py | 0 | causal masks — local layers also clip to a sliding window. | STRING |
| HIGH | packages/syft-restrict/examples/gemma_inference.py | 0 | load orbax checkpoint and return flax-compatible params dict. | STRING |
| HIGH | …s/syft-restrict/examples/gemma_inference.obfuscated.py | 0 | load orbax checkpoint and return flax-compatible params dict. | STRING |
| HIGH | notebooks/enclave/gemma/gemma_inference.py | 0 | load orbax checkpoint and return flax-compatible params dict. | STRING |
| HIGH | notebooks/enclave/gemma/nbsplit/gemma_inference.py | 0 | load orbax checkpoint and return flax-compatible params dict. | STRING |
| HIGH | packages/syft-restrict/examples/gemma_inference.py | 0 | configure model, load weights and tokenizer. returns (model, tokenizer, params). | STRING |
| HIGH | …s/syft-restrict/examples/gemma_inference.obfuscated.py | 0 | configure model, load weights and tokenizer. returns (model, tokenizer, params). | STRING |
| HIGH | notebooks/enclave/gemma/gemma_inference.py | 0 | configure model, load weights and tokenizer. returns (model, tokenizer, params). | STRING |
| HIGH | notebooks/enclave/gemma/nbsplit/gemma_inference.py | 0 | configure model, load weights and tokenizer. returns (model, tokenizer, params). | STRING |
| HIGH | packages/syft-restrict/examples/gemma_inference.py | 0 | load sentencepiece tokenizer from weights directory. | STRING |
| HIGH | …s/syft-restrict/examples/gemma_inference.obfuscated.py | 0 | load sentencepiece tokenizer from weights directory. | STRING |
| HIGH | notebooks/enclave/gemma/gemma_inference.py | 0 | load sentencepiece tokenizer from weights directory. | STRING |
| HIGH | notebooks/enclave/gemma/nbsplit/gemma_inference.py | 0 | load sentencepiece tokenizer from weights directory. | STRING |
| HIGH | packages/syft-restrict/examples/gemma_inference.py | 0 | temperature-scaled top-k sampling. greedy when temperature=0. | STRING |
| HIGH | …s/syft-restrict/examples/gemma_inference.obfuscated.py | 0 | temperature-scaled top-k sampling. greedy when temperature=0. | STRING |
| HIGH | notebooks/enclave/gemma/gemma_inference.py | 0 | temperature-scaled top-k sampling. greedy when temperature=0. | STRING |
| HIGH | notebooks/enclave/gemma/nbsplit/gemma_inference.py | 0 | temperature-scaled top-k sampling. greedy when temperature=0. | STRING |
| HIGH | packages/syft-restrict/examples/gemma_inference.py | 0 | autoregressive generation with kv cache and chat template. returns (response_text, stats_dict). | STRING |
| HIGH | …s/syft-restrict/examples/gemma_inference.obfuscated.py | 0 | autoregressive generation with kv cache and chat template. returns (response_text, stats_dict). | STRING |
| HIGH | notebooks/enclave/gemma/gemma_inference.py | 0 | autoregressive generation with kv cache and chat template. returns (response_text, stats_dict). | STRING |
| HIGH | notebooks/enclave/gemma/nbsplit/gemma_inference.py | 0 | autoregressive generation with kv cache and chat template. returns (response_text, stats_dict). | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | syft_client/sync/connections/drive/gdrive_transport.py | 1971 | # Create the folder | COMMENT |
| MEDIUM | syft_client/sync/connections/drive/gdrive_transport.py | 2277 | # Create the folder | COMMENT |
| MEDIUM | syft_client/sync/reprs/peer_repr.py | 20 | # Create main table | COMMENT |
| MEDIUM | syft_client/sync/sync/datasite_owner_syncer.py | 1042 | # Create a FileChangeEvent from CheckpointFile | COMMENT |
| MEDIUM | tests/unit/test_job_auto_approval.py | 58 | # Create a project folder with script and data file | STRING |
| MEDIUM⚡ | tests/unit/test_mock_drive_service.py | 196 | # Create a file | COMMENT |
| MEDIUM⚡ | tests/unit/test_mock_drive_service.py | 258 | # Create a file | COMMENT |
| MEDIUM⚡ | tests/unit/test_mock_drive_service.py | 268 | # Create a folder | COMMENT |
| MEDIUM⚡ | tests/unit/test_mock_drive_service.py | 346 | # Create a file | COMMENT |
| MEDIUM | tests/unit/test_mock_drive_service.py | 301 | # Create a file | COMMENT |
| MEDIUM | tests/unit/test_cache_aware_sync.py | 40 | # Create a NEW SyftboxManager with the same cache directory (simulating restart) | COMMENT |
| MEDIUM | tests/unit/test_cache_aware_sync.py | 117 | # Create a NEW SyftboxManager with the same cache directory (simulating restart) | COMMENT |
| MEDIUM | tests/unit/test_cache_aware_sync.py | 149 | # Create a file | COMMENT |
| MEDIUM | tests/unit/test_cache_aware_sync.py | 205 | # Create a file on DO side | COMMENT |
| MEDIUM | tests/unit/test_rolling_state.py | 19 | # Create a rolling state | COMMENT |
| MEDIUM | tests/unit/test_sync_manager.py | 1330 | # Create a regular file (should be synced) | COMMENT |
| MEDIUM | tests/unit/test_sync_manager.py | 1335 | # Create a dataset file (should NOT be synced via outbox) | COMMENT |
| MEDIUM | tests/unit/test_sync_manager.py | 1402 | # Create a regular file (non-job) that should go to all peers | COMMENT |
| MEDIUM | tests/unit/test_sync_manager.py | 1710 | # Create a dataset with "any" permission | COMMENT |
| MEDIUM | tests/unit/test_sync_manager.py | 703 | # Create a folder without pyproject.toml | STRING |
| MEDIUM | tests/unit/test_sync_manager.py | 716 | # Create a helper module | STRING |
| MEDIUM | tests/unit/test_sync_manager.py | 775 | # Create a folder with pyproject.toml | STRING |
| MEDIUM | tests/unit/syft_bg/conftest.py | 20 | # Create a stored copy for content matching | COMMENT |
| MEDIUM | …ntegration/with_unit_coverage/test_cache_aware_sync.py | 89 | # Create a NEW DO manager with the same cache directory (simulating restart) | COMMENT |
| MEDIUM | …ntegration/with_unit_coverage/test_cache_aware_sync.py | 188 | # Create a NEW DS manager with the same cache directory (simulating restart) | COMMENT |
| MEDIUM | benchmarks/benchmark_rolling_state.py | 163 | # Create a fresh DO manager to simulate initial sync from a new login | COMMENT |
| MEDIUM | benchmarks/benchmark_initial_do_sync.py | 84 | # Create a fresh DO manager to simulate initial sync from a new pair | STRING |
| MEDIUM | packages/syft-notebook-ui/src/syft_notebook_ui/utils.py | 25 | # Create a Tree object | COMMENT |
| MEDIUM | packages/syft-enclave/terraform/.terraform.lock.hcl | 1 | # This file is maintained automatically by "terraform init". | COMMENT |
| MEDIUM | packages/syft-perms/tests/test_syft_perm.py | 34 | # Create a yaml before init | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/unit/test_gdrive_pagination.py | 11 | conn = GDriveConnection(email="test@test.com", verbose=False) | CODE |
| LOW⚡ | tests/unit/test_mock_drive_service.py | 73 | filter_func = parse_gdrive_query("", "user@example.com") | CODE |
| LOW⚡ | tests/unit/test_mock_drive_service.py | 78 | filter_func = parse_gdrive_query("name='test.txt'", "user@example.com") | CODE |
| LOW⚡ | tests/unit/test_mock_drive_service.py | 83 | filter_func = parse_gdrive_query("name contains 'test'", "user@example.com") | CODE |
| LOW⚡ | tests/unit/test_mock_drive_service.py | 89 | f"mimeType='{GOOGLE_FOLDER_MIME_TYPE}'", "user@example.com" | CODE |
| LOW⚡ | tests/unit/test_mock_drive_service.py | 100 | filter_func = parse_gdrive_query("'parent123' in parents", "user@example.com") | CODE |
| LOW⚡ | tests/unit/test_mock_drive_service.py | 107 | filter_func = parse_gdrive_query("'me' in owners", "user@example.com") | CODE |
| LOW⚡ | tests/unit/test_mock_drive_service.py | 111 | name="test.txt", owners=[{"emailAddress": "user@example.com"}] | CODE |
| LOW⚡ | tests/unit/test_mock_drive_service.py | 166 | filter_func = parse_gdrive_query("trashed=false", "user@example.com") | CODE |
| LOW⚡ | tests/unit/test_mock_drive_service.py | 173 | "user@example.com", | CODE |
| LOW⚡ | tests/unit/test_mock_drive_service.py | 177 | owners=[{"emailAddress": "user@example.com"}], | CODE |
| LOW⚡ | tests/unit/test_mock_drive_service.py | 182 | owners=[{"emailAddress": "user@example.com"}], | CODE |
| LOW⚡ | tests/unit/test_mock_drive_service.py | 194 | service = MockDriveService(store, "user@example.com") | CODE |
| LOW⚡ | tests/unit/test_mock_drive_service.py | 256 | service = MockDriveService(store, "user@example.com") | CODE |
| LOW⚡ | tests/unit/test_mock_drive_service.py | 328 | service = MockDriveService(store, "user@example.com") | CODE |
| LOW⚡ | tests/unit/test_mock_drive_service.py | 334 | owners=[{"emailAddress": "user@example.com"}], | CODE |
| LOW⚡ | tests/unit/test_mock_drive_service.py | 344 | service = MockDriveService(store, "user@example.com") | CODE |
| LOW⚡ | tests/unit/test_mock_drive_service.py | 440 | mock_service = MockDriveService(store, "user@example.com") | CODE |
| LOW⚡ | tests/unit/test_mock_drive_service.py | 442 | connection = GDriveConnection.from_service("user@example.com", mock_service) | CODE |
| LOW⚡ | tests/unit/test_mock_drive_service.py | 444 | assert connection.email == "user@example.com" | CODE |
| LOW⚡ | tests/unit/test_mock_drive_service.py | 449 | mock_service = MockDriveService(store, "user@example.com") | CODE |
| LOW⚡ | tests/unit/test_mock_drive_service.py | 450 | connection = GDriveConnection.from_service("user@example.com", mock_service) | CODE |
| LOW⚡ | tests/unit/test_mock_drive_service.py | 462 | owners=[{"emailAddress": "user@example.com"}], | CODE |
| LOW⚡ | tests/unit/test_mock_drive_service.py | 466 | mock_service = MockDriveService(store, "user@example.com") | CODE |
| LOW⚡ | tests/unit/test_mock_drive_service.py | 467 | connection = GDriveConnection.from_service("user@example.com", mock_service) | CODE |
| LOW | tests/unit/test_mock_drive_service.py | 28 | owners=[{"emailAddress": "user@example.com"}], | CODE |
| LOW | tests/unit/test_mock_drive_service.py | 126 | filter_func = parse_gdrive_query("not 'me' in owners", "user@example.com") | CODE |
| LOW | tests/unit/test_mock_drive_service.py | 138 | name="test.txt", owners=[{"emailAddress": "user@example.com"}] | CODE |
| LOW | tests/unit/test_mock_drive_service.py | 146 | "'owner@example.com' in owners", "user@example.com" | CODE |
| LOW | tests/unit/test_mock_drive_service.py | 225 | service = MockDriveService(store, "user@example.com") | CODE |
| LOW | tests/unit/test_mock_drive_service.py | 299 | service = MockDriveService(store, "user@example.com") | CODE |
| LOW⚡ | tests/unit/test_datasets_jobs_repr.py | 161 | datasite_email="test@test.com", | CODE |
| LOW⚡ | tests/unit/test_datasets_jobs_repr.py | 170 | current_user_email="test@test.com", | CODE |
| LOW⚡ | tests/unit/test_datasets_jobs_repr.py | 178 | root_email="test@test.com", | CODE |
| LOW⚡ | tests/unit/test_datasets_jobs_repr.py | 187 | root_email="test@test.com", | CODE |
| LOW⚡ | tests/unit/test_datasets_jobs_repr.py | 195 | root_email="test@test.com", | CODE |
| LOW⚡ | tests/unit/test_datasets_jobs_repr.py | 204 | root_email="test@test.com", | CODE |
| LOW | tests/unit/test_datasets_jobs_repr.py | 148 | syftbox_folder=Path("/tmp/fake"), current_user_email="test@test.com" | CODE |
| LOW | tests/unit/test_rolling_state.py | 205 | email="test@test.com", | CODE |
| LOW | tests/unit/test_rolling_state.py | 232 | email="test@test.com", | CODE |
| LOW⚡ | tests/unit/syft_bg/test_common.py | 73 | state.mark_approved("job1", "user@example.com") | CODE |
| LOW⚡ | tests/integration/without_unit_coverage/test_login.py | 145 | email="test@test.com", | CODE |
| LOW⚡ | tests/integration/without_unit_coverage/test_login.py | 159 | email="test@test.com", | CODE |
| LOW⚡ | …ook-ui/src/syft_notebook_ui/assets/js/tabulator.min.js | 2 | !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define | CODE |
| LOW⚡ | packages/syft-enclave/tests/test_attestation.py | 54 | result = verify_attestation_token("fake-token", verbose=False) | CODE |
| LOW⚡ | packages/syft-enclave/tests/test_attestation.py | 62 | verify_attestation_token("fake-token", verbose=False) | CODE |
| LOW⚡ | packages/syft-enclave/tests/test_attestation.py | 67 | verify_attestation_token("fake-token", verbose=False) | CODE |
| LOW⚡ | packages/syft-enclave/tests/test_attestation.py | 74 | verify_attestation_token("fake-token", verbose=False) | CODE |
| LOW⚡ | packages/syft-enclave/tests/test_attestation.py | 79 | verify_attestation_token("fake-token", verbose=False) | CODE |
| LOW⚡ | packages/syft-enclave/tests/test_attestation.py | 85 | verify_attestation_token("fake-token", verbose=False) | CODE |
| LOW⚡ | packages/syft-enclave/tests/test_attestation.py | 91 | verify_attestation_token("fake-token", verbose=False) | CODE |
| LOW⚡ | packages/syft-enclave/tests/test_attestation.py | 96 | result = verify_attestation_token("fake-token", verbose=False) | CODE |
| LOW⚡ | packages/syft-enclave/tests/test_attestation.py | 104 | result = verify_attestation_token("fake-token", verbose=False) | CODE |
| LOW⚡ | packages/syft-enclave/tests/test_attestation.py | 115 | verify_attestation_token("fake-token", verbose=False) | CODE |
| LOW⚡ | packages/syft-enclave/tests/test_attestation.py | 119 | result = verify_attestation_token("fake-token", verbose=False) | CODE |
| LOW⚡ | packages/syft-enclave/tests/test_attestation.py | 130 | result = verify_attestation_token("fake-token", verbose=False) | CODE |
| LOW⚡ | packages/syft-enclave/tests/test_attestation.py | 138 | verify_attestation_token("fake-token", verbose=False) | CODE |
| LOW⚡ | packages/syft-enclave/tests/test_attestation.py | 149 | verify_attestation_token("fake-token", verbose=False) | CODE |
| LOW | packages/syft-enclave/tests/test_attestation.py | 169 | verify_attestation_token("fake-token", verbose=False) | CODE |
| LOW | packages/syft-enclave/tests/test_attestation.py | 184 | verify_attestation_token("fake-token", verbose=False) | CODE |
| 3 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | syft_client/sync/syftbox_manager.py | 67 | logger = logging.getLogger(__name__) | CODE |
| LOW | syft_client/sync/syftbox_manager.py | 558 | def _set_peer_store(self, peer_store) -> None: | CODE |
| LOW | syft_client/sync/checkpoints/__init__.py | 11 | __all__ = [ | CODE |
| LOW | syft_client/sync/connections/drive/gdrive_retry.py | 14 | logger = logging.getLogger(__name__) | CODE |
| LOW | syft_client/sync/version/peer_manager.py | 33 | logger = logging.getLogger(__name__) | CODE |
| LOW | syft_client/sync/version/__init__.py | 17 | __all__ = [ | CODE |
| LOW | syft_client/sync/peers/__init__.py | 3 | __all__ = ["PeerStore"] | CODE |
| LOW | syft_client/sync/peers/peer_store.py | 105 | def set_peer(self, peer: Peer) -> None: | CODE |
| LOW | syft_client/sync/peers/peer_store.py | 117 | def set_peers(self, peers: List[Peer]) -> None: | CODE |
| LOW | syft_client/sync/peers/peer_store.py | 162 | def set_peer_bundle(self, peer_email: str, bundle: dict) -> None: | CODE |
| LOW | syft_client/sync/sync/datasite_owner_syncer.py | 37 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ges/syft-notebook-ui/src/syft_notebook_ui/tabulator.py | 19 | logger = logging.getLogger(__name__) | CODE |
| LOW | packages/syft-job/src/syft_job/job_storage.py | 18 | __all__ = ["JobRef", "JobStateNotFoundError", "JobStorage"] | CODE |
| LOW | packages/syft-job/src/syft_job/install_source.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | packages/syft-job/src/syft_job/__init__.py | 16 | __all__ = [ | CODE |
| LOW | packages/syft-job/src/syft_job/job_runner.py | 445 | def _set_finalized_job_state(self, ref: JobRef, returncode: int) -> None: | CODE |
| LOW | …kages/syft-job/src/syft_job/protocolcodecs/__init__.py | 10 | __all__ = [ | CODE |
| LOW | packages/syft-job/src/syft_job/models/__init__.py | 4 | __all__ = [ | CODE |
| LOW | …ges/syft-job/src/syft_job/models/job_state/__init__.py | 6 | __all__ = [ | CODE |
| LOW | …rc/syft_job/models/job_submission_metadata/__init__.py | 6 | __all__ = [ | CODE |
| LOW | packages/syft-bg/src/syft_bg/__init__.py | 25 | __all__ = [ | CODE |
| LOW | packages/syft-bg/src/syft_bg/notify/__init__.py | 6 | __all__ = ["NotifyConfig", "NotificationOrchestrator"] | CODE |
| LOW | …ckages/syft-bg/src/syft_bg/notify/monitors/__init__.py | 6 | __all__ = ["JobMonitor", "PeerMonitor"] | CODE |
| LOW | …syft-bg/src/syft_bg/notify/email_templates/__init__.py | 5 | __all__ = ["TemplateRenderer"] | CODE |
| LOW | …ckages/syft-bg/src/syft_bg/notify/handlers/__init__.py | 6 | __all__ = ["JobHandler", "PeerHandler"] | CODE |
| LOW | packages/syft-bg/src/syft_bg/notify/gmail/__init__.py | 6 | __all__ = ["GmailAuth", "GmailSender"] | CODE |
| LOW | packages/syft-bg/src/syft_bg/tui/__init__.py | 5 | __all__ = ["SyftBgApp", "run_tui"] | CODE |
| LOW | packages/syft-bg/src/syft_bg/tui/screens/__init__.py | 5 | __all__ = ["LogScreen"] | CODE |
| LOW | packages/syft-bg/src/syft_bg/tui/widgets/__init__.py | 6 | __all__ = ["ServiceCard", "ActivityFeed"] | CODE |
| LOW | packages/syft-bg/src/syft_bg/systemd/__init__.py | 5 | __all__ = ["install_service", "is_installed", "uninstall_service"] | CODE |
| LOW | packages/syft-bg/src/syft_bg/cli/__init__.py | 3 | __all__ = ["main"] | CODE |
| LOW | packages/syft-bg/src/syft_bg/cli/init/__init__.py | 6 | __all__ = ["InitFlowError", "UserPassedConfig", "run_init_flow"] | CODE |
| LOW | packages/syft-bg/src/syft_bg/approve/__init__.py | 12 | __all__ = [ | CODE |
| LOW | …kages/syft-bg/src/syft_bg/approve/monitors/__init__.py | 6 | __all__ = ["JobMonitor", "PeerMonitor"] | CODE |
| LOW | …kages/syft-bg/src/syft_bg/approve/handlers/__init__.py | 6 | __all__ = ["JobApprovalHandler", "PeerApprovalHandler"] | CODE |
| LOW | packages/syft-bg/src/syft_bg/common/__init__.py | 9 | __all__ = [ | CODE |
| LOW | packages/syft-bg/src/syft_bg/common/syft_bg_config.py | 73 | def set_service_config(self, name: str, config: dict) -> None: | CODE |
| LOW | packages/syft-bg/src/syft_bg/common/state.py | 159 | def set_data(self, key: str, value: Any) -> None: | CODE |
| LOW | packages/syft-bg/src/syft_bg/email_approve/__init__.py | 5 | __all__ = ["EmailApproveOrchestrator"] | CODE |
| LOW | packages/syft-bg/src/syft_bg/sync/__init__.py | 7 | __all__ = [ | CODE |
| LOW | packages/syft-bg/src/syft_bg/services/__init__.py | 5 | __all__ = ["Service", "ServiceStatus", "ServiceManager", "SERVICE_REGISTRY"] | CODE |
| LOW | packages/syft-restrict/src/syft_restrict/runner.py | 18 | __all__ = ["run", "RunResult"] | CODE |
| LOW | packages/syft-restrict/src/syft_restrict/__init__.py | 18 | __all__ = [ | CODE |
| LOW⚡ | packages/syft-enclave/src/syft_enclaves/bootstrap.py | 32 | logger = logging.getLogger(__name__) | CODE |
| LOW | packages/syft-enclave/src/syft_enclaves/runner.py | 26 | logger = logging.getLogger(__name__) | CODE |
| LOW | packages/syft-enclave/src/syft_enclaves/__init__.py | 6 | __all__ = [ | CODE |
| LOW | packages/syft-enclave/src/syft_enclaves/immutability.py | 5 | logger = logging.getLogger(__name__) | CODE |
| LOW | packages/syft-enclave/src/syft_enclaves/__main__.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ave-model-api-example/src/enclave_model_api/service.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ve-model-api-example/src/enclave_model_api/__main__.py | 21 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ages/syft-permissions/src/syft_permissions/__init__.py | 7 | __all__ = [ | CODE |
| LOW | packages/syft-perms/src/syft_perms/__init__.py | 8 | __all__ = [ | CODE |
| LOW | packages/syft-migration/src/syft_migration/__init__.py | 14 | __all__ = [ | CODE |
| LOW | packages/syft-datasets/src/syft_datasets/__init__.py | 4 | __all__ = ["SyftBoxConfig"] | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | syft_client/sync/sync/datasite_owner_syncer.py | 206 | # Step 1: Check for full (compacted) checkpoint | COMMENT |
| LOW | syft_client/sync/sync/datasite_owner_syncer.py | 218 | # Step 2: Check for incremental checkpoints | COMMENT |
| LOW | syft_client/sync/sync/datasite_owner_syncer.py | 234 | # Step 3: Check for rolling state | COMMENT |
| LOW | syft_client/sync/sync/datasite_owner_syncer.py | 260 | # Step 4: Download any remaining events since last timestamp | COMMENT |
| LOW | syft_client/sync/sync/datasite_owner_syncer.py | 285 | # Step 5: Ensure events from checkpoints/rolling state are in | COMMENT |
| LOW⚡ | tests/unit/test_peer_requests.py | 26 | # Step 1: DS makes peer request by adding DO | COMMENT |
| LOW⚡ | tests/unit/test_peer_requests.py | 35 | # Step 2: DS submits a file to their job folder | COMMENT |
| LOW⚡ | tests/unit/test_peer_requests.py | 40 | # Step 3: DO syncs WITHOUT accepting - nothing should sync | COMMENT |
| LOW⚡ | tests/unit/test_peer_requests.py | 47 | # Step 4: DO approves peer request (grants write to app_data/job/{ds_email}/) | COMMENT |
| LOW⚡ | tests/unit/test_peer_requests.py | 55 | # Step 5: DO syncs again - now it should work | COMMENT |
| LOW⚡ | tests/unit/test_checkpoints.py | 245 | # Step 1: Create initial files and make a full checkpoint | COMMENT |
| LOW⚡ | tests/unit/test_checkpoints.py | 255 | # Step 2: Create new files and make incremental checkpoints | COMMENT |
| LOW | tests/unit/test_checkpoints.py | 276 | # Step 3: Manually call compact_checkpoints | COMMENT |
| LOW | …integration/without_unit_coverage/test_sync_manager.py | 59 | # Step 1: DS makes peer request by adding DO | COMMENT |
| LOW⚡ | …integration/without_unit_coverage/test_sync_manager.py | 71 | # Step 2: DS submits a simple job | COMMENT |
| LOW⚡ | …integration/without_unit_coverage/test_sync_manager.py | 79 | # Step 3: DO syncs WITHOUT accepting - nothing should sync | COMMENT |
| LOW⚡ | …integration/without_unit_coverage/test_sync_manager.py | 86 | # Step 4: DO approves peer request | COMMENT |
| LOW⚡ | …integration/without_unit_coverage/test_sync_manager.py | 94 | # Step 5: DO syncs again - now it should work | COMMENT |
| LOW⚡ | docs/auth.md | 9 | ## Step 1: Create a Google Cloud Project | COMMENT |
| LOW⚡ | docs/auth.md | 18 | ## Step 2: Enable the API's | COMMENT |
| LOW⚡ | docs/auth.md | 27 | ## Step 3: Configure OAuth Consent Screen | COMMENT |
| LOW | docs/auth.md | 54 | ## Step 4: Create OAuth Client Credentials | COMMENT |
| LOW | docs/auth.md | 64 | ## Step 5: Publish the App | COMMENT |
| LOW⚡ | scripts/reproduce_delete_issue.py | 9 | # Step 1: Create data and delete syftboxes, then inspect local + GDrive state | STRING |
| LOW⚡ | scripts/reproduce_delete_issue.py | 12 | # Step 2: Query GDrive API for leftover files | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | syft_client/utils.py | 405 | CODE | |
| LOW | syft_client/job_auto_approval.py | 145 | CODE | |
| LOW | syft_client/sync/syftbox_manager.py | 940 | CODE | |
| LOW | syft_client/sync/checkpoints/checkpoint.py | 186 | CODE | |
| LOW | syft_client/sync/connections/drive/gdrive_retry.py | 47 | CODE | |
| LOW | syft_client/sync/connections/drive/gdrive_transport.py | 899 | CODE | |
| LOW | …ft_client/sync/connections/drive/mock_drive_service.py | 136 | CODE | |
| LOW | syft_client/sync/version/peer_manager.py | 523 | CODE | |
| LOW | syft_client/sync/peers/peer_list.py | 37 | CODE | |
| LOW | syft_client/sync/sync/datasite_owner_syncer.py | 141 | CODE | |
| LOW | syft_client/sync/sync/datasite_owner_syncer.py | 192 | CODE | |
| LOW | syft_client/sync/sync/datasite_owner_syncer.py | 613 | CODE | |
| LOW | syft_client/sync/sync/datasite_owner_syncer.py | 1004 | CODE | |
| LOW | …lient/sync/sync/caches/cache_file_writer_connection.py | 132 | CODE | |
| LOW | syft_client/sync/sync/caches/datasite_owner_cache.py | 118 | CODE | |
| LOW | syft_client/sync/sync/caches/datasite_watcher_cache.py | 103 | CODE | |
| LOW | scripts/auto_approve_peers_and_share.py | 24 | CODE | |
| LOW | …s/syft-notebook-ui/src/syft_notebook_ui/table_utils.py | 72 | CODE | |
| LOW | …notebook-ui/src/syft_notebook_ui/pydantic_html_repr.py | 19 | CODE | |
| LOW | packages/syft-notebook-ui/src/syft_notebook_ui/utils.py | 23 | CODE | |
| LOW | …ft-notebook-ui/src/syft_notebook_ui/formatter_mixin.py | 35 | CODE | |
| LOW | packages/syft-job/src/syft_job/job.py | 159 | CODE | |
| LOW | packages/syft-job/src/syft_job/job.py | 434 | CODE | |
| LOW | packages/syft-job/src/syft_job/client.py | 560 | CODE | |
| LOW | packages/syft-job/src/syft_job/job_repr.py | 351 | CODE | |
| LOW | packages/syft-job/src/syft_job/job_repr.py | 87 | CODE | |
| LOW | packages/syft-job/src/syft_job/job_stdout.py | 94 | CODE | |
| LOW | packages/syft-job/src/syft_job/job_runner.py | 103 | CODE | |
| LOW | packages/syft-job/src/syft_job/job_runner.py | 221 | CODE | |
| LOW | packages/syft-job/src/syft_job/job_runner.py | 361 | CODE | |
| LOW | packages/syft-job/src/syft_job/job_runner.py | 452 | CODE | |
| LOW | packages/syft-job/src/syft_job/protocolcodecs/v1.py | 42 | CODE | |
| LOW | packages/syft-bg/src/syft_bg/notify/handlers/job.py | 63 | CODE | |
| LOW | packages/syft-bg/src/syft_bg/tui/app.py | 73 | CODE | |
| LOW | packages/syft-bg/src/syft_bg/approve/handlers/job.py | 90 | CODE | |
| LOW | packages/syft-bg/src/syft_bg/approve/handlers/peer.py | 60 | CODE | |
| LOW | packages/syft-bg/src/syft_bg/common/monitor.py | 23 | CODE | |
| LOW | packages/syft-bg/src/syft_bg/common/orchestrator.py | 102 | CODE | |
| LOW | packages/syft-bg/src/syft_bg/common/syft_bg_config.py | 51 | CODE | |
| LOW | …kages/syft-bg/src/syft_bg/email_approve/gmail_watch.py | 62 | CODE | |
| LOW | packages/syft-bg/src/syft_bg/api/utils.py | 45 | CODE | |
| LOW | packages/syft-bg/src/syft_bg/api/utils.py | 222 | CODE | |
| LOW | packages/syft-restrict/src/syft_restrict/obfuscator.py | 63 | CODE | |
| LOW | packages/syft-restrict/src/syft_restrict/obfuscator.py | 123 | CODE | |
| LOW | packages/syft-restrict/src/syft_restrict/verifier.py | 136 | CODE | |
| LOW | packages/syft-restrict/src/syft_restrict/verifier.py | 182 | CODE | |
| LOW | …ges/syft-datasets/src/syft_datasets/dataset_manager.py | 348 | CODE | |
| LOW | packages/syft-datasets/src/syft_datasets/file_utils.py | 12 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | syft_client/utils.py | 191 | Resolve syft:// paths to absolute filesystem paths. This function converts syft:// URLs to actual filesystem p | STRING |
| HIGH | syft_client/utils.py | 651 | Generate a comprehensive environment snapshot for bug reports. This function collects information about the ru | STRING |
| HIGH | syft_client/sync/connections/drive/gdrive_retry.py | 75 | Execute a Google Drive API request with retry on transient errors. Uses exponential backoff with jitter. Args: | STRING |
| HIGH | syft_client/sync/connections/drive/gdrive_retry.py | 124 | Execute next_chunk() on a downloader with retry on transient errors. Args: downloader: A MediaIoBaseDownloa | STRING |
| HIGH | packages/syft-job/src/syft_job/job.py | 260 | Accept a job by depositing the result file or folder and marking as done. Args: path: Path | STRING |
| HIGH | packages/syft-job/src/syft_job/client.py | 143 | Submit a bash job for a user. Args: user: Email address of the datasite owner to submit jo | STRING |
| HIGH | packages/syft-job/src/syft_job/client.py | 240 | Validate code path and entrypoint for Python job submission. Args: code_path: Path to Pyth | STRING |
| HIGH | packages/syft-job/src/syft_job/client.py | 380 | Submit a Python job for a user (supports both files and folders). Args: user: Email addres | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | syft_client/sync/sync/datasite_owner_syncer.py | 206 | # Step 1: Check for full (compacted) checkpoint | COMMENT |
| LOW | syft_client/sync/sync/datasite_owner_syncer.py | 218 | # Step 2: Check for incremental checkpoints | COMMENT |
| LOW | syft_client/sync/sync/datasite_owner_syncer.py | 234 | # Step 3: Check for rolling state | COMMENT |
| LOW | syft_client/sync/sync/datasite_owner_syncer.py | 260 | # Step 4: Download any remaining events since last timestamp | COMMENT |
| LOW | syft_client/sync/sync/datasite_owner_syncer.py | 285 | # Step 5: Ensure events from checkpoints/rolling state are in | COMMENT |
| LOW⚡ | tests/unit/test_peer_requests.py | 26 | # Step 1: DS makes peer request by adding DO | COMMENT |
| LOW⚡ | tests/unit/test_peer_requests.py | 35 | # Step 2: DS submits a file to their job folder | COMMENT |
| LOW⚡ | tests/unit/test_peer_requests.py | 40 | # Step 3: DO syncs WITHOUT accepting - nothing should sync | COMMENT |
| LOW⚡ | tests/unit/test_peer_requests.py | 47 | # Step 4: DO approves peer request (grants write to app_data/job/{ds_email}/) | COMMENT |
| LOW⚡ | tests/unit/test_peer_requests.py | 55 | # Step 5: DO syncs again - now it should work | COMMENT |
| LOW⚡ | tests/unit/test_checkpoints.py | 245 | # Step 1: Create initial files and make a full checkpoint | COMMENT |
| LOW⚡ | tests/unit/test_checkpoints.py | 255 | # Step 2: Create new files and make incremental checkpoints | COMMENT |
| LOW | tests/unit/test_checkpoints.py | 276 | # Step 3: Manually call compact_checkpoints | COMMENT |
| LOW | …integration/without_unit_coverage/test_sync_manager.py | 59 | # Step 1: DS makes peer request by adding DO | COMMENT |
| LOW⚡ | …integration/without_unit_coverage/test_sync_manager.py | 71 | # Step 2: DS submits a simple job | COMMENT |
| LOW⚡ | …integration/without_unit_coverage/test_sync_manager.py | 79 | # Step 3: DO syncs WITHOUT accepting - nothing should sync | COMMENT |
| LOW⚡ | …integration/without_unit_coverage/test_sync_manager.py | 86 | # Step 4: DO approves peer request | COMMENT |
| LOW⚡ | …integration/without_unit_coverage/test_sync_manager.py | 94 | # Step 5: DO syncs again - now it should work | COMMENT |
| LOW⚡ | scripts/reproduce_delete_issue.py | 9 | # Step 1: Create data and delete syftboxes, then inspect local + GDrive state | STRING |
| LOW⚡ | scripts/reproduce_delete_issue.py | 12 | # Step 2: Query GDrive API for leftover files | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | syft_client/utils.py | 227 | # Check if path starts with syft:// | COMMENT |
| LOW | syft_client/sync/utils/syftbox_utils.py | 39 | # Check if content is a string (has encode method) | COMMENT |
| LOW | syft_client/sync/connections/drive/gdrive_transport.py | 1510 | # Check if exists | COMMENT |
| LOW | syft_client/sync/connections/drive/gdrive_transport.py | 2410 | # Check if file already exists | COMMENT |
| LOW | …ft_client/sync/connections/drive/mock_drive_service.py | 282 | # Check if user is the owner (owners always have access) | COMMENT |
| LOW | …ft_client/sync/connections/drive/mock_drive_service.py | 542 | # Check if user has permission to delete | COMMENT |
| LOW | syft_client/sync/sync/caches/datasite_watcher_cache.py | 321 | # Check if hash changed - skip download if unchanged | COMMENT |
| LOW | syft_client/sync/sync/caches/datasite_watcher_cache.py | 334 | # Write files to local cache (path relative to syftbox_folder) | COMMENT |
| LOW | syft_client/sync/sync/caches/datasite_watcher_cache.py | 366 | # Check if hash changed - skip download if unchanged | COMMENT |
| LOW | syft_client/sync/sync/caches/datasite_watcher_cache.py | 395 | # Write files to local cache (path relative to syftbox_folder) | COMMENT |
| LOW | benchmarks/benchmark_rolling_state.py | 193 | # Print results | COMMENT |
| LOW | …notebook-ui/src/syft_notebook_ui/pydantic_html_repr.py | 51 | # Check if field exists | COMMENT |
| LOW | packages/syft-job/src/syft_job/job_runner.py | 110 | # Check if run.sh exists and show first few lines | COMMENT |
| LOW⚡ | packages/syft-job/src/syft_job/job_runner.py | 125 | # Check if config.yaml exists and show contents | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL⚡ | …ook-ui/src/syft_notebook_ui/assets/js/tabulator.min.js | 2 | !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | notification_config.minimal.yaml | 1 | # ============================================================================ | COMMENT |
| LOW | syft_client/sync/syftbox_manager.py | 1741 | # else: | COMMENT |
| LOW | packages/syft-bg/src/syft_bg/cli/init/flow.py | 121 | # user_passed_config: UserPassedConfig, | COMMENT |
| LOW | packages/syft-bg/src/syft_bg/cli/init/flow.py | 141 | # "Colab detected - Drive and Gmail authentication handled by Colab" | COMMENT |
| LOW | packages/syft-bg/src/syft_bg/api/utils.py | 341 | # ) -> AuthResult: | COMMENT |
| LOW | packages/syft-bg/src/syft_bg/api/utils.py | 361 | # Path(credentials_path).expanduser() | COMMENT |
| LOW | packages/syft-bg/src/syft_bg/api/utils.py | 381 | # authenticate_and_save(gmail_out_token_path, creds_path) | COMMENT |
| LOW | packages/syft-bg/src/syft_bg/api/utils.py | 401 | # drive_ok=drive_ok, | COMMENT |
| LOW | packages/syft-restrict/examples/gemma_inference.py | 41 | # num_kv_heads=1, | COMMENT |
| LOW | packages/syft-restrict/examples/gemma_inference.py | 61 | # num_layers=48, | COMMENT |
| LOW | …s/syft-restrict/examples/gemma_inference.obfuscated.py | 41 | # THIS COMMENT WAS OBFUSCATED | COMMENT |
| LOW | …s/syft-restrict/examples/gemma_inference.obfuscated.py | 61 | # THIS COMMENT WAS OBFUSCATED | COMMENT |
| LOW | …ages/enclave-model-api-example/docker/requirements.txt | 1 | # Model deps for the inference image only — kept out of this package's deps | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | syft_client/sync/syftbox_manager.py | 714 | CODE | |
| LOW | syft_client/sync/connections/connection_router.py | 402 | CODE | |
| LOW | syft_client/sync/sync/datasite_watcher_syncer.py | 147 | CODE | |
| LOW | …lient/sync/sync/caches/cache_file_writer_connection.py | 191 | CODE | |
| LOW | tests/integration/utils.py | 59 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | …ook-ui/src/syft_notebook_ui/assets/js/tabulator.min.js | 2 | !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define | CODE |
| MEDIUM | packages/enclave-model-api-example/scripts/run_demo.py | 1 | """Run the full enclave model-API demo end-to-end (robust, unattended). | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/unit/test_job_auto_approval.py | 252 | (subdir / "helper.py").write_text("def helper(): pass\n") | CODE |
| LOW | tests/unit/utils.py | 161 | def process_data(data): | STRING |
| LOW | tests/integration/syft_bg/conftest.py | 30 | utils.write_text("def helper(): pass\n") | CODE |
| LOW | packages/syft-restrict/tests/verify/test_whitelist.py | 39 | "def helper(n):\n" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | syft_client/utils.py | 450 | # Just detect if in container, not detailed cgroup/orchestration info | COMMENT |