@ubean/ai@0.7.11
AI large-model integration for the ubean framework: defineAgent + defineAgentTool + Vue runtime (thin orchestration over the Vercel AI SDK)
AI Security Review
scanned 5d ago · by lpm-firewall-aiThe documented default fallback pairs an OpenAI credential with DeepSeek's endpoint, and agent execution passes that credential to the configured model client. This is cross-service credential disclosure, so the package is malicious under the credential handling rules.
Decision evidence
public snapshot- When no provider is configured, the package selects OPENAI_API_KEY as a fallback credential while defaulting the base URL to https://api.deepseek.com/v1.
- The resolved provider's apiKey and baseURL are passed to the OpenAI-compatible client.
- Calling agent.run() creates the model and invokes generateText, which sends the request using that provider configuration.
- The README documents the fallback and default DeepSeek URL.
- The credential is used when the agent is explicitly run, rather than during installation or import.
Source & flagged code
4 flaggedWhen no provider is configured, the package selects OPENAI_API_KEY as a fallback credential while defaulting the base URL to https://api.deepseek.com/v1.
dist/core-DllixiG1.jsView on unpkg · L32The resolved provider's apiKey and baseURL are passed to the OpenAI-compatible client.
dist/core-DllixiG1.jsView on unpkg · L74Findings
Affected versions and remediation
This report applies to @ubean/ai@0.7.11.
See all versions of @ubean/ai for other recorded verdicts.
- Avoid installing @ubean/ai@0.7.11. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.