---
canonical: "https://firewall.lpm.dev/npm/@wix/ditto-codegen-public/v/1.0.493"
markdown: "https://firewall.lpm.dev/npm/@wix/ditto-codegen-public/v/1.0.493.md"
package: "@wix/ditto-codegen-public"
report_status: "published"
title: "@wix/ditto-codegen-public@1.0.493 npm security report"
verdict: "clean"
version: "1.0.493"
---

# @wix/ditto-codegen-public@1.0.493 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** — No malicious behavior detected. 18 low-signal pattern(s) reviewed.

- **Verdict:** Clean
- **Product-default install policy:** Allow
- **Firewall policy:** No policy match
- **Public report status:** Published
- **Threat category:** None published
- **Selected version:** 1.0.493
- **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 flagged credential flows are tied to Wix APIs and the configurable AI proxy used by this Wix code generation CLI. The feedback tool requires a relevant Wix docs citation before sending, and the manifest declares no install lifecycle hook.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Clean
- **Recorded analysis confidence:** 95.0%
- **Started:** 2026-10-29T21:38:15.428Z
- **Finished:** 2026-10-29T21:38:45.869Z
- **Download time:** 511 ms
- **Static scan time:** 2841 ms
- **AI review time:** 27088 ms
- **Total time:** 30441 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 reviewed credential and network behavior serves the package's Wix code generation features.

- **Trigger:** Runtime use of the code generation CLI, AI proxy, or explicitly invoked documentation feedback and telemetry tools.

- **Impact:** No unauthorized credential disclosure or unrelated data collection was identified in the reviewed paths.

- **Review source:** ai\_review

- **Reviewed:** 2026-10-29T21:38:45.869Z

### AI review details

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

- **Mechanism:** The CLI routes AI requests through a configurable proxy and uses Wix credentials for Wix account and project authorization. Feedback requests require a relevant Wix docs citation and go to a Wix API host.

- **Rationale:** The flagged credential flows are tied to Wix APIs and the configurable AI proxy used by this Wix code generation CLI. The feedback tool requires a relevant Wix docs citation before sending, and the manifest declares no install lifecycle hook.

