1-Page District & School Review Brief · Google Workspace for Education™
Rubric Grader — IT Admin Security & Privacy Summary
Prepared by Marginalia Software for school, district, and university IT administrators evaluating Rubric Grader for Domain-Wide Install or Organizational Unit (OU) approval.
Executive Summary
Rubric Grader is a multi-surface Google Workspace™ add-on enabling educators to grade handwritten or typed worksheets in Google Sheets™, open-ended quiz responses in Google Forms™, written essays in Google Docs™, and individual files from Google Drive™ or Gmail™ against their own rubric.
- Zero student data retention: Student images, PDFs, Form responses, Doc text, rubrics, names, transcriptions, and scores are processed strictly in volatile server memory (RAM) and immediately discarded—never stored in any database, disk volume, cache, cloud bucket, or log file. Smart Chip links encode compact summaries strictly in the client-side URL fragment (
#v1.…) and omit student names by default. - No AI model training: All AI grading requests run over a paid, billing-enabled Google Gemini API tier using inline memory payloads only (never persistent file uploads), where Google does not use submitted data to train AI models.
- Zero restricted OAuth scopes: Requests only per-document
*.currentonlyscopes, per-filedrive.file, and current-message Gmail™ add-on access. Never browses Google Drive™ or lists/reads other emails. - No student accounts or logins: Only teachers and staff authenticate using their existing Google Workspace™ account.
1. Exact OAuth Scopes Requested
Rubric Grader requests exclusively non-restricted, least-privilege scopes—no broad drive, drive.readonly, spreadsheets, or gmail.readonly scopes.
| OAuth Scope | Why It Is Needed | What It Cannot Access |
|---|---|---|
| https://www.googleapis.com/auth/spreadsheets.currentonly | Appends graded rows exclusively to the active Google Sheets™ file when run from Sheets. | Cannot access arbitrary or other existing spreadsheets. |
| https://www.googleapis.com/auth/forms.currentonly | Reads open-ended quiz responses and writes rubric scores + feedback exclusively on the active Google Forms™ quiz. | Cannot access any other Google Forms™ or Drive files. |
| https://www.googleapis.com/auth/documents.currentonly | Reads text and optionally appends a rubric evaluation summary exclusively on the active Google Docs™ file. | Cannot access any other Google Docs™ or Drive files. |
| https://www.googleapis.com/auth/drive.file | Reads only the specific worksheet file(s) a teacher explicitly authorizes via Drive requestFileScope or Drive "Open with", and appends to the app-created Rubric Grader Gradebook Sheet. |
Cannot list, search, or read any other files or folders in Google Drive™. |
| https://www.googleapis.com/auth/drive.addons.metadata.readonly | Displays the filename and MIME type of the file currently selected in the Google Drive™ side panel. | Cannot read file contents until the teacher grants per-file drive.file access. |
| https://www.googleapis.com/auth/gmail.addons.execute https://www.googleapis.com/auth/gmail.addons.current.message.readonly |
Reads worksheet attachments strictly on the single email currently open when the teacher clicks Grade in Gmail™. | Cannot search, list, or read any other email in the mailbox (Sensitive add-on scope, not Restricted). |
| https://www.googleapis.com/auth/workspace.linkpreview | Renders interactive Rubric Grader Smart Chip hover cards in Google Docs™ / Sheets™. | Only triggers on Rubric Grader Smart Chip URLs matching the manifest pattern. |
| script.container.ui, script.external_request, script.locale, userinfo.email | Renders sidebar/cards, sends transient grading requests to Cloud Run, detects UI locale, and tracks teacher credit balance. | No access to contacts, domain directory listings, or student accounts. |
2. Data Flow & Zero-Retention Architecture
- In-Browser Preparation: Teacher selects rubric text/PDF and student worksheet photos/PDFs inside the sidebar. Oversized phone photos are resized locally in browser memory before upload.
- Encrypted Transit & Verification: Files travel over HTTPS/TLS (
Strict-Transport-Securityenforced) to our stateless Google Cloud Run backend. Each request authenticates via Google'soauth2.googleapis.com/tokeninfoendpoint with strict OAuth Client ID audience enforcement and strict*.googleusercontent.comCORS rules. - In-Memory Processing & Buffer Zeroing: Uploaded files remain strictly in volatile RAM, are sent to the paid Gemini API via
inlineData(never the Gemini Files API), and raw memory buffers are explicitly zeroed (buf.fill(0)) infinallyblocks immediately after each request finishes or fails. - Defense-in-Depth Log Redaction: Structured server logs redact authorization headers, cookies, tokens, student names, rubrics, transcriptions, and feedback—logging only opaque request IDs, HTTP status codes, and latency.
- Safe Sheet Output: Graded results return directly to the teacher's active Google Sheet, with spreadsheet formula-injection escaping (
=,+,-,@) applied to all untrusted strings before writing cells.
3. What Data Is (and Is Not) Stored
| Category | Stored? | Details |
|---|---|---|
| Student worksheet photos / PDFs | No | Processed in volatile RAM and zeroed immediately. |
| Student names, answers, scores, feedback, rubrics | No | Returned to the teacher's Workspace file and discarded from server memory. |
| Teacher email & credit balance | Yes (minimal) | Stored in Google Cloud Firestore solely to track remaining credits (users/{email}.apps.grades). |
| Payment card details | No | Optional credit packs are processed exclusively by Stripe; card data never touches Marginalia Software servers. |
4. Subprocessors & Infrastructure
| Subprocessor | Role | Data Handled |
|---|---|---|
| Google Cloud Run & Cloud Firestore | Stateless grading API & teacher credit counter | Teacher email + numeric credit balance; worksheet media processed transiently in RAM only. |
| Google Gemini API (Paid Tier) | Multimodal rubric grading | Transient inline rubric + worksheet payload per request; not retained for model training under Paid Services terms. |
| Stripe | Optional one-time credit pack checkout | Teacher email + billing details (only if a teacher purchases credits). |
5. Domain-Wide Install & IT Administrator Contacts
- Domain-Wide Install Enabled: IT administrators can approve or pre-install Rubric Grader for an entire domain or specific Organizational Units (OUs) in the Google Admin Console (Apps → Google Workspace Marketplace apps).
- Google API Limited Use Compliance: No ads, no data resale, no student tracking, and full adherence to the Google API Services User Data Policy.
- Account Deletion & Security Questionnaires: Email support@marginaliasoftware.com. Teacher account records are permanently deleted within 7 business days upon request.
- Full Privacy Policy: https://marginaliasoftware.com/privacy