registry / @wix/ditto-codegen-public / 1.0.403
@wix/ditto-codegen-public@1.0.403
AI-powered Wix CLI app generator - standalone executable
AI Security Review
scanned 3mo ago · by lpm-firewall-aiNo npm lifecycle execution or concrete credential theft, stealth persistence at install, or unrelated exfiltration was found. Its runtime global OpenCode mutation and environment-gated remote skill replacement warrant a warning under the agent-extension lifecycle policy.
Static reason
No blocking static signals were detected.
Trigger
Explicit execution of the dist/out.js CLI; SKILLS_OVERRIDE_BRANCH additionally enables the override path.
Impact
Persists behavior in a broad OpenCode control surface; a controlled environment override can replace agent skills.
Mechanism
Global AI-agent configuration mutation and guarded remote skill replacement.
AI rationale
No npm lifecycle execution or concrete credential theft, stealth persistence at install, or unrelated exfiltration was found. Its runtime global OpenCode mutation and environment-gated remote skill replacement warrant a warning under the agent-extension lifecycle policy.
Evidence
package.jsondist/out.jsassets/set-commit-message.tsassets/commit-message-rule.md~/.config/opencode/rules~/.config/opencode/plugin/node-modules-guard.ts~/.config/opencode/tools/root/.agents/skills
Network endpoints2
manage.wix.comgithub.com/${repo}/archive/refs/heads/${branch}.tar.gz
Decision evidence
public snapshotAI called this Suspicious at 91.0% confidence as Dangerous Capability with medium false-positive risk.
Evidence for warning
- dist/out.js runtime init writes global OpenCode rules, tools, and a plugin under the user home directory.
- The generated global plugin intercepts OpenCode bash-tool commands.
- Guarded SKILLS_OVERRIDE_BRANCH downloads GitHub tarballs and replaces /root/.agents/skills via shell commands.
- dist/out.js launches the opencode agent process and polls Wix code-generation jobs.
Evidence against
- package.json has no preinstall, install, postinstall, or prepare hook.
- The global writes occur only when the declared CLI bin is run, not at npm installation.
- Wix endpoints and token use support the stated Wix code-generation service; no hidden exfiltration found.
Behavioral surface
ChildProcessCryptoDynamicRequireEnvironmentVarsFilesystemNetwork
HighEntropyStringsUrlStrings
NoLicense
Source & flagged code
1 flaggeddist/out.jsView file
11};
L12: var __commonJS = (cb, mod) => function __require() {
L13: return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
Medium
Dynamic Require
Package source references dynamic require/import behavior.
dist/out.jsView on unpkg · L11Findings
3 Medium5 Low
MediumDynamic Requiredist/out.js
MediumNetwork
MediumEnvironment Vars
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings
LowNo License
Affected versions and remediation
This report applies to @wix/ditto-codegen-public@1.0.403.
See all versions of @wix/ditto-codegen-public for other recorded verdicts.
- Review the evidence and your use of @wix/ditto-codegen-public@1.0.403 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.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.