registry  /  justcode-cli  /  0.1.11

justcode-cli@0.1.11

JustCode - an interactive terminal coding assistant CLI

AI Security Review

scanned 21h ago · by lpm-firewall-ai

The package has install-time and runtime binary download behavior, but inspected JavaScript points only to package-owned GitHub release assets. No confirmed malicious behavior or unconsented mutation of foreign AI-agent control surfaces was found in shipped source.

Static reason
One or more suspicious static signals were detected.
Trigger
npm install postinstall or user invoking justcode
Impact
Executes the downloaded JustCode platform binary when the user runs the CLI; install may place it under the package dist-bin directory.
Mechanism
package-aligned GitHub release binary downloader and launcher
Rationale
Static inspection confirms a lifecycle binary downloader, but it is package-aligned, bounded to the package directory, and does not show data theft, persistence, or AI-agent control hijack in the shipped source. Because the actual release binary is not present for inspection, residual risk is opaque prebuilt-binary risk rather than concrete malicious source behavior.
Evidence
package.jsonscripts/postinstall.mjsscripts/lib/download-binary.mjsscripts/lib/platform.mjsbin/justcode.mjsdist-bin/justcode-<os>-<arch>dist-bin/justcode-<os>-<arch>.download
Network endpoints1
github.com/kingeke/justcode/releases/download/v0.1.11/<asset>

Decision evidence

public snapshot
AI called this Clean at 83.0% confidence as Benign with medium false-positive risk.
Evidence for block
  • postinstall downloads a platform executable into dist-bin via scripts/postinstall.mjs and scripts/lib/download-binary.mjs
  • bin/justcode.mjs lazily downloads the same binary on first CLI run if missing, then spawns it
  • package.json prepare sets git core.hooksPath .githooks, but prepare is publish/developer lifecycle and .githooks is not shipped
Evidence against
  • Download URL is derived from package.json repository and version: https://github.com/kingeke/justcode/releases/download/v0.1.11/<asset>
  • scripts/postinstall.mjs skips in source checkout and honors JUSTCODE_SKIP_DOWNLOAD
  • No credential harvesting, env enumeration, broad home/project writes, agent control-surface mutation, or exfiltration code found in shipped JS
  • Files shipped are limited to launcher, postinstall, platform/download helpers, and README
  • Downloaded binary is package-aligned for a CLI described as a terminal coding assistant
Behavioral surface
Source
ChildProcessEnvironmentVarsFilesystemNetworkShell
Supply chain
UrlStrings
ManifestNo manifest risk signals triggered.
scanned 4 file(s), 5.78 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
LowNon Install Lifecycle Scripts
LowScripts Present
LowFilesystem
LowUrl Strings