Bring Grok into your terminal
LPM flags this version as an AI-agent control-surface risk. Install of @kingingwang/grok runs a postinstall hook that writes a native binary and config into the Grok CLI home directory used by the official product, under a publisher that is not @xai-official.
Package defines install-time lifecycle scripts.
package.jsonView on unpkgnpm postinstall always runs node bin/postinstall.js.
package.jsonView on unpkg · L21Install-time lifecycle script is not statically allowlisted and needs review.
package.jsonView on unpkgSource file is highly similar to a previously finalized malicious package; route for source-aware review.
bin/postinstall.jsView on unpkgSource fingerprint signature matches a known malicious package signature; route for source-aware review.
bin/postinstall.jsView on unpkgThat hook extracts a native binary into GROK_HOME/bin, which defaults to the user home .grok directory.
bin/postinstall.jsView on unpkg · L22It reads and rewrites GROK_HOME/config.toml, setting cli.installer to npm and optionally cli.npm_registry.
bin/postinstall.jsView on unpkg · L222It reads and rewrites GROK_HOME/config.toml, setting cli.installer to npm and optionally cli.npm_registry.
bin/postinstall.jsView on unpkg · L242Source file is highly similar to a previously finalized malicious package; route for source-aware review.
bin/grok-bootstrap.jsView on unpkgThis report applies to @kingingwang/grok@1.0.41-51ac69f5.
See version security history for other recorded verdicts.
Evidence last updated: .
Package defines install-time lifecycle scripts.
package.jsonView on unpkg · L22Install-time lifecycle script is not statically allowlisted and needs review.
package.jsonView on unpkg · L22npm postinstall always runs node bin/postinstall.js.
package.jsonView on unpkg · L21Source file is highly similar to a previously finalized malicious package; route for source-aware review.
bin/grok-bootstrap.jsView on unpkgThat hook extracts a native binary into GROK_HOME/bin, which defaults to the user home .grok directory.
bin/postinstall.jsView on unpkg · L22It reads and rewrites GROK_HOME/config.toml, setting cli.installer to npm and optionally cli.npm_registry.
bin/postinstall.jsView on unpkg · L222It reads and rewrites GROK_HOME/config.toml, setting cli.installer to npm and optionally cli.npm_registry.
bin/postinstall.jsView on unpkg · L242Source file is highly similar to a previously finalized malicious package; route for source-aware review.
bin/postinstall.jsView on unpkgSource fingerprint signature matches a known malicious package signature; route for source-aware review.
bin/postinstall.jsView on unpkg