← Back to scan
File as GitHub Issue repo: teng-lin/notebooklm-py

Push this scan report to teng-lin/notebooklm-py

Click the green button below to open GitHub’s new-issue form, pre-filled with the report title, summary table, top findings, and an embedded score-card image. No authentication needed — you review on GitHub before submitting. Repobility is credited as the scanner.

Embedded score card image

This image will render at the top of the issue body. Hosted on Repobility, refreshes automatically after re-scans.

Repobility score card

Issue title

Ruby YAML.load / Marshal.load on untrusted input

Curate findings to include

Pick exactly which findings appear in the issue body. By default the top 5 are included. Uncheck noise, check what matters.

Top 5 (default)
Severity Rule Title File:line
CRIT MINED107 [MINED107] Missing import: `email` used but not imported: The file uses `email.something(… src/notebooklm/cli/services/login.py:83
CRIT MINED107 [MINED107] Missing import: `warnings` used but not imported: The file uses `warnings.some… src/notebooklm/cli/services/source_add.…:131
CRIT MINED107 [MINED107] Missing import: `email` used but not imported: The file uses `email.something(… src/notebooklm/_auth/account.py:96
CRIT MINED018 [MINED018] Unsafe Deserialization Pickle: pickle.loads / yaml.load (without Loader=SafeLo… scripts/rescrub-cassettes.py:178
CRIT SEC116 [SEC116] Ruby YAML.load / Marshal.load on untrusted input: `YAML.load` (pre-3.1) and `Mar… scripts/rescrub-cassettes.py:178
CRIT SEC079 [SEC079] Python: yaml.load without SafeLoader: yaml.load() without explicit SafeLoader ca… scripts/rescrub-cassettes.py:178
CRIT MINED116 [MINED116] Workflow uses `secrets.NAME` on a `pull_request` trigger: This workflow trigge… .github/workflows/test.yml:48
HIGH MINED106 [MINED106] Phantom test coverage: test_rpc_method_with_data: Test function `test_rpc_meth… scripts/check_rpc_health.py:352
HIGH MINED106 [MINED106] Phantom test coverage: test_rpc_method: Test function `test_rpc_method` runs c… scripts/check_rpc_health.py:311
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … src/notebooklm/cli/rendering.py:87
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … src/notebooklm/cli/error_handler.py:51
HIGH MINED006 [MINED006] Overcatch Baseexception: except BaseException: ... — prevents Ctrl+C and Syste… src/notebooklm/cli/error_handler.py:133
HIGH MINED006 [MINED006] Overcatch Baseexception: except BaseException: ... — prevents Ctrl+C and Syste… src/notebooklm/_source_polling.py:161
HIGH SEC103 [SEC103] LDAP injection — non-constant search filter: User input concatenated into an LDA… src/notebooklm/cli/skill.py:51
HIGH SEC103 [SEC103] LDAP injection — non-constant search filter: User input concatenated into an LDA… src/notebooklm/_artifact_formatters.py:35
HIGH MINED001 [MINED001] Bare Except Pass: except: pass or except Exception: pass — silently swallows e… src/notebooklm/migration.py:162
HIGH MINED001 [MINED001] Bare Except Pass: except: pass or except Exception: pass — silently swallows e… src/notebooklm/cli/completion.py:41
HIGH MINED001 [MINED001] Bare Except Pass: except: pass or except Exception: pass — silently swallows e… docs/examples/notes.py:136
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… docs/examples/notes.py:34
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… docs/examples/chat.py:28
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… docs/examples/bulk-import.py:61
HIGH COMP001 [COMP001] High cognitive complexity: Function `main` has cognitive complexity 32 (SonarSo… docs/examples/notes.py:23
HIGH MINED115 [MINED115] Action `actions/setup-python` pinned to mutable ref `@v6`: `uses: actions/setu… .github/workflows/verify-package.yml:35
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/verify-package.yml:32
HIGH MINED115 [MINED115] Action `actions/cache` pinned to mutable ref `@v5`: `uses: actions/cache@v5` r… .github/workflows/nightly.yml:138
HIGH MINED115 [MINED115] Action `actions/setup-python` pinned to mutable ref `@v6`: `uses: actions/setu… .github/workflows/nightly.yml:109
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/nightly.yml:104
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/claude.yml:41
HIGH MINED115 [MINED115] Action `actions/download-artifact` pinned to mutable ref `@v7`: `uses: actions… .github/workflows/testpypi-publish.yml:98
HIGH MINED115 [MINED115] Action `actions/upload-artifact` pinned to mutable ref `@v7`: `uses: actions/u… .github/workflows/testpypi-publish.yml:54
HIGH MINED115 [MINED115] Action `actions/setup-python` pinned to mutable ref `@v6`: `uses: actions/setu… .github/workflows/testpypi-publish.yml:25
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/testpypi-publish.yml:22
HIGH MINED115 [MINED115] Action `astral-sh/setup-uv` pinned to mutable ref `@v7`: `uses: astral-sh/setu… .github/workflows/dependency-audit.yml:29
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/dependency-audit.yml:28
HIGH MINED115 [MINED115] Action `actions/upload-artifact` pinned to mutable ref `@v7`: `uses: actions/u… .github/workflows/rpc-health.yml:217
HIGH MINED115 [MINED115] Action `actions/setup-python` pinned to mutable ref `@v6`: `uses: actions/setu… .github/workflows/rpc-health.yml:35
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/rpc-health.yml:32
HIGH MINED115 [MINED115] Action `actions/cache` pinned to mutable ref `@v5`: `uses: actions/cache@v5` r… .github/workflows/test.yml:124
HIGH MINED115 [MINED115] Action `astral-sh/setup-uv` pinned to mutable ref `@v7`: `uses: astral-sh/setu… .github/workflows/test.yml:110
HIGH MINED115 [MINED115] Action `actions/setup-python` pinned to mutable ref `@v6`: `uses: actions/setu… .github/workflows/test.yml:104
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/test.yml:101
HIGH MINED115 [MINED115] Action `astral-sh/setup-uv` pinned to mutable ref `@v7`: `uses: astral-sh/setu… .github/workflows/test.yml:30
HIGH MINED115 [MINED115] Action `actions/setup-python` pinned to mutable ref `@v6`: `uses: actions/setu… .github/workflows/test.yml:24
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/test.yml:21
HIGH MINED115 [MINED115] Action `github/codeql-action/analyze` pinned to mutable ref `@v4`: `uses: gith… .github/workflows/codeql.yml:38
HIGH MINED115 [MINED115] Action `github/codeql-action/init` pinned to mutable ref `@v4`: `uses: github/… .github/workflows/codeql.yml:24
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/codeql.yml:21
HIGH MINED131 [MINED131] pre-commit hook `https://github.com/astral-sh/ruff-pre-commit` pinned to mutab… .pre-commit-config.yaml:2
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… docs/examples/bulk-import.py:75
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… docs/examples/bulk-import.py:64
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… docs/examples/notes.py:152
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… docs/examples/chat.py:102
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… tests/integration/concurrency/helpers.py:249
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… tests/scripts/setup-generation-notebook…:74
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… tests/e2e/conftest.py:365
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… tests/e2e/conftest.py:815
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… tests/e2e/conftest.py:645
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… tests/e2e/conftest.py:619
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… tests/e2e/conftest.py:426
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… tests/e2e/conftest.py:550
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… scripts/diagnose_get_notebook.py:130
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… scripts/check_rpc_health.py:941
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… scripts/check_rpc_health.py:925
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… scripts/check_rpc_health.py:909
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… scripts/check_rpc_health.py:950
MED ERR001 [ERR001] Silent Exception Swallowing: Silently swallowing all exceptions hides bugs. Even… src/notebooklm/cli/completion.py:41
MED SEC136 [SEC136] AI-typical over-broad exception handler swallowing all errors: Catch-all excepti… src/notebooklm/cli/completion.py:24
MED SEC134 [SEC134] AI scaffold leftover — Lorem ipsum / example.com / John Doe in code: Lorem ipsum… src/notebooklm/_sharing.py:30
MED AUC001 [AUC001] No Repobility access matrix policy found: The repository uses web/API frameworks…
MED WEB003 Public web service has no security.txt .well-known/security.txt
MED AIC004 Suspicious implementation file appears unreferenced tests/scripts/check_cassettes_clean.py:1
LOW SEC132 [SEC132] String concat where the language has interpolation (AI style drift): String buil… scripts/check_ci_install_parity.py:187
LOW COMP001 [COMP001] High cognitive complexity: Function `main` has cognitive complexity 8 (SonarSou… docs/examples/research-to-podcast.py:25
LOW COMP001 [COMP001] High cognitive complexity: Function `main` has cognitive complexity 12 (SonarSo… docs/examples/bulk-import.py:46
LOW AIC003 Duplicated implementation block across source files tests/unit/conftest.py:71
LOW AIC003 Duplicated implementation block across source files tests/unit/conftest.py:33
LOW AIC003 Duplicated implementation block across source files tests/integration/conftest.py:31
LOW AIC003 Duplicated implementation block across source files src/notebooklm/types.py:114
LOW AIC003 Duplicated implementation block across source files src/notebooklm/types.py:66
LOW AIC003 Duplicated implementation block across source files src/notebooklm/rpc/__init__.py:62
LOW AIC003 Duplicated implementation block across source files scripts/check_workflow_secret_gates.py:98
LOW WEB005 robots.txt does not advertise a sitemap tests/cassettes/artifacts_delete.yaml
LOW AIC002 Source file name looks like an AI patch artifact tests/scripts/check_cassettes_clean.py:1
LOW AIC002 Source file name looks like an AI patch artifact src/notebooklm/cli/services/source_clea…:1
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… src/notebooklm/research.py:58
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… src/notebooklm/cli/services/source_add.…:113
INFO MINED047 [MINED047] Emoji In Source: Emoji ✅ ❌ 🚀 in code/comments — common AI output unless explic… src/notebooklm/cli/language.py:67
INFO MINED049 [MINED049] Print Pii: Logging password/token/email/ssn directly to stdout. scripts/diagnose_get_notebook.py:140
INFO MINED062 [MINED062] Python Dataclass No Fields: @dataclass over an empty class — unfinished model. src/notebooklm/_request_types.py:67
INFO MINED062 [MINED062] Python Dataclass No Fields: @dataclass over an empty class — unfinished model. src/notebooklm/_middleware.py:40
INFO MINED062 [MINED062] Python Dataclass No Fields: @dataclass over an empty class — unfinished model. scripts/check_ci_install_parity.py:47
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… src/notebooklm/cli/agent.py:12
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… src/notebooklm/_auth/session.py:24
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… docs/examples/notes.py:137
INFO MINED055 [MINED055] Npm Install No Lockfile: Production image runs npm install (resolves new versi… docs/examples/research-to-podcast.py:11
INFO MINED055 [MINED055] Npm Install No Lockfile: Production image runs npm install (resolves new versi… docs/examples/quickstart.py:12
INFO MINED055 [MINED055] Npm Install No Lockfile: Production image runs npm install (resolves new versi… docs/examples/bulk-import.py:11
Reset to top 5 97 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `teng-lin/notebooklm-py`

**Score: 93/100 (A)**  ·  165 findings  ·  scanned 2026-05-21 12:05 UTC  ·  173,543 LOC

| Severity | Count |
|---|---|
| CRITICAL | 7 |
| HIGH | 41 |
| MEDIUM | 23 |
| LOW | 13 |

📊 [Full filterable report](https://repobility.com/scan/75c7c183-8ca9-4413-9906-2ac2428ad799/)  ·  ![scorecard](https://repobility.com/scan/75c7c183-8ca9-4413-9906-2ac2428ad799/report.png?v=1779365141-s2)

### Top findings

1. **CRITICAL** `MINED107` — Missing import: `email` used but not imported
   `src/notebooklm/cli/services/login.py:83` · ✓ Repobility
2. **CRITICAL** `MINED107` — Missing import: `warnings` used but not imported
   `src/notebooklm/cli/services/source_add.py:131` · ✓ Repobility
3. **CRITICAL** `MINED107` — Missing import: `email` used but not imported
   `src/notebooklm/_auth/account.py:96` · ✓ Repobility
4. **CRITICAL** `MINED018` — Unsafe Deserialization Pickle
   `scripts/rescrub-cassettes.py:178` · CWE-502 · ✓ Repobility
5. **CRITICAL** `SEC116` — Ruby YAML.load / Marshal.load on untrusted input
   `scripts/rescrub-cassettes.py:178` · A08:2021 Software & Data Integrity Failures

---

**Security note**: this issue is public. If any flagged finding is a real, exploitable vulnerability, please redirect to your `SECURITY.md` policy or open a [private security advisory](https://docs.github.com/en/code-security/security-advisories/guidance-on-reporting-and-writing-information-about-vulnerabilities/privately-reporting-a-security-vulnerability) instead. We're happy to close this and re-submit privately.

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://repobility.com/scan/75c7c183-8ca9-4413-9906-2ac2428ad799/_
Already filed
This repo publishes a SECURITY.md policy and the scan contains 9 Critical/High security finding(s). Public issue filing would violate coordinated disclosure. Submit privately via the project's security reporting channel.
Megaproject â high spam risk
Could not determine 'teng-lin/notebooklm-py' star count (GitHub API rate-limited or unreachable). When in doubt about repo size, prefer opening a focused PR or a discussion rather than an issue.
Already filed
124/173 findings (72%) on this scan are already flagged as test-file, won't-fix, or suppressed. The scan is too noisy to file as a single issue. Curate down to specific actionable findings, or address the FP source first.

The button opens GitHubâs new-issue page in a new tab. You will see the title + body pre-filled â review, edit if you want, then click GitHubâs "Submit new issue" button. Repobility never posts anything on your behalf.

For real security findings on big repos: use the project's SECURITY.md or private advisory flow instead of a public issue.