Introduction
School-Core is committed to protecting the confidentiality, integrity, and availability of all data processed through our platform. Given that we handle sensitive educational records, health data, financial information, and data of minors, we maintain comprehensive security practices aligned with industry standards and regulatory requirements.
This Security Policy describes the technical, organizational, and operational measures we implement to protect your data.
Security Framework
We use these frameworks as reference points when designing our controls. School-Core has not been audited or certified against any of them.
- ISO/IEC 27001 — Information Security Management
- SOC 2 Type II principles — Security, Availability, Confidentiality
- NIST Cybersecurity Framework (CSF) — Identify, Protect, Detect, Respond, Recover
- OWASP Top 10 — Web Application Security
- CIS Controls — Critical Security Controls
Infrastructure Security
Cloud Hosting
The Service runs on SOC 2 Type II- and ISO 27001-aligned cloud providers across application hosting, database, object storage, and edge-caching layers. Our Sub-processors page lists each provider together with the data it processes and where. We do not offer a choice of region for each school. Each sub-processor is bound by a Data Processing Agreement and is reviewed at least annually.
Network Security
- TLS 1.2+ enforced on all connections (HTTPS only)
- HTTP Strict Transport Security (HSTS) in force
- Edge-level DDoS protection via the hosting provider's global infrastructure
- Content Security Policy (CSP), X-Frame-Options, X-Content-Type-Options and Referrer-Policy headers on every response. The CSP still allows inline scripts and
eval; tightening it is planned. - DNS-level security with DNSSEC support
Database Security
- Connection pooling with conservative per-instance limits and timeouts
- Encrypted connections between application and database
- Automatic daily backups (point-in-time recovery is not enabled)
- Tenant isolation enforced in the application and by a runtime guard in the database client (see Application Security); database-level row-level security is in progress
Application Security
Authentication
- Password hashing with bcrypt at industry-recommended cost factors
- Session management via encrypted, short-lived tokens with periodic refresh
- OAuth 2.0 SSO with Google Workspace and Microsoft Entra ID
- Multi-factor authentication (MFA) via TOTP authenticator apps (Google Authenticator, Authy, 1Password, etc.); required for a school's owner, administrators, principals, vice principals and IT staff, and, after 14 days' grace, for counsellors, nurses, SEN coordinators, HR and finance staff, who hold the most sensitive records, for the front desk, and for every governor, by role or by a seat on the board, who must also have signed in with it before a restricted or in-camera board paper opens; and at once, with no grace, for an outside professional invited to one pupil's shared pack, an outside auditor and the school's independent listener; it cannot be switched off for a school; available to all users. Single-use backup codes are issued at enrollment for recovery
- Cryptographically secure tokens for password reset and activation flows, time-limited and single-use
- Account status controls (active / suspended / inactive) enforced at the session layer
Authorization
Role-Based Access Control (RBAC): a comprehensive role catalog covering school, leadership, specialist, platform, and partner contexts, plus a CUSTOM role for tenant-defined permission sets. Permissions resolve in three layers:
- Built-in role defaults
- Tenant-level overrides (granted or revoked per role)
- User-level overrides (granted or revoked per individual)
The principle of least privilege governs every default. Role changes are made by a school's owner and administrators and are recorded in the audit log; transferring ownership needs the new owner to accept, and delegated and acting-owner access is recorded when it starts and ends.
Multi-tenant isolation:
- Every school's data carries its school's ID. The application scopes queries to the signed-in school, and a runtime guard in our database client adds the school filter to most reads and refuses writes that do not carry it. Look-ups by a record's own ID are not covered by that guard; the feature that makes them checks them
- Database-level separation (PostgreSQL row-level security) is in progress; until it is complete, the application-level controls above are the safeguard. An internal platform tenant houses our own staff data and is excluded from school-wide aggregates
- Platform-side context switching and support-team access to tenant data is logged end-to-end. Impersonation entries are written against the target tenant so school admins can see who accessed their data, when, and why
Input Validation
- Schema validation on every API input (Zod)
- Database access through the Prisma ORM, with values always passed as parameters
- Server-side HTML sanitization on all user-generated content
- File-upload validation with type and size restrictions; SVG uploads are not accepted
API Security
- API routes require sign-in, except public entry points: marketing pages, sign-in and sign-up, pricing, contact forms, public admissions and job applications, share links a school creates, and payment and integration webhooks
- Role-based authorization on state-changing endpoints; an automated check in our build flags any new endpoint that reads personal data without an authorization check
- Rate limiting on authentication, account creation, password reset, MFA verification, and public form submissions, backed by a distributed Redis store
- Per-user request throttles enforced through the same store
- Request payload size limits enforced
- Content-Security-Policy, X-Frame-Options, HSTS and Permissions-Policy headers on every response (the CSP still allows inline scripts; tightening it is planned)
Secure Development Practices
- Code reviews for all changes
- Dependency vulnerabilities are checked by hand (
npm audit); automated scanning in CI is not yet in place - Source maps uploaded to error monitoring and deleted from production builds
- All secrets in environment variables, never source-controlled
- Separate database credentials for migrations vs. runtime
Data Protection
Encryption
| State | Method |
|---|---|
| In Transit | TLS 1.2+ (HTTPS enforced) |
| At Rest (Database) | AES-256, provider-managed |
| At Rest (Object Storage) | AES-256, provider-managed |
| Sensitive fields (MFA secrets, OAuth refresh tokens) | Application-level AES-256-GCM, separate from provider-managed disk encryption |
| Passwords | bcrypt (irreversible, industry-recommended cost) |
| Session Tokens | Encrypted JWE, server-issued and rotated |
| Password Reset & Activation Tokens | Cryptographically secure random, short-lived, single-use |
| MFA Backup Codes | Stored as one-way hashes; verified with constant-time comparison |
Data Classification
| Classification | Examples | Protection Level |
|---|---|---|
| Critical | Passwords, bank details, government IDs, OAuth tokens | Encrypted + hashed, restricted access |
| Highly Sensitive | Health records, counseling notes, disciplinary records, salary data | Encrypted, role-restricted; school leaders reach counselling and health records only through oversight mode, which is logged; changes are logged as field names, never content |
| Sensitive | Student grades, attendance, behavior records, contact information | Encrypted, tenant-isolated, role-based access |
| Internal | School settings, timetables, curriculum data | Tenant-isolated, authenticated access |
| Public | School name, published announcements | No special restrictions |
Data Minimization
- We collect only data necessary for the Service's educational purpose
- Optional fields are not required for core functionality
- AI features send the context each feature needs (listed in our Privacy Policy, section 6), and nothing about a child whose parent has switched AI off
- Audit logs record counselling, health and special-needs changes as field names only, never their content
Data Retention and Disposal
| Data Type | Retention | Disposal Method |
|---|---|---|
| Read notifications | 90 days | Automatic batch deletion |
| XP transaction details (individual records) | 2 years | Automatic deletion (profile aggregates preserved) |
| XP profile aggregates (totalXp, level, tier, streaks) | Duration of enrollment | Retained for multi-year student progression |
| AI usage summaries | 1 year | Automatic deletion |
| Password reset tokens | 1 hour | Automatic nullification |
| Customer data (post-termination) | 90 days active, 1 year total | Permanent deletion from production + archives |
| Audit logs | 3 years | Automatic deletion (a school's acceptance of the Terms, Privacy Policy and DPA is kept for the life of its account) |
Monitoring and Audit
Audit Logging
All significant actions are logged via a centralised createAuditLog() helper that writes to a tenant-scoped AuditLog table. Every entry records:
- User identity (user ID, role;
nullfor system actors such as Stripe webhooks and scheduled cron jobs) - Action — drawn from a typed
AuditActioncatalog (95+ named actions covering auth, user CRUD, billing, AI subscriptions, Cloud Drive mutations, HR records, Stripe events, support operations) so logs can be filtered cleanly without spelling drift - Entity affected (model/table and record ID)
- Previous and new values for the fields involved. For counselling, health and special-needs records only the field names and record IDs are kept, never the content, and a pupil's photo is never kept
- Client information (IP address, user agent — captured via
getClientInfo(request)whenever the actor is reaching us through HTTP) - Timestamp (UTC)
- Additional metadata (Stripe event ID for webhook entries, target tenant for cross-tenant platform-admin actions, etc.)
Authentication is fully logged. Every login attempt is recorded as a success or failure, with the failure category captured for security review without exposing per-account details to the user. Sign-out, OAuth account linking, and OAuth-driven user creation are also logged.
What is not logged. Routine reads are not logged one by one. Opening counselling or health records through oversight mode, and viewing a safeguarding report, are logged.
Platform-admin actions are tenant-scoped. Impersonation, access reviews, DPA acknowledgements, and support-agent auto-suspension all set tenantId to the target tenant (or to the internal platform tenant for SupportAgent operations) so each school's audit-log view shows exactly who from the platform team touched their data, and why.
Retention. Audit logs are kept for three years and then deleted; a school's acceptance of the Terms, Privacy Policy and DPA is kept for the life of its account. Logs are append-only at the application layer and write failures are caught and surfaced in operational logs without ever blocking the underlying user-facing request.
Error Monitoring
- Sentry integration for real-time error tracking and alerting
- Source maps uploaded for debugging (deleted after upload for client security)
- Error reports use Sentry's default settings, which leave out IP addresses and cookies; an error message can still contain data from the page where it happened
System Health Monitoring
- Platform system health endpoint (
/api/admin/system-health/) - Database connectivity monitoring
- AI service availability tracking
- Automated alerting for service degradation
Incident Response
Incident Classification
| Severity | Description | Response Time |
|---|---|---|
| Critical | Active data breach, service compromise | Immediate (< 1 hour) |
| High | Potential data exposure, auth bypass | < 4 hours |
| Medium | Vulnerability discovered, unusual access patterns | < 24 hours |
| Low | Security improvement needed, minor policy deviation | < 72 hours |
Incident Response Process
- Detection — Identify the incident through monitoring, alerts, or reports
- Containment — Isolate affected systems, revoke compromised credentials
- Assessment — Determine scope, affected data, and root cause
- Notification — Notify affected parties per legal requirements:
- GDPR: Within 72 hours to supervisory authority
- Affected data subjects: Without undue delay
- Customer schools: Within 24 hours of confirmed breach
- Remediation — Fix the vulnerability, restore services
- Recovery — Verify system integrity, restore from backups if needed
- Post-Incident Review — Document lessons learned, update procedures
Breach Notification
In the event of a Personal Data breach, we will:
- Notify the affected Customer (Data Controller) within 24 hours of confirmation
- Provide details of: the nature of the breach, categories and approximate number of data subjects affected, likely consequences, and measures taken or proposed
- Assist the Customer in meeting their notification obligations to supervisory authorities and data subjects
- Document the breach and remediation actions in our incident register
Business Continuity
Backup and Recovery
- Database: automatic daily backups, managed by Supabase. Point-in-time recovery is not enabled, so restoring a backup can lose up to one day of changes (recovery point: up to 24 hours).
- Recovery time: restoring the database from a backup has not yet been rehearsed, so we do not yet publish a recovery-time target. We will publish one after our first restore drill.
- File storage: uploaded files are kept in Cloudflare R2, which stores redundant copies. We do not currently keep a separate backup of uploaded files.
- Application: stateless, so it can be redeployed quickly
Disaster Recovery
- The application runs on Vercel's global network
- The database is a Supabase project in Singapore (AWS ap-southeast-1)
- Restore drills are planned; none has been carried out yet
Vendor and Sub-processor Security
Vendor Assessment
All sub-processors are evaluated for:
- Security certifications (SOC 2, ISO 27001)
- Data protection practices and DPA compliance
- Incident response capabilities
- Data processing locations
- Business continuity measures
Contractual Requirements
All sub-processors are bound by:
- Data Processing Agreements (DPAs)
- Confidentiality obligations
- Security standards requirements
- Breach notification obligations
- Data deletion requirements upon contract termination
Current Sub-processors
A maintained list of sub-processors with their security certifications is available in our Privacy Policy and upon request.
AI Security
AI Data Handling
- Requests go to Anthropic or OpenAI to produce an answer. Under their commercial terms they do not use our requests to train their models; they may keep requests and responses for a limited period under their own terms (for example for safety and abuse monitoring) and then delete them
- Each feature sends the context it needs — listed in our Privacy Policy, section 6 — which can include a student's name and school records
- Nothing about a child whose parent has switched AI off, or withdrawn consent, is sent to an AI provider; this is checked on every request before anything is sent
- Student data is never used to train or improve AI models
AI Rate Limiting and Budget Controls
- Per-user rate limits enforced via distributed Redis
- Monthly token budgets per subscription
- Atomic token reservation system prevents budget overruns
- Budget enforcement occurs before API calls to AI providers
AI Response Caching
- AI answers may be cached for up to an hour (the default) to avoid repeat requests; cached answers can contain student information and are deleted automatically
- Cache keys use record IDs and a hash of the request, not names
Physical Security
All physical infrastructure is managed by our cloud providers (AWS, Vercel), which maintain:
- 24/7/365 physical security at data centers
- Multi-factor access controls to facilities
- Environmental controls (fire suppression, climate control, power redundancy)
- SOC 2 Type II and ISO 27001 certified facilities
School-Core does not operate any on-premises data centers.
Employee Security
Personnel Practices
- Background checks for all personnel with access to production systems
- Security awareness training upon onboarding and annually thereafter
- Signed confidentiality and non-disclosure agreements
- Principle of least privilege for system access
- Immediate access revocation upon role change or departure
Secure Development Training
- Regular training on OWASP Top 10 vulnerabilities
- Secure coding practices and code review requirements
- Incident response training and tabletop exercises
Vulnerability Management
Vulnerability Scanning
- Dependency vulnerabilities are checked by hand with
npm audit; automated scanning in CI is not yet in place - Regular security reviews of the application code
- Independent penetration testing: planned, not yet carried out
Patch Management
- Critical vulnerabilities: patched within 24 hours
- High vulnerabilities: patched within 7 days
- Medium vulnerabilities: patched within 30 days
- Low vulnerabilities: patched within 90 days
Responsible Disclosure
We welcome responsible security research. If you discover a vulnerability:
- Email: security@school-core.com
- Include: description, steps to reproduce, potential impact
- We will acknowledge receipt within 48 hours
- We will not pursue legal action against good-faith researchers
- We request that you do not publicly disclose the vulnerability until we have had reasonable time to address it
Compliance
Regulatory Alignment
| Regulation | Status | Notes |
|---|---|---|
| GDPR | Supported | DPA and SCCs available; EU/UK schools may use the Service for evaluation only (see Terms §3) |
| FERPA | Supported | School as controller, educational purpose only |
| COPPA | Supported | School consent model; parents' choices on AI, photos and data take effect at once |
| CCPA/CPRA | Supported | No data sales, rights honored |
| HIPAA | N/A | Not a covered entity; health features are school-managed |
| SOC 2 | Not certified | No SOC 2 audit has started |
| ISO 27001 | Not certified | No certification assessment has started |
Data Protection Impact Assessments (DPIAs)
We conduct DPIAs for:
- New features involving sensitive personal data
- AI features processing children's data
- Changes to data processing infrastructure
- New sub-processor engagements
Forward Commitments
Security is a programme, not a milestone. These are things we intend to do and have not done yet:
- SOC 2 Type II — we intend to pursue a SOC 2 audit. None has started.
- ISO 27001 — we intend to pursue certification. No assessment has started.
- Independent penetration testing — a first test by an outside firm, with findings tracked to closure.
- Database-level tenant separation — completing PostgreSQL row-level security beneath the application-level controls.
- Automated dependency scanning — adding vulnerability scanning to our CI pipeline.
- A tighter Content-Security-Policy — removing the allowance for inline scripts.
- Tested recovery — rehearsing a database restore and publishing a recovery-time target.
- Continuous expansion of application-level encryption — extending field-level protection to additional categories of sensitive data over time.
- Self-service data subject rights — moving more of the GDPR / CCPA access, portability, and erasure flows from operator-assisted to fully automated.
- Bug bounty programme — formalising our responsible-disclosure channel into a structured programme with researcher rewards.
We will share certification and audit reports with customers under NDA once they exist.
Contact
Security Team: security@school-core.com Vulnerability Reports: security@school-core.com Data Protection Officer: privacy@school-core.com
For urgent security matters, include "URGENT" in the email subject line.
Last updated: October 2026 · v1.0