---
canonical: "https://firewall.lpm.dev/npm/tinycode-ai/v/1.17.1"
markdown: "https://firewall.lpm.dev/npm/tinycode-ai/v/1.17.1.md"
package: "tinycode-ai"
report_status: "published"
title: "tinycode-ai@1.17.1 npm security report"
verdict: "clean"
version: "1.17.1"
---

# tinycode-ai@1.17.1 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
**Allowed — no malicious behavior detected** — 12 low-signal patterns reviewed and cleared.

- **Verdict:** Clean
- **Product-default install policy:** Allow
- **Firewall policy:** No policy match
- **Public report status:** Published
- **Threat category:** None published
- **Selected version:** 1.17.1
- **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: clean; recommendation: mark clean. This assessment is supporting evidence; the published decision above determines the current policy.

The postinstall behavior supports the package's CLI by selecting a matching tinycode platform package and installing its binary. The platform binaries were unavailable for inspection, but this alone does not establish malicious behavior, and the inspected installer shows no unrelated data collection or destination.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Clean
- **Recorded analysis confidence:** 92.0%
- **Started:** 2026-11-22T08:20:57.294Z
- **Finished:** 2026-11-22T08:21:26.712Z
- **Download time:** 520 ms
- **Static scan time:** 24 ms
- **AI review time:** 28873 ms
- **Total time:** 29418 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:** No attack was identified. The install hook sets up and verifies the package's platform-specific CLI binary.

- **Trigger:** Runs during installation through the postinstall lifecycle script.

- **Impact:** Installs the CLI for the current platform; no unrelated data collection or account action was found in the inspected source.

- **Review source:** ai\_review

- **Reviewed:** 2026-11-22T08:21:26.712Z

### AI review details

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

- **Mechanism:** Selects a matching tinycode platform package, installs it with npm if needed, copies its binary into bin/tinycode.exe, and checks --version.

- **Rationale:** The postinstall behavior supports the package's CLI by selecting a matching tinycode platform package and installing its binary. The platform binaries were unavailable for inspection, but this alone does not establish malicious behavior, and the inspected installer shows no unrelated data collection or destination.

- **Files touched:** bin/tinycode.exe

### Review decision

- **Verdict:** Clean

- **Confidence:** 92.0%

- **Recommended action:** mark\_clean

- **Intent class:** Benign

- **False-positive risk:** Low

- **Evidence for AI clean decision:** The package exposes bin/tinycode.exe and runs postinstall.mjs to set up its CLI., The installer uses the version declared in optionalDependencies to install a matching tinycode platform package with npm and --ignore-scripts., The installer copies the selected platform binary into bin/tinycode.exe and verifies it by running --version., The shipped bin/tinycode.exe is a shell stub that explains the postinstall script was not run.

- **Evidence against:** The inspected installer contains no credential collection or network destination; its npm install retrieves a platform package for this CLI., The actual platform binaries were not available for inspection, but the package source shows they are selected and invoked as the CLI binary.

## Affected versions and remediation

This report applies to tinycode-ai@1.17.1.

- No action is needed for tinycode-ai@1.17.1. Pin the version in your lockfile and check new releases as they are scanned.

## Public findings

These are automated scan signals. The review checked each one and found no malicious behavior, so all of them are cleared.

