---
canonical: "https://firewall.lpm.dev/npm/@kody-ade/kody-engine"
markdown: "https://firewall.lpm.dev/npm/@kody-ade/kody-engine/v/0.4.640.md"
package: "@kody-ade/kody-engine"
report_status: "published"
title: "@kody-ade/kody-engine@0.4.640 npm security report"
verdict: "suspicious"
version: "0.4.640"
---

# @kody-ade/kody-engine@0.4.640 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
**Flagged — allowed with a warning** — Allowed by default policy, but 18 finding(s) warrant review before installing.

- **Verdict:** Suspicious
- **Product-default install policy:** Warn
- **Firewall policy:** Matched warn-list
- **Public report status:** Published
- **Threat category:** None published
- **Selected version:** 0.4.640
- **Selected version is latest:** No
- **Analysis source:** AI Security Review (lpm-firewall-ai)

The AI recommended clean, but the final policy action is warn. This report does not record a matching static-policy override reason.

AI assessment: clean; recommendation: mark clean. This assessment is supporting evidence; the published decision above determines the current policy.

This package is a user-invoked autonomous development CLI. npm install does not run it. Network, secret-vault, and process use match the documented Kody dashboard, GitHub, preview hosts, and a local LiteLLM proxy.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Suspicious
- **Recorded analysis confidence:** 88.0%
- **Started:** 2026-09-17T18:00:14.896Z
- **Finished:** 2026-09-17T18:06:51.442Z
- **Download time:** 1293 ms
- **Static scan time:** 4012 ms
- **AI review time:** 391240 ms
- **Total time:** 396546 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:** This package is a user-invoked autonomous development CLI. npm install does not run it. Network, secret-vault, and process use match the documented Kody dashboard, GitHub, preview hosts, and a local LiteLLM proxy.

- **Trigger:** A user runs kody-engine, or a workflow they added with kody-engine init.

- **Impact:** no unconsented install-time mutation or hidden exfiltration

- **Review source:** ai\_review

- **Reviewed:** 2026-09-17T18:06:51.442Z

### AI review details

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

- **Mechanism:** no confirmed covert attack

- **Rationale:** Static review of package.json and dist/bin/kody.js shows a large coding-agent CLI with no registry install hook. Scanner exfil and credential-redirect labels describe the product dashboard and a localhost LiteLLM proxy, so the artifact is package-aligned rather than malware.

### Review decision

- **Verdict:** Clean

- **Confidence:** 88.0%

- **Recommended action:** mark\_clean

- **Intent class:** Benign

- **False-positive risk:** Low

- **Final policy explanation:** The AI recommended clean, but the final policy action is warn. This report does not record a matching static-policy override reason.

- **Evidence for AI clean decision:** package.json has no preinstall, install, or postinstall hook; the published bin is the kody-engine CLI and the only lifecycle script is publisher-side prepublishOnly., The hardcoded receiver is the product dashboard at kody-dashboard-khaki.vercel.app, used with a kody-api OIDC audience., Secret writes to that dashboard run only when GitHub Actions OIDC identity is present and env fallbacks were used., ANTHROPIC\_BASE\_URL is pointed at a local LiteLLM proxy on localhost, not a remote unofficial gateway., kody-engine init is an explicit user command that writes kody.config.json and .github/workflows/kody.yml.

- **Evidence against:** Scanner high findings all sit in one bundled CLI that a coding-agent product would normally need: env access, GitHub/Fly/dashboard calls, and child\_process., Fingerprint and similarity hits describe this same engine, not a hidden second payload., No obfuscation, no install-time agent-config hijack, and no self-dependency lifecycle chain.

## Affected versions and remediation

This report applies to @kody-ade/kody-engine@0.4.640.

- Review the evidence and your use of @kody-ade/kody-engine@0.4.640 before allowing it. Restrict the permissions described in this report.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.

## Public findings

### 1. Low: Non Install Lifecycle Scripts
- **Category:** Manifest
- **Confidence:** 80.0%

Package declares lifecycle scripts that are not normally run for registry tarball installs.

### 2. Low: Scripts Present
- **Category:** Manifest
- **Confidence:** 100.0%

Package declares npm scripts.

