Skip to content

Security: RandomJainam/SkillExV2

Security

SECURITY.md

SkillEx V2 — Security & Trust Architecture

1. Security Architecture Principles

  1. Row Level Security (RLS): All PostgreSQL tables (profiles, connections, conversations, messages, sessions, session_outcomes, blocks, reports) have granular RLS policies.
  2. Access Control & State Gates:
    • Private 1-on-1 direct messaging is strictly blocked until a connection status is ACCEPTED.
    • Messages are strictly visible only to conversation members.
    • Sessions can only be updated and completed by session participants.
  3. Safety & Moderation:
    • Mandatory 18+ eligibility confirmation on onboarding.
    • Instant 1-click Block User action (immediately halts messages and matching recommendations).
    • Report Target action (available for users, messages, posts, and sessions).
  4. Secret Management:
    • Zero client-side API keys for LLMs.
    • Server-only execution for AI Gateway and database mutation endpoints.

There aren't any published security advisories