CorpOS is a reference implementation of an autonomous company, not a production SaaS. Treat it as a design artifact you can run locally.
- ToolGateway is the sole chokepoint for consequential tools.
- Unknown tools fail closed.
- Exception HITL with scheduled TTL fail-closed; kill switch; department capital caps.
- Shared-mode console sends Bearer (
VITE_DASHBOARD_API_TOKEN/DASHBOARD_API_TOKEN). - G3 quorum, G6 appeal, and enforcement
strict/auditmodes. - Hash-chained audit receipts (
npm run audit:verify). - Company-day demos do not auto-approve exceptions unless a caller passes
autoApproveException: true(tests/CI only).
- Full multi-tenant isolation as a security boundary.
- Production OIDC / TLS by default.
- Real payment or messaging providers.
- Live LLM agent execution (health may report
mode: "live"; company-day still usesSimulationProvider).
When CORPOS_MODE=shared, DASHBOARD_API_TOKEN is required as a Bearer
token on API approve and kill mutations. The ops console sends
VITE_DASHBOARD_API_TOKEN when configured. This is a
static token compare for demos, not an OAuth flow.
- Install from the committed
package-lock.jsonvianpm ci --include=dev. packageManageris [email protected] (Corepack). npm 10 cannot enforceallowScripts.- Registry must remain
https://registry.npmjs.org/— no project.npmrcregistry override. - Install scripts are opt-in and enforced:
package.jsonallowScriptspins onlyesbuild/fseventsversions in the lockfile;.npmrcsetsstrict-allow-scripts=true../scripts/harness/verify.shfails ifnpm approve-scripts --allow-scripts-pendingreports gaps. - Verify does not wipe
node_modulesby default (avoids concurrentENOTEMPTYraces). CI setsCORPOS_VERIFY_CLEAN=1for a full reinstall. Never fetch npm vianpxinside verify. @hono/node-serveris pinned to2.0.11via root dependency +overrides(covers APIserveStaticand@modelcontextprotocol/sdk).- Review Dependabot PRs before merge; re-run
npm approve-scripts --allow-scripts-pendingafter lockfile changes that introduce new install scripts. - Do not set
dangerously-allow-all-scripts=truein CI.
Use GitHub Security Advisories on the CorpOS repository for vulnerabilities. Conduct issues are handled under CODE_OF_CONDUCT.md, not security advisories.