@ubean/ai@0.7.12
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 default fallback routes OPENAI_API_KEY to DeepSeek when no provider is configured. Sending a service credential to a different provider by default is credential exfiltration, even though the behavior is documented and only occurs when the agent creates a model.
Decision evidence
public snapshot- With no higher-priority key set, the fallback selects OPENAI_API_KEY.
- The fallback defaults its base URL to https://api.deepseek.com/v1.
- The selected API key is passed to the OpenAI-compatible provider client.
- The README confirms this fallback is used when nothing is configured.
- The manifest has no install or lifecycle scripts.
- The README documents the fallback behavior, and the provider is used when an agent creates a model.
- The package otherwise provides AI model integration and gateway configuration.
Source & flagged code
5 flaggedSource fingerprint signature matches a known malicious package signature; route for source-aware review.
dist/core-DllixiG1.jsView on unpkgWith no higher-priority key set, the fallback selects OPENAI_API_KEY.
dist/core-DllixiG1.jsView on unpkg · L32The fallback defaults its base URL to https://api.deepseek.com/v1.
Findings
Affected versions and remediation
This report applies to @ubean/ai@0.7.12.
See all versions of @ubean/ai for other recorded verdicts.
- Avoid installing @ubean/ai@0.7.12. 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.