Loading npm security reports…
Loading npm security reports…
autohand-cli@0.9.12: npm security report – allowed | LPM Firewall
npm / autohand-cli / 0.9.12 Autohand Code CLI is a fast, terminal-native AI coding agent for planning, editing, testing, and automating software work.
Allowed — no malicious behavior detected
27 low-signal patterns reviewed and cleared.
AI security reviewscanned on Nov 20, 2026, 07:20 UTC · by lpm-firewall-ai The flagged credential flows target the corresponding GitHub, GitLab, or Autohand service. The postinstall chain prepares package-related helpers and optional tooling; no unrelated collection or malicious agent configuration behavior was identified.
Static reason
One or more suspicious static signals were detected.; previous stored version diff introduced dangerous source
Trigger
npm postinstall; documented CLI repository lookup and interactive setup flows.
Impact
No unauthorized credential transfer, unrelated collection, or default agent-control hijack was found.
Mechanism
The install scripts prepare native helpers and optional computer-use tooling. GitHub and GitLab credentials are used for requests to those providers; Autohand session tokens are sent to its auth API. The AGENTS.md write is in setup code.
Evidence
vendor/zit vendor/ahtraces vendor node_modules/node-pty node_modules/ink AGENTS.md
Network endpoints4
api.github.com gitlab.com api.autohand.ai
github.com
Decision evidencepublic snapshot Evidence for AI clean decision
The postinstall chain repairs node-pty permissions and Ink behavior, then installs the package’s optional tools. GitHub and GitLab lookup functions send their respective environment tokens only to that service’s API. Autohand session validation sends its token to the configured Autohand auth API. The AGENTS.md write occurs in the setup flow after project analysis. Behavioral surface
Source Child process · Crypto · Dynamic require · Environment variables · Eval · Filesystem · Network · Shell
Supply chain High entropy strings · Minified · Possible obfuscation · URL strings
Manifest No manifest risk signals triggered.
Scanned 903 files · 18.1 MB of source
50 external domains referenced
127.0.0.1 169.254.169.254 ai.azure.com ai.azure.com-on aiplatform.googleapis.com api.anthropic.com api.autohand.ai api.cerebras.ai api.deepseek.com api.exa.ai api.example.com api.github.com api.keenable.ai api.llmgateway.io api.openai.com api.parallel.ai api.sakana.ai api.search.brave.com api.x.ai api.z.ai auth.openai.com auth.x.ai autohand.ai autohand.link brave.com build.nvidia.com buildmyagent.autohand.ai bun.sh chatgpt.com cli-chat-proxy.grok.com cli.github.com cloud.cerebras.ai cloud.google.com code.autohand.ai cognitiveservices.azure.com console.anthropic.com console.autohand.ai console.x.ai crates.io dev.autohand.ai developers.figma.com docs.autohand.ai docs.aws.amazon.com docs.github.com docs.netlify.com docs.newrelic.com docs.sentry.io exa.ai getzit.org git-scm.com Findings1 critical · 12 high · 8 medium · 6 low Source & flagged code19 flagged The lines the automated scan flagged. The review checked them and cleared this version.
High Install time lifecycle scriptsCleared
Package defines install-time lifecycle scripts.
package.json View on unpkg Medium Ambiguous install lifecycle scriptCleared
Install-time lifecycle script is not statically allowlisted and needs review.
package.json View on unpkg Shared scanner record · 2 findings · 1 line scripts.postinstall = node scripts/ensure-node-pty-helper-permissions.mjs && node scripts/ensure-ink-cursor-intent.mjs && node scripts/install-zit.mjs && node scripts/install-ahtraces.mjs && node script...
High Child processCleared
Package source references child process execution.
dist/chunk-JIZD5XDM.cjs View on unpkg · L12 Code excerpt · 3 lines 12 // src/core/ide/ideDetector.ts
13 var _child_process = require ('child_process' );
14 var _os = require ('os' ); var _os2 = _interopRequireDefault (_os);
Code excerpt · 3 lines 695 const result = _child_process.spawnSync.call (void 0 , helper, {
696 shell: true ,
697 encoding: "utf8" ,
Medium Dynamic requireCleared
Package source references dynamic require/import behavior.
dist/chunk-ZGT5MGYJ.cjs View on unpkg · L5 Code excerpt · 2 lines 6 var _chunk772XMPVGcjs = require ('./chunk-772XMPVG.cjs' );
7
Medium Install persistenceCleared
Source writes installer persistence such as shell profile or service configuration.
dist/chunk-YOK3TLMQ.cjs View on unpkg · L167 Code excerpt · 11 lines 167 const fileFlags = fileValueFlags (config).join ("|" ) || "--path|--config" ;
168 return `#!/bin/bash
169 # Autohand CLI Bash Completion
170 # Add to ~/.bashrc or ~/.bash_completion:
171 # source <(autohand completion bash)
⋯
432 function detectShell () {
433 const shell = process.env.SHELL || "" ;
434 if (shell.includes ("bash" )) ;
High Same file environment network executionCleared
A single source file combines environment access, network access, and code or shell execution; review context before blocking.
dist/chunk-CJRWVYCW.cjs View on unpkg · L34 Code excerpt · 9 lines 34 // src/actions/web.ts
35 var _http = require ('http' ); var http = _interopRequireWildcard (_http);
36 var _fs = require ('fs' );
⋯
38 var _path = require ('path' ); var path = _interopRequireWildcard (_path);
39 var _child_process = require ('child_process' );
High Command output exfiltrationCleared
Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.
dist/chunk-4BAZA6SF.cjs View on unpkg · L885 Code excerpt · 12 lines 885 const more = start >= 0 && start + page.length < peers.length;
886 return { peers: structuredClone (page), ...more ? { nextCursor: Buffer.from (JSON.stringify ([scope, search, page.at (-1 ).peerId])).toString ("base64url" ) } : {} };
887 }
⋯
1030 const keys = _crypto.generateKeyPairSync.call (void 0 , "ed25519" );
1031 return { instanceId: _crypto.randomUUID. ( , ), publicKey: keys.publicKey. ({ type: , format: }). ( ), privateKey: keys.privateKey };
High Sandbox evasion gated capabilityCleared
Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
dist/chunk-J53PN6E2.js View on unpkg · L9 Code excerpt · 12 lines 9 import fs from "fs-extra" ;
10 import { spawn, spawnSync } from "child_process" ;
11 import open from "open" ;
⋯
13 var CHROME_NATIVE_HOST_NAME = "ai.autohand.rpc" ;
14 var DEFAULT_CHROME_INSTALL_URL = "https://autohand.ai/chrome/installed" ;
15 var CHROME_WEB_STORE_EXTENSION_ID = "[redacted]" ;
⋯
High Cloud metadata accessCleared
Source reaches cloud instance metadata or link-local credential endpoints.
dist/chunk-LEEAPZ7D.js View on unpkg · L76 Code excerpt · 12 lines 76 constructor (config, networkSettings) {
77 this .baseUrl = config.baseUrl || "http://localhost:11434" ;
78 this .model = config.model || DEFAULT_OLLAMA_MODEL;
⋯
104 }
105 const data = await response.json ();
106 return mergeModelIds (
⋯
190 },
191 body: JSON.stringify (body),
192 signal: combinedSignal
⋯
High Trigger reachable external AI agent control surface mutationCleared
Manifest-trigger-reachable source writes behavior-bearing configuration into a user or project AI-agent control surface.
dist/chunk-UZVPPAAT.js View on unpkg Scanner record · 17 lines Manifest-trigger-reachable source links an external AI-agent control path to a behavior-bearing write operation.
${configpath}`);
}
const s = section;
if (typeof s.id !== "string" || !isvalidsectionid(s.id)) {
throw new error(
`ui.statusbar.sections[].id must be one of ${status_section_ids.join(", ")} in ${configpath}`
);
}
if (seenids.has(s.id)) {
throw new error(`duplicate status bar section id "${s.id}" in ${configpath}`);
}
seenids.add(s.id);
if (s.line !== void 0 && s.line !== 1 && s.line !== 2) {
throw new error(`ui.statusbar.sections[].line must be 1 or 2 in ${configpath}`);
High Trigger reachable persistenceCleared
A manifest entrypoint or package-local install chain reaches persistence behavior.
dist/chunk-B2TLPA3D.js View on unpkg · L167 Code excerpt · 11 lines Trigger-reachable persistence chain: scripts.start -> dist/index.js -> dist/acp-DVHGEKNV.js -> dist/chunk-B2TLPA3D.js
167 const fileFlags = fileValueFlags (config).join ("|" ) || "--path|--config" ;
168 return `#!/bin/bash
169 # Autohand CLI Bash Completion
170 # Add to ~/.bashrc or ~/.bash_completion:
171 # source <(autohand completion bash)
⋯
432 function detectShell () {
433 const shell = process.env.SHELL || "" ;
434 (shell. ( )) ;
native/macos/prebuilt/x64/Autohand Computer Use.app/Contents/MacOS/AutohandComputerUse View file Medium Ships native binaryCleared
Package ships native binary artifacts.
native/macos/prebuilt/x64/Autohand Computer Use.app/Contents/MacOS/AutohandComputerUse View on unpkg Scanner record · 4 lines path = [redacted] Computer Use.[redacted]
kind = native_binary
sizeBytes = 107856
magicHex = [redacted]
assets/computer-use/autohand.light-gray.lottie View file Medium Ships compressed blobCleared
Package ships compressed or archive-like blobs.
assets/computer-use/autohand.light-gray.lottie View on unpkg Scanner record · 4 lines path = assets/computer-use/autohand.light-gray.lottie
kind = compressed_blob
sizeBytes = 12300
magicHex = [redacted]
Low Nested archive needs inspectionCleared
Package ships a nested archive or MCP bundle that was inventoried but not recursively analyzed.
assets/computer-use/autohand.light-gray.lottie View on unpkg Scanner record · 4 lines path = assets/computer-use/autohand.light-gray.lottie
kind = nested_archive_needs_inspection
sizeBytes = 12300
magicHex = [redacted]
assets/computer-use/autohand.light-gray.cua-theme View file High Ships high entropy blobCleared
Package ships high-entropy non-source blobs.
assets/computer-use/autohand.light-gray.cua-theme View on unpkg Scanner record · 4 lines path = assets/computer-use/autohand.light-gray.cua-theme
kind = high_entropy_blob
sizeBytes = 14597
magicHex = [redacted]
High Semantic analysis limitedCleared
A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
dist/chunk-3EWNTILT.cjs View on unpkg Scanner record · 1 line stage = ast_semantic_analysis; reason = ast_parse_error; limitedFiles = 16
Critical Previous version dangerous deltaCleared
This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
dist/index.js View on unpkg Scanner record · 5 lines matchType = previous_version_dangerous_delta
matchedPackage = autohand-cli@0.9.11
matchedIdentity = npm:YXV0b2hhbmQtY2xp:0.9.11
similarity = 0.842
summary = stored previous version shares package body but lacks this dangerous source file
dist/chunk-4BAZA6SF.cjs
2 findings
Package metadata 8 findings
Medium Network Cleared
Medium Environment variables Cleared
Medium Structural risk force deep review Cleared
Low Scripts present Cleared
Low High entropy strings Cleared
return
"bash"
439 function getCompletionInstallPath (shell) {
440 const home = _os2.default .homedir ();
45 if (!token || !/^[A-Za-z0-9 ._~+/-]{1 ,512 }$/.test (token)) return void 0 ;
46 const accountId = _nullishCoalesce (_optionalChain ([config, 'access' , _9 => _9.api, 'optionalAccess' , _10 => _10.accountId]), () => ( process.env.AUTOHAND_ACCOUNT_ID));
47 if (accountId && !/^[A-Za-z0-9_-]{1 ,200 }$/.test (accountId)) return void 0 ;
call
void
0
export
"spki"
"der"
toString
"base64"
1073 var _promises = require ('fs/promises' ); var _promises2 = _interopRequireDefault (_promises);
1074 var _net = require ('net' );
1151 const filename = `${this.options.identity.instanceId}.sock` ;
1152 const maxBytes = process.platform === "darwin" ? 103 : 107 ;
High Remote agent bridgeCleared
Source exposes local file and command tools to a remote model endpoint.
dist/chunk-4BAZA6SF.cjs View on unpkg · L2127 Code excerpt · 12 lines 2127 // [redacted].ts
2128 var _child_process = require ('child_process' );
2129
⋯
3361 "" ,
3362 "### Available Tools" ,
3363 ...codeMode ? [
⋯
8416 auth: _zod.z.object ({ token: _zod.z.string ().optional () }).optional (),
8417 api: _zod.z.object ({ accountId: _zod.z.string ().optional (), baseUrl: _zod.z.string ().optional () }).optional (),
8418 sync: _zod.z.object ({ enabled: _zod.z.boolean ().optional (), exclude: _zod.z.array (_zod.z.string ()).optional () }).optional ()
⋯
10175 if (_fsextra2.default .existsSync (deviceIdPath)) {
10176 return _fsextra2.default .readFileSync (deviceIdPath, "utf-8" ).trim ();
10177 }
42
}
43 function getBrowserLaunchTargets (browser, platform = process.platform) {
44 if (platform === "darwin" ) {
47 { probe: "/Applications/Google Chrome.app" , appName: "Google Chrome" , command: "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" },
48 { probe: path.join (os.homedir (), "Applications" , "Google Chrome.app" ), appName: "Google Chrome" , command: path.join (os.homedir (), "Applications" , "Google Chrome.app" , "Contents" , "...
2931
var EXPIRY_BUFFER_MS = 5 * 60 * 1e3;
2932 var IMDS_ENDPOINT = "http://169.254.169.[redacted]" ;
2933 var COGNITIVE_SCOPE = "https://cognitiveservices.azure.com/.default" ;
if (s.enabled !== void 0 && typeof s.enabled !== "boolean") {
throw new error(`ui.statusbar.section
if
includes
"bash"
return
"bash"
439 function getCompletionInstallPath (shell) {
440 const home = os.homedir ();