notebooklm-mode
Warn
Audited by Socket on Sep 6, 2026
1 alert found:
AnomalyAnomalyscripts/ingest_source.py
LOWAnomalyLOW
scripts/ingest_source.py
No direct evidence of overt malware in this module, but it introduces meaningful security risks: it dynamically imports code from a directory controlled by the LIBRARY_RAG_SCRIPTS environment variable (import-path hijack/supply-chain execution), and it performs unsanitized writes to vault/sources using a user-provided filename (path traversal/arbitrary file write risk). Search behavior in the provided snippet appears buggy/truncated, further limiting confidence in runtime safety and correctness. Overall, this should be treated as a moderate-to-high risk supply-chain/module-integrity component rather than a benign standalone file writer.
Confidence: 66%Severity: 62%
Audit Metadata