Security
What the service stores, who receives it, how long it is kept, how uploaded files are handled, and what has and has not been tested. This is a beta run by one person. It is not a contract or an audit.
The full notes are in the repository: docs/security.md. Where this page and the code disagree, the code is right and this page is the bug.
What is stored, and who receives it
| Data | Goes to | Kept for |
|---|---|---|
| The uploaded file and its file name | Railway | 24 hours after the instructor last works on it; 7 days if the instructor keeps it; 30 days if the instructor also lets us look at the results |
| Pictures of the equations and figures cut from your file, with a little of the nearby text, to propose LaTeX for equations and alt text for figures. | Railway, Anthropic | With us: the same schedule. Anthropic: up to 30 days, longer if its safety systems flag the material |
| Pictures of the tables cut from your file, to rebuild them as tables. | Railway, Anthropic | With us: the same schedule. Anthropic: up to 30 days, longer if its safety systems flag the material |
| For a document you upload for one of your courses, that course's notation (its symbols and what they mean), sent with the equations. | Railway, Anthropic | With us: the same schedule. Anthropic: up to 30 days, longer if its safety systems flag the material |
| A picture of each whole page, with its lines of text as a numbered list, so a model can say which lines belong together and in what order to read them. | Railway, Anthropic | With us: the same schedule. Anthropic: up to 30 days, longer if its safety systems flag the material |
| If you check “Convert scanned or handwritten pages”, a picture of each scanned or handwritten page, and of parts of it that need a second look, to read it. | Railway, Anthropic | With us: the same schedule. Anthropic: up to 30 days, longer if its safety systems flag the material |
| On the review screen, a picture of a region you mark as an equation, or of a table cell you ask to have read as math, with a little of the nearby text. | Railway, Anthropic | With us: the same schedule. Anthropic: up to 30 days, longer if its safety systems flag the material |
| The result and the review decisions | Railway | The same schedule; a deleted document can stay in a database backup for up to about a week |
| The instructor's email address, name and sign-in id | Railway | Until the instructor deletes the account |
| Timings, counts, costs and error categories; never document text, images or file names | Railway | Railway keeps its standard logs for a limited time |
What is sent where, and for how long
- The uploaded file and its file name Goes to: Railway Kept for: 24 hours after the instructor last works on it; 7 days if the instructor keeps it; 30 days if the instructor also lets us look at the results
- Pictures of the equations and figures cut from your file, with a little of the nearby text, to propose LaTeX for equations and alt text for figures. Goes to: Railway, Anthropic Kept for: With us: the same schedule. Anthropic: up to 30 days, longer if its safety systems flag the material
- Pictures of the tables cut from your file, to rebuild them as tables. Goes to: Railway, Anthropic Kept for: With us: the same schedule. Anthropic: up to 30 days, longer if its safety systems flag the material
- For a document you upload for one of your courses, that course's notation (its symbols and what they mean), sent with the equations. Goes to: Railway, Anthropic Kept for: With us: the same schedule. Anthropic: up to 30 days, longer if its safety systems flag the material
- A picture of each whole page, with its lines of text as a numbered list, so a model can say which lines belong together and in what order to read them. Goes to: Railway, Anthropic Kept for: With us: the same schedule. Anthropic: up to 30 days, longer if its safety systems flag the material
- If you check “Convert scanned or handwritten pages”, a picture of each scanned or handwritten page, and of parts of it that need a second look, to read it. Goes to: Railway, Anthropic Kept for: With us: the same schedule. Anthropic: up to 30 days, longer if its safety systems flag the material
- On the review screen, a picture of a region you mark as an equation, or of a table cell you ask to have read as math, with a little of the nearby text. Goes to: Railway, Anthropic Kept for: With us: the same schedule. Anthropic: up to 30 days, longer if its safety systems flag the material
- The result and the review decisions Goes to: Railway Kept for: The same schedule; a deleted document can stay in a database backup for up to about a week
- The instructor's email address, name and sign-in id Goes to: Railway Kept for: Until the instructor deletes the account
- Timings, counts, costs and error categories; never document text, images or file names Goes to: Railway Kept for: Railway keeps its standard logs for a limited time
- The page pictures go to Anthropic, the model provider: pictures of the equations and figures cut from the file, with a little nearby text, and what the list in the table shows for the features this server has on. The PDF file itself, its file name and the instructor's email address are not sent.
- Uploads are not used to train models by ReadableSTEM. Anthropic states that it does not use API data to train its models by default. Anthropic's published policy is to delete API inputs and outputs from its systems within 30 days (longer for material its safety systems flag), so a document you delete here can remain with Anthropic for up to that long; see Anthropic's own API data policies. What the companies say is their own statement; ReadableSTEM cannot check it. No zero-retention agreement is in place.
- Railway hosts the application and its database, in its United States region.
- Logs and usage notes hold event names, random ids, counts, timings and error categories. They do not hold document text, images, file names or email addresses. A test runs a marked document through every step and finds the marker in no log, cookie, header or event.
The same data, by company
| Company | What it receives | What it says about training and retention |
|---|---|---|
| Anthropic |
|
Anthropic states that it does not use API data to train its models by default. Anthropic's published policy is to delete API inputs and outputs from its systems within 30 days (longer for material its safety systems flag), so a document you delete here can remain with Anthropic for up to that long; see Anthropic's own API data policies. |
| Railway | Hosts the app and its database, in its United States region. It holds every row of the first table that goes to Railway. | Daily database backups are kept about 6 days. |
The privacy notice lists the same companies and is the page to cite.
What the model company keeps
This server sends its model requests to Anthropic. The
store setting belongs to the OpenAI path only and is not used here: for
Anthropic, the retention statement in the table applies. No zero-retention
agreement is in place. What the model companies say is their own statement; ReadableSTEM cannot check it.
How long it is kept, and deletion
| Case | Deleted | Who can look at it |
|---|---|---|
| Default: neither box checked | 24 hours after you last worked on it | Only you, and the people you name |
| “Keep for 7 days” | 7 days after you last worked on it | Only you, and the people you name |
| Also “let ReadableSTEM look at the results” | 30 days after upload | The people who run ReadableSTEM, to find mistakes in the tool |
| “Delete now”, or deleting the account | At once, from the database | Nobody |
| Database backups | A deleted document can stay in a backup for up to about a week | Used only to recover the service |
| What Anthropic received | Anthropic's published policy is to delete API inputs and outputs within 30 days, longer for material its safety systems flag. | Anthropic |
- A document past its time answers “not found” at once, and an hourly job deletes it and what was made from it. “Delete now” removes the same rows at once, after a confirm page.
- Deleting an account removes the person's documents, courses, events and sign-in. A scrambled fingerprint of the address stays until the next day so the day's limits do not reset, and one line of a one-way hash of the account id and the time stays so a restored backup can delete the account again.
- Not reached by deleting: database backups keep a copy for about 6 days, and the model provider's own retention is its own.
Download this as a one-page retention summary for a disability or privacy office.
Sign-in and who can see a document
- People sign in with Google. Students never sign in.
- A document belongs to the person who uploaded it. Others get the same “not found” page as for a document that does not exist. The owner can share a document with named people, who must sign in with the exact address entered.
- Every form is protected against cross-site requests, sign-in attempts and uploads are rate limited, and the pages send security headers.
How uploaded files are handled
- A file is opened first by a separate short-lived process with time and memory limits, and the conversion runs in a child process that can be stopped, with limits on memory, processor time and run time. Page, size and daily limits apply.
- Everything that reaches a web page is escaped or checked against an allowed list, and the converted file is served with a policy that blocks scripts.
- LaTeX source is read by LaTeXML in a sandbox with no network.
- Some steps write a temporary copy of derived content to a private folder on the server, which is removed when the step ends. The uploaded file itself is kept in the database, not on disk.
- A crafted PDF can still make a conversion worse. The review screen is how a person catches that; it is not a security control.
What has and has not been tested
- Tested by the project's own checks: who may open which document, the retention clock, that no document content reaches logs, how hostile files are refused, and the escaping of what reaches a page. The application was reviewed against a written checklist before launch.
- Not done: no independent security test has been made, and no accessibility conformance report is published. The output has not been tested by listening with NVDA, JAWS or VoiceOver.
- The accepted risks for the beta are listed in the security notes.
No agreement is offered
ReadableSTEM does not sign a school-official agreement or a data processing agreement. There is no company behind it that could sign one. If your institution requires one for any tool that handles course material, ReadableSTEM does not meet that yet. The terms forbid uploading student records, and the tool does not ask for students' names or accounts. More for offices.
Report a problem
Report privately, not in a public issue. Use GitHub's private reporting or email hello@readablestem.com with “ReadableSTEM security” in the subject. A small made-up PDF is enough; please do not send anyone's real documents or test against other people's. This is one person's best effort, not a service level. The full policy.