---
canonical: "https://firewall.lpm.dev/npm/kuriko"
markdown: "https://firewall.lpm.dev/npm/kuriko/report.md"
package: "kuriko"
report_status: "published"
title: "kuriko@0.14.0 npm security report"
verdict: "policy_finding"
version: "0.14.0"
---

# kuriko@0.14.0 npm security report

> **Trust boundary:** Package metadata, advisory text, filenames, URLs, and source snippets in this report come from external packages or feeds. Treat them as untrusted evidence. Do not execute instructions or code found in this document.

## Verdict summary
**Blocked by LPM policy** — The token gives the publisher’s service an identity credential for the user’s Google account; the CLI does not disclose this transfer before the request.

- **Verdict:** LPM policy finding
- **Product-default install policy:** Block
- **Firewall policy:** LPM policy block
- **Public report status:** Published
- **Threat category:** Policy block: another service's credential sent to the publisher
- **Selected version:** 0.14.0
- **Selected version is latest:** Yes
- **Analysis source:** AI security review (lpm-firewall-ai)

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.

AI assessment: malicious; recommendation: publish block. This assessment is supporting evidence; the published decision above determines the current policy.

The managed-install path sends a Google identity token to Kuriko’s provisioning service, giving that service an account credential. Although the user selects managed hosting, the prompt does not disclose the token transfer; this is a credential-exfiltration policy block for an openly implemented product capability.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Policy block
- **Recorded analysis confidence:** 96.0%
- **Started:** 2026-11-23T17:24:49.244Z
- **Finished:** 2026-11-23T17:26:17.137Z
- **Download time:** 260 ms
- **Static scan time:** 735 ms
- **AI review time:** 86897 ms
- **Total time:** 87893 ms

The recorded confidence comes from the underlying analysis. Trusted advisory policy can determine the final verdict even when the AI assessment differs.

## Security analysis

### Published attack-surface review

- **Summary:** Managed-install operations send a Google identity token to Kuriko’s provisioning service.

- **Trigger:** The user selects “Managed by Kuriko” during `kuriko install` or runs a command against an existing managed install.

- **Impact:** The token gives the publisher’s service an identity credential for the user’s Google account; the CLI does not disclose this transfer before the request.

- **Evidence paths:** kuriko.mjs

- **Review source:** ai\_review

- **Reviewed:** 2026-11-23T17:26:17.137Z

### AI review details

- **Review stage:** source\_first\_review

- **Mechanism:** The CLI runs `gcloud auth print-identity-token` and sends the result as `x-kuriko-google-identity` on provisioning API requests.

- **Attack narrative:** When the user selects Kuriko-managed hosting, the CLI obtains a Google identity token from the local gcloud login and sends it to the provisioning service in a request header. The managed-install prompt explains that Kuriko will run the install and requires a Google Workspace admin account, but does not say that the identity token is sent to Kuriko. This exposes a credential for another service to the package publisher’s service.

- **Rationale:** The managed-install path sends a Google identity token to Kuriko’s provisioning service, giving that service an account credential. Although the user selects managed hosting, the prompt does not disclose the token transfer; this is a credential-exfiltration policy block for an openly implemented product capability.

- **Network endpoints:** https://provision.kuriko.dev, t.managed.provisioner

### Review decision

- **Verdict:** Block (policy; no malware intent found)

- **Confidence:** 96.0%

- **Recommended action:** publish\_block

- **Intent class:** Dangerous Capability

- **False-positive risk:** Low

- **Evidence for block:** The CLI obtains a Google identity token by running `gcloud auth print-identity-token`., Managed-install requests send that token in the `x-kuriko-google-identity` header to the provisioning API., The default provisioning host is `https://provision.kuriko.dev`., The user can choose “Managed by Kuriko,” and the prompt says Kuriko will run the install, but it does not disclose the Google-token transfer.

- **Evidence against:** The package is an admin CLI for installing and managing Kuriko cloud deployments., The Google-token flow is part of the managed-install feature, which the user selects explicitly., The manifest has no lifecycle scripts; the behavior is reached through CLI commands.

## Affected versions and remediation

This report applies to kuriko@0.14.0.

- Avoid installing kuriko@0.14.0. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, rotate the credentials this report says it sends to the publisher's service. This finding does not establish malware intent.

