# Our projects — facts AvoSecurity relies on

Verified against the repos on 2026-11-09. Things move: when a fact below disagrees with what
you see in the repo, the repo wins, and this file should be updated in the same PR that
ships the next dce-dev-wizard.

## Shared across all apps

- Stack: TypeScript, React + SCSS + Bootstrap 5 + FontAwesome (client; Vite in the migrated
  apps, Create React App still in Gather), Node + Express (server, `tsc` build), Mongo/DocDB
  via dce-mango. Canvas through CACCL, Zoom through ZACCL, email through dce-send-email, AI
  through dce-ai, Trumba calendars through dce-trumba. Shared React components in
  dce-reactkit, shared Express structure in dce-expresskit.
- Branches: `main` (or `master`: Course Admin Tools, Gather) is deployed to prod and is
  Gabe's; feature work branches from `stage` as `<type>/<lowercase-dashed-title>` and PRs
  target `stage` with a detailed description, a self-review, a peer review, and a Slack note.
- Docker: `ARG BASE_IMAGE=node:24-alpine` + `FROM $BASE_IMAGE`, `COPY ./ /app`,
  `npm install && npm run build`, `CMD ["npm", "start"]`. Two generations exist:
  - IC, CAT, Cryo: `ENV NODE_ENV=production` before the install, so **root** devDependencies
    are skipped, but the client (and TypeScript server) build scripts re-install with
    `--include=dev` / `--production=false`, so **those** devDependencies ship in the image.
  - Gather, Hello Harvard: `RUN NODE_ENV=development ... npm install && npm run build`, so
    **every** devDependency ships. Hello Harvard is multi-stage, but the final stage does
    `COPY --from=builder /app /app`, which carries node_modules over unchanged.
  The inventory prints this per location ("dev deps in image?").
- CI: `.github/workflows/build-and-push.yml` calls the shared
  `harvard-dce/dce-build-and-push` reusable workflow (`@v1`; CAT still on `@main`). It
  expects the repo's own Dockerfile (inputs `dockerfile`, `context`), resolves
  `base_image_name` through an ECR pull-through cache (refreshed at most once per 24h) into
  the `BASE_IMAGE` build-arg, and tags images `<branch>`, `sha-<sha>`, and the package.json
  version on the default branch (`version_command`). It runs no tests and no scans.
- Deploys: `npm run dev:wizard` (dce-dev-wizard) per instance listed in `dceConfig.json`.
  The wizard's "Vulnerability Checker" reads a Wiz CSV and writes `.reviewed-cves` (see
  `wiz-csv.md`).
