AI Security Review
scanned 9d ago · by lpm-firewall-aiLPM treats this as warn-only first-party agent extension lifecycle risk. No confirmed malware chain, but the CLI is a high-privilege SiteDesk installer that mutates host services and a brand-scoped Claude Code control surface. It seeds bypassPermissions and registers plugins only when the user runs the bin, not during npm install.
Decision evidence
public snapshot- dist/index.js bin performs broad installer actions when user runs create-sitedesk-code: sudo apt/brew/systemctl, curl|sh, npm install, git clone, service writes.
- dist/permissions-seed.js writes brand CLAUDE_CONFIG_DIR/settings.json with defaultMode=bypassPermissions and an autoMode trust block.
- dist/index.js registers Claude plugin marketplaces and installs local/external plugins under brand-scoped CLAUDE_CONFIG_DIR.
- dist/index.js deployPayload primes .claude/.claude.json onboarding/trust state and wipes/replaces install subtrees.
- dist/index.js downloads/installs system components from NodeSource, Neo4j, Ollama, Cloudflare, Google, GitHub, npm, and Anthropic plugin marketplaces.
- package.json has no preinstall/install/postinstall hook; only prepublishOnly, so npm install alone does not run the installer.
- Risky behavior is exposed through the declared CLI bin and aligns with a device/application installer for SiteDesk.
- Claude config and plugin writes are scoped to ~/.sitedesk-code/.claude, not the user's default ~/.claude.
- Secrets seen are generated locally or preserved in brand config; source inspection did not find credential harvesting or exfiltration logic.
- Remote downloads are package-aligned dependency/install flows, not fetched JS executed stealthily at package import time.
Source & flagged code
24 flagged · loading sourcePackage contains a possible secret pattern.
payload/platform/scripts/smoke-boot-services.shView on unpkg · L334A single source file combines environment access, network access, and code or shell execution with blocking evidence.
dist/index.jsView on unpkg · L138Source downloads or fetches remote code and executes it.
dist/index.jsView on unpkg · L1A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.
dist/index.jsView on unpkg · L1Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
dist/index.jsView on unpkg · L1Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
dist/index.jsView on unpkg · L1Package source invokes a package manager install command at runtime.
dist/index.jsView on unpkg · L281Source writes installer persistence such as shell profile or service configuration.
dist/index.jsView on unpkg · L1Package hides binary, compressed, or executable-looking payloads in test/fixture/hidden paths.
payload/platform/plugins/prompt-optimiser/skills/prompt-optimiser/__tests__/restatement-ladder.test.shView on unpkgPackage ships non-JavaScript build or shell helper files.
payload/platform/plugins/prompt-optimiser/skills/prompt-optimiser/__tests__/restatement-ladder.test.shView on unpkgPackage ships high-entropy non-source blobs.
payload/server/public/assets/cormorant-latin-ext-500-normal-AH9qog1s.woff2View on unpkgSource file is highly similar to a previously finalized malicious package; route for source-aware review.
payload/platform/lib/graph-mcp/dist/index.jsView on unpkgSource file is highly similar to a previously finalized malicious package; route for source-aware review.
payload/platform/plugins/admin/mcp/dist/index.jsView on unpkgSource file is highly similar to a previously finalized malicious package; route for source-aware review.
payload/platform/plugins/cloudflare/mcp/dist/lib/cloudflared.jsView on unpkgSource file is highly similar to a previously finalized malicious package; route for source-aware review.
payload/platform/lib/anthropic-key/dist/index.jsView on unpkgSource file is highly similar to a previously finalized malicious package; route for source-aware review.
payload/platform/plugins/admin/lib/mcp-spawn-tee/index.jsView on unpkgHardcoded password in payload/platform/plugins/email/mcp/dist/__tests__/email-delete.test.js
payload/platform/plugins/email/mcp/dist/__tests__/email-delete.test.jsView on unpkg · L52Hardcoded password in payload/platform/plugins/email/mcp/dist/__tests__/email-setup.test.js
payload/platform/plugins/email/mcp/dist/__tests__/email-setup.test.jsView on unpkg · L28Hardcoded password in payload/platform/plugins/email/mcp/dist/__tests__/email-setup.test.js
payload/platform/plugins/email/mcp/dist/__tests__/email-setup.test.jsView on unpkg · L43Hardcoded password in payload/platform/plugins/email/mcp/dist/__tests__/email-setup.test.js
payload/platform/plugins/email/mcp/dist/__tests__/email-setup.test.jsView on unpkg · L57Hardcoded password in payload/platform/plugins/email/mcp/dist/__tests__/email-setup.test.js
payload/platform/plugins/email/mcp/dist/__tests__/email-setup.test.jsView on unpkg · L127Hardcoded password in payload/platform/lib/task-secrets/src/__tests__/redact-secrets.test.ts
payload/platform/lib/task-secrets/src/__tests__/redact-secrets.test.tsView on unpkg · L73