Skip to content

Harden AI APIs and improve accessibility - #3

Merged
codberce merged 1 commit into
masterfrom
sync-hosted-hardening
Jul 23, 2026
Merged

Harden AI APIs and improve accessibility#3
codberce merged 1 commit into
masterfrom
sync-hosted-hardening

Conversation

@codberce

@codberce codberce commented Jul 23, 2026

Copy link
Copy Markdown
Owner

Summary

  • validate uploaded work using image signatures, safe decoding, dimension limits, and normalized JPEG output before AI processing
  • reject unsupported content types and oversized grading or barem-chat requests
  • add a bounded, privacy-safe CSP reporting endpoint and strengthen the report-only policy
  • add Romanian not-found handling and reject unsupported finite route parameters
  • add skip navigation, clearer mobile-menu state and focus handling, and consistent sticky-header spacing
  • patch the production Sharp resolution and fix standalone TypeScript errors in tests
  • remove an archive entry whose upstream barem is permanently unavailable

Validation

  • pnpm test (319 tests)
  • pnpm exec tsc --noEmit
  • pnpm exec eslint . --ignore-pattern .pi
  • pnpm build
  • pnpm audit --prod
  • exam, olympiad, and internal-link checks

@codberce
codberce force-pushed the sync-hosted-hardening branch from d14fe60 to 3f785ef Compare July 23, 2026 22:32
@codberce codberce changed the title Sync relevant hosted hardening Harden AI APIs and improve accessibility Jul 23, 2026
@codberce
codberce merged commit fc5ef9f into master Jul 23, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant