diff --git a/README.md b/README.md index 7d2fa54..8e0a6c9 100644 --- a/README.md +++ b/README.md @@ -48,9 +48,13 @@ That demo shows AI coding workflow state, revision lineage, execution replay, an ## Deployment model -Shadow Threads is currently intended for self-hosted use in local or controlled environments. +Shadow Threads is currently designed for trusted local or controlled self-hosted environments. -If deployed beyond localhost, users should add appropriate authentication, network restrictions, secret management, and database hardening. +The current server exposes workflow APIs intended for local development and controlled infrastructure, and it does not yet provide production-grade authentication, authorization, or hardened network defaults. + +Shadow Threads should not be exposed to the public Internet as-is. + +If deploying beyond localhost, operators must add authentication and authorization, restrict network access, tighten CORS policies, secure PostgreSQL and Redis, and manage secrets outside development defaults. ## Security considerations @@ -61,7 +65,6 @@ Depending on the workflow, this may include prompts, intermediate tool outputs, Users deploying Shadow Threads should treat the backend and database as sensitive infrastructure and apply appropriate security practices, including authentication, network isolation, and secure database configuration. Shadow Threads is currently intended for self-hosted use in controlled environments. - ## Quickstart ### Prerequisites diff --git a/server/package-lock.json b/server/package-lock.json index 176efc8..adaa5ff 100644 --- a/server/package-lock.json +++ b/server/package-lock.json @@ -11,6 +11,7 @@ "@anthropic-ai/sdk": "^0.30.0", "@google/generative-ai": "^0.21.0", "@prisma/client": "^5.22.0", + "adm-zip": "^0.5.16", "axios": "^1.13.2", "bcryptjs": "^2.4.3", "cors": "^2.8.5", @@ -1306,6 +1307,15 @@ "node": ">= 0.6" } }, + "node_modules/adm-zip": { + "version": "0.5.16", + "resolved": "https://registry.npmjs.org/adm-zip/-/adm-zip-0.5.16.tgz", + "integrity": "sha512-TGw5yVi4saajsSEgz25grObGHEUaDrniwvA2qwSC060KfqGPdglhvPMA2lPIoxs3PQIItj2iag35fONcQqgUaQ==", + "license": "MIT", + "engines": { + "node": ">=12.0" + } + }, "node_modules/agent-base": { "version": "7.1.4", "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.4.tgz",