### 1. High: Install Time Lifecycle Scripts (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Manifest
- **Confidence:** 90.0%
- **Path:** package.json
- **Public source:** [View source](<https://unpkg.com/tinycode-ai@1.17.1/package.json>)

Package defines install-time lifecycle scripts.

Public source snippet (untrusted):

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

### 2. Medium: Ambiguous Install Lifecycle Script (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Manifest
- **Confidence:** 75.0%
- **Path:** package.json
- **Public source:** [View source](<https://unpkg.com/tinycode-ai@1.17.1/package.json>)

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

Public source snippet (untrusted):

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

### 3. Low: Scripts Present (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Manifest
- **Confidence:** 100.0%

Package declares npm scripts.

### 4. Low: Filesystem (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 70.0%

Package source references filesystem APIs.

### 5. Low: High Entropy Strings (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Supply Chain
- **Confidence:** 55.0%

Package source contains high-entropy string patterns.

### 6. Medium: Ships Native Binary (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Artifact Inventory
- **Confidence:** 75.0%
- **Path:** bin/tinycode.exe
- **Public source:** [View source](<https://unpkg.com/tinycode-ai@1.17.1/bin/tinycode.exe>)

Package ships native binary artifacts.

Public source snippet (untrusted):

```text
path = bin/tinycode.exe
kind = native_binary
sizeBytes = 479
magicHex = [redacted]
```

### 7. Medium: Structural Risk Force Deep Review (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Artifact Inventory
- **Confidence:** 85.0%

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

### 8. High: Semantic Analysis Limited (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Scanner Coverage
- **Confidence:** 100.0%
- **Path:** bin/tinycode.exe
- **Public source:** [View source](<https://unpkg.com/tinycode-ai@1.17.1/bin/tinycode.exe>)

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

Public source snippet (untrusted):

```text
stage = ast_semantic_analysis; reason = ast_parse_error; limitedFiles = 1
```

### 9. Low: Suspicious Lifecycle Evidence (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Manifest
- **Confidence:** 92.0%
- **Path:** package.json
- **Public source:** [View source](<https://unpkg.com/tinycode-ai@1.17.1/package.json>)

The package exposes bin/tinycode.exe and runs postinstall.mjs to set up its CLI.

Public source snippet (untrusted):

```json
"bin": {
    "tinycode": "./bin/tinycode.exe"
  },
  "scripts": {
    "postinstall": "node ./postinstall.mjs"
  },
  "version": "v1.17.1",
  "license": "MIT",
  "os": [
    "darwin",
    "linux",
    "win32"
```

### 10. Low: Suspicious Dependency Evidence (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Dependency
- **Confidence:** 92.0%
- **Path:** postinstall.mjs
- **Public source:** [View source](<https://unpkg.com/tinycode-ai@1.17.1/postinstall.mjs>)

The installer uses the version declared in optionalDependencies to install a matching tinycode platform package with npm and --ignore-scripts.

Public source snippet (untrusted):

```javascript
function installPackage(name) {
  const version = packageJson.optionalDependencies?.[name]
  if (!version) return

  const temp = fs.mkdtempSync(path.join(os.tmpdir(), "tinycode-install-"))
  try {
    const result = childProcess.spawnSync(
      "npm",
      ["install", "--ignore-scripts", "--no-save", "--loglevel=error",
```

### 11. Low: Ai Review Evidence (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Ai Review
- **Confidence:** 92.0%
- **Path:** postinstall.mjs
- **Public source:** [View source](<https://unpkg.com/tinycode-ai@1.17.1/postinstall.mjs>)

The installer copies the selected platform binary into bin/tinycode.exe and verifies it by running --version.

Public source snippet (untrusted):

```javascript
function verifyBinary() {
  const result = childProcess.spawnSync(targetBinary, ["--version"], {
    encoding: "utf8",
    stdio: "ignore",
    windowsHide: true,
  })
  return result.status === 0
}

function main()
```

### 12. Low: Suspicious Lifecycle Evidence (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Manifest
- **Confidence:** 92.0%
- **Path:** bin/tinycode.exe
- **Public source:** [View source](<https://unpkg.com/tinycode-ai@1.17.1/bin/tinycode.exe>)

The shipped bin/tinycode.exe is a shell stub that explains the postinstall script was not run.

Public source snippet (untrusted):

```text
echo "Error: tinycode-ai's postinstall script was not run." >&2
echo "" >&2
echo "This occurs when using --ignore-scripts during installation, or when using a" >&2
echo "package manager like pnpm that does not run postin
```

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

### Published dependency entries
- tinycode-darwin-arm64 v1.17.1 (OptionalDependency)
- tinycode-darwin-x64 v1.17.1 (OptionalDependency)
- tinycode-darwin-x64-baseline v1.17.1 (OptionalDependency)
- tinycode-linux-arm64 v1.17.1 (OptionalDependency)
- tinycode-linux-arm64-musl v1.17.1 (OptionalDependency)
- tinycode-linux-x64 v1.17.1 (OptionalDependency)
- tinycode-linux-x64-baseline v1.17.1 (OptionalDependency)
- tinycode-linux-x64-baseline-musl v1.17.1 (OptionalDependency)
- tinycode-linux-x64-musl v1.17.1 (OptionalDependency)
- tinycode-windows-arm64 v1.17.1 (OptionalDependency)
- tinycode-windows-x64 v1.17.1 (OptionalDependency)
- tinycode-windows-x64-baseline v1.17.1 (OptionalDependency)

## Package metadata
- **Package:** tinycode-ai
- **Ecosystem:** npm
- **Version:** 1.17.1
- **License:** MIT
- **Version published:** 2026-08-10T22:07:30.715Z
- **Package first seen:** 2026-09-03T17:18:56.749Z
- **Package last seen:** 2026-11-22T08:21:28.610Z
- **Known versions:** 5
- **Latest version:** 1.20.0
- **Appeal under review:** No
- **Maintainers:** bobbyjohnstx
- **Supported OS:** darwin, linux, win32
- **Supported CPU:** arm64, x64
- **Artifact files:** 4
- **Artifact unpacked size:** 7,865 bytes
- **Artifact signatures:** 1
- **Attestations:** No

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