### 3. High: Child Process
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** dist/bin/kody.js
- **Public source:** [View source](<https://unpkg.com/@kody-ade/kody-engine@0.4.640/dist/bin/kody.js>)

Package source references child process execution.

Public source snippet (untrusted):

```javascript
L1281: // src/verify.ts
L1282: import { spawn } from "child_process";
L1283: function buildVerifyEnv(source = process.env) {
```

### 4. High: Shell
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** dist/bin/kody.js
- **Public source:** [View source](<https://unpkg.com/@kody-ade/kody-engine@0.4.640/dist/bin/kody.js>)

Package source references shell execution.

Public source snippet (untrusted):

```javascript
L1314: cwd,
L1315: shell: true,
L1316: env: buildVerifyEnv(),
```

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

Package source references network APIs.

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

Package source references environment variables.

### 7. Low: Filesystem
- **Category:** Source
- **Confidence:** 70.0%

Package source references filesystem APIs.

### 8. High: Same File Env Network Execution
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** dist/bin/kody.js
- **Public source:** [View source](<https://unpkg.com/@kody-ade/kody-engine@0.4.640/dist/bin/kody.js>)

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

Public source snippet (untrusted):

```javascript
L4251: // src/repoWorkspace.ts
L4252: import { spawn as spawn2, spawnSync } from "child_process";
L4253: import * as fs11 from "fs";
L4254: import * as path13 from "path";
L4255: function buildCloneProcess(repo, token, baseEnv = process.env) {
L4256: const url = `https://github.com/${repo}.git`;
L4257: const env = { ...baseEnv };
```

### 9. Critical: Hardcoded Runtime Data Exfiltration
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** dist/bin/kody.js
- **Public source:** [View source](<https://unpkg.com/@kody-ade/kody-engine@0.4.640/dist/bin/kody.js>)

Source sends credentials or rich application records to a package-controlled external receiver enabled by default.

Public source snippet (untrusted):

```javascript
Source sends the broad process environment to a literal external destination.
L11: 
L12: // package.json
L13: var package_default;
...
L22: type: "git",
L23: url: "git+https://github.com/aharonyaircohen/kody-engine.git"
L24: },
...
L100: const raw = fs.readFileSync(path.join(pkgDir, "package.json"), "utf8");
L101: const v = JSON.parse(raw)?.version;
L102: return typeof v === "string" && v.length > 0 ? v : "unknown";
...
L113: let source = null;
L114: for (const spec of candidateSpecs(process.platform, process.arch)) {
L115: try {
```

### 10. High: Credential Redirect Persistence
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** dist/bin/kody.js
- **Public source:** [View source](<https://unpkg.com/@kody-ade/kody-engine@0.4.640/dist/bin/kody.js>)

Manifest-reachable source sends a prompted API credential to a fixed unofficial gateway and persists the redirection.

Public source snippet (untrusted):

```javascript
Manifest-reachable source captures an API credential, sends it to a fixed unofficial gateway, and persists that redirection in agent or shell configuration.
dist/bin/kody.js:
const tmp = path.join(destDir, `.claude.${process.pid}.${Date.now()}.tmp`);
const baseURL = optionalRuntimeString(record2, "baseURL");
if (baseURL) out.baseURL = baseURL;
const baseURL = optionalRuntimeString(record2, "baseURL");
if (baseURL) model.baseURL = baseURL;
fs4.writeFileSync(contract.path, JSON.stringify(value), { mode: 384 });
const cc = profile.claudeCode;
fs5.mkdirSync(path7.join(root, ".claude-plugin"), { recursive: true });
```

### 11. High: Command Output Exfiltration
- **Category:** Source
- **Confidence:** 82.0%
- **Path:** dist/bin/kody.js
- **Public source:** [View source](<https://unpkg.com/@kody-ade/kody-engine@0.4.640/dist/bin/kody.js>)

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

Public source snippet (untrusted):

```javascript
L11: 
L12: // package.json
L13: var package_default;
...
L22: type: "git",
L23: url: "git+https://github.com/aharonyaircohen/kody-engine.git"
L24: },
...
L100: const raw = fs.readFileSync(path.join(pkgDir, "package.json"), "utf8");
L101: const v = JSON.parse(raw)?.version;
L102: return typeof v === "string" && v.length > 0 ? v : "unknown";
...
L113: let source = null;
L114: for (const spec of candidateSpecs(process.platform, process.arch)) {
L115: try {
```

### 12. High: Sandbox Evasion Gated Capability
- **Category:** Source
- **Confidence:** 84.0%
- **Path:** dist/bin/kody.js
- **Public source:** [View source](<https://unpkg.com/@kody-ade/kody-engine@0.4.640/dist/bin/kody.js>)

Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.

Public source snippet (untrusted):

```javascript
L11: 
L12: // package.json
L13: var package_default;
...
L22: type: "git",
L23: url: "git+https://github.com/aharonyaircohen/kody-engine.git"
L24: },
...
L100: const raw = fs.readFileSync(path.join(pkgDir, "package.json"), "utf8");
L101: const v = JSON.parse(raw)?.version;
L102: return typeof v === "string" && v.length > 0 ? v : "unknown";
...
L113: let source = null;
L114: for (const spec of candidateSpecs(process.platform, process.arch)) {
L115: try {
```

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

Package source contains high-entropy string patterns.

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

Package source contains URL literals.

### 15. Medium: Ships Build Helper
- **Category:** Artifact Inventory
- **Confidence:** 70.0%
- **Path:** dist/runtime-services/goal-scheduler/scheduler.sh
- **Public source:** [View source](<https://unpkg.com/@kody-ade/kody-engine@0.4.640/dist/runtime-services/goal-scheduler/scheduler.sh>)

Package ships non-JavaScript build or shell helper files.

Public source snippet (untrusted):

```shell
path = dist/runtime-services/goal-scheduler/scheduler.sh
kind = build_helper
sizeBytes = 31266
magicHex = [redacted]
```

### 16. Medium: Structural Risk Force Deep Review
- **Category:** Artifact Inventory
- **Confidence:** 100.0%

Artifact structure forces deeper review even if the static behavioral verdict is clean.

### 17. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** dist/bin/kody.js
- **Public source:** [View source](<https://unpkg.com/@kody-ade/kody-engine@0.4.640/dist/bin/kody.js>)

Source file is highly similar to a previously finalized malicious package; route for source-aware review.

Public source snippet (untrusted):

```javascript
matchType = normalized_sha256
matchedPackage = @kody-ade/kody-engine@0.4.643
matchedPath = dist/bin/kody.js
matchedIdentity = npm:QGtvZHktYWRlL2tvZHktZW5naW5l:0.4.643
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 18. High: Known Malware Source Fingerprint Signature
- **Category:** Supply Chain
- **Confidence:** 94.0%
- **Path:** dist/bin/kody.js
- **Public source:** [View source](<https://unpkg.com/@kody-ade/kody-engine@0.4.640/dist/bin/kody.js>)

Source fingerprint signature matches a known malicious package signature; route for source-aware review.

Public source snippet (untrusted):

```javascript
matchType = malicious_source_fingerprint_signature
signature = 21ddb286f563a65f
signatureType = suspicious_hashes
sourceLabel = final_verdict:malicious
matchedPackage = @kody-ade/kody-engine@0.4.643
matchedPath = dist/bin/kody.js
matchedIdentity = npm:QGtvZHktYWRlL2tvZHktZW5naW5l:0.4.643
similarity = 1.000
shingleOverlap = 3
summary = package final verdict is malicious
```

## Dependencies and install lifecycle
- **Lifecycle scripts present:** Yes
- **Published lifecycle scripts:** prepublishOnly
- **Dependencies:** 7
- **Optional dependencies:** 0
- **Peer dependencies:** 0
- **Development dependencies:** 7
- **Published dependency-graph edges:** 7

### Published dependency entries
- @actions/cache ^6.0.0 (Dependency)
- @anthropic-ai/claude-agent-sdk 0.2.119 (Dependency)
- @kody-ade/engine-contracts ^0.2.0 (Dependency)
- @modelcontextprotocol/sdk ^1.29.0 (Dependency)
- ajv ^8.18.0 (Dependency)
- convex ^1.17.0 (Dependency)
- zod ^4.0.0 (Dependency)

## Package metadata
- **Package:** @kody-ade/kody-engine
- **Ecosystem:** npm
- **Version:** 0.4.640
- **License:** MIT
- **Version published:** 2026-08-26T23:17:27.945Z
- **Package first seen:** 2026-06-30T21:46:36.547Z
- **Package last seen:** 2026-09-19T07:30:52.711Z
- **Known versions:** 155
- **Latest version:** 0.4.658
- **Appeal under review:** No
- **Description:** kody — autonomous development engine. Single-session Claude Code agent behind a generic executor + declarative implementation profiles.
- **Maintainers:** kody-ade
- **Runtime engines:** node: \>=22
- **Artifact files:** 43
- **Artifact unpacked size:** 1,364,560 bytes
- **Artifact signatures:** 1
- **Attestations:** Yes
- **Provenance:** https://slsa.dev/provenance/v1

## References
- [HTML security report](<https://firewall.lpm.dev/npm/@kody-ade/kody-engine/v/0.4.640>)
- [Repository](<https://github.com/aharonyaircohen/kody-engine>)
- [Issues](<https://github.com/aharonyaircohen/kody-engine/issues>)
