Classroom Behavior TrackerFree from Neon Harbor Labs

Classroom Behavior Tracker › Help & resources › Security information

Security notes — Classroom Behavior Tracker

Status: Version 1.0.1. Reviewed by the developer only: there has been no outside security assessment and no district review yet. This document describes what the app does and, just as importantly, what it does not do. Do not treat the app as secure, FERPA-compliant, or approved for real student records until your school or district has reviewed it.

What review is needed before real student records?

That is your school or district's decision. Many districts approve classroom tools through their own technology or student-privacy review (for example a data-privacy agreement, a vendor questionnaire, or an IT check). A paid independent security audit is not required for every tool; your district decides what it needs. This page is written to give reviewers the facts: what the app protects, and what it does not.

What is implemented

AreaWhat the app does
StorageEach clipboard is its own browser database. Every record is sealed individually with AES-256-GCM.
KeysA master key is wrapped by a key derived from your PIN (PBKDF2-SHA-256, 600,000 rounds). Each clipboard has its own data key wrapped by the master key. Erasing a clipboard destroys its key.
IntegrityEach record's ciphertext is bound to its clipboard and record id, so a record copied to another clipboard (or onto another id) fails to open; tampering is detected.
LockPIN 8–12 digits. Wrong tries add delays after 5 free tries (30 s, doubling, at most 5 minutes). The recovery code is never delayed: at 130 bits it cannot be guessed. By default the app stays unlocked until the teacher taps Lock now: it never locks for inactivity or because it was in the background (the screen is only blurred in the app-switcher view). Teachers may instead choose a class-period or custom time limit, with a 2-minute warning. This is the app's own lock, separate from the iPad's passcode and screen lock, which stay on and still protect the device. A restart or a closed app always requires the PIN; the key is only ever held in memory. Locking pauses a running observation timer. Trade-off: while unlocked and unattended, anyone who can use the open iPad can see the records, so rely on the iPad passcode/auto-lock and tap Lock now when leaving the device. Locking closes open dialogs, clears keys and data from memory, and locks all open tabs on a manual lock. Content is blurred when the app is backgrounded.
Other stored dataClass names, clipboard metadata (number, behavior template, report preferences) and observation sessions are sealed with AES-256-GCM under the master key. Stored unencrypted: the PIN header (salt, wrapped key), the wrong-PIN counter, the last-backup date, and app settings (unlock mode, retention rule, class-report display preferences). None of these contain student data.
PIN changeRe-wraps the master key; data is untouched. Old PIN stops working.
Recovery codeOptional, offered at setup and in Settings: 26 random characters (130 bits), shown once and never stored. It wraps the same master key (PBKDF2 200,000 rounds + AES-256-GCM), so it can set a new PIN without touching any records. Making a new code replaces the old one.
Face ID / Touch IDOptional. A passkey in the device's own keychain (WebAuthn, platform authenticator, user verification required) with the PRF extension: after Face ID or Touch ID succeeds, the device releases a secret that unwraps the master key (HKDF-SHA-256 + AES-256-GCM). No server, no biometric data in the app. Not available where passkeys or PRF are disabled (some managed iPads); the PIN always works.
Forgot PINWith a recovery code: reset the PIN, keep every record. Without one: erase everything (typed confirmation), then optionally restore from a backup.
BackupGzip + AES-256-GCM with a separate backup passphrase (12+ chars, PBKDF2 600,000 rounds). Restore validates every field, only adds new classes, and rolls back on failure.
NetworkNo network code in the app. A strict Content-Security-Policy (default-src 'none'; connect-src 'self' …) is built into the page. Tested: fetch, image, XHR and WebSocket requests to outside sites are blocked. npm run audit:build checks the shipped files.
TabsOne tab may write to a clipboard at a time (Web Locks); other tabs open it read-only.
ExportsCreated on the device. CSV cells starting with =, +, -, @ are neutralised against spreadsheet formula injection.

Known limitations (please read)

  1. Short PINs are weak against offline attack. Someone who copies the device's browser storage can try PINs at their own speed; 8 digits is a small search space for dedicated hardware. Use 10–12 digits and keep the iPad's own passcode on (iOS encrypts storage when locked). In-app delays only slow guessing through the app.
  2. Recovery depends on you. A forgotten PIN can be reset only with your recovery code; a forgotten backup passphrase cannot be recovered. Nobody, including the developer, can help. Anyone who has your recovery code AND your unlocked iPad (or its storage) could set a new PIN, so keep the code private (an email to yourself is only as safe as that mailbox).
  3. Browser storage can disappear. Clearing Safari data, resetting the iPad, or (for non-installed web pages) long disuse can erase everything. Install to the Home Screen and make regular backups.
  4. Exports are not encrypted and persist in Downloads/Files (possibly synced to iCloud) until you delete them.
  5. Unlocked = readable. Anyone who can see or use an unlocked screen can read it. Screenshots and photos are outside the app's control.
  6. Device compromise. Malware, a modified browser, or a hostile browser extension on the device can defeat any in-browser protection.
  7. Hosting. If the app's files are served from a website, you are trusting that site to serve unmodified code. Self-hosting or using a signed, reviewed build is safer for sensitive use. Static-host security headers are provided in public/_headers.
  8. Third-party code. jsPDF, jsPDF-AutoTable, fflate, idb and Workbox are bundled (see third-party notices). jsPDF's optional HTML/SVG/sanitizer features are stubbed out. One inert library URL string remains in the bundle and is blocked by the CSP. npm audit reports 0 known vulnerabilities in the shipped packages; 10 low/moderate advisories remain in build-only tools that are not shipped. Dependencies are frozen at their current versions for 1.0.
  9. Browsers. Development testing covered Chromium and a load check in Safari (WebKit) on a Mac, plus informal use on an iPad. Firefox, Edge, Android, iPhone and screen-reader use are untested.
  10. Cryptography is the browser's (Web Crypto); this code has not been reviewed by a cryptographer.
  11. Until-I-lock is the default. The app does not lock itself while you teach. An unattended, unlocked iPad shows the records to anyone holding it; the iPad passcode/auto-lock and Lock now are the protection.
  12. Development server. npm run dev serves the demo build to your local network with a local mkcert certificate. Anyone on the same Wi-Fi who knows the address can load the app's code (never your records, which stay in each device's own storage). Stop the server when you are not testing, and do not use the demo build with real records.

Reporting a problem

Questions or security reports: [email protected]