magpie-trustoken-auth@0.3.19
Trustoken / AiPy for magpie — phone-code sign-in, the account's live model list, 灵石 balance, auto check-in and daily-task rewards. DeepSeek / Qwen / GLM / Doubao / Kimi / Hunyuan.
AI Security Review
scanned 5d ago · by lpm-firewall-aiThe package’s default auto-check-in path can issue model requests using the user’s API key to pursue daily-task rewards, including a direct fallback to the Trustoken model gateway. This is an automatic use of credentials that can consume account quota or credits, so it meets the stated rule for malicious automatic spending.
Decision evidence
public snapshot- The package enables `magpie.autoCheckin` by default.
- When local AiPy task creation is unavailable, the check-in hook sends one or more `chatOnce` requests using the account API key and a minimal prompt.
- `chatOnce` posts that key as a bearer credential to the Trustoken model gateway’s `/chat/completions` endpoint.
- The other task path reads AiPy’s local API key and uses it to create forced tasks through the local AiPy API.
- The package describes itself as a Trustoken/AiPy provider with auto check-in and daily-task rewards.
- The AiPy task-creation request goes to localhost; the source shows no unrelated credential collector in that flow.
- OAuth sign-in is initiated through the plugin’s explicit login method and contacts Trustoken’s own service.
- The manifest has no install lifecycle scripts. No unrelated data exfiltration was identified.
Source & flagged code
13 flaggedSource file is highly similar to a previously finalized malicious package; route for source-aware review.
scripts/score.mjsView on unpkgFindings
Affected versions and remediation
This report applies to magpie-trustoken-auth@0.3.19.
See all versions of magpie-trustoken-auth for other recorded verdicts.
- Avoid installing magpie-trustoken-auth@0.3.19. 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.