- Version bump: `npm version patch` at the **repo root** in every app (Gabe's rule), with
  the docs entry in the same PR. Hooks differ per repo (below).
- Past security PRs were lockfile-only bumps plus a version bump; that is the normal size.

## Immersive Classroom — `immersive-player` (package `immerse-player-hub`, 1.12.1)

- Lockfiles: root (dev tooling only), `client/` (Vite + React 19), `server/` (TypeScript
  Express). Root `start` runs `node ./server/build/index.js`.
- Node: no `.nvmrc`; Dockerfile `node:24-alpine`. Dockerfile is listed in `.gitignore` but
  tracked (committed before the ignore rule).
- Hook: root `postversion` runs `syncVersions.js` (writes
  `client/src/shared/constants/VERSION.ts`), then `git add -A; git commit; git push`. Push the
  branch with an upstream before `npm version patch`; leave no scratch files in the repo.
- Instances: Stage, Karen Stage, Prod, EdTech Team Instance, Test (`immersive-test`);
  related cluster Opencast Dev 10. Test instances need `CLEANUP_ALLOWED=true` and
  `TEST_COURSE_IDS` for the Ky suite's force-clean setup.
- Tests: jest in `server/`, vitest in `client/`. Ky repo: `immersive-classroom-tests`
  (the model repo; profiles Default, EdtechTeam, Stage, Prod).
- Known state: client declares production dependencies nothing imports (axios, dce-mango,
  query-string, @monaco-editor/react, jquery, popper.js, prismjs,
  @fortawesome/free-brands-svg-icons); server declares body-parser, node-fetch,
  digest-fetch, randomstring, memorystore, clone-deep, `http` (a placeholder package) and
  `save` without importing them (express-session and dce-mango are peers of dce-expresskit:
  keep). zaccl 3.x pins axios 0.x; dce-ai 1.1.x is fixed in 1.2.0; dce-mango needs uuid ≥
  11.1.1 upstream and its npm `latest` is a prerelease.

## Course Admin Tools — `course-admin-tools` (1.0.0)

- Lockfiles: root *is* the Express server (`index.js`, `scopes.js`; deps caccl,
  dce-expresskit) and `client/` (Vite + React 19). Default branch `master`.
- Node: `.nvmrc` 24.22.1, `engines >=24.22.1`, `node:24-alpine`.
- Dockerfile says `FROM ${BASE_IMAGE} AS builder` with no second stage. `.dockerignore`
  excludes node_modules, `client/build`, `config`, `.git`, `.github`.
- No version hook: after `npm version patch`, `git push --follow-tags`.
- Legacy `test/selenium/` (not Ky). No Ky repo yet: scaffold `course-admin-tools-tests`.
- Known state: client audit is dev-only (`@typescript-eslint` 7.x chain; npm's suggestion is
  a downgrade); root findings sit in the dce-dev-wizard → caccl-deploy chain (deploy-tool)
  except dce-mango/uuid via dce-expresskit.

## Hello Harvard — `harvard-hello` (2.0.0)

- Lockfiles: root (tooling), `client/` (Vite + React), `server/` (TypeScript). Default
  branch `main`. No `.nvmrc`; `node:24-alpine`.
- Multi-stage Dockerfile that still ships devDependencies (see above): the natural place to
  try `npm prune --omit=dev` before the final `COPY`.
- No version hook. Client `dependencies` include tooling that belongs in devDependencies
  (@types/*, typescript, Testing Library): moving them is a cleanup for a developer to
  approve, not a security fix. Uses `dce-trumba` and `caccl-api` (in-house).
- Instances: Stage, Prod, EdTech Team. Jira board HH. Ky repo: ask (none known).

## Gather — `gather` (2.4.0)

- Lockfiles: root (tooling), `client/` (**Create React App**, `react-scripts build`; the
  largest audit in the fleet), `server/` (TypeScript). Default branch `master`.
- Node: `.nvmrc` says **v20** while the Dockerfile says `node:24-alpine`: a mismatch to
  align in the next PR (the inventory flags it).
- Hook: `postversion` runs `npx tsx ./syncVersions.ts`, commits with `git add -A`, pushes.
- Has a `.reviewed-cves` template committed (ignore-list format, all entries commented).
- Canvas LTI + Zoom (ZACCL) + a Canvas-outage contingency mode: test Zoom flows carefully.
  Instances: EdTech Team (`imhere-edtech-team`), Stage, Prod (legacy `imhere` app names).
  In-house deps include dce-live-grouper and dce-icommons. Ky repo: ask (none known).

## Cryo — `dce-cryo`

- Seven lockfiles: repo root (a shell: `dce-cryo` 1.0.2, `postinstall` installs everything
  else; prod dep papaparse; devDeps dce-dev-wizard, dce-expresskit), `app/` (`cryo-app`
  1.0.0; `start`, `build`, `dev:*`), `app/client/` (Vite + React), `app/server/`
  (TypeScript), `cdk/` (AWS CDK stack: deploy tooling), `worker/` and `dlq-consumer/`
  (AWS Lambda functions on `lambda.Runtime.NODEJS_LATEST`, exposure `lambda-runtime`).
- Docker: `app/Dockerfile`, context `./app` (CI: `context: ./app`, `dockerfile:
  ./app/Dockerfile`, `version_command: jq -r .version ./app/package.json`). The repo root
  is outside the image entirely (`not-deployed`).
- Version: bump the **repo root** `package.json` like every other app (Gabe's call). CI tags
  the image from `app/package.json`, so the image tag does not move with the bump; say so in
  the entry. No version hooks. dceConfig deployments carry `customStackInfo` (reserved
  concurrency, memory) for the Lambda stack.
- Data-integrity sensitive (Zoom recording archive): never test against prod data.
  dlq-consumer currently pins a zaccl prerelease (`5.0.0-beta-no-axios...`): flag it.
- Ky repo: ask (none known).

## Libraries that own findings today

| Library | Owns | Fix path |
| --- | --- | --- |
| dce-mango | uuid < 11.1.1 (moderate), ip-address (high, via the mongodb driver) | bump in the lib, publish a 2.x release (not the `-beta-ttl-fix` prerelease) |
| dce-dev-wizard → caccl-deploy | aws-cdk-lib, aws-sdk v2, yaml, semver, minimatch | caccl-deploy update; deploy-tool only, never in the image |
| zaccl 3.x | axios 0.x, follow-redirects | apps bump to zaccl 5.x after reading its changelog |
| dce-ai ≤ 1.1.x | openai, zod, @openai/agents | apps bump to dce-ai 1.2.0 |
| caccl (via express) | body-parser, qs, proxy-addr | within range: `npm update` in the app |
| dce-expresskit 4.x | react / dce-reactkit chain on the server | apps on 4.x move to 5.x |
