registry  /  @rein-industries/rein  /  0.1.32

@rein-industries/rein@0.1.32

Control your coding agents (Claude Code, Codex, Gemini, opencode, Grok) from your phone. Installs the rein bridge daemon.

AI Security Review

scanned 2h ago · by lpm-firewall-ai

Install-time code downloads and unpacks an opaque native bridge binary. The launcher also self-heals by downloading the binary at first explicit CLI use, then executes it.

Static reason
One or more suspicious static signals were detected.
Trigger
`npm install` invokes `postinstall`; running `rein` can re-download when `vendor/rein` is absent.
Impact
A compromised or substituted release payload can execute as the installing or CLI-running user.
Mechanism
remote native payload download, checksum lookup, tar extraction, and binary execution
Rationale
No direct malicious behavior is visible in the inspected JavaScript, but the package is an install-time remote native-payload carrier whose actual executable behavior is not source-inspectable here. Treat as a warning rather than a block because writes are package-local and no foreign AI-agent control-surface mutation is shown.
Evidence
package.jsonscripts/postinstall.mjsbin/rein.jsREADME.mdvendor/vendor/reinvendor/spawn-helpervendor/.rein-managed-by
Network endpoints2
github.com/rein-industries/rein/releases/download/v<version>/SHA256SUMSgithub.com/rein-industries/rein/releases/download/v<version>/rein-<os>-<arch>.tar.gz

Decision evidence

public snapshot
AI called this Suspicious at 88.0% confidence as Dangerous Capability with medium false-positive risk.
Evidence for warning
  • `package.json` runs `postinstall` during npm install.
  • `scripts/postinstall.mjs` downloads a platform tarball, extracts it into `vendor/`, and makes binaries executable.
  • The SHA-256 value is fetched from the same release location as the executable payload.
  • `bin/rein.js` executes the downloaded `vendor/rein` binary with inherited stdio.
Evidence against
  • The lifecycle script confines writes to this package's `vendor/` directory.
  • No source evidence of credential harvesting, secret-file reads, exfiltration, or AI-agent configuration writes.
  • Downloaded release URL is version-pinned by default to `rein-industries/rein`.
Behavioral surface
Source
ChildProcessCryptoEnvironmentVarsFilesystemNetworkShell
Supply chain
UrlStrings
Manifest
NoLicense
scanned 2 file(s), 5.92 KB of source, external domains: github.com

Source & flagged code

2 flagged · loading source
package.jsonView file
scripts.postinstall = node scripts/postinstall.mjs
High
Install Time Lifecycle Scripts

Package defines install-time lifecycle scripts.

package.jsonView on unpkg
scripts.postinstall = node scripts/postinstall.mjs
Medium
Ambiguous Install Lifecycle Script

Install-time lifecycle script is not statically allowlisted and needs review.

package.jsonView on unpkg

Findings

1 High3 Medium4 Low
HighInstall Time Lifecycle Scriptspackage.json
MediumAmbiguous Install Lifecycle Scriptpackage.json
MediumNetwork
MediumEnvironment Vars
LowScripts Present
LowFilesystem
LowUrl Strings
LowNo License