react-doctor
Audited by Socket on Feb 28, 2026
1 alert found:
SecurityThe README describes a legitimate-looking React code health scanner whose capabilities align with its stated purpose. The primary security concern is the distribution/usage pattern: recommending npx -y react-doctor@latest causes an unpinned remote download-and-execute from npm, which is an intrinsic supply-chain risk — especially because the tool will access sensitive project files and detect hardcoded secrets. No concrete malicious code is present in the provided text, but the combination of download-and-execute plus scanning-for-secrets means the package would be high-value for attackers if compromised. I rate malware probability low (no evidence of malicious intent in the fragment), but overall security risk is moderate-to-high due to the install/execute pattern and sensitivity of scanned data. Users should audit the package before running it on sensitive projects and prefer pinned installs or sandboxed execution.