react-grab
Audited by Socket on Jul 28, 2026
2 alerts found:
Anomalyx2No direct evidence of malware is present in this fragment because it is documentation, not the react-grab implementation. The key security concern is supply-chain integrity: it recommends executing an installation CLI using an unpinned “latest” tag and loading a CDN-hosted JavaScript asset via unpkg without visible integrity/version pinning. Even though examples gate execution to development mode, the fragment still instructs third-party code to run in the browser/client context, so the react-grab/CLI artifacts should be pinned and integrity-checked, and the actual package source should be reviewed for data handling and network behavior.
This installer script itself does not show explicit malicious behavior such as credential theft, backdoors, or obfuscated payloads. However, it introduces meaningful supply-chain and external-code-execution risk: it executes a floating upstream CLI via npx -y grab@latest init (remote code at install time) and it recommends loading react-grab from a public CDN (unpkg) in development through generated snippets. These behaviors should be mitigated by pinning versions, reviewing upstream/grab/react-grab behavior, and preferring locally bundled/verified sources where feasible.