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,974 GitHub stars. SynthScan v2.0 examined 74,117 lines of code across 518 source files, recording 2080 pattern matches distributed across 19 syntactic categories. The overall adjusted score of 39.4 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 2080 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 | tests/conftest.py | 13 | def disable_pre_sync_for_tests(): | CODE |
| LOW | tests/unit/test_sync_file_lock.py | 22 | def _subprocess_sync_with_instrumented_lock( | CODE |
| LOW | tests/unit/test_sync_file_lock.py | 66 | def test_sync_prevents_concurrent_sync_across_processes(): | CODE |
| LOW | tests/unit/test_peer_requests.py | 8 | def test_peer_request_blocks_sync_until_approved(): | CODE |
| LOW | tests/unit/test_peer_requests.py | 75 | def test_peer_request_rejection(): | CODE |
| LOW | tests/unit/test_gdrive_pagination.py | 30 | def test_multiple_pages_pagination(): | CODE |
| LOW | tests/unit/test_gdrive_pagination.py | 61 | def test_events_returned_in_chronological_order(mock_download_file, mock_get_folder_id): | CODE |
| LOW | tests/unit/test_gdrive_pagination.py | 107 | def test_orderby_name_desc_applied(): | CODE |
| LOW⚡ | tests/unit/test_gdrive_pagination.py | 120 | def test_extract_timestamp_from_event_filename(): | CODE |
| LOW⚡ | tests/unit/test_gdrive_pagination.py | 128 | def test_extract_timestamp_from_job_filename(): | CODE |
| LOW⚡ | tests/unit/test_gdrive_pagination.py | 136 | def test_extract_timestamp_returns_none_for_invalid(): | CODE |
| LOW⚡ | tests/unit/test_gdrive_pagination.py | 142 | def test_early_termination_stops_pagination(): | CODE |
| LOW | tests/unit/test_gdrive_pagination.py | 191 | def test_no_early_termination_when_all_files_new(): | CODE |
| LOW | tests/unit/test_gdrive_pagination.py | 218 | def test_no_early_termination_when_since_timestamp_none(): | CODE |
| LOW⚡ | tests/unit/test_install_source_advertise.py | 14 | def _clear_install_source_cache(): | CODE |
| LOW⚡ | tests/unit/test_install_source_advertise.py | 24 | def test_current_populates_install_source(self): | CODE |
| LOW⚡ | tests/unit/test_install_source_advertise.py | 30 | def test_current_uses_env_var_override(self, monkeypatch): | CODE |
| LOW⚡ | tests/unit/test_install_source_advertise.py | 36 | def test_json_roundtrip_preserves_install_source(self, monkeypatch): | CODE |
| LOW⚡ | tests/unit/test_install_source_advertise.py | 42 | def test_missing_field_parses_as_none_backward_compat(self): | CODE |
| LOW | tests/unit/test_install_source_advertise.py | 55 | def test_current_returns_versioninfo_even_if_detection_fails(self): | CODE |
| LOW⚡ | tests/unit/test_version_negotiation.py | 53 | def test_compatible_versions_match(self): | CODE |
| LOW⚡ | tests/unit/test_version_negotiation.py | 59 | def test_minor_version_mismatch_is_incompatible(self): | CODE |
| LOW⚡ | tests/unit/test_version_negotiation.py | 64 | def test_protocol_only_diff_is_compatible_now(self): | CODE |
| LOW⚡ | tests/unit/test_version_negotiation.py | 97 | def test_minor_diff_is_incompatible(self): | CODE |
| LOW⚡ | tests/unit/test_version_negotiation.py | 102 | def test_major_diff_is_incompatible(self): | CODE |
| LOW⚡ | tests/unit/test_version_negotiation.py | 107 | def test_two_digit_minor_compares_numerically(self): | CODE |
| LOW⚡ | tests/unit/test_version_negotiation.py | 387 | def test_ds_only_defaults_to_no_skip(self): | CODE |
| LOW⚡ | tests/unit/test_version_negotiation.py | 391 | def test_dual_role_defaults_to_skip(self): | CODE |
| LOW⚡ | tests/unit/test_version_negotiation.py | 395 | def test_explicit_false_on_do_is_preserved(self): | CODE |
| LOW⚡ | tests/unit/test_version_negotiation.py | 399 | def test_explicit_true_on_ds_is_preserved(self): | CODE |
| LOW⚡ | tests/unit/test_version_negotiation.py | 407 | def test_incompatible_peer_skipped_by_default(self): | CODE |
| LOW | tests/unit/test_version_negotiation.py | 29 | def test_current_version_creates_valid_info(self): | CODE |
| LOW | tests/unit/test_version_negotiation.py | 37 | def test_version_info_json_roundtrip(self): | CODE |
| LOW | tests/unit/test_version_negotiation.py | 76 | def test_get_incompatibility_reason_client(self): | CODE |
| LOW | tests/unit/test_version_negotiation.py | 120 | def test_unknown_when_other_none(self): | CODE |
| LOW | tests/unit/test_version_negotiation.py | 125 | def test_patch_warning_text_only_for_patch_diff(self): | CODE |
| LOW | tests/unit/test_version_negotiation.py | 144 | def test_is_compatible_with_includes_patch_diff(self): | CODE |
| LOW | tests/unit/test_version_negotiation.py | 163 | def test_peer_manager_writes_own_version(self): | CODE |
| LOW | tests/unit/test_version_negotiation.py | 174 | def test_version_shared_on_add_peer(self): | CODE |
| LOW | tests/unit/test_version_negotiation.py | 187 | def test_version_shared_on_approve_peer(self): | CODE |
| LOW | tests/unit/test_version_negotiation.py | 212 | def test_load_peer_version_without_permission(self): | CODE |
| LOW | tests/unit/test_version_negotiation.py | 220 | def test_load_peer_versions_parallel(self): | CODE |
| LOW | tests/unit/test_version_negotiation.py | 287 | def test_patch_diff_does_not_skip_in_sync_for_ds(self, caplog): | CODE |
| LOW | tests/unit/test_version_negotiation.py | 301 | def test_patch_diff_skips_in_sync_for_do_default(self, caplog): | CODE |
| LOW | tests/unit/test_version_negotiation.py | 315 | def test_patch_diff_allows_job_submission(self, caplog): | CODE |
| LOW | tests/unit/test_version_negotiation.py | 330 | def test_patch_diff_do_force_ignore_proceeds(self, caplog): | CODE |
| LOW | tests/unit/test_version_negotiation.py | 347 | def test_patch_diff_do_per_call_ignore_proceeds(self): | CODE |
| LOW | tests/unit/test_version_negotiation.py | 359 | def test_patch_diff_do_explicit_false_does_not_skip(self): | CODE |
| LOW | tests/unit/test_version_negotiation.py | 419 | def test_force_allow_includes_incompatible_peer(self, caplog): | CODE |
| LOW | tests/unit/test_version_negotiation.py | 435 | def test_per_call_ignore_peer_version_includes_peer(self): | CODE |
| LOW | tests/unit/test_version_negotiation.py | 446 | def test_per_call_ignore_peer_version_in_submit(self): | CODE |
| LOW | tests/unit/test_version_negotiation.py | 466 | def test_force_allow_in_submit(self): | CODE |
| LOW | tests/unit/test_version_negotiation.py | 483 | def test_sync_skips_incompatible_peers(self): | CODE |
| LOW | tests/unit/test_version_negotiation.py | 497 | def test_version_upgrade_breaks_communication(self): | CODE |
| LOW | tests/unit/test_persisted_cache.py | 14 | def test_no_duplicate_events_across_processes(): | CODE |
| LOW | tests/unit/test_persisted_cache.py | 66 | def test_rolling_state_not_overwritten_across_processes(): | CODE |
| LOW | tests/unit/test_checkpoints.py | 23 | def test_checkpoint_create_and_restore(): | CODE |
| LOW | tests/unit/test_checkpoints.py | 59 | def test_checkpoint_should_create(): | CODE |
| LOW | tests/unit/test_checkpoints.py | 84 | def test_checkpoint_try_create(): | CODE |
| LOW | tests/unit/test_checkpoints.py | 112 | def test_checkpoint_restore_on_sync(): | CODE |
| 964 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 | gemma_inference_restrict_scan.py | 40 | # ── Model configs ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | gemma_inference_restrict_scan.py | 100 | # ── Shared constants (identical across all Gemma 3 sizes) ───────────────── | COMMENT |
| MEDIUM | gemma_inference_restrict_scan.py | 119 | # ── Standalone helpers ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | gemma_inference_restrict_scan.py | 139 | # ── Public wrappers (read directly by the data owners) ───────────────────── | COMMENT |
| MEDIUM | gemma_inference_restrict_scan.py | 238 | # ── Flax modules ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | gemma_inference_restrict_scan.py | 467 | # ── Weight loading ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | gemma_inference_restrict_scan.py | 489 | # ── Setup (convenience entry point) ─────────────────────────────────────── | COMMENT |
| MEDIUM | gemma_inference_restrict_scan.py | 501 | # ── Tokenizer + generation ───────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | tests/unit/test_encryption.py | 140 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | tests/unit/test_encryption.py | 142 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | tests/unit/test_encryption.py | 257 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | tests/unit/test_encryption.py | 259 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | tests/unit/test_encryption.py | 307 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | tests/unit/test_encryption.py | 309 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | tests/unit/test_encryption.py | 488 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | tests/unit/test_encryption.py | 490 | # ========================================================================= | COMMENT |
| MEDIUM | tests/unit/test_encryption.py | 13 | # ========================================================================= | COMMENT |
| MEDIUM | tests/unit/test_encryption.py | 15 | # ========================================================================= | COMMENT |
| MEDIUM | tests/unit/test_encryption.py | 417 | # ========================================================================= | COMMENT |
| MEDIUM | tests/unit/test_encryption.py | 419 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | scripts/verify_dataset_before_peer_accept.py | 92 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | scripts/verify_dataset_before_peer_accept.py | 99 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | scripts/verify_dataset_before_peer_accept.py | 106 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | scripts/verify_dataset_before_peer_accept.py | 119 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | scripts/verify_dataset_before_peer_accept.py | 131 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | scripts/verify_dataset_before_peer_accept.py | 139 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | scripts/verify_dataset_before_peer_accept.py | 146 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | scripts/verify_dataset_before_peer_accept.py | 159 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | packages/syft-job/src/syft_job/job.py | 56 | # ────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/syft-job/src/syft_job/job.py | 58 | # ────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/syft-job/src/syft_job/job.py | 100 | # ────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/syft-job/src/syft_job/job.py | 102 | # ────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | packages/syft-job/src/syft_job/job.py | 181 | # ────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | packages/syft-job/src/syft_job/job.py | 183 | # ────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/syft-job/src/syft_job/job.py | 352 | # ────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/syft-job/src/syft_job/job.py | 354 | # ────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/syft-job/src/syft_job/job.py | 386 | # ────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/syft-job/src/syft_job/job.py | 388 | # ────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/syft-job/src/syft_job/client.py | 138 | # ────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/syft-job/src/syft_job/client.py | 140 | # ────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/syft-job/src/syft_job/client.py | 482 | # ────────────────────────────────────────────── | STRING |
| MEDIUM | packages/syft-job/src/syft_job/client.py | 484 | # ────────────────────────────────────────────── | STRING |
| MEDIUM | packages/syft-job/src/syft_job/client.py | 556 | # ────────────────────────────────────────────── | STRING |
| MEDIUM | packages/syft-job/src/syft_job/client.py | 558 | # ────────────────────────────────────────────── | STRING |
| MEDIUM | packages/syft-bg/src/syft_bg/api/api.py | 103 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | packages/syft-bg/src/syft_bg/api/api.py | 105 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | packages/syft-bg/src/syft_bg/api/api.py | 179 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | packages/syft-bg/src/syft_bg/api/api.py | 181 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | packages/syft-bg/src/syft_bg/api/api.py | 270 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | packages/syft-bg/src/syft_bg/api/api.py | 272 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | packages/syft-bg/src/syft_bg/api/api.py | 306 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | packages/syft-bg/src/syft_bg/api/api.py | 308 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | packages/syft-restrict/tests/verify/test_disallowed.py | 12 | # ── banned node types / constructs ─────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | packages/syft-restrict/tests/verify/test_disallowed.py | 83 | # ── banned names (any Load reference) ──────────────────────────────────────── | STRING |
| 165 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | gemma_inference_restrict_scan.py | 0 | public wrapper: read an array's shape — an attribute read on a value, not allowed in the private region. | STRING |
| HIGH | …ebooks/enclave/gemma/colab/gemma_inference_restrict.py | 0 | public wrapper: read an array's shape — an attribute read on a value, not allowed in the private region. | STRING |
| HIGH | packages/syft-restrict/examples/gemma_inference.py | 0 | public wrapper: read an array's shape — an attribute read on a value, not allowed in the private region. | STRING |
| HIGH | …kages/syft-restrict/examples/gemma_inference_ranges.py | 0 | public wrapper: read an array's shape — an attribute read on a value, not allowed in the private region. | STRING |
| HIGH | …s/syft-restrict/examples/gemma_inference.obfuscated.py | 0 | public wrapper: read an array's shape — an attribute read on a value, not allowed in the private region. | STRING |
| HIGH | …restrict/examples/gemma_inference_ranges.obfuscated.py | 0 | public wrapper: read an array's shape — an attribute read on a value, not allowed in the private region. | STRING |
| HIGH | …lave/gemma/colab-3-persona/gemma_inference_restrict.py | 0 | public wrapper: read an array's shape — an attribute read on a value, not allowed in the private region. | STRING |
| HIGH | notebooks/enclave/gemma/dev/gemma_inference_restrict.py | 0 | public wrapper: read an array's shape — an attribute read on a value, not allowed in the private region. | STRING |
| HIGH | gemma_inference_restrict_scan.py | 0 | configure model, load weights and tokenizer. returns (model, tokenizer, params). | STRING |
| HIGH | packages/syft-restrict/examples/gemma_inference.py | 0 | configure model, load weights and tokenizer. returns (model, tokenizer, params). | STRING |
| HIGH | …kages/syft-restrict/examples/gemma_inference_ranges.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 | …restrict/examples/gemma_inference_ranges.obfuscated.py | 0 | configure model, load weights and tokenizer. returns (model, tokenizer, params). | STRING |
| HIGH | …ebooks/enclave/gemma/colab/gemma_inference_restrict.py | 0 | configure model, load weights and tokenizer. returns (model, tokenizer, params). | STRING |
| HIGH | notebooks/enclave/gemma/dev/gemma_inference.py | 0 | configure model, load weights and tokenizer. returns (model, tokenizer, params). | STRING |
| HIGH | gemma_inference_restrict_scan.py | 0 | load sentencepiece tokenizer from weights directory. | STRING |
| HIGH | packages/syft-restrict/examples/gemma_inference.py | 0 | load sentencepiece tokenizer from weights directory. | STRING |
| HIGH | …kages/syft-restrict/examples/gemma_inference_ranges.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 | …restrict/examples/gemma_inference_ranges.obfuscated.py | 0 | load sentencepiece tokenizer from weights directory. | STRING |
| HIGH | …lave/gemma/colab-3-persona/gemma_inference_restrict.py | 0 | load sentencepiece tokenizer from weights directory. | STRING |
| HIGH | …ebooks/enclave/gemma/colab/gemma_inference_restrict.py | 0 | load sentencepiece tokenizer from weights directory. | STRING |
| HIGH | notebooks/enclave/gemma/dev/gemma_inference_restrict.py | 0 | load sentencepiece tokenizer from weights directory. | STRING |
| HIGH | notebooks/enclave/gemma/dev/gemma_inference.py | 0 | load sentencepiece tokenizer from weights directory. | STRING |
| HIGH | tests/unit/test_sync_manager.py | 0 | return the correct path for ds to submit a job file to do. | STRING |
| HIGH | …ts/integration/with_unit_coverage/test_sync_manager.py | 0 | return the correct path for ds to submit a job file to do. | STRING |
| HIGH | packages/syft-rds/tests/test_sync_manager.py | 0 | return the correct path for ds to submit a job file to do. | 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 | …kages/syft-restrict/examples/gemma_inference_ranges.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 | …restrict/examples/gemma_inference_ranges.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/dev/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 | …kages/syft-restrict/examples/gemma_inference_ranges.py | 0 | causal masks — local layers also clip to a sliding window. | STRING |
| HIGH | …lave/gemma/colab-3-persona/gemma_inference_restrict.py | 0 | causal masks — local layers also clip to a sliding window. | STRING |
| HIGH | notebooks/enclave/gemma/dev/gemma_inference_restrict.py | 0 | causal masks — local layers also clip to a sliding window. | STRING |
| HIGH | notebooks/enclave/gemma/dev/gemma_inference.py | 0 | causal masks — local layers also clip to a sliding window. | STRING |
| HIGH | packages/syft-restrict/examples/gemma_inference.py | 0 | public wrapper: append to a python list (a named method on a value). | STRING |
| HIGH | …kages/syft-restrict/examples/gemma_inference_ranges.py | 0 | public wrapper: append to a python list (a named method on a value). | STRING |
| HIGH | …s/syft-restrict/examples/gemma_inference.obfuscated.py | 0 | public wrapper: append to a python list (a named method on a value). | STRING |
| HIGH | …restrict/examples/gemma_inference_ranges.obfuscated.py | 0 | public wrapper: append to a python list (a named method on a value). | STRING |
| HIGH | …lave/gemma/colab-3-persona/gemma_inference_restrict.py | 0 | public wrapper: append to a python list (a named method on a value). | STRING |
| HIGH | notebooks/enclave/gemma/dev/gemma_inference_restrict.py | 0 | public wrapper: append to a python list (a named method on a value). | STRING |
| HIGH | packages/syft-restrict/examples/gemma_inference.py | 0 | load orbax checkpoint and return flax-compatible params dict. | STRING |
| HIGH | …kages/syft-restrict/examples/gemma_inference_ranges.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 | …restrict/examples/gemma_inference_ranges.obfuscated.py | 0 | load orbax checkpoint and return flax-compatible params dict. | STRING |
| HIGH | …lave/gemma/colab-3-persona/gemma_inference_restrict.py | 0 | load orbax checkpoint and return flax-compatible params dict. | STRING |
| HIGH | notebooks/enclave/gemma/dev/gemma_inference_restrict.py | 0 | load orbax checkpoint and return flax-compatible params dict. | STRING |
| HIGH | notebooks/enclave/gemma/dev/gemma_inference.py | 0 | load orbax checkpoint and return flax-compatible params dict. | STRING |
| HIGH | packages/syft-restrict/examples/gemma_inference.py | 0 | temperature-scaled top-k sampling. greedy when temperature=0. | STRING |
| HIGH | …kages/syft-restrict/examples/gemma_inference_ranges.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 | …restrict/examples/gemma_inference_ranges.obfuscated.py | 0 | temperature-scaled top-k sampling. greedy when temperature=0. | STRING |
| HIGH | …lave/gemma/colab-3-persona/gemma_inference_restrict.py | 0 | temperature-scaled top-k sampling. greedy when temperature=0. | STRING |
| HIGH | notebooks/enclave/gemma/dev/gemma_inference_restrict.py | 0 | temperature-scaled top-k sampling. greedy when temperature=0. | STRING |
| HIGH | notebooks/enclave/gemma/dev/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 | …kages/syft-restrict/examples/gemma_inference_ranges.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 |
| 7 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/unit/test_install_source_advertise.py | 3 | 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 | |
| LOW | packages/syft-job/src/syft_job/__init__.py | 10 | CODE | |
| LOW | packages/syft-job/src/syft_job/__init__.py | 10 | CODE | |
| LOW | packages/syft-job/src/syft_job/job_stdout.py | 1 | CODE | |
| LOW | packages/syft-job/src/syft_job/job_stdout.py | 7 | CODE | |
| LOW | …kages/syft-job/src/syft_job/protocolcodecs/__init__.py | 1 | CODE | |
| LOW | packages/syft-job/src/syft_job/models/__init__.py | 1 | CODE | |
| LOW | packages/syft-job/src/syft_job/models/__init__.py | 1 | CODE | |
| LOW | packages/syft-job/src/syft_job/models/__init__.py | 1 | CODE | |
| LOW | packages/syft-job/src/syft_job/models/__init__.py | 2 | CODE | |
| LOW | packages/syft-job/src/syft_job/models/__init__.py | 2 | CODE | |
| LOW | packages/syft-job/src/syft_job/models/job_state/v1.py | 1 | CODE | |
| LOW | …ges/syft-job/src/syft_job/models/job_state/__init__.py | 1 | CODE | |
| LOW | …-job/src/syft_job/models/job_submission_metadata/v1.py | 1 | CODE | |
| LOW | packages/syft-bg/src/syft_bg/__init__.py | 3 | CODE | |
| LOW | packages/syft-bg/src/syft_bg/__init__.py | 3 | CODE | |
| LOW | packages/syft-bg/src/syft_bg/__init__.py | 3 | CODE | |
| LOW | packages/syft-bg/src/syft_bg/__init__.py | 3 | CODE | |
| LOW | packages/syft-bg/src/syft_bg/__init__.py | 3 | CODE | |
| LOW | packages/syft-bg/src/syft_bg/__init__.py | 3 | CODE | |
| LOW | packages/syft-bg/src/syft_bg/__init__.py | 3 | CODE | |
| LOW | packages/syft-bg/src/syft_bg/__init__.py | 3 | CODE | |
| LOW | packages/syft-bg/src/syft_bg/__init__.py | 3 | CODE | |
| LOW | packages/syft-bg/src/syft_bg/__init__.py | 3 | CODE | |
| LOW | packages/syft-bg/src/syft_bg/__init__.py | 3 | CODE | |
| LOW | packages/syft-bg/src/syft_bg/__init__.py | 3 | CODE | |
| LOW | packages/syft-bg/src/syft_bg/__init__.py | 3 | CODE | |
| LOW | packages/syft-bg/src/syft_bg/__init__.py | 3 | CODE | |
| LOW | packages/syft-bg/src/syft_bg/__init__.py | 3 | CODE | |
| LOW | packages/syft-bg/src/syft_bg/__init__.py | 3 | CODE | |
| LOW | packages/syft-bg/src/syft_bg/__init__.py | 3 | CODE | |
| LOW | packages/syft-bg/src/syft_bg/__init__.py | 3 | CODE | |
| LOW | packages/syft-bg/src/syft_bg/__init__.py | 23 | CODE | |
| LOW | packages/syft-bg/src/syft_bg/notify/__init__.py | 3 | CODE | |
| LOW | packages/syft-bg/src/syft_bg/notify/__init__.py | 4 | CODE | |
| LOW | …ckages/syft-bg/src/syft_bg/notify/monitors/__init__.py | 3 | CODE | |
| LOW | …ckages/syft-bg/src/syft_bg/notify/monitors/__init__.py | 4 | CODE | |
| LOW | …syft-bg/src/syft_bg/notify/email_templates/__init__.py | 3 | CODE | |
| LOW | …ckages/syft-bg/src/syft_bg/notify/handlers/__init__.py | 3 | CODE | |
| LOW | …ckages/syft-bg/src/syft_bg/notify/handlers/__init__.py | 4 | CODE | |
| 215 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| 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 |
| LOW | scripts/auto_approve_jobs.py | 57 | except Exception: | STRING |
| LOW | scripts/auto_approve_peers_and_share.py | 92 | except Exception as e: | CODE |
| MEDIUM | scripts/auto_approve_peers_and_share.py | 93 | print(f"Error during polling: {e}") | CODE |
| LOW | …s/syft-notebook-ui/src/syft_notebook_ui/table_utils.py | 128 | except Exception: | CODE |
| LOW | …notebook-ui/src/syft_notebook_ui/pydantic_html_repr.py | 82 | except Exception as e: | CODE |
| LOW | packages/syft-notebook-ui/src/syft_notebook_ui/utils.py | 43 | except Exception as e: | CODE |
| LOW | packages/syft-job/src/syft_job/install_source.py | 79 | except Exception: | CODE |
| LOW | packages/syft-job/src/syft_job/job.py | 123 | except Exception: | CODE |
| LOW⚡ | packages/syft-job/src/syft_job/job.py | 177 | except Exception: | CODE |
| LOW | packages/syft-job/src/syft_job/runner_main.py | 94 | except Exception as e: | STRING |
| LOW | packages/syft-job/src/syft_job/client.py | 594 | except Exception as e: | STRING |
| LOW | packages/syft-job/src/syft_job/client.py | 635 | except Exception: | STRING |
| LOW | packages/syft-job/src/syft_job/job_repr.py | 72 | except Exception as e: | CODE |
| LOW | packages/syft-job/src/syft_job/job_repr.py | 101 | except Exception as e: | CODE |
| LOW | packages/syft-job/src/syft_job/job_repr.py | 371 | except Exception: | CODE |
| LOW | packages/syft-job/src/syft_job/job_repr.py | 387 | except Exception: | CODE |
| LOW | packages/syft-job/src/syft_job/job_repr.py | 405 | except Exception: | CODE |
| LOW | packages/syft-job/src/syft_job/job_repr.py | 427 | except Exception: | CODE |
| LOW | packages/syft-job/src/syft_job/job_stdout.py | 79 | except Exception as e: | CODE |
| LOW | packages/syft-job/src/syft_job/job_stdout.py | 109 | except Exception as e: | CODE |
| LOW⚡ | packages/syft-job/src/syft_job/job_runner.py | 122 | except Exception as e: | CODE |
| LOW⚡ | packages/syft-job/src/syft_job/job_runner.py | 135 | except Exception as e: | CODE |
| LOW | packages/syft-job/src/syft_job/job_runner.py | 190 | except Exception as e: | CODE |
| LOW | packages/syft-job/src/syft_job/job_runner.py | 196 | except Exception as recovery_error: | CODE |
| LOW | packages/syft-job/src/syft_job/job_runner.py | 440 | except Exception as e: | CODE |
| LOW | packages/syft-job/src/syft_job/job_runner.py | 493 | except Exception: | CODE |
| LOW | packages/syft-job/src/syft_job/job_runner.py | 620 | except Exception as e: | CODE |
| LOW | packages/syft-bg/src/syft_bg/auth.py | 29 | except Exception as e: | CODE |
| LOW | packages/syft-bg/src/syft_bg/notify/heartbeat.py | 65 | except Exception: | CODE |
| MEDIUM | packages/syft-bg/src/syft_bg/notify/heartbeat.py | 52 | def _send_one(self) -> None: | CODE |
| LOW | packages/syft-bg/src/syft_bg/notify/monitors/job.py | 42 | except Exception as e: | CODE |
| LOW | packages/syft-bg/src/syft_bg/notify/monitors/job.py | 109 | except Exception: | CODE |
| LOW | packages/syft-bg/src/syft_bg/notify/monitors/job.py | 115 | except Exception as e: | CODE |
| LOW | …syft-bg/src/syft_bg/notify/email_templates/renderer.py | 39 | except Exception: | CODE |
| LOW | …syft-bg/src/syft_bg/notify/email_templates/renderer.py | 48 | except Exception: | CODE |
| LOW | packages/syft-bg/src/syft_bg/notify/handlers/job.py | 39 | except Exception as e: | CODE |
| LOW | packages/syft-bg/src/syft_bg/notify/handlers/job.py | 86 | except Exception: | CODE |
| LOW | packages/syft-bg/src/syft_bg/notify/gmail/auth.py | 59 | except Exception as e: | CODE |
| LOW | packages/syft-bg/src/syft_bg/notify/gmail/sender.py | 92 | except Exception: | CODE |
| LOW | packages/syft-bg/src/syft_bg/notify/gmail/sender.py | 130 | except Exception: | CODE |
| LOW | packages/syft-bg/src/syft_bg/notify/gmail/sender.py | 177 | except Exception: | STRING |
| LOW | packages/syft-bg/src/syft_bg/notify/gmail/sender.py | 208 | except Exception: | STRING |
| LOW | packages/syft-bg/src/syft_bg/notify/gmail/sender.py | 238 | except Exception: | STRING |
| LOW | packages/syft-bg/src/syft_bg/notify/gmail/sender.py | 269 | except Exception: | STRING |
| LOW | packages/syft-bg/src/syft_bg/notify/gmail/sender.py | 300 | except Exception: | STRING |
| LOW | packages/syft-bg/src/syft_bg/notify/gmail/sender.py | 328 | except Exception: | STRING |
| LOW | packages/syft-bg/src/syft_bg/notify/gmail/sender.py | 355 | except Exception: | STRING |
| LOW | packages/syft-bg/src/syft_bg/notify/gmail/sender.py | 382 | except Exception: | STRING |
| LOW | packages/syft-bg/src/syft_bg/notify/gmail/sender.py | 413 | except Exception: | STRING |
| LOW | packages/syft-bg/src/syft_bg/notify/gmail/sender.py | 446 | except Exception: | STRING |
| LOW | packages/syft-bg/src/syft_bg/notify/gmail/sender.py | 480 | except Exception: | STRING |
| LOW | packages/syft-bg/src/syft_bg/notify/gmail/sender.py | 524 | except Exception: | STRING |
| 101 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | tests/unit/test_mock_drive_service.py | 195 | # Create a file | COMMENT |
| MEDIUM⚡ | tests/unit/test_mock_drive_service.py | 257 | # Create a file | COMMENT |
| MEDIUM⚡ | tests/unit/test_mock_drive_service.py | 267 | # Create a folder | COMMENT |
| MEDIUM⚡ | tests/unit/test_mock_drive_service.py | 345 | # Create a file | COMMENT |
| MEDIUM | tests/unit/test_mock_drive_service.py | 300 | # Create a file | COMMENT |
| MEDIUM | tests/unit/test_cache_aware_sync.py | 46 | # Create a NEW SyftboxManager with the same cache directory (simulating restart) | COMMENT |
| MEDIUM | tests/unit/test_cache_aware_sync.py | 123 | # Create a NEW SyftboxManager with the same cache directory (simulating restart) | COMMENT |
| MEDIUM | tests/unit/test_cache_aware_sync.py | 155 | # Create a file | COMMENT |
| MEDIUM | tests/unit/test_cache_aware_sync.py | 209 | # 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 | 407 | # Create a regular file (should be synced) | COMMENT |
| MEDIUM | tests/unit/test_sync_manager.py | 412 | # Create a collection file (should NOT be synced via outbox) | COMMENT |
| MEDIUM | tests/unit/test_sync_manager.py | 479 | # Create a regular file (non-job) that should go to all peers | COMMENT |
| 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-rds/tests/test_job_auto_approval.py | 63 | # Create a project folder with script and data file | STRING |
| MEDIUM | packages/syft-rds/tests/test_sync_manager.py | 437 | # Create a folder without pyproject.toml | STRING |
| MEDIUM | packages/syft-rds/tests/test_sync_manager.py | 450 | # Create a helper module | STRING |
| MEDIUM | packages/syft-rds/tests/test_sync_manager.py | 509 | # Create a folder with pyproject.toml | STRING |
| MEDIUM | packages/syft-rds/tests/test_sync_manager.py | 1190 | # Create a dataset with "any" permission | STRING |
| 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 |
| MEDIUM⚡ | syft/sync/connections/drive/gdrive_transport.py | 1857 | # Create the folder | COMMENT |
| MEDIUM | syft/sync/connections/drive/gdrive_transport.py | 2163 | # Create the folder | COMMENT |
| MEDIUM | syft/sync/reprs/peer_repr.py | 20 | # Create main table | COMMENT |
| MEDIUM | syft/sync/sync/datasite_owner_syncer.py | 1009 | # Create a FileChangeEvent from CheckpointFile | 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 | 72 | filter_func = parse_gdrive_query("", "user@example.com") | CODE |
| LOW⚡ | tests/unit/test_mock_drive_service.py | 77 | filter_func = parse_gdrive_query("name='test.txt'", "user@example.com") | CODE |
| LOW⚡ | tests/unit/test_mock_drive_service.py | 82 | filter_func = parse_gdrive_query("name contains 'test'", "user@example.com") | CODE |
| LOW⚡ | tests/unit/test_mock_drive_service.py | 88 | f"mimeType='{GOOGLE_FOLDER_MIME_TYPE}'", "user@example.com" | CODE |
| LOW⚡ | tests/unit/test_mock_drive_service.py | 99 | filter_func = parse_gdrive_query("'parent123' in parents", "user@example.com") | CODE |
| LOW⚡ | tests/unit/test_mock_drive_service.py | 106 | filter_func = parse_gdrive_query("'me' in owners", "user@example.com") | CODE |
| LOW⚡ | tests/unit/test_mock_drive_service.py | 110 | name="test.txt", owners=[{"emailAddress": "user@example.com"}] | CODE |
| LOW⚡ | tests/unit/test_mock_drive_service.py | 165 | filter_func = parse_gdrive_query("trashed=false", "user@example.com") | CODE |
| LOW⚡ | tests/unit/test_mock_drive_service.py | 172 | "user@example.com", | CODE |
| LOW⚡ | tests/unit/test_mock_drive_service.py | 176 | owners=[{"emailAddress": "user@example.com"}], | CODE |
| LOW⚡ | tests/unit/test_mock_drive_service.py | 181 | owners=[{"emailAddress": "user@example.com"}], | CODE |
| LOW⚡ | tests/unit/test_mock_drive_service.py | 193 | service = MockDriveService(store, "user@example.com") | CODE |
| LOW⚡ | tests/unit/test_mock_drive_service.py | 255 | service = MockDriveService(store, "user@example.com") | CODE |
| LOW⚡ | tests/unit/test_mock_drive_service.py | 327 | service = MockDriveService(store, "user@example.com") | CODE |
| LOW⚡ | tests/unit/test_mock_drive_service.py | 333 | owners=[{"emailAddress": "user@example.com"}], | CODE |
| LOW⚡ | tests/unit/test_mock_drive_service.py | 343 | service = MockDriveService(store, "user@example.com") | CODE |
| LOW⚡ | tests/unit/test_mock_drive_service.py | 439 | mock_service = MockDriveService(store, "user@example.com") | CODE |
| LOW⚡ | tests/unit/test_mock_drive_service.py | 441 | connection = GDriveConnection.from_service("user@example.com", mock_service) | CODE |
| LOW⚡ | tests/unit/test_mock_drive_service.py | 443 | assert connection.email == "user@example.com" | CODE |
| LOW⚡ | tests/unit/test_mock_drive_service.py | 448 | mock_service = MockDriveService(store, "user@example.com") | CODE |
| LOW⚡ | tests/unit/test_mock_drive_service.py | 449 | connection = GDriveConnection.from_service("user@example.com", mock_service) | CODE |
| LOW⚡ | tests/unit/test_mock_drive_service.py | 461 | owners=[{"emailAddress": "user@example.com"}], | CODE |
| LOW⚡ | tests/unit/test_mock_drive_service.py | 465 | mock_service = MockDriveService(store, "user@example.com") | CODE |
| LOW⚡ | tests/unit/test_mock_drive_service.py | 466 | connection = GDriveConnection.from_service("user@example.com", mock_service) | CODE |
| LOW | tests/unit/test_mock_drive_service.py | 27 | owners=[{"emailAddress": "user@example.com"}], | CODE |
| LOW | tests/unit/test_mock_drive_service.py | 125 | filter_func = parse_gdrive_query("not 'me' in owners", "user@example.com") | CODE |
| LOW | tests/unit/test_mock_drive_service.py | 137 | name="test.txt", owners=[{"emailAddress": "user@example.com"}] | CODE |
| LOW | tests/unit/test_mock_drive_service.py | 145 | "'owner@example.com' in owners", "user@example.com" | CODE |
| LOW | tests/unit/test_mock_drive_service.py | 224 | service = MockDriveService(store, "user@example.com") | CODE |
| LOW | tests/unit/test_mock_drive_service.py | 298 | service = MockDriveService(store, "user@example.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 | 183 | email="test@test.com", | CODE |
| LOW⚡ | tests/integration/without_unit_coverage/test_login.py | 197 | 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-rds/tests/test_datasets_jobs_repr.py | 161 | datasite_email="test@test.com", | CODE |
| LOW⚡ | packages/syft-rds/tests/test_datasets_jobs_repr.py | 170 | current_user_email="test@test.com", | CODE |
| LOW⚡ | packages/syft-rds/tests/test_datasets_jobs_repr.py | 178 | root_email="test@test.com", | CODE |
| LOW⚡ | packages/syft-rds/tests/test_datasets_jobs_repr.py | 187 | root_email="test@test.com", | CODE |
| LOW⚡ | packages/syft-rds/tests/test_datasets_jobs_repr.py | 195 | root_email="test@test.com", | CODE |
| LOW⚡ | packages/syft-rds/tests/test_datasets_jobs_repr.py | 204 | root_email="test@test.com", | CODE |
| LOW | packages/syft-rds/tests/test_datasets_jobs_repr.py | 148 | syftbox_folder=Path("/tmp/fake"), current_user_email="test@test.com" | CODE |
| LOW⚡ | packages/syft-enclave/tests/test_attestation.py | 62 | "fake-token", policy=DEFAULT_TEST_POLICY, verbose=False | CODE |
| LOW⚡ | packages/syft-enclave/tests/test_attestation.py | 71 | verify_attestation_token("fake-token", verbose=False) | CODE |
| LOW⚡ | packages/syft-enclave/tests/test_attestation.py | 76 | verify_attestation_token("fake-token", verbose=False) | CODE |
| LOW⚡ | packages/syft-enclave/tests/test_attestation.py | 84 | 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 | verify_attestation_token("fake-token", verbose=False) | CODE |
| LOW⚡ | packages/syft-enclave/tests/test_attestation.py | 102 | verify_attestation_token("fake-token", verbose=False) | CODE |
| LOW⚡ | packages/syft-enclave/tests/test_attestation.py | 108 | verify_attestation_token("fake-token", verbose=False) | CODE |
| LOW⚡ | packages/syft-enclave/tests/test_attestation.py | 113 | result = verify_attestation_token("fake-token", verbose=False) | CODE |
| LOW⚡ | packages/syft-enclave/tests/test_attestation.py | 121 | result = verify_attestation_token("fake-token", verbose=False) | CODE |
| LOW⚡ | packages/syft-enclave/tests/test_attestation.py | 128 | verify_attestation_token("fake-token", policy=policy, verbose=False) | CODE |
| LOW⚡ | packages/syft-enclave/tests/test_attestation.py | 134 | "fake-token", policy=AppraisalPolicy(), verbose=False | CODE |
| LOW⚡ | packages/syft-enclave/tests/test_attestation.py | 148 | "fake-token", policy=DEFAULT_TEST_POLICY, verbose=False | CODE |
| LOW⚡ | packages/syft-enclave/tests/test_attestation.py | 153 | "fake-token", policy=DEFAULT_TEST_POLICY, verbose=False | CODE |
| LOW⚡ | packages/syft-enclave/tests/test_attestation.py | 162 | verify_attestation_token("fake-token", verbose=False) | CODE |
| LOW⚡ | packages/syft-enclave/tests/test_attestation.py | 173 | verify_attestation_token("fake-token", verbose=False) | CODE |
| 5 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| 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 | 86 | def set_service_config(self, name: str, config: dict) -> None: | CODE |
| LOW | packages/syft-bg/src/syft_bg/common/state.py | 155 | 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-rds/src/syft_rds/client.py | 25 | logger = logging.getLogger(__name__) | CODE |
| LOW | packages/syft-rds/src/syft_rds/__init__.py | 16 | __all__ = [ | CODE |
| LOW | packages/syft-restrict/src/syft_restrict/runner.py | 18 | __all__ = ["run", "RunResult"] | CODE |
| LOW | packages/syft-restrict/src/syft_restrict/__init__.py | 19 | __all__ = [ | CODE |
| LOW | packages/syft-restrict/src/syft_restrict/markers.py | 29 | __all__ = ["parse_markers"] | 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 | …ges/syft-datasets/src/syft_datasets/dataset_storage.py | 30 | __all__ = [ | CODE |
| LOW | packages/syft-datasets/src/syft_datasets/__init__.py | 15 | __all__ = [ | CODE |
| LOW | …-datasets/src/syft_datasets/protocolcodecs/__init__.py | 28 | __all__ = [ | CODE |
| LOW | …ges/syft-datasets/src/syft_datasets/models/__init__.py | 4 | __all__ = [ | CODE |
| LOW | …yft_datasets/models/private_dataset_config/__init__.py | 6 | __all__ = [ | CODE |
| LOW | …-datasets/src/syft_datasets/models/dataset/__init__.py | 6 | __all__ = [ | CODE |
| LOW⚡ | syft/sync/syftbox_manager.py | 60 | logger = logging.getLogger(__name__) | CODE |
| LOW | syft/sync/syftbox_manager.py | 542 | def _set_peer_store(self, peer_store) -> None: | CODE |
| LOW | syft/sync/callback_mixin.py | 5 | logger = logging.getLogger(__name__) | CODE |
| LOW | syft/sync/checkpoints/__init__.py | 11 | __all__ = [ | CODE |
| LOW | syft/sync/connections/drive/gdrive_retry.py | 14 | logger = logging.getLogger(__name__) | CODE |
| LOW | syft/sync/version/peer_manager.py | 33 | logger = logging.getLogger(__name__) | CODE |
| LOW | syft/sync/version/__init__.py | 17 | __all__ = [ | CODE |
| LOW | syft/sync/peers/__init__.py | 3 | __all__ = ["PeerStore"] | CODE |
| LOW | syft/sync/peers/peer_store.py | 105 | def set_peer(self, peer: Peer) -> None: | CODE |
| 3 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tests/unit/test_peer_requests.py | 27 | # Step 1: DS makes peer request by adding DO | COMMENT |
| LOW⚡ | tests/unit/test_peer_requests.py | 36 | # Step 2: DS submits a file to their job folder | COMMENT |
| LOW⚡ | tests/unit/test_peer_requests.py | 41 | # Step 3: DO syncs WITHOUT accepting - nothing should sync | COMMENT |
| LOW⚡ | tests/unit/test_peer_requests.py | 48 | # Step 4: DO approves peer request | COMMENT |
| LOW⚡ | tests/unit/test_peer_requests.py | 57 | # 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 |
| LOW | syft/sync/sync/datasite_owner_syncer.py | 214 | # Step 1: Check for full (compacted) checkpoint | COMMENT |
| LOW | syft/sync/sync/datasite_owner_syncer.py | 226 | # Step 2: Check for incremental checkpoints | COMMENT |
| LOW | syft/sync/sync/datasite_owner_syncer.py | 242 | # Step 3: Check for rolling state | COMMENT |
| LOW | syft/sync/sync/datasite_owner_syncer.py | 268 | # Step 4: Download any remaining events since last timestamp | COMMENT |
| LOW | syft/sync/sync/datasite_owner_syncer.py | 293 | # Step 5: Ensure events from checkpoints/rolling state are in | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| 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/cli/commands.py | 408 | CODE | |
| LOW | packages/syft-bg/src/syft_bg/approve/handlers/job.py | 87 | 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 | 56 | 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 | 46 | CODE | |
| LOW | packages/syft-bg/src/syft_bg/api/utils.py | 226 | CODE | |
| LOW | packages/syft-rds/src/syft_rds/job_auto_approval.py | 145 | CODE | |
| LOW | packages/syft-restrict/src/syft_restrict/obfuscator.py | 89 | CODE | |
| LOW | packages/syft-restrict/src/syft_restrict/obfuscator.py | 150 | CODE | |
| LOW | packages/syft-restrict/src/syft_restrict/astutil.py | 115 | CODE | |
| LOW | packages/syft-restrict/src/syft_restrict/verifier.py | 377 | CODE | |
| LOW | packages/syft-restrict/src/syft_restrict/verifier.py | 925 | CODE | |
| LOW | packages/syft-restrict/src/syft_restrict/verifier.py | 1072 | CODE | |
| LOW | packages/syft-datasets/src/syft_datasets/file_utils.py | 18 | CODE | |
| LOW | syft/utils.py | 405 | CODE | |
| LOW | syft/sync/syftbox_manager.py | 897 | CODE | |
| LOW | syft/sync/checkpoints/checkpoint.py | 186 | CODE | |
| LOW | syft/sync/connections/drive/gdrive_retry.py | 47 | CODE | |
| LOW | syft/sync/connections/drive/gdrive_transport.py | 883 | CODE | |
| LOW | syft/sync/connections/drive/mock_drive_service.py | 136 | CODE | |
| LOW | syft/sync/version/peer_manager.py | 523 | CODE | |
| LOW | syft/sync/peers/peer_list.py | 37 | CODE | |
| LOW | syft/sync/sync/datasite_owner_syncer.py | 149 | CODE | |
| LOW | syft/sync/sync/datasite_owner_syncer.py | 200 | CODE | |
| LOW | syft/sync/sync/datasite_owner_syncer.py | 580 | CODE | |
| LOW | syft/sync/sync/datasite_owner_syncer.py | 971 | CODE | |
| LOW | syft/sync/sync/caches/cache_file_writer_connection.py | 132 | CODE | |
| LOW | syft/sync/sync/caches/datasite_owner_cache.py | 114 | CODE | |
| LOW | syft/sync/sync/caches/datasite_watcher_cache.py | 100 | CODE | |
| LOW | syft/sync/sync/caches/datasite_watcher_cache.py | 149 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| 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 |
| HIGH | syft/utils.py | 191 | Resolve syft:// paths to absolute filesystem paths. This function converts syft:// URLs to actual filesystem p | STRING |
| HIGH | syft/utils.py | 651 | Generate a comprehensive environment snapshot for bug reports. This function collects information about the ru | STRING |
| HIGH | syft/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/sync/connections/drive/gdrive_retry.py | 124 | Execute next_chunk() on a downloader with retry on transient errors. Args: downloader: A MediaIoBaseDownloa | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tests/unit/test_peer_requests.py | 27 | # Step 1: DS makes peer request by adding DO | COMMENT |
| LOW⚡ | tests/unit/test_peer_requests.py | 36 | # Step 2: DS submits a file to their job folder | COMMENT |
| LOW⚡ | tests/unit/test_peer_requests.py | 41 | # Step 3: DO syncs WITHOUT accepting - nothing should sync | COMMENT |
| LOW⚡ | tests/unit/test_peer_requests.py | 48 | # Step 4: DO approves peer request | COMMENT |
| LOW⚡ | tests/unit/test_peer_requests.py | 57 | # 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 |
| LOW | syft/sync/sync/datasite_owner_syncer.py | 214 | # Step 1: Check for full (compacted) checkpoint | COMMENT |
| LOW | syft/sync/sync/datasite_owner_syncer.py | 226 | # Step 2: Check for incremental checkpoints | COMMENT |
| LOW | syft/sync/sync/datasite_owner_syncer.py | 242 | # Step 3: Check for rolling state | COMMENT |
| LOW | syft/sync/sync/datasite_owner_syncer.py | 268 | # Step 4: Download any remaining events since last timestamp | COMMENT |
| LOW | syft/sync/sync/datasite_owner_syncer.py | 293 | # Step 5: Ensure events from checkpoints/rolling state are in | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| 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-rds/tests/test_job_auto_approval.py | 257 | (subdir / "helper.py").write_text("def helper(): pass\n") | CODE |
| LOW | packages/syft-rds/tests/dataset_test_utils.py | 109 | def process_data(data): | STRING |
| LOW⚡ | packages/syft-restrict/tests/verify/test_disallowed.py | 299 | def helper(): | CODE |
| LOW⚡ | packages/syft-restrict/tests/verify/test_disallowed.py | 331 | def helper(d, x): | CODE |
| LOW⚡ | packages/syft-restrict/tests/verify/test_bypasses.py | 449 | def helper(self): | CODE |
| LOW⚡ | packages/syft-restrict/tests/verify/test_bypasses.py | 460 | def helper(x, self): | CODE |
| LOW⚡ | packages/syft-restrict/tests/verify/test_bypasses.py | 485 | def helper(x, secret_sink): | CODE |
| LOW⚡ | packages/syft-restrict/tests/verify/test_bypasses.py | 499 | def helper(x, secret_sink): | CODE |
| LOW⚡ | packages/syft-restrict/tests/verify/test_bypasses.py | 514 | def helper(x): | CODE |
| LOW⚡ | packages/syft-restrict/tests/verify/test_bypasses.py | 525 | def helper(x): | CODE |
| LOW⚡ | packages/syft-restrict/tests/verify/test_bypasses.py | 536 | def helper(x): | CODE |
| LOW⚡ | packages/syft-restrict/tests/verify/test_bypasses.py | 546 | def helper(x): | CODE |
| LOW⚡ | packages/syft-restrict/tests/verify/test_bypasses.py | 549 | def helper(y): | CODE |
| LOW⚡ | packages/syft-restrict/tests/verify/test_bypasses.py | 560 | def helper(x): | CODE |
| LOW⚡ | packages/syft-restrict/tests/verify/test_whitelist.py | 33 | def helper(n): | CODE |
| LOW⚡ | packages/syft-restrict/tests/verify/test_whitelist.py | 44 | def helper(n): | CODE |
| LOW⚡ | packages/syft-restrict/tests/verify/test_whitelist.py | 62 | def helper(): | CODE |
| LOW⚡ | packages/syft-restrict/tests/verify/test_whitelist.py | 101 | def helper(): | CODE |
| LOW⚡ | packages/syft-restrict/tests/verify/test_whitelist.py | 115 | def helper(x): | CODE |
| LOW⚡ | packages/syft-restrict/tests/verify/test_whitelist.py | 129 | def helper(x): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| 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 |
| LOW | syft/utils.py | 227 | # Check if path starts with syft:// | COMMENT |
| LOW | syft/sync/utils/syftbox_utils.py | 39 | # Check if content is a string (has encode method) | COMMENT |
| LOW | syft/sync/connections/drive/gdrive_transport.py | 1502 | # Check if exists | COMMENT |
| LOW | syft/sync/connections/drive/gdrive_transport.py | 2296 | # Check if file already exists | COMMENT |
| LOW | syft/sync/connections/drive/mock_drive_service.py | 282 | # Check if user is the owner (owners always have access) | COMMENT |
| LOW | syft/sync/connections/drive/mock_drive_service.py | 542 | # Check if user has permission to delete | COMMENT |
| LOW | syft/sync/sync/caches/datasite_watcher_cache.py | 340 | # Check if hash changed - skip download if unchanged | COMMENT |
| LOW | syft/sync/sync/caches/datasite_watcher_cache.py | 355 | # Write files to local cache (path relative to syftbox_folder) | COMMENT |
| LOW | syft/sync/sync/caches/datasite_watcher_cache.py | 396 | # Check if hash changed - skip download if unchanged | COMMENT |
| LOW | syft/sync/sync/caches/datasite_watcher_cache.py | 427 | # Write files to local cache (path relative to syftbox_folder) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | notification_config.minimal.yaml | 1 | # ============================================================================ | 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 | COMMENT | |
| LOW | packages/syft-bg/src/syft_bg/api/utils.py | 361 | # creds_dir = get_syftbg_dir() | COMMENT |
| LOW | packages/syft-bg/src/syft_bg/api/utils.py | 381 | # drive_ok = drive_out_token_path.exists() or colab | COMMENT |
| LOW | packages/syft-bg/src/syft_bg/api/utils.py | 401 | 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 | …kages/syft-restrict/examples/gemma_inference_ranges.py | 41 | # num_kv_heads=1, | COMMENT |
| LOW | …kages/syft-restrict/examples/gemma_inference_ranges.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 | …restrict/examples/gemma_inference_ranges.obfuscated.py | 41 | # THIS COMMENT WAS OBFUSCATED | COMMENT |
| LOW | …restrict/examples/gemma_inference_ranges.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 |
|---|---|---|---|---|
| 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 | tests/integration/utils.py | 59 | CODE | |
| LOW | packages/syft-restrict/src/syft_restrict/runner.py | 82 | CODE | |
| LOW | syft/sync/syftbox_manager.py | 187 | CODE | |
| LOW | syft/sync/syftbox_manager.py | 267 | CODE | |
| LOW | syft/sync/syftbox_manager.py | 615 | CODE | |
| LOW | syft/sync/syftbox_manager.py | 701 | CODE | |
| LOW | syft/sync/connections/connection_router.py | 375 | CODE | |
| LOW | syft/sync/sync/datasite_watcher_syncer.py | 147 | CODE | |
| LOW | syft/sync/sync/caches/cache_file_writer_connection.py | 191 | 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 |
| LOW | packages/syft-restrict/src/syft_restrict/verifier.py | 111 | # f-strings: even with no interpolation, just use a plain string; with interpolation, every | COMMENT |
| 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 |
|---|---|---|---|---|
| MEDIUM | syft/utils.py | 450 | # Just detect if in container, not detailed cgroup/orchestration info | COMMENT |