Taxpoynt Docs
Compliance
Security Closure Report Draft (Final)
Source file: SECURITY_CLOSURE_REPORT_DRAFT_2026-02-21.md
Executive Summary
- Report ID:
SEC-REPORT-003 - Status: Closure Draft (Post-Remediation)
- Date: February 21, 2026
- Repository:
platform-clean - Branch:
main - Commit:
ed9a4d2(working tree with remediation changes)
Closure outcome:
- Migration-chain defect is fixed and
prisma migrate deploynow succeeds on a clean database. - Dependency vulnerabilities have been remediated from baseline
23to0known vulnerabilities. - Static/SAST, DAST, and controlled pentest-style validation are all passing.
Closure Criteria Verification
- Static code review: Completed.
- SAST automated checks: Completed and passing.
- DAST/manual HTTP probes: Completed and passing.
- Live pentest-style exploit validation: Completed and passing.
- Dependency vulnerability closure: Completed (
pnpm audit --prod=> no known vulnerabilities).
Remediation Implemented
-
Migration chain repair:
- Updated
apps/api/prisma/migrations/20260123_add_direct_reporting_support/migration.sql. - Added ordering-safe creation/guards so
Buyer-related changes no longer fail before the later buyer bootstrap migration.
- Updated
-
Dependency remediation:
- Updated
apps/app/package.jsontonext@15.5.10andeslint-config-next@15.5.10. - Updated
apps/www/package.jsontonext@15.5.10. - Updated
apps/api/package.jsontonodemailer@^7.0.11andundici@^6.23.0. - Added workspace overrides in
package.json:jws@3.2.3qs@6.14.2lodash@4.17.23js-yaml@4.1.1
- Regenerated dependency lockfile (
pnpm-lock.yaml).
- Updated
-
Next.js compatibility patch after upgrade:
- Updated
apps/app/src/lib/session-actions.tsfor asynccookies()handling in current Next runtime.
- Updated
Verification Evidence
-
Clean migration deployment test:
- Fresh DB:
taxpoynt_migrate_smoke - Command:
pnpm --filter @taxpoynt/api run prisma:migrate:deploy - Result: all migrations applied successfully.
- Fresh DB:
-
Security dynamic tests:
test/health.e2e-spec.tspassed (2/2).test/security-dast.e2e-spec.tspassed (4/4).
-
Static/SAST checks:
pnpm --filter @taxpoynt/api run lintpassed.pnpm --filter @taxpoynt/api run typecheckpassed.pnpm --filter @taxpoynt/app run typecheckpassed.pnpm --filter @taxpoynt/www run typecheckpassed.
-
Dependency audit:
pnpm audit --prod(workspace):No known vulnerabilities found.pnpm audit --prod(apps/api):No known vulnerabilities found.
Baseline vs Final
- Baseline vulnerabilities (Report 2):
23(1 critical, 9 high, 10 moderate, 3 low). - Final vulnerabilities (this closure draft):
0known vulnerabilities. - SQLi exploitability status: not confirmed in tested SI/AP/auth HTTP paths.
- E2E boot status: healthy and reproducible for security suites.
Residual Notes
- This closure is based on current lockfile and current advisory database state at execution time.
- New advisories may appear later; keep audit checks in CI to maintain this posture.