Repository navigation
Releases
Releases · bpmforge/ThreatForge
ThreatForge 1.1.0
First public release. This release is mostly security hardening from a full
audit of 1.0.3, plus the reliability fixes needed before opening the project up.
Upgrade notes
- AI on a private network: an organization's AI base URL on loopback or a
private network now needs the super-admin AI private-host allowlist (Admin >
Settings > Security, orAI_PRIVATE_HOST_ALLOWLIST). Allowlist any private AI
host already in use before upgrading, or those organizations' AI calls
are refused (docs/ADMIN_RUNBOOK.md 7b). - Outgoing webhooks to private addresses (a LAN receiver) are now refused
with "Webhook URL rejected"; point them at a public URL. - Scanner findings index: run
server/prisma/migrations/scanner-findings-unique-per-project.sql
before the schema push (it adds an index and deletes nothing). - CI webhooks: GitHub, GitLab and Bitbucket deliveries are refused until the
organization sets a CI webhook secret, and Bitbucket webhooks need that
secret configured on the Bitbucket side too. - Sign-ins end after a password reset; users who reset sign in again on
every device. - New optional settings:
NVD_API_KEYandMETRICS_TOKENare now passed to the
server container, and/healthreportsversionandcommit.
Security
- Every API route declares who may call it, and the declaration is enforced.
Organization-role, model-permission and super-admin rules are checked before
the handler runs. A test fails if a route has no rule, and another shows no
rule is stricter than its handler. - Cross-tenant test suite: every route that takes an id is called with
another organization's ids, as an outsider and as a suspended member, on
every test run. - Closed critical cross-tenant holes (admin routes open to any org owner, the
v1 data API with no tenant filter, unauthenticated pipeline routes, SCIM
account takeover, an AI base URL change that leaked the API key) and many
smaller ones. Viewers and guests can no longer write. Suspended members lose
access everywhere, and child ids must belong to their parent. - Webhooks: incoming signatures are checked over the exact bytes received, and
the Bitbucket CI webhook is now verified. Outgoing webhooks refuse private
addresses, never follow redirects, and are always properly signed. Notification
webhooks used to send part of the stored secret as their "signature". - Accounts: a password reset ends existing sessions. Email verification tokens
and CI webhook secrets are stored hashed or encrypted. Setup never creates an
admin from default credentials. Invitations need the invitee's consent. - Read-only demo accounts (
DEMO_READONLY_USER_EMAILS); every write is refused
with 403READ_ONLY_ACCOUNT. - Permissions: creating Jira/GitHub issues, syncing and repository analysis need
editor or above. Guests need export rights to export. Instant AI suggestions
need edit access. - AI document extraction uses the organization you are working in, not the
first one you belong to. - Small cross-org leaks closed: user avatars, live presence counts, template
category counts, risk-framework presets. - Scanner findings are kept per project; an import no longer overwrites another
organization's finding. - Canvas saves are encrypted when
ENCRYPT_AT_RESTis on. - Dependencies: Next.js 16.3.8 (critical RCE advisories) and fastify 5.12.5.
Fixed
- Password reset, forgot-password and email verification work in
same-origin deployments (the sign-in handler was answering those requests). - An empty or out-of-date canvas can no longer be saved over a model when live
editing fails to load. The session closes with "Could not load this model for
editing". - Expert and agentic analysis always run as background jobs that respect the AI
spend cap, with or without Redis. AI usage and cost are recorded, so the spend
cap works. - Job progress stops polling when the job can't be read, and a crashed local
model is no longer retried as "prompt too large" (up to 9 calls before). - Failed saves always show an error instead of looking like they worked.
- "Move to project" works; "Refresh index" really refreshes; toast notifications
are shown (the toaster was not mounted). - Accessibility: named menu buttons on model cards and readable status colours.
- Canvas: 87 → 7 save calls per node move, and fewer re-renders while dragging.
Added
- NVD API key setting: super admins enter the install's own key in Admin >
Settings > General (stored encrypted, never shown again);NVD_API_KEY
remains a fallback. See docs/ADMIN_RUNBOOK.md 7c. - Deterministic duplicate guard for AI-suggested threats and mitigations.
/healthreports the running version and commit. Deploys check the new build
is serving and run an HTTP smoke test.- Gate: npm audit, gitleaks and opengrep in the pre-push gate and CI; Node 22
pinned; duplicate and dead-code ratchet.
Removed
- The unused extensions feature (routes, UI and tables).
Known limitations
- AI threat suggestions are labelled "suggested, review required": measured
precision on the Seed-08 evaluation is about 43% (AI-labelled). - The Jira integration is marked "Unverified": it has not been tested against a
live Jira site. - About 80 routes are only partly covered by the cross-tenant suite (they
reject an empty body before the permission check).