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

# makecoder@4.1.98 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 45 finding(s) warrant review before installing.

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

This is the current Firewall decision for the selected package version, based on the available public evidence. Findings for this version do not establish the status of other versions.

AI assessment: suspicious; recommendation: downgrade to warn. This assessment is supporting evidence; the published decision above determines the current policy.

npm postinstall can install unpinned bun@latest and, on global installs, place bundled rg, ugrep, and bfs on the npm global PATH. The minified coder and cowork CLIs send the product API key to api.makecoder.com and can write other agents' skill directories; those files were not fully analyzable.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Suspicious
- **Recorded analysis confidence:** 72.0%
- **Started:** 2026-09-18T23:33:15.814Z
- **Finished:** 2026-09-18T23:42:36.195Z
- **Download time:** 2021 ms
- **Static scan time:** 17913 ms
- **AI review time:** 540446 ms
- **Total time:** 560381 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:** npm postinstall can install unpinned bun@latest and, on global installs, place bundled rg, ugrep, and bfs on the npm global PATH. The minified coder and cowork CLIs send the product API key to api.makecoder.com and can write other agents' skill directories; those files were not fully analyzable.

- **Trigger:** npm install runs postinstall; later running coder or cowork uses the API and skill-directory code.

- **Impact:** A global install can put package-shipped native tools on PATH; using the CLI can change other agents' skill trees; leftover minified code is unverified.

- **Evidence paths:** package.json, scripts/postinstall.js, dist/coder.js, dist/cowork.js

- **Review source:** ai\_review

- **Reviewed:** 2026-09-18T23:42:36.195Z

### AI review details

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

- **Mechanism:** install-time unpinned bun install and global PATH linking, plus runtime agent-skill directory writes

- **Rationale:** Inspected source shows a MakeCoder agent CLI with an aggressive postinstall (unpinned bun@latest and global search-tool links) and runtime writes into other agents' skill directories, but not a proven install-time steal or foreign-agent hijack. The minified entrypoints and Gemini bundles exceeded analysis coverage, so this stays a warning rather than clean or block.

- **Files touched:** scripts/postinstall.js, dist/coder.js, dist/cowork.js, .claude/skills, .agent\_context

- **Network endpoints:** https://api.makecoder.com/v1

### Review decision

- **Verdict:** Suspicious

- **Confidence:** 72.0%

- **Recommended action:** downgrade\_to\_warn

- **Intent class:** Dangerous Capability

- **False-positive risk:** Medium

- **Evidence for warning:** package.json registers coder and cowork bins and runs scripts/postinstall.js after npm install., postinstall can run npm install bun@latest into the package tree when bun is missing., On global installs, postinstall copies or symlinks bundled rg, ugrep, and bfs into the npm global bin directory., Minified dist/coder.js and dist/cowork.js store a MakeCoder API key and default requests to https://api.makecoder.com/v1., Those CLIs can create .claude/skills and .agent\_context and, on skill install, delete matching skill dirs under .claude, .codex, and .gemini., dist/coder.js, dist/cowork.js, and bundled Gemini chunks are too large for complete static analysis, so remaining behavior is not fully proven.

- **Evidence against:** postinstall does not rewrite Claude, Cursor, or other foreign agent config files; it installs bun, links search tools, and repairs native helper bits., The default API host is the product MakeCoder API, not a hidden third-party drop box., Gemini similarity hits match bundled dotenv, TOML, and gemini-cli updater chunks, not a hidden stealer., optionalDependencies pin same-version makecoder-bin platform packages, not another makecoder lifecycle release.

## Affected versions and remediation

This report applies to makecoder@4.1.98.

