Perform data science on data that remains in someone else's server
This report summarizes scanner evidence for OpenMined/PySyft, a Python project with 10,040 GitHub stars. SynthScan examined 97,811 lines of code across 616 source files, recording 2880 pattern matches distributed across 21 syntactic categories. The legacy adjusted pattern signal is 43.0 (High pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 1800 finding(s).
Are imports declared and package/API names verified? 423 finding(s).
Are wrappers, guards, and repeated structures necessary? 2267 finding(s).
Which changes need focused human review? 2880 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 2880 distinct pattern matches across 21 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | 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_sync_skips_a_peer_of_unknown_version(self): | CODE |
| LOW | tests/unit/test_version_negotiation.py | 516 | 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_peers_json_version.py | 42 | def test_a_write_stamps_the_reserved_entry(): | CODE |
| LOW | tests/unit/test_peers_json_version.py | 59 | def test_the_reserved_entry_is_not_a_peer(): | CODE |
| LOW⚡ | tests/unit/test_peers_json_version.py | 76 | def test_an_unknown_state_is_skipped_and_logged(caplog): | CODE |
| 1537 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_peer_key_pinning.py | 52 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | tests/unit/test_peer_key_pinning.py | 54 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | tests/unit/test_peer_key_pinning.py | 127 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | tests/unit/test_peer_key_pinning.py | 129 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | tests/unit/test_peer_key_pinning.py | 195 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | tests/unit/test_peer_key_pinning.py | 197 | # ========================================================================= | COMMENT |
| MEDIUM | tests/unit/test_peer_key_pinning.py | 372 | # ========================================================================= | COMMENT |
| MEDIUM | tests/unit/test_peer_key_pinning.py | 374 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | tests/unit/test_encryption.py | 196 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | tests/unit/test_encryption.py | 198 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | tests/unit/test_encryption.py | 313 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | tests/unit/test_encryption.py | 315 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | tests/unit/test_encryption.py | 363 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | tests/unit/test_encryption.py | 365 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | tests/unit/test_encryption.py | 544 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | tests/unit/test_encryption.py | 546 | # ========================================================================= | COMMENT |
| MEDIUM | tests/unit/test_encryption.py | 16 | # ========================================================================= | COMMENT |
| MEDIUM | tests/unit/test_encryption.py | 18 | # ========================================================================= | COMMENT |
| MEDIUM | tests/unit/test_encryption.py | 473 | # ========================================================================= | COMMENT |
| MEDIUM | tests/unit/test_encryption.py | 475 | # ========================================================================= | 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 | 128 | # ────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/syft-job/src/syft_job/job.py | 130 | # ────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/syft-job/src/syft_job/job.py | 202 | # ────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/syft-job/src/syft_job/job.py | 204 | # ────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/syft-job/src/syft_job/job.py | 246 | # ────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/syft-job/src/syft_job/job.py | 248 | # ────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/syft-job/src/syft_job/job.py | 327 | # ────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/syft-job/src/syft_job/job.py | 329 | # ────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/syft-job/src/syft_job/job.py | 567 | # ────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/syft-job/src/syft_job/job.py | 569 | # ────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/syft-job/src/syft_job/job.py | 604 | # ────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/syft-job/src/syft_job/job.py | 606 | # ────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/syft-job/src/syft_job/client.py | 156 | # ────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/syft-job/src/syft_job/client.py | 158 | # ────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/syft-job/src/syft_job/client.py | 543 | # ────────────────────────────────────────────── | STRING |
| MEDIUM | packages/syft-job/src/syft_job/client.py | 545 | # ────────────────────────────────────────────── | STRING |
| MEDIUM | packages/syft-job/src/syft_job/client.py | 693 | # ────────────────────────────────────────────── | STRING |
| MEDIUM | packages/syft-job/src/syft_job/client.py | 695 | # ────────────────────────────────────────────── | STRING |
| 195 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | gemma_inference_restrict_scan.py | 0 | gemma 3 it — flax inference module (syft-restrict compliant, optimized) same model and same public api as gemma_inferenc | STRING |
| HIGH | …enclave/gemma/colab-shield/gemma_inference_restrict.py | 0 | gemma 3 it — flax inference module (syft-restrict compliant, optimized) same model and same public api as gemma_inferenc | STRING |
| HIGH | …ebooks/enclave/gemma/colab/gemma_inference_restrict.py | 0 | gemma 3 it — flax inference module (syft-restrict compliant, optimized) same model and same public api as gemma_inferenc | STRING |
| HIGH | …lave/gemma/dev/shieldgemma/gemma_inference_restrict.py | 0 | gemma 3 it — flax inference module (syft-restrict compliant, optimized) same model and same public api as gemma_inferenc | STRING |
| 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 | …enclave/gemma/colab-shield/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 | …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 | …lave/gemma/dev/shieldgemma/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 | append to a python list (a named method on a value). | STRING |
| HIGH | …enclave/gemma/colab-shield/gemma_inference_restrict.py | 0 | append to a python list (a named method on a value). | STRING |
| HIGH | …ebooks/enclave/gemma/colab/gemma_inference_restrict.py | 0 | append to a python list (a named method on a value). | STRING |
| HIGH | …lave/gemma/dev/shieldgemma/gemma_inference_restrict.py | 0 | append to a python list (a named method on a value). | STRING |
| HIGH | gemma_inference_restrict_scan.py | 0 | write `update` into a fixed-size kv cache at sequence position `pos`, in place. static-shape replacement for growing the | STRING |
| HIGH | …enclave/gemma/colab-shield/gemma_inference_restrict.py | 0 | write `update` into a fixed-size kv cache at sequence position `pos`, in place. static-shape replacement for growing the | STRING |
| HIGH | …ebooks/enclave/gemma/colab/gemma_inference_restrict.py | 0 | write `update` into a fixed-size kv cache at sequence position `pos`, in place. static-shape replacement for growing the | STRING |
| HIGH | …lave/gemma/dev/shieldgemma/gemma_inference_restrict.py | 0 | write `update` into a fixed-size kv cache at sequence position `pos`, in place. static-shape replacement for growing the | STRING |
| HIGH | gemma_inference_restrict_scan.py | 0 | boolean attention masks over the static cache — mechanical bookkeeping, not architecture. returns {"local", "global"} ea | STRING |
| HIGH | …enclave/gemma/colab-shield/gemma_inference_restrict.py | 0 | boolean attention masks over the static cache — mechanical bookkeeping, not architecture. returns {"local", "global"} ea | STRING |
| HIGH | …ebooks/enclave/gemma/colab/gemma_inference_restrict.py | 0 | boolean attention masks over the static cache — mechanical bookkeeping, not architecture. returns {"local", "global"} ea | STRING |
| HIGH | …lave/gemma/dev/shieldgemma/gemma_inference_restrict.py | 0 | boolean attention masks over the static cache — mechanical bookkeeping, not architecture. returns {"local", "global"} ea | STRING |
| HIGH | gemma_inference_restrict_scan.py | 0 | lift one layer body over the layer axis with flax.linen.scan (a public wrapper). this is the structural "apply the same | STRING |
| HIGH | …enclave/gemma/colab-shield/gemma_inference_restrict.py | 0 | lift one layer body over the layer axis with flax.linen.scan (a public wrapper). this is the structural "apply the same | STRING |
| HIGH | …ebooks/enclave/gemma/colab/gemma_inference_restrict.py | 0 | lift one layer body over the layer axis with flax.linen.scan (a public wrapper). this is the structural "apply the same | STRING |
| HIGH | …lave/gemma/dev/shieldgemma/gemma_inference_restrict.py | 0 | lift one layer body over the layer axis with flax.linen.scan (a public wrapper). this is the structural "apply the same | STRING |
| HIGH | gemma_inference_restrict_scan.py | 0 | stack the per-layer weight subtrees (layer_0 .. layer_{l-1}) into arrays with a leading layer axis, under a single `bloc | STRING |
| HIGH | …enclave/gemma/colab-shield/gemma_inference_restrict.py | 0 | stack the per-layer weight subtrees (layer_0 .. layer_{l-1}) into arrays with a leading layer axis, under a single `bloc | STRING |
| HIGH | …ebooks/enclave/gemma/colab/gemma_inference_restrict.py | 0 | stack the per-layer weight subtrees (layer_0 .. layer_{l-1}) into arrays with a leading layer axis, under a single `bloc | STRING |
| HIGH | …lave/gemma/dev/shieldgemma/gemma_inference_restrict.py | 0 | stack the per-layer weight subtrees (layer_0 .. layer_{l-1}) into arrays with a leading layer axis, under a single `bloc | STRING |
| HIGH | gemma_inference_restrict_scan.py | 0 | load orbax checkpoint and return flax-compatible params dict (layers stacked for scan). | STRING |
| HIGH | …enclave/gemma/colab-shield/gemma_inference_restrict.py | 0 | load orbax checkpoint and return flax-compatible params dict (layers stacked for scan). | STRING |
| HIGH | …ebooks/enclave/gemma/colab/gemma_inference_restrict.py | 0 | load orbax checkpoint and return flax-compatible params dict (layers stacked for scan). | STRING |
| HIGH | …lave/gemma/dev/shieldgemma/gemma_inference_restrict.py | 0 | load orbax checkpoint and return flax-compatible params dict (layers stacked for scan). | 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 | …enclave/gemma/colab-shield/gemma_inference_restrict.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 | …lave/gemma/dev/shieldgemma/gemma_inference_restrict.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 | …enclave/gemma/colab-shield/gemma_inference_restrict.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 | …lave/gemma/dev/shieldgemma/gemma_inference_restrict.py | 0 | load sentencepiece tokenizer from weights directory. | STRING |
| HIGH | gemma_inference_restrict_scan.py | 0 | fixed-size kv cache as one stacked buffer per k/v: [num_layers, b, max_len, kvh, hd]. stacked (not a per-layer python li | STRING |
| HIGH | …enclave/gemma/colab-shield/gemma_inference_restrict.py | 0 | fixed-size kv cache as one stacked buffer per k/v: [num_layers, b, max_len, kvh, hd]. stacked (not a per-layer python li | STRING |
| 63 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/export_release_artifact.py | 23 | 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 | 20 | CODE | |
| LOW | packages/syft-job/src/syft_job/disclosures.py | 3 | 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 | 8 | CODE | |
| LOW | packages/syft-job/src/syft_job/traceback_capture.py | 9 | CODE | |
| LOW | packages/syft-job/src/syft_job/__init__.py | 2 | CODE | |
| LOW | packages/syft-job/src/syft_job/__init__.py | 5 | CODE | |
| LOW | packages/syft-job/src/syft_job/__init__.py | 5 | 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 | 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 | 8 | CODE | |
| LOW | packages/syft-job/src/syft_job/__init__.py | 9 | CODE | |
| LOW | packages/syft-job/src/syft_job/__init__.py | 11 | CODE | |
| LOW | packages/syft-job/src/syft_job/__init__.py | 11 | CODE | |
| LOW | packages/syft-job/src/syft_job/__init__.py | 11 | 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 | 5 | CODE | |
| LOW | packages/syft-bg/src/syft_bg/__init__.py | 5 | CODE | |
| LOW | packages/syft-bg/src/syft_bg/__init__.py | 5 | CODE | |
| LOW | packages/syft-bg/src/syft_bg/__init__.py | 5 | CODE | |
| LOW | packages/syft-bg/src/syft_bg/__init__.py | 5 | CODE | |
| LOW | packages/syft-bg/src/syft_bg/__init__.py | 5 | CODE | |
| LOW | packages/syft-bg/src/syft_bg/__init__.py | 5 | CODE | |
| LOW | packages/syft-bg/src/syft_bg/__init__.py | 5 | CODE | |
| LOW | packages/syft-bg/src/syft_bg/__init__.py | 5 | CODE | |
| LOW | packages/syft-bg/src/syft_bg/__init__.py | 5 | CODE | |
| LOW | packages/syft-bg/src/syft_bg/__init__.py | 5 | CODE | |
| LOW | packages/syft-bg/src/syft_bg/__init__.py | 5 | CODE | |
| LOW | packages/syft-bg/src/syft_bg/__init__.py | 5 | CODE | |
| LOW | packages/syft-bg/src/syft_bg/__init__.py | 5 | CODE | |
| LOW | packages/syft-bg/src/syft_bg/__init__.py | 5 | CODE | |
| LOW | packages/syft-bg/src/syft_bg/__init__.py | 5 | CODE | |
| LOW | packages/syft-bg/src/syft_bg/__init__.py | 5 | CODE | |
| LOW | packages/syft-bg/src/syft_bg/__init__.py | 5 | CODE | |
| LOW | packages/syft-bg/src/syft_bg/__init__.py | 25 | 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 | |
| 281 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/unit/test_delete_syftbox.py | 90 | except SystemExit: | CODE |
| HIGH | packages/syft-job/src/syft_job/job.py | 323 | except OSError: | CODE |
| HIGH | packages/syft-job/src/syft_job/job_repr.py | 406 | except Exception: | CODE |
| HIGH | packages/syft-job/src/syft_job/job_repr.py | 428 | except Exception: | CODE |
| HIGH | packages/syft-job/src/syft_job/job_runner.py | 82 | except psutil.NoSuchProcess: | CODE |
| HIGH | packages/syft-job/src/syft_job/job_runner.py | 549 | except OSError: | CODE |
| HIGH | packages/syft-bg/src/syft_bg/notify/gmail/sender.py | 130 | except Exception: | CODE |
| HIGH | packages/syft-bg/src/syft_bg/notify/gmail/sender.py | 177 | except Exception: | CODE |
| HIGH | packages/syft-bg/src/syft_bg/notify/gmail/sender.py | 208 | except Exception: | CODE |
| HIGH | packages/syft-bg/src/syft_bg/notify/gmail/sender.py | 238 | except Exception: | CODE |
| HIGH | packages/syft-bg/src/syft_bg/notify/gmail/sender.py | 269 | except Exception: | CODE |
| HIGH | packages/syft-bg/src/syft_bg/notify/gmail/sender.py | 300 | except Exception: | CODE |
| HIGH | packages/syft-bg/src/syft_bg/notify/gmail/sender.py | 328 | except Exception: | CODE |
| HIGH | packages/syft-bg/src/syft_bg/notify/gmail/sender.py | 355 | except Exception: | CODE |
| HIGH | packages/syft-bg/src/syft_bg/notify/gmail/sender.py | 382 | except Exception: | CODE |
| HIGH | packages/syft-bg/src/syft_bg/notify/gmail/sender.py | 413 | except Exception: | CODE |
| HIGH | packages/syft-bg/src/syft_bg/notify/gmail/sender.py | 446 | except Exception: | CODE |
| HIGH | packages/syft-bg/src/syft_bg/notify/gmail/sender.py | 480 | except Exception: | CODE |
| HIGH | packages/syft-bg/src/syft_bg/notify/gmail/sender.py | 524 | except Exception: | CODE |
| HIGH | packages/syft-bg/src/syft_bg/notify/gmail/sender.py | 558 | except Exception: | CODE |
| HIGH | packages/syft-bg/src/syft_bg/tui/app.py | 137 | except Exception: | CODE |
| HIGH | …kages/syft-bg/src/syft_bg/tui/widgets/activity_feed.py | 143 | except Exception: | CODE |
| HIGH | …kages/syft-bg/src/syft_bg/tui/widgets/activity_feed.py | 111 | except ValueError: | CODE |
| HIGH | …kages/syft-bg/src/syft_bg/tui/widgets/activity_feed.py | 122 | except ValueError: | CODE |
| HIGH | packages/syft-bg/src/syft_bg/cli/commands.py | 163 | except Exception: | CODE |
| HIGH | packages/syft-bg/src/syft_bg/email_approve/monitor.py | 109 | except Exception: | CODE |
| HIGH | packages/syft-bg/src/syft_bg/api/utils.py | 214 | except Exception: | CODE |
| HIGH | packages/syft-bg/src/syft_bg/services/base.py | 181 | except OSError: | CODE |
| HIGH | …odel-api-example/src/enclave_model_api/logs_dataset.py | 51 | except DatasetNotFoundError: | CODE |
| HIGH | …s/syft-datasets/src/syft_datasets/models/dataset/v1.py | 187 | except Exception: | CODE |
| HIGH | syft/utils.py | 562 | except Exception: | CODE |
| HIGH | syft/utils.py | 617 | except ImportError: | CODE |
| HIGH | syft/utils.py | 627 | except ImportError: | CODE |
| HIGH | syft/sync/syftbox_manager.py | 1224 | except Exception: | CODE |
| HIGH | syft/sync/sync/caches/datasite_watcher_cache.py | 412 | except ValueError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/unit/test_sync_file_lock.py | 60 | except Exception as e: | CODE |
| LOW⚡ | tests/unit/test_watcher_event_datasite_check.py | 52 | except Exception: | 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 | 75 | except Exception as exc: | 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/runner_main.py | 94 | except Exception as e: | STRING |
| LOW | packages/syft-job/src/syft_job/client.py | 731 | except Exception as e: | STRING |
| LOW | packages/syft-job/src/syft_job/client.py | 777 | except Exception: | STRING |
| LOW | packages/syft-job/src/syft_job/job_repr.py | 73 | except Exception as e: | CODE |
| LOW | packages/syft-job/src/syft_job/job_repr.py | 102 | except Exception as e: | CODE |
| LOW | packages/syft-job/src/syft_job/job_repr.py | 372 | except Exception: | CODE |
| LOW | packages/syft-job/src/syft_job/job_repr.py | 388 | except Exception: | CODE |
| LOW | packages/syft-job/src/syft_job/job_repr.py | 406 | except Exception: | CODE |
| LOW | packages/syft-job/src/syft_job/job_repr.py | 428 | 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 | 159 | except Exception as e: | CODE |
| LOW⚡ | packages/syft-job/src/syft_job/job_runner.py | 172 | except Exception as e: | CODE |
| LOW | packages/syft-job/src/syft_job/job_runner.py | 227 | except Exception as e: | CODE |
| LOW | packages/syft-job/src/syft_job/job_runner.py | 233 | except Exception as recovery_error: | CODE |
| LOW | packages/syft-job/src/syft_job/job_runner.py | 526 | except Exception as e: | CODE |
| LOW | packages/syft-job/src/syft_job/job_runner.py | 632 | except Exception: | CODE |
| LOW | packages/syft-job/src/syft_job/job_runner.py | 807 | 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 | 40 | except Exception as e: | 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 |
| LOW | packages/syft-bg/src/syft_bg/notify/gmail/sender.py | 558 | except Exception: | STRING |
| LOW | packages/syft-bg/src/syft_bg/tui/app.py | 137 | except Exception: | CODE |
| 107 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 | 20 | # 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 | …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 | 66 | # Create a project folder with script and data file | STRING |
| MEDIUM | packages/syft-rds/tests/test_sync_manager.py | 452 | # Create a folder without pyproject.toml | STRING |
| MEDIUM | packages/syft-rds/tests/test_sync_manager.py | 465 | # Create a helper module | STRING |
| MEDIUM | packages/syft-rds/tests/test_sync_manager.py | 524 | # Create a folder with pyproject.toml | STRING |
| MEDIUM | packages/syft-rds/tests/test_sync_manager.py | 1206 | # Create a dataset with "any" permission | STRING |
| MEDIUM | packages/syft-rds/src/syft_rds/client.py | 682 | # Create the dataset locally: the current layout, plus one layout | 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 |
| MEDIUM⚡ | syft/sync/connections/drive/gdrive_transport.py | 1978 | # Create the folder | COMMENT |
| MEDIUM | syft/sync/connections/drive/gdrive_transport.py | 2286 | # Create the folder | COMMENT |
| MEDIUM | syft/sync/reprs/peer_repr.py | 20 | # Create main table | COMMENT |
| MEDIUM | syft/sync/sync/datasite_owner_syncer.py | 1123 | # 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 | 206 | email="test@test.com", | CODE |
| LOW | tests/unit/test_rolling_state.py | 233 | 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 | 177 | current_user_email="test@test.com", | CODE |
| LOW⚡ | packages/syft-rds/tests/test_datasets_jobs_repr.py | 185 | root_email="test@test.com", | CODE |
| LOW⚡ | packages/syft-rds/tests/test_datasets_jobs_repr.py | 194 | root_email="test@test.com", | CODE |
| LOW⚡ | packages/syft-rds/tests/test_datasets_jobs_repr.py | 202 | root_email="test@test.com", | CODE |
| LOW⚡ | packages/syft-rds/tests/test_datasets_jobs_repr.py | 292 | root_email="test@test.com", | CODE |
| LOW⚡ | packages/syft-rds/tests/test_datasets_jobs_repr.py | 295 | jobs["test@test.com"]["analysis"] | CODE |
| LOW⚡ | packages/syft-rds/tests/test_datasets_jobs_repr.py | 297 | job = jobs["test@test.com"]["ds2@test.com"]["analysis"] | CODE |
| LOW | packages/syft-rds/tests/test_datasets_jobs_repr.py | 143 | owner_email: str = "test@test.com", | CODE |
| LOW | packages/syft-rds/tests/test_datasets_jobs_repr.py | 155 | syftbox_folder=Path("/tmp/fake"), current_user_email="test@test.com" | CODE |
| LOW | packages/syft-rds/tests/test_datasets_jobs_repr.py | 220 | root_email="test@test.com", | CODE |
| LOW | packages/syft-rds/tests/test_datasets_jobs_repr.py | 337 | root_email="test@test.com", | CODE |
| LOW | packages/syft-rds/tests/test_datasets_jobs_repr.py | 399 | root_email="test@test.com", | CODE |
| LOW | packages/syft-rds/tests/test_datasets_jobs_repr.py | 416 | root_email="test@test.com", | CODE |
| LOW | packages/syft-rds/tests/test_datasets_jobs_repr.py | 439 | root_email="test@test.com", | CODE |
| LOW | packages/syft-rds/tests/test_datasets_jobs_repr.py | 467 | root_email="test@test.com", | CODE |
| LOW⚡ | …t-enclave/tests/test_attestation_confidential_space.py | 80 | "fake-token", | CODE |
| LOW⚡ | …t-enclave/tests/test_attestation_confidential_space.py | 91 | verify_attestation_token("fake-token", policy=UNPINNED, verbose=False) | CODE |
| LOW⚡ | …t-enclave/tests/test_attestation_confidential_space.py | 96 | verify_attestation_token("fake-token", policy=UNPINNED, verbose=False) | CODE |
| LOW⚡ | …t-enclave/tests/test_attestation_confidential_space.py | 104 | verify_attestation_token("fake-token", policy=UNPINNED, verbose=False) | CODE |
| LOW⚡ | …t-enclave/tests/test_attestation_confidential_space.py | 111 | verify_attestation_token("fake-token", policy=UNPINNED, verbose=False) | CODE |
| LOW⚡ | …t-enclave/tests/test_attestation_confidential_space.py | 116 | verify_attestation_token("fake-token", policy=UNPINNED, verbose=False) | CODE |
| LOW⚡ | …t-enclave/tests/test_attestation_confidential_space.py | 122 | verify_attestation_token("fake-token", policy=UNPINNED, verbose=False) | CODE |
| LOW⚡ | …t-enclave/tests/test_attestation_confidential_space.py | 128 | verify_attestation_token("fake-token", policy=UNPINNED, verbose=False) | CODE |
| 18 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 | 26 | logger = logging.getLogger(__name__) | CODE |
| LOW | packages/syft-job/src/syft_job/job_storage.py | 28 | __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 | 17 | __all__ = [ | CODE |
| LOW | packages/syft-job/src/syft_job/job_runner.py | 62 | logger = logging.getLogger(__name__) | 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 | 27 | __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 | 39 | logger = logging.getLogger(__name__) | CODE |
| LOW | packages/syft-rds/src/syft_rds/__init__.py | 18 | __all__ = [ | CODE |
| LOW | packages/syft-rds/src/syft_rds/apis/__init__.py | 8 | __all__ = ["Api", "ApiArg", "ApiCollection", "ApiDefinition", "FileEntry", "infer_args"] | CODE |
| LOW | packages/syft-rds/src/syft_rds/apis/collection.py | 16 | logger = logging.getLogger(__name__) | 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 | 37 | logger = logging.getLogger(__name__) | CODE |
| LOW | packages/syft-enclave/src/syft_enclaves/runner.py | 33 | logger = logging.getLogger(__name__) | CODE |
| LOW | packages/syft-enclave/src/syft_enclaves/client.py | 69 | logger = logging.getLogger(__name__) | CODE |
| LOW | packages/syft-enclave/src/syft_enclaves/__init__.py | 7 | __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 | 18 | logger = logging.getLogger(__name__) | CODE |
| LOW | …es/syft-enclave/src/syft_enclaves/evidence/__init__.py | 23 | logger = logging.getLogger(__name__) | CODE |
| LOW | …/syft-enclave/src/syft_enclaves/evidence/key_bundle.py | 23 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ges/syft-enclave/src/syft_enclaves/receipt/__init__.py | 12 | __all__ = [ | CODE |
| LOW | …kages/syft-enclave/src/syft_enclaves/receipt/writer.py | 35 | logger = logging.getLogger(__name__) | CODE |
| LOW | …syft-enclave/src/syft_enclaves/attestation/__init__.py | 44 | __all__ = [ | CODE |
| LOW | …ave-model-api-example/src/enclave_model_api/service.py | 17 | 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 | 31 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ges/syft-datasets/src/syft_datasets/dataset_storage.py | 33 | __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 |
| 17 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | packages/syft-job/src/syft_job/job.py | 467 | 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 | 161 | 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 | 307 | 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 | 448 | Submit a Python job for a user (supports both files and folders). Args: user: Email addres | STRING |
| HIGH | packages/syft-rds/src/syft_rds/job_auto_approval.py | 134 | Check if a job matches all the auto-approval criteria. Paths are relative to the job submission root, so code | 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 | 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 | 305 | CODE | |
| LOW | packages/syft-job/src/syft_job/client.py | 697 | CODE | |
| LOW | packages/syft-job/src/syft_job/job_repr.py | 352 | CODE | |
| LOW | packages/syft-job/src/syft_job/job_repr.py | 88 | CODE | |
| LOW | packages/syft-job/src/syft_job/job_stdout.py | 94 | CODE | |
| LOW | packages/syft-job/src/syft_job/job_runner.py | 140 | CODE | |
| LOW | packages/syft-job/src/syft_job/job_runner.py | 258 | CODE | |
| LOW | packages/syft-job/src/syft_job/job_runner.py | 578 | CODE | |
| LOW | packages/syft-job/src/syft_job/protocolcodecs/v1.py | 47 | CODE | |
| LOW | packages/syft-bg/src/syft_bg/tui/app.py | 73 | CODE | |
| LOW | packages/syft-bg/src/syft_bg/approve/handlers/job.py | 97 | 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 | 61 | CODE | |
| LOW | packages/syft-bg/src/syft_bg/api/utils.py | 285 | CODE | |
| LOW | packages/syft-rds/src/syft_rds/client.py | 327 | CODE | |
| LOW | packages/syft-rds/src/syft_rds/client.py | 652 | CODE | |
| LOW | packages/syft-rds/src/syft_rds/job_auto_approval.py | 192 | 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 | …ges/syft-enclave/src/syft_enclaves/enclave_job_info.py | 199 | CODE | |
| LOW | …clave-model-api-example/tests/test_inference_server.py | 228 | 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 | 956 | CODE | |
| LOW | syft/sync/checkpoints/checkpoint.py | 207 | CODE | |
| LOW | syft/sync/connections/drive/gdrive_retry.py | 47 | CODE | |
| LOW | syft/sync/connections/drive/gdrive_transport.py | 998 | CODE | |
| LOW | syft/sync/connections/drive/mock_drive_service.py | 136 | CODE | |
| LOW | syft/sync/peers/peer_list.py | 37 | CODE | |
| LOW | syft/sync/sync/datasite_owner_syncer.py | 194 | CODE | |
| LOW | syft/sync/sync/datasite_owner_syncer.py | 668 | CODE | |
| LOW | syft/sync/sync/datasite_owner_syncer.py | 1084 | CODE | |
| LOW | syft/sync/sync/caches/cache_file_writer_connection.py | 132 | CODE | |
| LOW | syft/sync/sync/caches/datasite_owner_cache.py | 122 | CODE | |
| LOW | syft/sync/sync/caches/datasite_watcher_cache.py | 134 | CODE | |
| LOW | syft/sync/sync/caches/datasite_watcher_cache.py | 183 | CODE |
| 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 |
| CRITICAL⚡ | …ckages/syft-enclave/tests/test_attestation_dispatch.py | 210 | client._rds.peer_manager.peer_store.set_peer_bundle.assert_not_called() | CODE |
| CRITICAL | …ckages/syft-enclave/tests/test_attestation_dispatch.py | 223 | client._rds.peer_manager.peer_store.set_peer_bundle.assert_called_once_with( | CODE |
| 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 | 247 | # Step 1: Create initial files and make a full checkpoint | COMMENT |
| LOW⚡ | tests/unit/test_checkpoints.py | 257 | # Step 2: Create new files and make incremental checkpoints | COMMENT |
| LOW | tests/unit/test_checkpoints.py | 278 | # 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 | 11 | ## Step 1: Create a Google Cloud Project | COMMENT |
| LOW⚡ | docs/auth.md | 20 | ## Step 2: Enable the APIs | COMMENT |
| LOW⚡ | docs/auth.md | 29 | ## Step 3: Configure OAuth Consent Screen | COMMENT |
| LOW | docs/auth.md | 56 | ## Step 4: Create OAuth Client Credentials | COMMENT |
| LOW | docs/auth.md | 66 | ## 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 | tests/unit/utils.py | 170 | 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 | 299 | (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⚡ | 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 | 247 | # Step 1: Create initial files and make a full checkpoint | COMMENT |
| LOW⚡ | tests/unit/test_checkpoints.py | 257 | # Step 2: Create new files and make incremental checkpoints | COMMENT |
| LOW | tests/unit/test_checkpoints.py | 278 | # 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 | notification_config.minimal.yaml | 1 | # ============================================================================ | COMMENT |
| LOW | .claude/skills/syft-pr-review/prefetch.sh | 1 | #!/usr/bin/env bash | 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 | 541 | COMMENT | |
| LOW | packages/syft-bg/src/syft_bg/api/utils.py | 561 | # """ | COMMENT |
| LOW | packages/syft-bg/src/syft_bg/api/utils.py | 581 | # gmail_ok = gmail_out_token_path.exists() | COMMENT |
| LOW | packages/syft-bg/src/syft_bg/api/utils.py | 601 | # save_gcp_project_id(creds_path) | 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 | packages/syft-enclave/docker/attestation_server.py | 101 | "status": "running_in_tee", | COMMENT |
| LOW | …kages/syft-enclave/tinfoil/tinfoil-config-receipts.yml | 1 | # Tinfoil workload config for the syft enclave, with signed receipts on. | COMMENT |
| LOW | …kages/syft-enclave/tinfoil/tinfoil-config-receipts.yml | 41 | # tempfile.gettempdir() at import time and raises without one. | COMMENT |
| LOW | …kages/syft-enclave/tinfoil/tinfoil-config-receipts.yml | 61 | - SYFT_ENCLAVE_DATA_OWNERS: 'benchmark_owner@openmined.org,model_owner@openmined.org' | COMMENT |
| LOW | …kages/syft-enclave/tinfoil/tinfoil-config-receipts.yml | 101 | # network". The canonical schema only reserves "shim-net", so this passes | COMMENT |
| LOW | packages/syft-enclave/tinfoil/tinfoil-config.yml | 1 | # Tinfoil workload config for the syft enclave. | COMMENT |
| LOW | packages/syft-enclave/tinfoil/tinfoil-config.yml | 21 | # Keys Tinfoil makes inside the enclave at boot; the private half never leaves | COMMENT |
| LOW | packages/syft-enclave/tinfoil/tinfoil-config.yml | 41 | # Writable here means the CVM's ramdisk, which SEV-SNP encrypts in | COMMENT |
| LOW | packages/syft-enclave/tinfoil/tinfoil-config.yml | 61 | # differs between tinfoil-config.yml and tinfoil-config-receipts.yml. | COMMENT |
| LOW | packages/syft-enclave/tinfoil/tinfoil-config.yml | 101 | networks: | 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 | 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 | 147 | # Check if run.sh exists and show first few lines | COMMENT |
| LOW⚡ | packages/syft-job/src/syft_job/job_runner.py | 162 | # 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 | 1609 | # Check if exists | COMMENT |
| LOW | syft/sync/connections/drive/gdrive_transport.py | 2425 | # 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 | 441 | # Check if hash changed - skip download if unchanged | COMMENT |
| LOW | syft/sync/sync/caches/datasite_watcher_cache.py | 456 | # Write files to local cache (path relative to syftbox_folder) | COMMENT |
| LOW | syft/sync/sync/caches/datasite_watcher_cache.py | 497 | # Check if hash changed - skip download if unchanged | COMMENT |
| LOW | syft/sync/sync/caches/datasite_watcher_cache.py | 531 | # Write files to local cache (path relative to syftbox_folder) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/integration/utils.py | 59 | CODE | |
| LOW | packages/syft-restrict/src/syft_restrict/runner.py | 82 | CODE | |
| LOW | packages/syft-enclave/tests/test_attestation_tinfoil.py | 175 | CODE | |
| LOW | syft/sync/syftbox_manager.py | 132 | CODE | |
| LOW | syft/sync/syftbox_manager.py | 213 | CODE | |
| LOW | syft/sync/syftbox_manager.py | 298 | CODE | |
| LOW | syft/sync/syftbox_manager.py | 373 | CODE | |
| LOW | syft/sync/syftbox_manager.py | 635 | CODE | |
| LOW | syft/sync/syftbox_manager.py | 667 | CODE | |
| LOW | syft/sync/syftbox_manager.py | 756 | CODE | |
| LOW | syft/sync/connections/connection_router.py | 450 | 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 |
|---|---|---|---|---|
| HIGH | tests/unit/test_sync_manager.py | 561 | "mkdir -p code/outputs && echo done > code/outputs/result.txt\n" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | syft/utils.py | 450 | # Just detect if in container, not detailed cgroup/orchestration info | COMMENT |