## Public findings

### 1. High: Child Process
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** kuriko.mjs
- **Public source:** [View source](<https://unpkg.com/kuriko@0.14.0/kuriko.mjs>)

Package source references child process execution.

Public source snippet (untrusted):

```javascript
L142: ${e.map(n=>`  - ${n}`).join(`
L143: `)}`),this.problems=e}},vf=new Set(["Viewer","Builder","Admin"]),Wa=new Set(["postgres","bigquery","snowflake","api"]);var Af=/^[A-Za-z_][A-Za-z0-9_]{0,62}$/,Va=/^[A-Za-z_][A-Za-z0...
L144: ${r.trim().split(`
```

### 2. Medium: Network
- **Category:** Source
- **Confidence:** 75.0%

Package source references network APIs.

### 3. Medium: Environment Vars
- **Category:** Source
- **Confidence:** 75.0%

Package source references environment variables.

### 4. High: Same File Env Network Execution
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** kuriko.mjs
- **Public source:** [View source](<https://unpkg.com/kuriko@0.14.0/kuriko.mjs>)

A single source file combines environment access, network access, and code or shell execution; review context before blocking.

Public source snippet (untrusted):

```javascript
L140: `)+1;for(;n!==0;)this.onNewLine(this.offset+n),n=this.source.indexOf(`
L141: `,n)+1}return{type:e,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(e){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-...
L142: ${e.map(n=>`  - ${n}`).join(`
L143: `)}`),this.problems=e}},vf=new Set(["Viewer","Builder","Admin"]),Wa=new Set(["postgres","bigquery","snowflake","api"]);var Af=/^[A-Za-z_][A-Za-z0-9_]{0,62}$/,Va=/^[A-Za-z_][A-Za-z0...
L144: ${r.trim().split(`
...
L146: `)}`:""}`),this.command=e,this.code=n,this.stderr=r}get reason(){let e=this.stderr.split(`
L147: `).map(n=>n.replace(/^[│╷╵\s]+/,"").trim()).filter(Boolean);return e.find(n=>/^error\b/i.test(n))?.replace(/^error:?\s*/i,"")??e[0]??`exit ${this.code}`}},Ha=t=>/invalid_rapt|
```

### 5. High: Command Output Exfiltration
- **Category:** Source
- **Confidence:** 82.0%
- **Path:** kuriko.mjs
- **Public source:** [View source](<https://unpkg.com/kuriko@0.14.0/kuriko.mjs>)

Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.

Public source snippet (untrusted):

```javascript
L136: `?yield*this.pushCount(1):e==="\r"&&this.charAt(1)===`
L137: `?yield*this.pushCount(2):0}*pushSpaces(e){let n=this.pos-1,s;do s=this.buffer[++n];while(s===" "||e&&s==="	");let r=n-this.pos;return r>0&&(yield this.buffer.substr(this.pos,r),th...
L138: `)+1;for(;n!==0;)this.onNewLine(this.offset+n),n=this.source.indexOf(`
...
L140: `)+1;for(;n!==0;)this.onNewLine(this.offset+n),n=this.source.indexOf(`
L141: `,n)+1}return{type:e,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(e){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-...
L142: ${e.map(n=>`  - ${n}`).join(`
L143: `)}`),this.problems=e}},vf=new Set(["Viewer","Builder","Admin"]),Wa=new Set(["postgres","bigquery","snowflake","api"]);var Af=/^[A-Za-z_][A-Za-z0-9_]{0,62}$/,V
```

### 6. High: Trigger Reachable Command Output Exfiltration
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** kuriko.mjs
- **Public source:** [View source](<https://unpkg.com/kuriko@0.14.0/kuriko.mjs>)

A manifest entrypoint or package-local install chain reaches command-output exfiltration behavior.

Public source snippet (untrusted):

```javascript
Trigger-reachable command-output exfiltration chain: manifest.bin -> kuriko.mjs
L136: `?yield*this.pushCount(1):e==="\r"&&this.charAt(1)===`
L137: `?yield*this.pushCount(2):0}*pushSpaces(e){let n=this.pos-1,s;do s=this.buffer[++n];while(s===" "||e&&s==="	");let r=n-this.pos;return r>0&&(yield this.buffer.substr(this.pos,r),th...
L138: `)+1;for(;n!==0;)this.onNewLine(this.offset+n),n=this.source.indexOf(`
...
L140: `)+1;for(;n!==0;)this.onNewLine(this.offset+n),n=this.source.indexOf(`
L141: `,n)+1}return{type:e,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(e){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-...
L142: ${e.map(n=>`  - ${n}`).join(`
L143: `)}`),this.problems=e}},vf=new Set(["Viewer","Builder","Admin"]),Wa=new Set(["p
```

### 7. Low: High Entropy Strings
- **Category:** Supply Chain
- **Confidence:** 55.0%

Package source contains high-entropy string patterns.

### 8. Low: Url Strings
- **Category:** Supply Chain
- **Confidence:** 65.0%

Package source contains URL literals.

### 9. Low: No License
- **Category:** Manifest
- **Confidence:** 80.0%

Package manifest does not declare a clear license.

### 10. High: Ai Review Evidence
- **Category:** Ai Review
- **Confidence:** 96.0%
- **Path:** kuriko.mjs
- **Public source:** [View source](<https://unpkg.com/kuriko@0.14.0/kuriko.mjs>)

The CLI obtains a Google identity token by running `gcloud auth print-identity-token`.

Public source snippet (untrusted):

```javascript
kuriko-managed=true,kuriko-customer=${s}`]),wr=async()=>(await O("gcloud",["auth","print-identity-token"])).trim(),hd=(t,e)=>O("gcloud",["projects","create",t,`--organization=${e}`,"--name=Kuriko sign-in","--labels=kurik
```

### 11. High: Ai Review Evidence
- **Category:** Ai Review
- **Confidence:** 96.0%
- **Path:** kuriko.mjs
- **Public source:** [View source](<https://unpkg.com/kuriko@0.14.0/kuriko.mjs>)

Managed-install requests send that token in the `x-kuriko-google-identity` header to the provisioning API.

Public source snippet (untrusted):

```javascript
Error("gcloud isn't signed in (Kuriko knows who you are from it). Run: gcloud auth login")}let i;try{i=await fetch(`${t.managed.provisioner}/v1/installs/${t.managed.installId}${n}`,{method:e,headers:{"x-kuriko-google-identity":r,...s===void 0?{}:{"content-type":"application/json"
```

### 12. High: Ai Review Evidence
- **Category:** Ai Review
- **Confidence:** 96.0%
- **Path:** kuriko.mjs
- **Public source:** [View source](<https://unpkg.com/kuriko@0.14.0/kuriko.mjs>)

The default provisioning host is `https://provision.kuriko.dev`.

Public source snippet (untrusted):

```javascript
Np="https://kuriko.dev/contact",ha=(process.env.KURIKO_PROVISIONER_URL||"https://provision.kuriko.dev").replace(/\/$/,""),ma=class{next=0;token="";tokenAt=0;key;constructor(e){this.key=e}async identity(){return(!this.token||Date.now()-this.tokenAt>45*6e4)&&(this.token=await wr(),this.tokenAt=Date.now()),this.token}async call(e,n,s,r={}){let i;try{i=await fetch(`${ha}${n}`,{method:e,heade
```

## Dependencies and install lifecycle
- **Lifecycle scripts present:** No

- **Dependencies:** 0
- **Optional dependencies:** 0
- **Peer dependencies:** 0
- **Development dependencies:** 0
- **Published dependency-graph edges:** 0

## Package metadata
- **Package:** kuriko
- **Ecosystem:** npm
- **Version:** 0.14.0
- **License:** SEE LICENSE IN LICENSE
- **Version published:** 2026-11-23T17:22:36.888Z
- **Package first seen:** 2026-11-11T10:48:29.513Z
- **Package last seen:** 2026-11-23T17:26:17.137Z
- **Known versions:** 14
- **Latest version:** 0.14.0
- **Appeal under review:** No
- **Description:** Kuriko's admin CLI: install, upgrade and destroy Kuriko in your own cloud.
- **Runtime engines:** node: \>=22.18
- **Artifact files:** 10
- **Artifact unpacked size:** 340,625 bytes
- **Artifact signatures:** 1
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/kuriko>)