- Review the evidence and your use of makecoder@4.1.98 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. High: Install Time Lifecycle Scripts
- **Category:** Manifest
- **Confidence:** 90.0%
- **Path:** package.json
- **Public source:** [View source](<https://unpkg.com/makecoder@4.1.98/package.json>)

Package defines install-time lifecycle scripts.

Public source snippet (untrusted):

```json
scripts.postinstall = node scripts/postinstall.js
```

### 2. Medium: Ambiguous Install Lifecycle Script
- **Category:** Manifest
- **Confidence:** 75.0%
- **Path:** package.json
- **Public source:** [View source](<https://unpkg.com/makecoder@4.1.98/package.json>)

Install-time lifecycle script is not statically allowlisted and needs review.

Public source snippet (untrusted):

```json
scripts.postinstall = node scripts/postinstall.js
```

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

Package declares npm scripts.

### 4. High: Child Process
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** dist/coder.js
- **Public source:** [View source](<https://unpkg.com/makecoder@4.1.98/dist/coder.js>)

Package source references child process execution.

Public source snippet (untrusted):

```javascript
L7: `),r&&process.stderr.write(`Hint: ${r}
L8: `)}};CT.exports={CoderContext:Og,DEFAULT_BASE_URL:AT}});var Fg=q((pPe,jT)=>{"use strict";function dH(o,t){return Object.prototype.hasOwnProperty.call(o||{},t)}function lH({defaults...
L9: `);LT.exports={CODER_RUNTIME_PROMPT:pH}});var Ar=q((gPe,MT)=>{"use strict";var mH=require("os"),Fr=require("path");function un(){let o=process.env.COWORK_HOME||process.env.CODER_DA...
```

### 5. High: Shell
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** dist/coder.js
- **Public source:** [View source](<https://unpkg.com/makecoder@4.1.98/dist/coder.js>)

Package source references shell execution.

Public source snippet (untrusted):

```javascript
L370: `),t.push("**Use `--format json` for structured data.**\n"),t.push("The default brief includes the commands needed for the core agent loop. For everything else, run `coder flow --h...
L371: `),wX.platform()==="win32"?t.push("On Windows, **always write the comment body to a UTF-8 file with your file-write tool first, then post it with `--content-file <path>`** \u2014 d...
L372: `),t.push("The following code repositories are available in this workspace."),t.push("Use `coder flow repo checkout <url>` to check out a repository into your working directory. Ad...
```

### 6. Low: Eval
- **Category:** Source
- **Confidence:** 45.0%

Package source references a known benign dynamic code generation pattern.

### 7. Medium: Dynamic Require
- **Category:** Source
- **Confidence:** 75.0%
- **Path:** dist/zod/v4-mini/index.cjs
- **Public source:** [View source](<https://unpkg.com/makecoder@4.1.98/dist/zod/v4-mini/index.cjs>)

Package source references dynamic require/import behavior.

Public source snippet (untrusted):

```javascript
L16: Object.defineProperty(exports, "__esModule", { value: true });
L17: __exportStar(require("../v4/mini/index.cjs"), exports);
```

### 8. Low: Weak Crypto
- **Category:** Source
- **Confidence:** 64.0%
- **Path:** dist/coder.js
- **Public source:** [View source](<https://unpkg.com/makecoder@4.1.98/dist/coder.js>)

Package source references weak cryptographic algorithms.

Public source snippet (untrusted):

```javascript
L1: #!/usr/bin/env node
L2: var tH=Object.create;var OT=Object.defineProperty;var rH=Object.getOwnPropertyDescriptor;var aH=Object.getOwnPropertyNames;var sH=Object.getPrototypeOf,iH=Object.prototype.hasOwnPr...
L3: `);return}typeof t=="string"?process.stdout.write(t+`
...
L7: `),r&&process.stderr.write(`Hint: ${r}
L8: `)}};CT.exports={CoderContext:Og,DEFAULT_BASE_URL:AT}});var Fg=q((pPe,jT)=>{"use strict";function dH(o,t){return Object.prototype.hasOwnProperty.call(o||{},t)}function lH({defaults...
L9: `);LT.exports={CODER_RUNTIME_PROMPT:pH}});var Ar=q((gPe,MT)=>{"use strict";var mH=require("os"),Fr=require("path");function un(){let o=process.env.COWORK_HOME||process.env.CODER_DA...
L10: `;try{s.write(c),br&&(br.bytes+=Buffer.byteLength(c,"utf8"))}catch{}}function Lh(o,t,r,a){let s=$H[o.t
```

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

Package source references network APIs.

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

Package source references environment variables.

### 11. Medium: Install Persistence
- **Category:** Source
- **Confidence:** 75.0%
- **Path:** dist/coder.js
- **Public source:** [View source](<https://unpkg.com/makecoder@4.1.98/dist/coder.js>)

Source writes installer persistence such as shell profile or service configuration.

Public source snippet (untrusted):

```javascript
L1: #!/usr/bin/env node
L2: var tH=Object.create;var OT=Object.defineProperty;var rH=Object.getOwnPropertyDescriptor;var aH=Object.getOwnPropertyNames;var sH=Object.getPrototypeOf,iH=Object.prototype.hasOwnPr...
L3: `);return}typeof t=="string"?process.stdout.write(t+`
...
L7: `),r&&process.stderr.write(`Hint: ${r}
L8: `)}};CT.exports={CoderContext:Og,DEFAULT_BASE_URL:AT}});var Fg=q((pPe,jT)=>{"use strict";function dH(o,t){return Object.prototype.hasOwnProperty.call(o||{},t)}function lH({defaults...
L9: `);LT.exports={CODER_RUNTIME_PROMPT:pH}});var Ar=q((gPe,MT)=>{"use strict";var mH=require("os"),Fr=require("path");function un(){let o=process.env.COWORK_HOME||process.env.CODER_DA...
L10: `;try{s.write(c),br&&(br.bytes+=Buffer.byteLength(c,"utf8"))}catch{}}function Lh(o,t,r,a){let s=$H[o.t
```

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

Package source references filesystem APIs.

### 13. High: Same File Env Network Execution
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** dist/coder.js
- **Public source:** [View source](<https://unpkg.com/makecoder@4.1.98/dist/coder.js>)

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

Public source snippet (untrusted):

```javascript
L1: #!/usr/bin/env node
L2: var tH=Object.create;var OT=Object.defineProperty;var rH=Object.getOwnPropertyDescriptor;var aH=Object.getOwnPropertyNames;var sH=Object.getPrototypeOf,iH=Object.prototype.hasOwnPr...
L3: `);return}typeof t=="string"?process.stdout.write(t+`
...
L7: `),r&&process.stderr.write(`Hint: ${r}
L8: `)}};CT.exports={CoderContext:Og,DEFAULT_BASE_URL:AT}});var Fg=q((pPe,jT)=>{"use strict";function dH(o,t){return Object.prototype.hasOwnProperty.call(o||{},t)}function lH({defaults...
L9: `);LT.exports={CODER_RUNTIME_PROMPT:pH}});var Ar=q((gPe,MT)=>{"use strict";var mH=require("os"),Fr=require("path");function un(){let o=process.env.COWORK_HOME||process.env.CODER_DA...
```

### 14. Critical: Hardcoded Runtime Data Exfiltration
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** dist/coder.js
- **Public source:** [View source](<https://unpkg.com/makecoder@4.1.98/dist/coder.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.
L1: #!/usr/bin/env node
L2: var tH=Object.create;var OT=Object.defineProperty;var rH=Object.getOwnPropertyDescriptor;var aH=Object.getOwnPropertyNames;var sH=Object.getPrototypeOf,iH=Object.prototype.hasOwnPr...
L3: `);return}typeof t=="string"?process.stdout.write(t+`
...
L7: `),r&&process.stderr.write(`Hint: ${r}
L8: `)}};CT.exports={CoderContext:Og,DEFAULT_BASE_URL:AT}});var Fg=q((pPe,jT)=>{"use strict";function dH(o,t){return Object.prototype.hasOwnProperty.call(o||{},t)}function lH({defaults...
L9: `);LT.exports={CODER_RUNTIME_PROMPT:pH}});var Ar=q((gPe,MT)=>{"use strict";var mH=require("os"),Fr=require("path");function un(){let o=process.env.COWORK_HOME||process.env.CODER_DA...
L10: `;try{s.write(c),br&&(br
```

### 15. High: Host Fingerprint Exfiltration
- **Category:** Source
- **Confidence:** 86.0%
- **Path:** dist/coder.js
- **Public source:** [View source](<https://unpkg.com/makecoder@4.1.98/dist/coder.js>)

Source collects local host identity data and sends it to an external endpoint.

Public source snippet (untrusted):

```javascript
L1: #!/usr/bin/env node
L2: var tH=Object.create;var OT=Object.defineProperty;var rH=Object.getOwnPropertyDescriptor;var aH=Object.getOwnPropertyNames;var sH=Object.getPrototypeOf,iH=Object.prototype.hasOwnPr...
L3: `);return}typeof t=="string"?process.stdout.write(t+`
...
L7: `),r&&process.stderr.write(`Hint: ${r}
L8: `)}};CT.exports={CoderContext:Og,DEFAULT_BASE_URL:AT}});var Fg=q((pPe,jT)=>{"use strict";function dH(o,t){return Object.prototype.hasOwnProperty.call(o||{},t)}function lH({defaults...
L9: `);LT.exports={CODER_RUNTIME_PROMPT:pH}});var Ar=q((gPe,MT)=>{"use strict";var mH=require("os"),Fr=require("path");function un(){let o=process.env.COWORK_HOME||process.env.CODER_DA...
L10: `;try{s.write(c),br&&(br.bytes+=Buffer.byteLength(c,"utf8"))}catch{}}function Lh(o,t,r,a){let s=$H[o.t
```

### 16. High: Credential Redirect Persistence
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** dist/coder.js
- **Public source:** [View source](<https://unpkg.com/makecoder@4.1.98/dist/coder.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/coder.js:
var tH=Object.create;var OT=Object.defineProperty;var rH=Object.getOwnPropertyDescriptor;var aH=Object.getOwnPropertyNames;var sH=Object.getPrototypeOf,iH=Object.prototype.hasOwnPr...
`)}};CT.exports={CoderContext:Og,DEFAULT_BASE_URL:AT}});var Fg=q((pPe,jT)=>{"use strict";function dH(o,t){return Object.prototype.hasOwnProperty.call(o||{},t)}function lH({defaults...
`))}_getBunPlatformPackage(){let t=process.platform,r=process.arch;return{"darwin-arm64":"@oven-sh/bun-darwin-aarch64","darwin-x64":"@oven-sh/bun-darwin-x64","linux-arm64":"@oven-s...
\u8BF7\u68C0\u67E5\u7F51\u7EDC\uFF1A${Jh}`),1;let g=this._ensureClaudeAppIns
```

### 17. High: Command Output Exfiltration
- **Category:** Source
- **Confidence:** 82.0%
- **Path:** dist/coder.js
- **Public source:** [View source](<https://unpkg.com/makecoder@4.1.98/dist/coder.js>)

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

Public source snippet (untrusted):

```javascript
L1: #!/usr/bin/env node
L2: var tH=Object.create;var OT=Object.defineProperty;var rH=Object.getOwnPropertyDescriptor;var aH=Object.getOwnPropertyNames;var sH=Object.getPrototypeOf,iH=Object.prototype.hasOwnPr...
L3: `);return}typeof t=="string"?process.stdout.write(t+`
...
L7: `),r&&process.stderr.write(`Hint: ${r}
L8: `)}};CT.exports={CoderContext:Og,DEFAULT_BASE_URL:AT}});var Fg=q((pPe,jT)=>{"use strict";function dH(o,t){return Object.prototype.hasOwnProperty.call(o||{},t)}function lH({defaults...
L9: `);LT.exports={CODER_RUNTIME_PROMPT:pH}});var Ar=q((gPe,MT)=>{"use strict";var mH=require("os"),Fr=require("path");function un(){let o=process.env.COWORK_HOME||process.env.CODER_DA...
```

### 18. High: Sandbox Evasion Gated Capability
- **Category:** Source
- **Confidence:** 84.0%
- **Path:** dist/coder.js
- **Public source:** [View source](<https://unpkg.com/makecoder@4.1.98/dist/coder.js>)

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

Public source snippet (untrusted):

```javascript
L1: #!/usr/bin/env node
L2: var tH=Object.create;var OT=Object.defineProperty;var rH=Object.getOwnPropertyDescriptor;var aH=Object.getOwnPropertyNames;var sH=Object.getPrototypeOf,iH=Object.prototype.hasOwnPr...
L3: `);return}typeof t=="string"?process.stdout.write(t+`
...
L7: `),r&&process.stderr.write(`Hint: ${r}
L8: `)}};CT.exports={CoderContext:Og,DEFAULT_BASE_URL:AT}});var Fg=q((pPe,jT)=>{"use strict";function dH(o,t){return Object.prototype.hasOwnProperty.call(o||{},t)}function lH({defaults...
L9: `);LT.exports={CODER_RUNTIME_PROMPT:pH}});var Ar=q((gPe,MT)=>{"use strict";var mH=require("os"),Fr=require("path");function un(){let o=process.env.COWORK_HOME||process.env.CODER_DA...
L10: `;try{s.write(c),br&&(br.bytes+=Buffer.byteLength(c,"utf8"))}catch{}}function Lh(o,t,r,a){let s=$H[o.t
```

### 19. Critical: Remote Asset Decode Execute
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** dist/coder.js
- **Public source:** [View source](<https://unpkg.com/makecoder@4.1.98/dist/coder.js>)

Source fetches a remote non-code asset, decodes its contents, and dynamically executes the decoded payload.

Public source snippet (untrusted):

```javascript
L39: \u671F\u671B ${r.sha256}
L40: \u5B9E\u9645 ${s}`),!1)}_readInstalledAppVersion(){let t=ht.join(Us,"Contents","Info.plist");if(!Re.existsSync(t))return null;try{return Jg("plutil",["-extract","CFBundleShortVersi...
L41: entry=${a}
...
L44: `;Re.writeFileSync(`${g}.conf`,c),Re.writeFileSync(ht.join(this.userData,"claude-code",t,".verified"),""),process.env.CODER_DEBUG&&console.log(`[claude app] shim \u5B89\u88C5 -> ${...
L45: [debug]`),console.log(`  claude.app:      ${Us}`),console.log(`  requiredVersion: ${t||"(\u63A2\u6D4B\u5931\u8D25)"}`),console.log(`  deploymentMode:  ${r||"(\u672A\u8BBE\u7F6E)"}`...
L46: \u671F\u671B ${r.sha256}
...
L54: \u5B9E\u9645 ${d}`),1;process.env.CODER_DEBUG&&console.error("[coder app] sha256 \u6821\u9A8C\u901A\u8FC7")}let c=gn("hdiutil",["attach",n,"-nob
```

### 20. High: Copied Package Dependency Bridge
- **Category:** Source
- **Confidence:** 83.0%
- **Path:** dist/coder.js
- **Public source:** [View source](<https://unpkg.com/makecoder@4.1.98/dist/coder.js>)

Package metadata claims a different repository identity while copied source loads a runtime dependency bridge.

Public source snippet (untrusted):

```javascript
package = makecoder; repositoryIdentity = coder; dependency = commander
L2007: `).map(b=>b.replace(/^\s*[-*]\s*/,"").trim()).filter(b=>b.length>=4),v=0,_=0;for(let b of y){let w=$h.insertCandidate({sessionId:r,workspacePath:a,content:b,sourceFromSequence:g,so...
L2008: ${y.replace(v,"").trim()}`,{marker:v}).status==="saved"&&d++}}for(let f of g)bT.markPromoted(f);for(let f of c)bT.markDiscarded(f);return tEe.info(rEe,`promoted ${d}, deduped ${c.l...
L2009: `)),i.option("--format <fmt>","\u8F93\u51FA\u683C\u5F0F\uFF1Atext\uFF08\u9ED8\u8BA4\uFF09| json"),i.option("--apikey <key>","\u4E34\u65F6\u63D0\u4F9B API Key"),i.option("--install-...
```

### 21. High: External Ai Agent Control Surface Mutation
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** dist/coder.js
- **Public source:** [View source](<https://unpkg.com/makecoder@4.1.98/dist/coder.js>)

Runtime or CLI source writes behavior-bearing configuration into a user or project AI-agent control surface.

Public source snippet (untrusted):

```javascript
Runtime or CLI code links a write operation to an explicit external AI-agent control path:
top_reason==="max_tokens"?"max_turns":"completed";default:break}return o.stop_reason==="max_tokens"?"max_turns":"completed"}function jte(){return process.env.coder_claude_stub?{cmd:process.execpath,args:[process.env.coder_claude_stub]}:{cmd:process.execpath,args:[process.argv[1]]}}async function*vte({sessionid:o,text:t,model:r,workspace:a,permissionmode:s,systemprompt:i,env:n={},resumeclisessionid:e,onclisessionid:g,onpermissionrequest:c,oninitcapabilities:h,mcpconfig:d,adddirs:f,allowedtools:y,providerenv:v,signal:_}){let b=jte();if(!b){yield tr("error","\u627e\u4e0d\u5230 coder \u53ef\u6267\u884c\u6587\u4ef6\uff0c\u8bf7\u786e\u8ba4\u5df2\u5b89\u88c5");return}let w=typeof c=="function",t=["claude","
```

### 22. High: Cross File Remote Execution Context
- **Category:** Source
- **Confidence:** 72.0%
- **Path:** dist/coder.js
- **Public source:** [View source](<https://unpkg.com/makecoder@4.1.98/dist/coder.js>)

Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.

Public source snippet (untrusted):

```javascript
Cross-file remote execution chain: dist/coder.js spawns dist/cowork.js; helper contains network access plus dynamic code execution.
L1: #!/usr/bin/env node
L2: var tH=Object.create;var OT=Object.defineProperty;var rH=Object.getOwnPropertyDescriptor;var aH=Object.getOwnPropertyNames;var sH=Object.getPrototypeOf,iH=Object.prototype.hasOwnPr...
L3: `);return}typeof t=="string"?process.stdout.write(t+`
...
L7: `),r&&process.stderr.write(`Hint: ${r}
L8: `)}};CT.exports={CoderContext:Og,DEFAULT_BASE_URL:AT}});var Fg=q((pPe,jT)=>{"use strict";function dH(o,t){return Object.prototype.hasOwnProperty.call(o||{},t)}function lH({defaults...
L9: `);LT.exports={CODER_RUNTIME_PROMPT:pH}});var Ar=q((gPe,MT)=>{"use strict";var mH=require("os"),Fr=require("path");function un(){let o=process.env.COWORK_HOME|
```

### 23. Critical: Trigger Reachable Dangerous Capability
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** dist/coder.js
- **Public source:** [View source](<https://unpkg.com/makecoder@4.1.98/dist/coder.js>)

A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.

Public source snippet (untrusted):

```javascript
Trigger-reachable chain: manifest.main -> dist/coder.js
L1: #!/usr/bin/env node
L2: var tH=Object.create;var OT=Object.defineProperty;var rH=Object.getOwnPropertyDescriptor;var aH=Object.getOwnPropertyNames;var sH=Object.getPrototypeOf,iH=Object.prototype.hasOwnPr...
L3: `);return}typeof t=="string"?process.stdout.write(t+`
...
L7: `),r&&process.stderr.write(`Hint: ${r}
L8: `)}};CT.exports={CoderContext:Og,DEFAULT_BASE_URL:AT}});var Fg=q((pPe,jT)=>{"use strict";function dH(o,t){return Object.prototype.hasOwnProperty.call(o||{},t)}function lH({defaults...
L9: `);LT.exports={CODER_RUNTIME_PROMPT:pH}});var Ar=q((gPe,MT)=>{"use strict";var mH=require("os"),Fr=require("path");function un(){let o=process.env.COWORK_HOME||process.env.CODER_DA...
```

### 24. High: Trigger Reachable Command Output Exfiltration
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** dist/coder.js
- **Public source:** [View source](<https://unpkg.com/makecoder@4.1.98/dist/coder.js>)

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.main -> dist/coder.js
L1: #!/usr/bin/env node
L2: var tH=Object.create;var OT=Object.defineProperty;var rH=Object.getOwnPropertyDescriptor;var aH=Object.getOwnPropertyNames;var sH=Object.getPrototypeOf,iH=Object.prototype.hasOwnPr...
L3: `);return}typeof t=="string"?process.stdout.write(t+`
...
L7: `),r&&process.stderr.write(`Hint: ${r}
L8: `)}};CT.exports={CoderContext:Og,DEFAULT_BASE_URL:AT}});var Fg=q((pPe,jT)=>{"use strict";function dH(o,t){return Object.prototype.hasOwnProperty.call(o||{},t)}function lH({defaults...
L9: `);LT.exports={CODER_RUNTIME_PROMPT:pH}});var Ar=q((gPe,MT)=>{"use strict";var mH=require("os"),Fr=require("path");function un(){let o=process.env.COWORK_HOME||process.env.CODER_DA...
```

### 25. High: Trigger Reachable Persistence
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** dist/coder.js
- **Public source:** [View source](<https://unpkg.com/makecoder@4.1.98/dist/coder.js>)

A manifest entrypoint or package-local install chain reaches persistence behavior.

Public source snippet (untrusted):

```javascript
Trigger-reachable persistence chain: manifest.main -> dist/coder.js
L1: #!/usr/bin/env node
L2: var tH=Object.create;var OT=Object.defineProperty;var rH=Object.getOwnPropertyDescriptor;var aH=Object.getOwnPropertyNames;var sH=Object.getPrototypeOf,iH=Object.prototype.hasOwnPr...
L3: `);return}typeof t=="string"?process.stdout.write(t+`
...
L7: `),r&&process.stderr.write(`Hint: ${r}
L8: `)}};CT.exports={CoderContext:Og,DEFAULT_BASE_URL:AT}});var Fg=q((pPe,jT)=>{"use strict";function dH(o,t){return Object.prototype.hasOwnProperty.call(o||{},t)}function lH({defaults...
L9: `);LT.exports={CODER_RUNTIME_PROMPT:pH}});var Ar=q((gPe,MT)=>{"use strict";var mH=require("os"),Fr=require("path");function un(){let o=process.env.COWORK_HOME||process.env.CODER_DA...
L10: `;try{s.write(c),br&&(br.bytes+=Bu
```

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

Package source contains high-entropy string patterns.

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

Package source contains URL literals.

### 28. Medium: Ships Native Binary
- **Category:** Artifact Inventory
- **Confidence:** 75.0%
- **Path:** dist/linux-arm64/image-processor.node
- **Public source:** [View source](<https://unpkg.com/makecoder@4.1.98/dist/linux-arm64/image-processor.node>)

Package ships native binary artifacts.

Public source snippet (untrusted):

```text
path = dist/linux-arm64/image-processor.node
kind = native_binary
sizeBytes = 1275037
magicHex = [redacted]
```

### 29. Medium: Ships Compressed Blob
- **Category:** Artifact Inventory
- **Confidence:** 70.0%
- **Path:** dist/linux-arm64/template.html-29543a01.txt.zst
- **Public source:** [View source](<https://unpkg.com/makecoder@4.1.98/dist/linux-arm64/template.html-29543a01.txt.zst>)

Package ships compressed or archive-like blobs.

Public source snippet (untrusted):

```text
path = dist/linux-arm64/template.html-29543a01.txt.zst
kind = compressed_blob
sizeBytes = 18373
magicHex = [redacted]
```

### 30. Medium: Oversized Source File
- **Category:** Artifact Inventory
- **Confidence:** 70.0%
- **Path:** dist/gemini/chunk-GYTCBA2A.js
- **Public source:** [View source](<https://unpkg.com/makecoder@4.1.98/dist/gemini/chunk-GYTCBA2A.js>)

Package contains source files above the normal full-analysis size ceiling.

Public source snippet (untrusted):

```javascript
path = dist/gemini/chunk-GYTCBA2A.js
kind = oversized_source_file
sizeBytes = 7983738
magicHex = [redacted]
```

### 31. Medium: Oversized Cli Entrypoint
- **Category:** Artifact Inventory
- **Confidence:** 80.0%
- **Path:** dist/gemini/bundled/chrome-devtools-mcp.mjs
- **Public source:** [View source](<https://unpkg.com/makecoder@4.1.98/dist/gemini/bundled/chrome-devtools-mcp.mjs>)

Package contains an oversized executable-looking CLI entrypoint.

Public source snippet (untrusted):

```javascript
path = dist/gemini/bundled/chrome-devtools-mcp.mjs
kind = oversized_cli_entrypoint
sizeBytes = 11625049
magicHex = [redacted]
```

### 32. 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.

### 33. High: Semantic Analysis Limited
- **Category:** Scanner Coverage
- **Confidence:** 100.0%
- **Path:** dist/coder.js
- **Public source:** [View source](<https://unpkg.com/makecoder@4.1.98/dist/coder.js>)

A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.

Public source snippet (untrusted):

```javascript
stage = ast_semantic_analysis; reason = ast_path_work_budget_exceeded; limitedFiles = 6
```

### 34. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** dist/coder.js
- **Public source:** [View source](<https://unpkg.com/makecoder@4.1.98/dist/coder.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 = makecoder@4.1.97
matchedPath = dist/coder.js
matchedIdentity = npm:bWFrZWNvZGVy:4.1.97
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 35. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** dist/cowork.js
- **Public source:** [View source](<https://unpkg.com/makecoder@4.1.98/dist/cowork.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 = makecoder@4.1.97
matchedPath = dist/coder.js
matchedIdentity = npm:bWFrZWNvZGVy:4.1.97
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 36. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** dist/gemini/bundled/third\_party/index.js
- **Public source:** [View source](<https://unpkg.com/makecoder@4.1.98/dist/gemini/bundled/third_party/index.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 = makecoder@4.1.97
matchedPath = dist/gemini/bundled/third_party/index.js
matchedIdentity = npm:bWFrZWNvZGVy:4.1.97
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 37. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** dist/gemini/chunk-3G5WCY2I.js
- **Public source:** [View source](<https://unpkg.com/makecoder@4.1.98/dist/gemini/chunk-3G5WCY2I.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 = makecoder@4.1.97
matchedPath = dist/gemini/chunk-3G5WCY2I.js
matchedIdentity = npm:bWFrZWNvZGVy:4.1.97
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 38. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** dist/gemini/chunk-7LN472KC.js
- **Public source:** [View source](<https://unpkg.com/makecoder@4.1.98/dist/gemini/chunk-7LN472KC.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 = makecoder@4.1.97
matchedPath = dist/gemini/chunk-7LN472KC.js
matchedIdentity = npm:bWFrZWNvZGVy:4.1.97
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 39. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** dist/gemini/chunk-GYTCBA2A.js
- **Public source:** [View source](<https://unpkg.com/makecoder@4.1.98/dist/gemini/chunk-GYTCBA2A.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 = makecoder@4.1.97
matchedPath = dist/gemini/chunk-GYTCBA2A.js
matchedIdentity = npm:bWFrZWNvZGVy:4.1.97
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 40. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** dist/gemini/chunk-PE6GLDYB.js
- **Public source:** [View source](<https://unpkg.com/makecoder@4.1.98/dist/gemini/chunk-PE6GLDYB.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 = makecoder@4.1.97
matchedPath = dist/gemini/chunk-GYTCBA2A.js
matchedIdentity = npm:bWFrZWNvZGVy:4.1.97
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 41. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** scripts/postinstall.js
- **Public source:** [View source](<https://unpkg.com/makecoder@4.1.98/scripts/postinstall.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 = makecoder@4.1.97
matchedPath = scripts/postinstall.js
matchedIdentity = npm:bWFrZWNvZGVy:4.1.97
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 42. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** dist/codex.mjs
- **Public source:** [View source](<https://unpkg.com/makecoder@4.1.98/dist/codex.mjs>)

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 = makecoder@4.1.97
matchedPath = dist/codex.mjs
matchedIdentity = npm:bWFrZWNvZGVy:4.1.97
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 43. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** dist/gemini/chunk-2RNP2FS2.js
- **Public source:** [View source](<https://unpkg.com/makecoder@4.1.98/dist/gemini/chunk-2RNP2FS2.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 = makecoder@4.1.97
matchedPath = dist/gemini/chunk-2RNP2FS2.js
matchedIdentity = npm:bWFrZWNvZGVy:4.1.97
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 44. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** dist/gemini/chunk-ITDN6TZ7.js
- **Public source:** [View source](<https://unpkg.com/makecoder@4.1.98/dist/gemini/chunk-ITDN6TZ7.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 = makecoder@4.1.97
matchedPath = dist/gemini/chunk-ITDN6TZ7.js
matchedIdentity = npm:bWFrZWNvZGVy:4.1.97
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 45. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** dist/gemini/chunk-UABHUQM5.js
- **Public source:** [View source](<https://unpkg.com/makecoder@4.1.98/dist/gemini/chunk-UABHUQM5.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 = makecoder@4.1.97
matchedPath = dist/gemini/chunk-ITDN6TZ7.js
matchedIdentity = npm:bWFrZWNvZGVy:4.1.97
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

## Dependencies and install lifecycle
- **Lifecycle scripts present:** Yes
- **Published lifecycle scripts:** postinstall
- **Dependencies:** 9
- **Optional dependencies:** 4
- **Peer dependencies:** 0
- **Development dependencies:** 1
- **Published dependency-graph edges:** 13

### Published dependency entries
- @larksuiteoapi/node-sdk ^1.59.0 (Dependency)
- @wecom/aibot-node-sdk 1.0.7 (Dependency)
- bun \>=1.3.12 (Dependency)
- commander ^15.0.0 (Dependency)
- node-fetch ^3.3.2 (Dependency)
- node-pty ^1.1.0 (Dependency)
- open ^10.1.0 (Dependency)
- ws ^8.21.0 (Dependency)
- zod ^3.25.76 (Dependency)
- makecoder-bin-darwin-arm64 4.1.98 (OptionalDependency)
- makecoder-bin-linux-arm64 4.1.98 (OptionalDependency)
- makecoder-bin-linux-x64 4.1.98 (OptionalDependency)
- makecoder-bin-win-x64 4.1.98 (OptionalDependency)

## Package metadata
- **Package:** makecoder
- **Ecosystem:** npm
- **Version:** 4.1.98
- **License:** MIT
- **Version published:** 2026-09-18T08:51:47.905Z
- **Package first seen:** 2026-07-01T10:03:26.330Z
- **Package last seen:** 2026-10-07T21:06:44.161Z
- **Known versions:** 51
- **Latest version:** 5.0.34
- **Appeal under review:** No
- **Description:** MakeCoder Coder: AI Agent Runtime OS that runs and orchestrates Claude Code, Codex, Gemini and more across CLI, API, Web and chat
- **Author:** makecoder
- **Maintainers:** makecoder
- **Keywords:** ai-agent-runtime, agent-os, ai, cli, claude, gemini, codex, agent, orchestration, llm
- **Runtime engines:** node: \>=20.0.0
- **Artifact files:** 1815
- **Artifact unpacked size:** 266,240,677 bytes
- **Artifact signatures:** 2
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/makecoder/v/4.1.98>)
- [Repository](<https://github.com/makecoderai/coder>)
- [Issues](<https://github.com/makecoderai/coder/issues>)
