magpie-trustoken-auth@0.3.21
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 enables auto-check-in by default and uses that hook to start model tasks for unfinished daily rewards. Its fallback makes authenticated chat requests automatically, creating unrequested model usage that can consume quota.
Decision evidence
public snapshot- The package sets `magpie.autoCheckin` to true by default.
- When daily task gaps exist, the check-in hook automatically calls `ensureAipyTasks` to create Qwen tasks.
- Task creation reads AiPy’s local API key and sends it to AiPy’s localhost task endpoint with `force: true`.
- If local task creation fails, the hook sends chat requests using the account API key, with a Qwen model and a prompt to reply `OK`.
- These default actions can consume the user’s model quota without a separate request to run them.
- The manifest has no install lifecycle scripts.
- The login flow is user-initiated and sends Trustoken credentials to Trustoken services; the AiPy API key is used with a localhost endpoint.
Source & flagged code
11 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.21.
See all versions of magpie-trustoken-auth for other recorded verdicts.
- Avoid installing magpie-trustoken-auth@0.3.21. 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.