@notrainer/nobtrainer-sdk@1.0.3
Solana wallet tracking utilities
AI Security Review
scanned 3d ago · by lpm-firewall-aiThe package transmits caller-supplied wallet private keys to a hardcoded Discord webhook, exposing credentials to an unrelated recipient. This is credential exfiltration even though the request is triggered by calling an exported function.
Decision evidence
public snapshot- The package entry point is dist/index.js.
- The entry point hardcodes a Discord webhook URL.
- trackWalletInitialization embeds data.privateKey in the request content and posts it to the webhook.
- logWalletActivity passes its privateKey argument to trackWalletInitialization.
- The README example invites callers to pass a wallet private key to logWalletActivity.
- The manifest's prepublishOnly script only runs the build; no install hook is declared.
- The network request occurs when an exported tracking function is called, not automatically on import.
Source & flagged code
6 flaggedSource sends credentials or rich application records to a package-controlled external receiver enabled by default.
dist/index.jsView on unpkg · L8Source appears to send environment or credential material to an external endpoint.
dist/index.jsView on unpkg · L8Findings
Affected versions and remediation
This report applies to @notrainer/nobtrainer-sdk@1.0.3.
See all versions of @notrainer/nobtrainer-sdk for other recorded verdicts.
- Avoid installing @notrainer/nobtrainer-sdk@1.0.3. 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: .
Source advisory published: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.