Intent-Code Divergence
Medium
- Confidence
- 93% confidence
- Finding
- The module comment states the embedding model runs locally without an API key, but the code enables both local and remote model loading via env.allowRemoteModels = true. This mismatch can mislead operators into assuming there is no network access or third-party dependency fetch, which creates supply-chain, privacy, and policy-compliance risk when models are downloaded at runtime.
