Loading npm security reports…
Loading npm security reports…
@allternit/gizzi-code@2.18.0: Policy block – npm package blocked | LPM Firewall
Blocked by LPM policy
The publisher's API receives credentials for another service and may be able to act using the user's Anthropic account.
What to do: remove this version and, if it ran, rotate the credentials it could reach. Remediation↓
AI security reviewscanned on Nov 22, 2026, 01:07 UTC · by lpm-firewall-ai The runtime API client forwards Anthropic OAuth or API credentials into the Allternit API client, whose product host is api.allternit.com. Under the credential rule, sending another service's credential to the publisher's server is a block even when the flow is visible and part of the product.
Static reason
One or more suspicious static signals were detected.; source matched previously finalized malicious package; routed for review
Trigger
A model API operation creates the AllternitAI client; the credential is selected from the Claude subscriber OAuth store or, for non-subscribers, ANTHROPIC_AUTH_TOKEN or an API-key helper.
Mechanism
The client config passes the Claude OAuth access token as authToken, or attaches the other Anthropic credential as a Bearer Authorization header to the Allternit API client.
Attack narrative
When model requests use the Allternit API client, the package can forward an Anthropic credential to api.allternit.com: Claude subscriber access tokens are passed as authToken, while the non-subscriber path places ANTHROPIC_AUTH_TOKEN or an API-key helper result in Authorization. This is an open credential flow in the product's model client, but it sends another service's credential to the publisher's server.
Evidence
src/runtime/services/api/client.ts src/shared/utils/auth.ts src/constants/allternit-api.ts src/runtime/services/api/claude.ts
src/cli/ui/ink-app/utils/ide.ts
Network endpoints3
api.allternit.com api-staging.allternit.com artifactory.infra.ant.dev
Decision evidencepublic snapshot Evidence for block
Claude OAuth access tokens are read from the stored claudeAiOauth credential data. For Claude subscribers, the API client passes that OAuth access token as authToken to AllternitAI. The source identifies api.allternit.com as the Allternit API host. For non-subscriber authentication, ANTHROPIC_AUTH_TOKEN or an API-key helper result is placed in the Authorization header used by the Allternit API client. The client is used for model API requests. The npmrc Artifactory token request uses artifactory.infra.ant.dev for both the version lookup and extension download. Evidence against
The package is an AI terminal client, and the token forwarding is in its visible model API client flow. The npm credential lead points to the same Artifactory host used by its requests, rather than the Microsoft documentation host. Behavioral surface
Source Child process · Crypto · Dynamic require · Environment variables · Eval · Filesystem · Native bindings · Network · Shell · Web socket
Supply chain High entropy strings · Minified · Possible obfuscation · URL strings
Manifest No manifest risk signals triggered.
Scanned 3,694 files · 33.4 MB of source
50 external domains referenced
1.1.1.1 127.0.0.1 accounts.google.com ai.allternit.com aistudio.google.com allternit.com allternit.io api-staging.allternit.com api.allternit.cloud api.allternit.com api.anthropic.com api.cohere.com api.deepseek.com api.example.com api.fireflies.ai api.frankfurter.dev api.github.com api.gizzi.ai api.groq.com api.kimi.com api.met.no api.minimax.chat api.minimax.io api.mistral.ai api.moonshot.ai api.openai.com api.perplexity.ai api.releases.hashicorp.com api.together.ai api.together.xyz api.x.ai apps.apple.com artifactory.infra.ant.dev auth.gizzi.ai auth.openai.com cdn.growthbook.io chatgpt.com chromewebstore.google.com clau.de claude.com clerk.allternit.com cli.github.com commons.wikimedia.org community.chocolatey.org console.cloud.google.com console.groq.com console.mistral.ai console.x.ai dashboard.cohere.com dashscope.aliyun.com Findings20 high · 9 medium · 7 low Source & flagged code28 flagged src/shared/utils/powershell/parser.ts View file Medium Secret pattern
Package contains a possible secret pattern.
src/shared/utils/powershell/parser.ts View on unpkg · L1344 Code excerpt · 3 lines 1344 patternName = generic_password
severity = medium
line = 1344
Code excerpt · 3 lines 15 */
16 import { spawn } from 'node:child_process' ;
17 import { existsSync } from 'node:fs' ;
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
bin/gizzi.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @allternit/gizzi-code@2.17.0
matchedPath = bin/gizzi.js
matchedIdentity = npm:QGFsbHRlcm5pdC9naXp6aS1jb2Rl:2.17.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
Low Eval
Package source references a known benign dynamic code generation pattern.
src/cli/commands/debug/agent.ts View on unpkg · L98 Code excerpt · 3 lines 98 try {
99 return new Function (`return (${trimmed})` )()
100 } catch (evalError) {
Medium Dynamic require
Package source references dynamic require/import behavior.
src/memdir/findRelevantMemories.ts View on unpkg · L69 Code excerpt · 3 lines 69 const { logMemoryRecallShape } =
70 require ('./memoryShapeTelemetry.js' ) as typeof import ('./memoryShapeTelemetry.js' )
71 /* eslint-enable @typescript-eslint/no-require-imports */
Low Weak crypto
Package source references weak cryptographic algorithms.
src/runtime/services/vcr.ts View on unpkg · L23 Code excerpt · 9 lines 23 function shouldUseVCR (): boolean {
24 if (process.env.NODE_ENV === 'test' ) {
25 return true
⋯
70
71 if ((env.isCI || process.env.CI) && !isEnvTruthy (process.env.VCR_RECORD)) {
72 throw new Error (
⋯
299 const cwd = getCwd ()
300 const configHome = getLegacyClaudeHomeDir ()
src/runtime/automation/cron/supervision.ts View file Medium Install persistence
Source writes installer persistence such as shell profile or service configuration.
src/runtime/automation/cron/supervision.ts View on unpkg · L25 Code excerpt · 12 lines 25 args: string[]
26 stdoutLog: string
27 stderrLog: string
⋯
58
59 export function launchdPlistPath (home: string = os.homedir ()): string {
60 return path.join (home, "Library" , "LaunchAgents" , `${CRON_DAEMON_LABEL}.plist` )
⋯
120 return `<?xml version="1.0" encoding="UTF-16"?>
121 <Task version= xmlns= >
src/runtime/fabric-transport/worker.ts View file High Same file environment network execution
A single source file combines environment access, network access, and code or shell execution; review context before blocking.
src/runtime/fabric-transport/worker.ts View on unpkg · L33 Code excerpt · 5 lines 34 import { spawn } from "node:child_process"
35 import { Sandbox } from "../integrations/shell/sandbox"
⋯
38
39 const API = (process.env.ALLTERNIT_API_URL ?? "http://127.0.0.1:8013" ).replace (/\/+$/, "" )
40 const TOKEN = process.env.ALLTERNIT_GIZZI_TOKEN ?? readTokenFile ()
High Credential exfiltration
Source combines credential-like environment material and outbound requests; review data flow before blocking.
src/cli/files/flag.ts View on unpkg · L34 Code excerpt · 12 lines 34 function cachePath (): string {
35 return path.join (os.homedir (), ".allternit" , "state" , "files-drive-flag.json" )
36 }
⋯
38 /** The developer switch. */
39 export function filesDriveForced (env: NodeJS.ProcessEnv = process.env): boolean {
40 const v = env.ALLTERNIT_FILES_DRIVE?.trim ().toLowerCase ()
⋯
src/runtime/skills/bundled/craft/ui-motion/scripts/strip.mjs View file High Hidden inline dependency execution
Source silently spawns a Node process to execute an inline dependency payload.
src/runtime/skills/bundled/craft/ui-motion/scripts/strip.mjs View on unpkg · L3 Code excerpt · 12 lines 3 // usage:
4 // node strip.mjs --url http://localhost:5173 --act "click:#open" [--ms 600] [--step 33]
5 // [--w 1280 --h 800] [--clip "#panel"] [--reduced] [--dark] [--out strip]
⋯
15 import path from 'path' ;
16 import { execSync } from 'child_process' ;
17 import { createRequire } from 'module' ;
⋯
src/runtime/providers/quota/index.ts View file High Sandbox evasion gated capability
Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
src/runtime/providers/quota/index.ts View on unpkg · L59 Code excerpt · 12 lines 59 async function claudePlan (): Promise<string | undefined > {
60 const dir = process.env.CLAUDE_CONFIG_DIR
61 const file = dir ? path.join (dir, ".claude.json" ) : path.join (homedir (), ".claude.json" )
62 try {
63 return claudePlanLabel (JSON.parse (await readFile (file, "utf8" ))?.oauthAccount)
src/runtime/skills/bundled/craft/visual-design/scripts/shot.mjs View file High Runtime package install
Package source invokes a package manager install command at runtime.
src/runtime/skills/bundled/craft/visual-design/scripts/shot.mjs View on unpkg · L46 Code excerpt · 3 lines 46 if (!fs.existsSync (path.join (dir, 'package.json' ))) fs.writeFileSync (path.join (dir, 'package.json' ), '{"private":true}' );
47 execSync (`npm install --no-audit --no-fund --silent playwright-core@${PW_VERSION}` , { cwd: dir, stdio: 'inherit' });
48 return req ('playwright-core' );
Medium Ships native binary
Package ships native binary artifacts.
dist/gizzi-code-linux-x64 View on unpkg Scanner record · 4 lines path = dist/gizzi-code-linux-x64
kind = native_binary
sizeBytes = 221022336
magicHex = [redacted]
src/runtime/skills/bundled/craft/brush-film/template/assemble.sh View file Medium Ships build helper
Package ships non-JavaScript build or shell helper files.
src/runtime/skills/bundled/craft/brush-film/template/assemble.sh View on unpkg Scanner record · 4 lines path = [redacted]-film/template/assemble.sh
kind = build_helper
sizeBytes = 1930
magicHex = [redacted]
src/cli/ui/ink-app/components/ValidationErrorsList.tsx View file High Semantic analysis limited
A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
src/cli/ui/ink-app/components/ValidationErrorsList.tsx View on unpkg Scanner record · 1 line stage = ast_semantic_analysis; reason = ast_trace_path_limit_exceeded; limitedFiles = 10
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
src/cli/commands/phone.ts View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @allternit/gizzi-code@2.17.0
matchedPath = src/cli/commands/phone.ts
matchedIdentity = npm:QGFsbHRlcm5pdC9naXp6aS1jb2Rl:2.17.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
src/cli/commands/allternit.ts View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @allternit/gizzi-code@2.17.0
matchedPath = src/cli/commands/allternit.ts
matchedIdentity = npm:QGFsbHRlcm5pdC9naXp6aS1jb2Rl:2.17.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
src/cli/commands/connect-run.ts View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @allternit/gizzi-code@2.17.0
matchedPath = src/cli/commands/connect-run.ts
matchedIdentity = npm:QGFsbHRlcm5pdC9naXp6aS1jb2Rl:2.17.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
src/cli/commands/cowork.ts View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @allternit/gizzi-code@2.17.0
matchedPath = src/cli/commands/cowork.ts
matchedIdentity = npm:QGFsbHRlcm5pdC9naXp6aS1jb2Rl:2.17.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
src/cli/commands/files.ts View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @allternit/gizzi-code@2.17.0
matchedPath = src/cli/commands/files.ts
matchedIdentity = npm:QGFsbHRlcm5pdC9naXp6aS1jb2Rl:2.17.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
src/cli/commands/github.ts View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @allternit/gizzi-code@2.17.0
matchedPath = src/cli/commands/github.ts
matchedIdentity = npm:QGFsbHRlcm5pdC9naXp6aS1jb2Rl:2.17.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
src/cli/factory/engine.ts View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @allternit/gizzi-code@2.17.0
matchedPath = src/cli/factory/engine.ts
matchedIdentity = npm:QGFsbHRlcm5pdC9naXp6aS1jb2Rl:2.17.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
src/cli/commands/org.ts View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @allternit/gizzi-code@2.17.0
matchedPath = src/cli/commands/org.ts
matchedIdentity = npm:QGFsbHRlcm5pdC9naXp6aS1jb2Rl:2.17.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
src/cli/commands/provider.ts View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @allternit/gizzi-code@2.17.0
matchedPath = src/cli/commands/provider.ts
matchedIdentity = npm:QGFsbHRlcm5pdC9naXp6aS1jb2Rl:2.17.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
src/cli/factory/swarm.ts View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @allternit/gizzi-code@2.17.0
matchedPath = src/cli/factory/swarm.ts
matchedIdentity = npm:QGFsbHRlcm5pdC9naXp6aS1jb2Rl:2.17.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
src/cli/mission/actions.ts View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @allternit/gizzi-code@2.17.0
matchedPath = src/cli/mission/actions.ts
matchedIdentity = npm:QGFsbHRlcm5pdC9naXp6aS1jb2Rl:2.17.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
src/cli/ui/ink-app/utils/powershell/parser.ts View file Medium Secret pattern
Hardcoded password in src/cli/ui/ink-app/utils/powershell/parser.ts
src/cli/ui/ink-app/utils/powershell/parser.ts View on unpkg · L1343 Code excerpt · 3 lines 1343 patternName = generic_password
severity = medium
line = 1343
AI assessment confidence 94%
Certainty of the verdict, not severity.
Verdict details Intent, False-positive risk, Review stage, Firewall policy Another service's credential sent to the publisher. An LPM review rule requires blocking this behavior, but the AI review did not find malware intent; this finding does not say the publisher attacks its users.
Package metadata npm Version 2.18.0
Latest on npm 2.19.0
Published Nov 20, 2026
License Apache-2.0
Dependencies 5
Integrity verified
Package size 73.3 MB
Files 4,159
Keywords allternitchitect shell terminal tui cli gizzi-code
Runtime surface package.json Entrypoints exports map bin → gizzi, gizzi-code
Runtime No engine / OS / CPU constraints
Artifact 252 MB unpacked · 4,159 files 2 signatures
Install lifecycle prepublishOnly
On this report AI security review Decision evidence Findings36 Flagged code28 Remediation Package metadata 8 findings
Medium Network
Medium Environment variables
Medium Structural risk force deep review
Low Non install lifecycle scripts
"eval"
"1.2"
"http://schemas.microsoft.com/windows/2004/02/mit/task"
122 <RegistrationInfo><Description>${xmlEscape (opts.description)}</Description></RegistrationInfo>
151 export function cronStateDir (): string {
152 const override = process.env.GIZZI_CRON_STATE_DIR?.trim ()
153 if (override) return override
46 const c = JSON.parse (fs.readFileSync (cachePath (), "utf8" )) as CacheFile
47 return c && typeof c.accounts === "object" ? c : { accounts: {} }
82 async function fetchFlag (token: string): Promise<boolean | undefined > {
83 const base = (process.env.ALLTERNIT_CLOUD_URL || "https://api.allternit.com" ).replace (/\/+$/, "" )
23 try { return await import ('playwright-core' ); } catch {}
24 const req = createRequire (path.join (HERE, 'package.json' ));
25 try { return await import (pathToFileURL (req.resolve ('playwright-core' )).href); } catch {}
35 function findChrome () {
36 if (process.env.CHROME) return process.env.CHROME;
37 for (const f of ['/Applications/Google Chrome.app/Contents/MacOS/Google Chrome' , '/Applications/Chromium.app/Contents/MacOS/Chromium' ,
90 function kimiBaseUrl (): string {
91 return (process.env.KIMI_CODE_BASE_URL ?? "https://api.kimi.com/coding/v1" ).replace (/\/+$/, "" )
161 // (openrouter.ai/docs/api-reference/get-credits and /get-api-key-info):
162 // GET /api/v1/credits → { data: { total_credits, total_usage } }
163 // GET /api/v1/auth/key → { data: { usage, limit, is_free_tier, … } }