- **Network endpoints:** www.wixapis.com, manage.wix.com, CODEGEN\_AI\_PROXY\_BASE\_URL (default http://localhost:3001)

### Review decision

- **Verdict:** Clean

- **Confidence:** 95.0%

- **Recommended action:** mark\_clean

- **Intent class:** Benign

- **False-positive risk:** Low

- **Evidence for AI clean decision:** The package describes itself as a Wix CLI app generator and exposes dist/out.js as its executable; its manifest has no install lifecycle hook., The feedback tool sends reports to a Wix API only after checking that the report cites a Wix docs URL or tool and is in scope., The feedback request uses a Wix access token and sends the report to www.wixapis.com, Wix's API host., The AI proxy URL is configurable through CODEGEN\_AI\_PROXY\_BASE\_URL and otherwise defaults to localhost; the configured Wix token is passed in headers for the proxy's described account authorization and billing behavior., The telemetry tools are described as running a query on the logs or backend requests of the code being edited and returning the result as untrusted data.

## Affected versions and remediation

This report applies to @wix/ditto-codegen-public@1.0.493.

- Review the evidence and your use of @wix/ditto-codegen-public@1.0.493 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: Scripts Present
- **Category:** Manifest
- **Confidence:** 100.0%

Package declares npm scripts.

### 2. High: Child Process
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** dist/out.js
- **Public source:** [View source](<https://unpkg.com/@wix/ditto-codegen-public@1.0.493/dist/out.js>)

Package source references child process execution.

Public source snippet (untrusted):

```javascript
L10554: exports2.refreshWixAccessToken = refreshWixAccessToken;
L10555: var child_process_1 = require("child_process");
L10556: var util_1 = require("util");
```

### 3. High: Shell
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** dist/out.js
- **Public source:** [View source](<https://unpkg.com/@wix/ditto-codegen-public@1.0.493/dist/out.js>)

Package source references shell execution.

Public source snippet (untrusted):

```javascript
L16701: var logger_12 = require_logger();
L16702: var execAsync = (0, util_1.promisify)(child_process_1.exec);
L16703: var CLI_TIMEOUT_MS = 15e3;
```

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

Package source references a known benign dynamic code generation pattern.

### 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. Critical: Credential Exfiltration
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** dist/out.js
- **Public source:** [View source](<https://unpkg.com/@wix/ditto-codegen-public@1.0.493/dist/out.js>)

Source appears to send environment or credential material to an external endpoint.

Public source snippet (untrusted):

```javascript
L140: 
L141: // ../../node_modules/dotenv/package.json
L142: var require_package = __commonJS({
...
L176: },
L177: homepage: "https://github.com/motdotla/dotenv#readme",
L178: funding: "https://dotenvx.com",
...
L242: function supportsAnsi() {
L243: return process.stdout.isTTY;
L244: }
...
L273: if (!result.parsed) {
L274: const err = new Error(`MISSING_DATA: Cannot parse ${vaultPath} for an unknown reason`);
L275: err.code = "MISSING_DATA";
```

### 9. High: Credential Redirect Persistence
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** dist/out.js
- **Public source:** [View source](<https://unpkg.com/@wix/ditto-codegen-public@1.0.493/dist/out.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/out.js:
// ../../node_modules/@[redacted].js
var require_authorization = __commonJS({
"../../node_modules/@[redacted].js"(exports2) {
exports2.authorization = authorization;
function authorization(signedInstance) {
authorization: signedInstance
var _authorization = require_authorization();
const headers = [(0, _xWixBrand.xWixBrand)(), (0, _consentPolicy.consentPolicy)(), (0, _authorization.authorization)(opts.signedInstance), (0, _artifactId.artifactId)(opts.artifact...
```

### 10. High: Command Output Exfiltration
- **Category:** Source
- **Confidence:** 82.0%
- **Path:** dist/out.js
- **Public source:** [View source](<https://unpkg.com/@wix/ditto-codegen-public@1.0.493/dist/out.js>)

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

Public source snippet (untrusted):

```javascript
L140: 
L141: // ../../node_modules/dotenv/package.json
L142: var require_package = __commonJS({
...
L176: },
L177: homepage: "https://github.com/motdotla/dotenv#readme",
L178: funding: "https://dotenvx.com",
...
L242: function supportsAnsi() {
L243: return process.stdout.isTTY;
L244: }
...
L273: if (!result.parsed) {
L274: const err = new Error(`MISSING_DATA: Cannot parse ${vaultPath} for an unknown reason`);
L275: err.code = "MISSING_DATA";
```

### 11. Critical: Trigger Reachable Dangerous Capability
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** dist/out.js
- **Public source:** [View source](<https://unpkg.com/@wix/ditto-codegen-public@1.0.493/dist/out.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.bin -> dist/out.js
L140: 
L141: // ../../node_modules/dotenv/package.json
L142: var require_package = __commonJS({
...
L176: },
L177: homepage: "https://github.com/motdotla/dotenv#readme",
L178: funding: "https://dotenvx.com",
...
L242: function supportsAnsi() {
L243: return process.stdout.isTTY;
L244: }
...
L273: if (!result.parsed) {
L274: const err = new Error(`MISSING_DATA: Cannot parse ${vaultPath} for an unknown reason`);
L275: err.code = "MISSING_DATA";
```

### 12. High: Trigger Reachable Credential Exfiltration
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** dist/out.js
- **Public source:** [View source](<https://unpkg.com/@wix/ditto-codegen-public@1.0.493/dist/out.js>)

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

Public source snippet (untrusted):

```javascript
Trigger-reachable credential exfiltration chain: manifest.bin -> dist/out.js
L140: 
L141: // ../../node_modules/dotenv/package.json
L142: var require_package = __commonJS({
...
L176: },
L177: homepage: "https://github.com/motdotla/dotenv#readme",
L178: funding: "https://dotenvx.com",
...
L242: function supportsAnsi() {
L243: return process.stdout.isTTY;
L244: }
...
L273: if (!result.parsed) {
L274: const err = new Error(`MISSING_DATA: Cannot parse ${vaultPath} for an unknown reason`);
L275: err.code = "MISSING_DATA";
```

### 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: Structural Risk Force Deep Review
- **Category:** Artifact Inventory
- **Confidence:** 85.0%

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

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

Package manifest does not declare a clear license.

### 17. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** dist/out.js
- **Public source:** [View source](<https://unpkg.com/@wix/ditto-codegen-public@1.0.493/dist/out.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 = @wix/ditto-codegen-public@1.0.485
matchedPath = dist/out.js
matchedIdentity = npm:[redacted]:1.0.485
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 18. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** dist/opencode-tools/report-wix-feedback.ts
- **Public source:** [View source](<https://unpkg.com/@wix/ditto-codegen-public@1.0.493/dist/opencode-tools/report-wix-feedback.ts>)

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

Public source snippet (untrusted):

```typescript
matchType = normalized_sha256
matchedPackage = @wix/ditto-codegen-public@1.0.485
matchedPath = dist/opencode-tools/report-wix-feedback.ts
matchedIdentity = npm:[redacted]:1.0.485
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

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

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

### Published dependency entries
- esbuild ^0.27.2 (Dependency)

## Package metadata
- **Package:** @wix/ditto-codegen-public
- **Ecosystem:** npm
- **Version:** 1.0.493
- **Version published:** 2026-10-29T21:34:27.250Z
- **Package first seen:** 2026-07-01T04:54:24.035Z
- **Package last seen:** 2026-11-05T03:14:22.789Z
- **Known versions:** 67
- **Latest version:** 1.0.502
- **Appeal under review:** No
- **Description:** AI-powered Wix CLI app generator - standalone executable
- **Maintainers:** wix-ci, wixnpm, wix-ambassador, wix-ci-publisher, wix-bi-publisher, usability-sessions, bryanp-wix, ethanp, omrili, wix-org-headless, falconci, roir-wix
- **Artifact files:** 15
- **Artifact unpacked size:** 1,144,818 bytes
- **Artifact signatures:** 2
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/@wix/ditto-codegen-public/v/1.0.493>)
