Loading npm security reports…
Loading npm security reports…
autohand-cli@0.9.11: npm security report – allowed | LPM Firewall
npm / autohand-cli / 0.9.11 Autohand Code CLI is a fast, terminal-native AI coding agent for planning, editing, testing, and automating software work.
Allowed — no malicious behavior detected
26 low-signal patterns reviewed and cleared.
AI security reviewscanned on Nov 12, 2026, 11:48 UTC · by lpm-firewall-ai The postinstall hook prepares package tooling, with downloads tied to the publisher’s release paths and checksum checks. The flagged metadata request requires managed-identity authentication, and project instruction file creation is confirmed interactively.
Static reason
One or more suspicious static signals were detected.
Trigger
Installation runs package setup; runtime features run when invoked and configured.
Impact
No automatic unrelated data collection, credential exfiltration, persistence, or agent-control modification was found.
Mechanism
Install scripts prepare package-owned helpers and binaries; Azure metadata access is for explicitly selected managed-identity authentication; repository tokens go to the matching GitLab API.
Evidence
packageRoot/vendor/ workspaceRoot/AGENTS.md scripts/install-zit.mjs scripts/install-ahtraces.mjs scripts/install-computer-use.mjs
Network endpoints4
github.com /autohandai/getzit/releases/downloadgithub.com /autohandai/code-cli/releases/download
169.254.169.254 /metadata/identity/oauth2/token
gitlab.com /api/v4/projects/
Decision evidencepublic snapshot Evidence for AI clean decision
The postinstall hook runs package setup scripts for native helpers and optional tooling. The Zit installer downloads a release archive and checksum from the publisher’s GitHub release path. Azure managed-identity token retrieval is gated on an explicit managed-identity auth method. The GitLab token is sent to GitLab’s project API for repository lookup. Creating a project AGENTS.md file requires user confirmation. Evidence against
The package has an install-time postinstall hook that performs downloads and setup. The bundled Azure provider contains code that requests a token from the Azure instance metadata endpoint. 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 887 files · 17.9 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 Findings12 high · 8 medium · 6 low Source & flagged code18 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-FJC4MVTK.cjs View on unpkg · L612 Code excerpt · 3 lines 612 // src/auth/ensureAuth.ts
613 var _child_process = require ('child_process' );
614 async function getGitCommit () {
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-M73M5VAJ.cjs View on unpkg · L1 Code excerpt · 3 lines 1 "use strict" ;Object.defineProperty (exports, "__esModule" , {value: true }); function _interopRequireDefault (obj) { return obj && obj.__esModule ? obj : { default : obj }; } function _...
2 var _chalk = require ('chalk' ); var _chalk2 = _interopRequireDefault (_chalk);
3 async function toggleYolo (ctx) {
Medium Install persistenceCleared
Source writes installer persistence such as shell profile or service configuration.
dist/chunk-QZJ2YDF4.cjs View on unpkg · L166 Code excerpt · 11 lines 166 const fileFlags = fileValueFlags (config).join ("|" ) || "--path|--config" ;
167 return `#!/bin/bash
168 # Autohand CLI Bash Completion
169 # Add to ~/.bashrc or ~/.bash_completion:
170 # source <(autohand completion bash)
⋯
431 function detectShell () {
432 const shell = process.env.SHELL || "" ;
433 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-TW4NM3UW.cjs View on unpkg · L869 Code excerpt · 12 lines 869 const more = start >= 0 && start + page.length < peers.length;
870 return { peers: structuredClone (page), ...more ? { nextCursor: Buffer.from (JSON.stringify ([scope, search, page.at (-1 ).peerId])).toString ("base64url" ) } : {} };
871 }
⋯
1014 const keys = _crypto.generateKeyPairSync.call (void 0 , "ed25519" );
1015 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-3YAQ2PNE.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-FU2RTX36.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-6ELKBZCQ.js View on unpkg · L166 Code excerpt · 11 lines Trigger-reachable persistence chain: scripts.start -> dist/index.js -> dist/acp-LDTU5B5V.js -> dist/chunk-6ELKBZCQ.js
166 const fileFlags = fileValueFlags (config).join ("|" ) || "--path|--config" ;
167 return `#!/bin/bash
168 # Autohand CLI Bash Completion
169 # Add to ~/.bashrc or ~/.bash_completion:
170 # source <(autohand completion bash)
⋯
431 function detectShell () {
432 const shell = process.env.SHELL || "" ;
433 (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
Code↓ Cleared
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"
438 function getCompletionInstallPath (shell) {
439 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"
1057 var _promises = require ('fs/promises' ); var _promises2 = _interopRequireDefault (_promises);
1058 var _net = require ('net' );
1135 const filename = `${this.options.identity.instanceId}.sock` ;
1136 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-TW4NM3UW.cjs View on unpkg · L2111 Code excerpt · 12 lines 2111 // [redacted].ts
2112 var _child_process = require ('child_process' );
2113
⋯
3290 "" ,
3291 "### Available Tools" ,
3292 ...codeMode ? [
⋯
8344 auth: _zod.z.object ({ token: _zod.z.string ().optional () }).optional (),
8345 api: _zod.z.object ({ accountId: _zod.z.string ().optional (), baseUrl: _zod.z.string ().optional () }).optional (),
8346 sync: _zod.z.object ({ enabled: _zod.z.boolean ().optional (), exclude: _zod.z.array (_zod.z.string ()).optional () }).optional ()
⋯
9844 if (_fsextra2.default .existsSync (deviceIdPath)) {
9845 return _fsextra2.default .readFileSync (deviceIdPath, "utf-8" ).trim ();
9846 }
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"
438 function getCompletionInstallPath (shell) {
439 const home = os.homedir ();