{"title":"Up to Code security audit for PTworker","product":"PTworker.me","testedAt":"2026-10-31T05:22:23.012Z","finishedAt":"2026-10-31T05:23:17.229Z","score":100,"scoreLabel":"63 of 63 scored checks passed","counts":{"pass":63,"fail":0,"observation":11,"excluded":4},"method":["Temporary sample office created with PT_SEED_DEMO under the audit disk sandbox (Render the Render audit disk sandbox or PT_AUDIT_HOME). The live office file (/var/data/pt-me.db or data/pt.db) was not opened.","Outbound fetch calls were intercepted, logged without query strings, and not delivered.","Texting was captured locally and was not delivered to the texting provider.","Email delivery and PayPal were left unconfigured.","Optional Stripe card pay was exercised against a local mock. Card numbers were refused, and a copay was recorded only after the mock said paid.","Role, backup, restore, and concurrent save checks used the application API.","Wrapped office keys, SHA-256 snapshot checks, POST /api/backup/verify after Save a copy now, GET /api/backup decrypt round-trip, cloud vendor catalog plus S3 capture push, administrator-only backup file permissions, and the append-only backup-run log were exercised on this run.","Source was reviewed for destinations, password storage, and webhook checks.","The backup free-space guard was exercised on the audit sandbox without filling the live office disk. A clinic packet capture and a killed process were not part of this run.","Optional Local AI was stress-tested in a child process with a mock CDN, 40 concurrent extracts, a two-office download cap, refusal of guessed CPT and ICD-10 numbers, Fill-from-text without Local AI active, match reasons on extract, and SHA-256 verify before activation. A live 368 MB GGUF browser inference was not part of this run.","US-only geo gate was exercised on public, staff, portal, and App Store review portal login with x-pt-geo-test headers in development.","Sign-in and trial signup rate limits were exercised with a fixed edge client address and changing X-Forwarded-For values.","Public support chat, ambiguous inbound SMS routing, and Trustpilot homepage widgets were exercised or reviewed on this run.","Live ptworker.me was probed for PHP/php2shell exposure (CVE-2026-109618, CVE-2026-109619): no PHP runtime, no X-Powered-By: PHP, and common .php paths did not execute PHP."],"notice":"This is a software review of PTworker.me. It does not by itself make a clinic HIPAA compliant. Clinic policies for a security officer and incident steps are still the practice's to write.","results":[{"section":"1. Patient privacy and data transmission","item":"PT notes, diagnoses, treatment plans, and medical histories aren't transmitted to an unauthorized server.","result":"pass","evidence":"Creating, editing, saving, and printing a note produced no outbound network calls. The note stayed in the temporary office file."},{"section":"1. Patient privacy and data transmission","item":"Patient names, contact details, and other identifying information aren't unintentionally uploaded.","result":"pass","evidence":"The public page and the chart actions in this run did not send the sample patient's name, phone, or note text to another server."},{"section":"1. Patient privacy and data transmission","item":"Network traffic is examined during note creation, editing, saving, printing, and deletion.","result":"pass","evidence":"Outbound fetch calls were recorded for create, edit, print, and delete. None left this computer. This is process-level logging, not a clinic packet capture."},{"section":"1. Patient privacy and data transmission","item":"Network traffic is examined during peak usage, not just when the office is idle.","result":"pass","evidence":"The simultaneous office work and the eight-note burst were logged. Neither sent chart text to another server. This is process logging, not a packet capture on a clinic computer."},{"section":"1. Patient privacy and data transmission","item":"Text messages contain only the intended appointment or notification information.","result":"pass","evidence":"The appointment text named the patient, the office, and the visit. It did not include the chart cue. The message notification did not include the message body. Nothing was sent to the texting provider in this run."},{"section":"1. Patient privacy and data transmission","item":"Email messages don't accidentally include patient notes or other sensitive records.","result":"pass","evidence":"Schedule email was refused because the office mailbox is not connected. Emailing a chart PDF is off unless the office turns it on. The schedule text is built from the visit time, therapist, and clinic, not from the note."},{"section":"1. Patient privacy and data transmission","item":"Error reports, diagnostic logs, and crash reports don't expose patient information.","result":"pass","evidence":"A broken request and a missing chart returned short errors with no chart text. API failures log the error message, not the request body. A vendor crash-report service is not wired up. A forced process crash was not performed."},{"section":"1. Patient privacy and data transmission","item":"Authentication and subscription requests don't inadvertently transmit patient records.","result":"pass","evidence":"Sign-in, the billing page, and a PayPal confirmation with no PayPal credentials stayed on this computer and did not include the sample note. PayPal was not configured, so no subscription identifier was sent."},{"section":"1. Patient privacy and data transmission","item":"Optional Local AI does not send visit notes to a cloud chat company or bill guessed CPT or ICD-10 numbers.","result":"pass","evidence":"Extract stayed on this computer. Guessed CPT 99999 and ICD-10 XYZ123 were dropped. Matching used this office's diagnosis and treatment list and the 8-minute rule, with match reasons for each line. Chart text was not posted to a cloud chat API. Hugging Face and jsDelivr appear only as optional browser downloads of the GGUF and wasm, not as a note destination."},{"section":"1. Patient privacy and data transmission","item":"Fill from this visit matches office lists without turning Local AI on.","result":"pass","evidence":"POST /api/local-ai/extract returned 200 while Local AI was inactive. Diagnosis and treatment still came from this office's lists only, with match reasons. No GGUF download was required."},{"section":"1. Patient privacy and data transmission","item":"Optional Local AI model file is pinned with SHA-256 before verify turns the feature on.","result":"pass","evidence":"Handshake and verify require SHA-256 48ab3034d0dd… The browser download worker refuses a file that does not match. This run did not download the live 368 MB GGUF."},{"section":"1. Patient privacy and data transmission","item":"Optional Stripe card pay does not store card numbers and does not record a copay until Stripe says paid.","result":"pass","evidence":"Card pay stayed off until the Stripe key worked. The secret key was sealed and not returned. A typed card number was refused. An unknown pay page was not marked paid. A paid Stripe Checkout recorded the copay without a PAN on the chart."},{"section":"1. Patient privacy and data transmission","item":"Any backups or temporary files are accounted for, including where they're stored and who can access them.","result":"pass","evidence":"Automatic copies are written under the temporary office folder (the temporary audit sandbox\\backups). A signed-out user and a receptionist cannot download them. No .tmp file remained after the copy was renamed into place."},{"section":"2. File handling and protection","item":"Locked files are handled safely and aren't silently overwritten.","result":"excluded","evidence":"Records are stored in the office SQLite file, which uses a write-ahead log and a 15 second busy wait. This run did not place an exclusive operating-system lock on a file. Concurrent saves are covered separately."},{"section":"2. File handling and protection","item":"Read-only files remain unchanged unless an authorized operation explicitly permits a change.","result":"pass","evidence":"A read-only sentinel in the backup folder was unchanged after an automatic backup."},{"section":"2. File handling and protection","item":"Files unrelated to the active operation aren't modified.","result":"pass","evidence":"A JSON file that is not a PTworker.me backup stayed in the backup folder, unchanged, while real copies were rotated."},{"section":"2. File handling and protection","item":"Failed saves don't leave partially written or corrupted records.","result":"pass","evidence":"An incomplete signed note was refused. The existing draft was still intact afterward."},{"section":"2. File handling and protection","item":"Interrupted operations don't destroy existing patient information.","result":"pass","evidence":"A malformed backup was refused. The sample patient and note were still present. Restore runs in a transaction and rolls back on failure."},{"section":"2. File handling and protection","item":"Simultaneous access doesn't silently overwrite another user's changes.","result":"pass","evidence":"One overlapping save was kept. The other was refused and asked to reload the chart. The kept text was not mixed with the refused text."},{"section":"2. File handling and protection","item":"Invalid, missing, or inaccessible files produce safe error handling.","result":"pass","evidence":"A missing chart, a backup name that points outside the backup folder, and website paths above the public folder were refused without returning the application files or the sample note."},{"section":"2. File handling and protection","item":"Temporary files don't leave unnecessary copies of sensitive records behind.","result":"observation","evidence":"No leftover .tmp file was found. A repeated-save receipt keeps a copy of the note response inside the office database for up to two days, then deletes it. That copy is not a separate file."},{"section":"2. File handling and protection","item":"File permissions prevent unauthorized users from reading or changing records.","result":"observation","evidence":"Signed-out requests cannot read charts through the application, and the database file is not in the public website folder. Windows access-control lists on the office file were not reviewed in this run."},{"section":"2. File handling and protection","item":"Backups can be restored and contain the expected records.","result":"pass","evidence":"Restoring the sample backup required the office name and put the backed-up phone number and note back. A before-restore copy was kept. Restore does replace current records after that confirmation; it does not do so silently."},{"section":"2. File handling and protection","item":"Office encryption keys are not stored as raw key bytes.","result":"pass","evidence":"The office key is a wrapped AES-256-GCM envelope (NIST SP 800-57). The same wrap is used on Windows, Mac, and Linux. Raw 32-byte keys are not stored."},{"section":"2. File handling and protection","item":"Backup snapshots carry a SHA-256 checksum that is validated.","result":"pass","evidence":"Each snapshot stores a SHA-256 checksum. After that checksum was changed, opening the copy was refused. The original file was put back."},{"section":"2. File handling and protection","item":"Verify latest copy re-reads the sealed backup after Save a copy now.","result":"pass","evidence":"POST /api/backup/verify succeeded after Save a copy now on the sealed snapshot (same path clinics use after USB or synced cloud folders)."},{"section":"2. File handling and protection","item":"Downloaded backup opens on this office and still lists patients after decrypt.","result":"pass","evidence":"GET /api/backup returned AES-256-GCM; decrypt listed patient rows and chart names stayed out of the sealed JSON."},{"section":"2. File handling and protection","item":"Cloud backup vendors (sync folder and S3 API) use the same encrypted snapshot.","result":"pass","evidence":"Sync-folder vendors include Dropbox, Google Drive, OneDrive, Box, and others. Direct API push test captured for Wasabi/S3-style upload with encrypted bytes only."},{"section":"2. File handling and protection","item":"Every backup run is recorded in an append-only log.","result":"pass","evidence":"The run log is append-only JSONL with a hash chain. Latest line: 2026-10-31T05:22:56.283Z, succeeded, 66.8 KB, the temporary audit sandbox\\backups."},{"section":"3. User access and account security","item":"Each user can access only the features and information permitted by their role.","result":"observation","evidence":"A receptionist does not receive visit-note text, settings, or the audit log. A signed note's diagnosis code is included on the claim, and the receptionist chart includes claims."},{"section":"3. User access and account security","item":"Front-desk permissions are appropriately restricted.","result":"pass","evidence":"A receptionist cannot save a visit note. The staff list returned 200. Owner-only tools were not granted by the front-desk role."},{"section":"3. User access and account security","item":"Unauthorized users cannot bypass sign-in or access protected files directly.","result":"pass","evidence":"Charts require a sign-in cookie. A request that claims to come from another website is refused. The office database is not available as a public file."},{"section":"3. User access and account security","item":"Failed sign-in attempts are handled safely.","result":"pass","evidence":"A wrong password and an unknown email return the same message. After repeated failures, sign-in is paused. The response did not include a password or chart text."},{"section":"3. User access and account security","item":"Sign-in rate limits use a trusted client address, not a spoofed forwarded chain.","result":"pass","evidence":"Nine failed sign-ins from the same edge address were paused even when each request used a different X-Forwarded-For value."},{"section":"3. User access and account security","item":"Sessions expire or can be terminated appropriately.","result":"observation","evidence":"Idle sessions and sign-out both end access. The cookie is HttpOnly and SameSite=Lax. Secure is added when the public address is HTTPS; this run used HTTP on localhost, so Secure was not set."},{"section":"3. User access and account security","item":"Staff who leave the practice can have their access revoked.","result":"pass","evidence":"The owner turned the therapist account off. That password no longer signs in. The owner cannot turn off their own account."},{"section":"3. User access and account security","item":"Passwords and authentication secrets aren't stored or logged in plain text.","result":"pass","evidence":"Staff passwords are scrypt hashes. The office email app password and the authenticator secret are sealed in the office file. The settings page and the audit log did not show the email app password."},{"section":"3. User access and account security","item":"Administrative actions and access to sensitive information are appropriately recorded.","result":"pass","evidence":"The owner audit log includes sign-in and chart activity (mfa_disabled, settings_updated, staff_updated, login, login_failed, patient_viewed, visit_note, backup_restored). It did not include the sample note text. A receptionist cannot open this log."},{"section":"4. Network and application security","item":"Public trial signup is rate limited.","result":"pass","evidence":"Repeated trial sign-ups from the same address were paused after several attempts in ten minutes."},{"section":"4. Network and application security","item":"Public support chat stores messages on this host.","result":"pass","evidence":"Support chat returned the same thread and kept the message on this server."},{"section":"4. Network and application security","item":"Inbound texts do not attach to the wrong office when the same mobile number exists twice.","result":"pass","evidence":"When two active charts share the same last-10 mobile number and the office line is not known, the text was not attached to a chart."},{"section":"4. Network and application security","item":"All external connections are identified and their purposes documented.","result":"pass","evidence":"www.paypal.com (bridge.mjs, public\\js\\app.js): PayPal checkout script in the browser for the office subscription button. It does not receive visit notes. www.paypalobjects.com (bridge.mjs): PayPal button images and scripts. They do not receive visit notes. cdn.jsdelivr.net (bridge.mjs, public\\js\\app.js): Optional in-browser llama.cpp (wllama) wasm for Local AI. Chart text stays in this office; codes are matched here. www.sandbox.paypal.com (bridge.mjs): PayPal sandbox checkout script for the office subscription button. api-m.paypal.com (bridge.mjs, src\\paypal.mjs): Office subscription billing on the live PayPal API. Sends subscription identifiers, not visit notes. api-m.sandbox.paypal.com (bridge.mjs, src\\paypal.mjs): Office subscription billing on the PayPal sandbox. Sends subscription identifiers, not visit notes. huggingface.co (bridge.mjs, src\\local-ai.mjs): Optional Local AI model file. The browser downloads the GGUF to this computer. Visit notes are not posted to Hugging Face. cdn-lfs.huggingface.co (bridge.mjs): Optional Local AI model file host. The browser pulls the GGUF here, not through Render. cdn-lfs-us-1.huggingface.co (bridge.mjs): Optional Local AI model file host. The browser pulls the GGUF here, not through Render. cas-bridge.xethub.hf.co (bridge.mjs): Optional Local AI model file host used by Hugging Face redirects. Chart text is not sent there. ptworker.me (public\\faq.html, public\\index.html): The product's own site name, used in links and examples. Chart saves in this run stayed on 127.0.0.1. widget.trustpilot.com (public\\index.html): Trustpilot review widget script on the public homepage. It loads the star rating only. Patient charts are not sent. www.trustpilot.com (public\\index.html): Link from the public homepage to PTworker.me reviews on Trustpilot. Opens in a new tab; charts are not posted there. cdn.trustpilot.net (public\\index.html): Trustpilot widget assets (images and scripts) for the public homepage rating badge. zoom.us (public\\js\\app.js): Optional telehealth link on scheduled visits. Opens the clinic's Zoom meeting in the browser. Chart text is not posted to Zoom. www.claim.md (public\\js\\app.js, src\\claimmd.mjs): Optional electronic claim filing. The office pays Claim.MD. Visit claim files are sent only after the owner finishes setup. Chart notes are not posted as free text. www.stedi.com (public\\js\\app.js, src\\clearinghouses.mjs): Optional Stedi clearinghouse. Pricing and docs links in Settings and FAQ. Claims go only after the owner pastes a Stedi API key. dashboard.stripe.com (public\\js\\app.js, src\\stripe-pay.mjs): Stripe Dashboard link for the clinic's own merchant account and readers. Chart notes are not posted there. stripe.com (public\\js\\app.js, src\\stripe-pay.mjs): Stripe product pages for accounts, Terminal, and Tap to Pay. Chart notes are not posted there. www.pentestreports.com (public\\up-to-code.html): Public security-assessment publication link in Up to Code copy only. svc.claim.md (src\\claimmd.mjs): Claim.MD API used when the owner turns electronic filing on. Sends claim files the office chose to file, not the office encryption key. www.officeally.com (src\\clearinghouses.mjs): Clearinghouse price-compare link in FAQ. PTworker does not API to Office Ally. www.availity.com (src\\clearinghouses.mjs): Clearinghouse price-compare link in FAQ. www.waystar.com (src\\clearinghouses.mjs): Clearinghouse price-compare link in FAQ. www.optum.com (src\\clearinghouses.mjs): Clearinghouse price-compare link in FAQ. www.trizettoprovider.com (src\\clearinghouses.mjs): Clearinghouse price-compare link in FAQ. www.claimremedi.com (src\\clearinghouses.mjs): Clearinghouse price-compare link in FAQ. www.experian.com (src\\clearinghouses.mjs): Clearinghouse price-compare link in FAQ. www.ssigroup.com (src\\clearinghouses.mjs): Clearinghouse price-compare link in FAQ. www.infinedi.com (src\\clearinghouses.mjs): Clearinghouse price-compare link in FAQ. csspt.com (src\\csspt-exercise-videos.mjs): Optional clinic exercise video library when the owner turns on csspt in Settings. The server stores YouTube links mapped from public gallery pages; patient charts are not posted to csspt.com. ip-api.com (src\\geo-gate.mjs): Country lookup for connections that are not from a private office network. Sends the client IP only, over HTTP. It does not send a patient chart. api.resend.com (src\\mail.mjs): Optional PDF email. Used only when emailing records is turned on and a Resend key is configured. Disabled in this run. appcenter.intuit.com (src\\qbo.mjs): Optional QuickBooks Online OAuth app link for bookkeeping sync. oauth.platform.intuit.com (src\\qbo.mjs): Optional QuickBooks Online OAuth token exchange. sandbox-quickbooks.api.intuit.com (src\\qbo.mjs): Optional QuickBooks Online sandbox API. quickbooks.api.intuit.com (src\\qbo.mjs): Optional QuickBooks Online production API. PTworker texting (host) (src\\sms.mjs): Text messages. The server sends the phone number and the message text. Patient notes are not part of that payload in the appointment or reply-link templates. healthcare.us.stedi.com (src\\stedi.mjs): Optional Stedi healthcare API when electronic filing is on. api.stripe.com (src\\stripe-pay.mjs): Optional patient card pay. The office pays Stripe fees. Card numbers stay at Stripe. PTworker sends amount and a customer id, not a PAN. www.cms.gov (src\\trainer-discipline.mjs): Trainer reference link to CMS documentation. www.apta.org (src\\trainer-discipline.mjs): Trainer reference link for PT discipline training. www.aota.org (src\\trainer-discipline.mjs): Trainer reference link for OT discipline training. www.asha.org (src\\trainer-discipline.mjs): Trainer reference link for SLP discipline training. www.acatoday.org (src\\trainer-discipline.mjs): Trainer reference link for chiropractic discipline training. www.nccaom.org (src\\trainer-discipline.mjs): Trainer reference link for acupuncture discipline training. Exercise pages include YouTube links for demonstration videos. The server does not post patient charts to them."},{"section":"4. Network and application security","item":"Data sent over the internet is protected in transit.","result":"observation","evidence":"Texting, PayPal, and Resend use HTTPS. Office mail uses TLS, or STARTTLS when the mail server offers it. Country lookup uses HTTP and sends only the client IP for non-office networks. It was not called in this run. Live packet capture was not attached."},{"section":"4. Network and application security","item":"The application doesn't expose sensitive information through URLs, browser storage, logs, or error messages.","result":"observation","evidence":"The sign-in cookie is HttpOnly. The public scripts store a language choice and a support thread id in localStorage. If a save hits a server update page, the unsaved request, which can include a note, waits in sessionStorage until the tab closes or the save is retried. Passwords are not written there. Search did not return the note body. The browser is not asked for GPS after signup."},{"section":"4. Network and application security","item":"Non-US clients are blocked from the staff app and patient portal, with an App Store review login exception.","result":"pass","evidence":"Non-US IP tests returned 403 on public, staff, and regular portal login. App Store review portal login (APPREVIEW / app-review.*@ptworker.me) returned 200 from a simulated non-US address."},{"section":"4. Network and application security","item":"API endpoints and server functions enforce authorization.","result":"pass","evidence":"Protected routes require a session. Inbound texts require the provider token. An unsigned PayPal notice was refused and did not change the office."},{"section":"4. Network and application security","item":"Input validation prevents common injection and other application attacks.","result":"pass","evidence":"A name containing a quote was stored as text. A search string with SQL punctuation did not break the patient list or remove the sample chart. Queries use bound parameters."},{"section":"4. Network and application security","item":"Dependencies and third-party components are checked for known vulnerabilities.","result":"observation","evidence":"Declared packages: qrcode, playwright. This run did not query an advisory database."},{"section":"4. Network and application security","item":"Server credentials and secrets aren't exposed in application code.","result":"observation","evidence":"No live API keys were found in source. The sample office password is present so the demo office can be seeded. Do not use that seed on a production office. The .env file was not opened."},{"section":"4. Network and application security","item":"Unexpected requests and unauthorized access attempts fail safely.","result":"pass","evidence":"An oversized body, an unexpected method, and an empty PayPal notice failed without returning chart text."},{"section":"5. Peak usage and stress testing","item":"Multiple users performing normal tasks simultaneously.","result":"pass","evidence":"The owner and a receptionist loaded the day list, charts, reception, and the schedule at the same time. All five requests succeeded."},{"section":"5. Peak usage and stress testing","item":"Many notes being created, edited, and saved in quick succession.","result":"pass","evidence":"Eight drafts were saved at the same time and all eight were still on the chart."},{"section":"5. Peak usage and stress testing","item":"Locked files during concurrent operations.","result":"excluded","evidence":"No exclusive file lock was held during the burst. SQLite accepted the parallel note saves without a corrupt chart. An operating-system lock test was not run."},{"section":"5. Peak usage and stress testing","item":"Network interruptions during operations that require connectivity.","result":"pass","evidence":"The visit stayed on the schedule when texting could not be delivered (confirmation status: failed). The attempt to reach PTworker texting (host) was blocked inside this audit and was not delivered. The chart cue was not in that attempt."},{"section":"5. Peak usage and stress testing","item":"Insufficient disk space or unavailable storage.","result":"pass","evidence":"The backup free-space guard ran on the audit disk sandbox without filling the live office disk. An oversized copy was refused (That folder is too full for a new copy. Free space 49.1 GB. This copy needs 49.1 GB.). A tiny copy was allowed (Free space 49.1 GB is enough for a 1.0 KB copy.)."},{"section":"5. Peak usage and stress testing","item":"Application crashes and restarts.","result":"excluded","evidence":"The test process was not killed mid-save. A refused signed note and a rolled-back bad restore were used instead. A crash drill needs a separate process and a copy of the office file."},{"section":"5. Peak usage and stress testing","item":"Optional Local AI note writer is stress-tested without inventing billing codes.","result":"pass","evidence":"Local AI stress passed (12 CDN pulls, 40 concurrent extracts, queue cap, no invented codes) Guessed CPT and ICD numbers from the model were not billed. Extract stayed on the temporary office. Handshake used a local mock CDN, not Render. A live 400 MB GGUF run in a therapist browser was not part of this audit."},{"section":"5. Peak usage and stress testing","item":"Repeated requests or unusually high traffic.","result":"pass","evidence":"Twenty chart-list requests ran together and all succeeded. No outside server was contacted."},{"section":"5. Peak usage and stress testing","item":"No unexpected file changes, data leakage, or corruption under load.","result":"pass","evidence":"After the burst, the original sample note and all eight new drafts were still readable. The burst itself did not send chart text off this computer."},{"section":"5. Peak usage and stress testing","item":"Appropriate recovery after the stress test ends.","result":"pass","evidence":"A new draft saved successfully after the burst."},{"section":"4. Network and application security","item":"Public marketing forms do not put answers in the URL and are not a third-party processor.","result":"pass","evidence":"Support and trial signup POST to this host. The Privacy Policy names those first-party endpoints. No third-party form vendor is wired on the public page."},{"section":"4. Network and application security","item":"The product does not run PHP, so the October 2026 php2shell RCE (CVE-2026-109618, CVE-2026-109619) does not apply to this stack.","result":"pass","evidence":"PTworker.me is Node.js only. No .php files ship in this repository. npm dependency qrcode generates portal QR images only. The php2shell PHP runtime flaw (CVE-2026-109618, CVE-2026-109619) is out of scope."},{"section":"4. Network and application security","item":"Live ptworker.me does not expose a PHP interpreter on common probe paths.","result":"pass","evidence":"Live checks on https://ptworker.me: /index.php 404; /info.php 404; /wp-login.php 404; HSTS on homepage; /api/public 200 without demo. No X-Powered-By: PHP. Origin is Node on Render, not PHP-FPM."},{"section":"6. HIPAA-related safeguards","item":"Business associate agreement at signup","result":"pass","evidence":"Signup without the checkbox was refused. A signed signup stored version baa-tos-2026-10-22.1, SHA-256, account ids, time, and IP, and Settings returned a PDF copy."},{"section":"6. HIPAA-related safeguards","item":"Administrative safeguards","result":"excluded","evidence":"Risk analysis ownership, assigned security responsibility, and incident procedures belong to the practice. This software run did not review those policies."},{"section":"6. HIPAA-related safeguards","item":"Access controls","result":"pass","evidence":"Sign-in, role limits, receptionist restrictions, and direct file requests were exercised on the temporary office."},{"section":"6. HIPAA-related safeguards","item":"Audit controls","result":"pass","evidence":"The owner audit log recorded sign-in and chart activity and did not store the note text."},{"section":"6. HIPAA-related safeguards","item":"Integrity","result":"pass","evidence":"Failed saves and a bad restore left the chart in place. Backup snapshots store a SHA-256 checksum that is checked after write and before restore."},{"section":"6. HIPAA-related safeguards","item":"Authentication","result":"pass","evidence":"Passwords are checked with scrypt. The office email app password and authenticator secret are sealed in the office file. Failed attempts pause. Idle sessions and sign-out end access. A removed staff account cannot sign in."},{"section":"6. HIPAA-related safeguards","item":"Transmission security","result":"observation","evidence":"Texting, PayPal, and Resend use HTTPS. Office mail uses TLS, or STARTTLS when the mail server offers it. Country lookup uses HTTP and sends only the client IP for non-office networks. It was not called in this run. Live packet capture was not attached."},{"section":"6. HIPAA-related safeguards","item":"Contingency planning","result":"pass","evidence":"A backup was written, a restore required the office name, and the expected note came back. A crash drill and a full disk were not tested."},{"section":"7. Data retention, deletion, and backups","item":"Server-side data retention matches the documented policy.","result":"observation","evidence":"Automatic backups keep 8 newest copies. Signed notes are not removed by the draft-delete action. A separate clinic retention schedule is not implemented as a server job, and none was supplied for this run."},{"section":"7. Data retention, deletion, and backups","item":"Data scheduled for deletion is actually removed according to that policy.","result":"pass","evidence":"A draft note was deleted and was no longer on the chart. A signed note was refused and remained."},{"section":"7. Data retention, deletion, and backups","item":"Logs, caches, temporary files, and backups are included in the retention review.","result":"observation","evidence":"Repeated-save receipts are deleted after two days. Audit log rows and notification rows are kept with the office file. Backup copies follow the backup keep setting. There is no separate purge job for audit logs."},{"section":"7. Data retention, deletion, and backups","item":"Local backups are protected from unauthorized access.","result":"pass","evidence":"Downloading a backup requires the settings permission. A signed-out user and a receptionist were refused. Backup folders and files are restricted with Administrators/SYSTEM SIDs on Windows and 700/600 permissions on Mac and Linux."},{"section":"7. Data retention, deletion, and backups","item":"Restoring a backup doesn't silently overwrite newer records.","result":"pass","evidence":"Restore without the office name left the newer phone number in place. Restore with the office name replaced records only after that confirmation, and a before-restore copy was part of that test."},{"section":"7. Data retention, deletion, and backups","item":"Deletion and recovery behavior is documented and tested.","result":"pass","evidence":"This report records the draft-delete, signed-note, backup, and restore results from this run. Those behaviors should be repeated when the office changes its backup folder or retention choice."},{"section":"7. Data retention, deletion, and backups","item":"The office can determine where its records reside and how to recover them.","result":"pass","evidence":"The live file for this run was the temporary audit sandbox\\pt.db. Backups were reported at the temporary audit sandbox\\backups. Recovery is Settings, Backup, then restore, and it asks for the office name. This path is the temporary audit office, not a clinic's production file."}],"priorities":[{"question":"Does sensitive patient information stay where intended?","answer":"In this temporary office, chart text was not sent to another server. Texts and emails that were allowed to form did not include the note. See observations for the local demo password and for country lookup."},{"question":"Are patient files protected against unintended changes?","answer":"Failed saves, a bad restore, and unrelated files behaved safely in this run."},{"question":"Can unauthorized users obtain patient records?","answer":"Signed-out requests did not open charts, and a receptionist did not receive visit-note text. The receptionist chart does include diagnosis codes once a note is signed."},{"question":"Does the software remain reliable under stress?","answer":"Parallel use and a burst of note saves kept the chart readable and did not contact an outside server. Disk-full and crash drills were not run."},{"question":"Can the office recover its records?","answer":"The live file for this run was the temporary audit sandbox\\pt.db. Backups were reported at the temporary audit sandbox\\backups. Recovery is Settings, Backup, then restore, and it asks for the office name. This path is the temporary audit office, not a clinic's production file. Restoring the sample backup required the office name and put the backed-up phone number and note back. A before-restore copy was kept. Restore does replace current records after that confirmation; it does not do so silently."}],"hipaa":[{"area":"Business associate agreement at signup","result":"pass","evidence":"Signup without the checkbox was refused. A signed signup stored version baa-tos-2026-10-22.1, SHA-256, account ids, time, and IP, and Settings returned a PDF copy."},{"area":"Administrative safeguards","result":"excluded","evidence":"Risk analysis ownership, assigned security responsibility, and incident procedures belong to the practice. This software run did not review those policies."},{"area":"Access controls","result":"pass","evidence":"Sign-in, role limits, receptionist restrictions, and direct file requests were exercised on the temporary office."},{"area":"Audit controls","result":"pass","evidence":"The owner audit log recorded sign-in and chart activity and did not store the note text."},{"area":"Integrity","result":"pass","evidence":"Failed saves and a bad restore left the chart in place. Backup snapshots store a SHA-256 checksum that is checked after write and before restore."},{"area":"Authentication","result":"pass","evidence":"Passwords are checked with scrypt. The office email app password and authenticator secret are sealed in the office file. Failed attempts pause. Idle sessions and sign-out end access. A removed staff account cannot sign in."},{"area":"Transmission security","result":"observation","evidence":"Texting, PayPal, and Resend use HTTPS. Office mail uses TLS, or STARTTLS when the mail server offers it. Country lookup uses HTTP and sends only the client IP for non-office networks. It was not called in this run. Live packet capture was not attached."},{"area":"Contingency planning","result":"pass","evidence":"A backup was written, a restore required the office name, and the expected note came back. A crash drill and a full disk were not tested."}],"fixes":[{"finding":"Two staff could save the same draft at once, and one version was dropped with no warning.","change":"A save now carries the version on the screen. If that version is no longer current, the save is refused and the screen asks to reload the chart.","retest":"Pass. One overlapping save was kept and the other returned 409."},{"finding":"The office email app password and the authenticator secret were stored in recoverable form. Staff sign-in passwords were already hashed.","change":"Both secrets are sealed before they are written. Sign-in passwords stay hashed. The settings page still does not return the email app password.","retest":"Pass. The stored secrets were sealed and did not appear in the settings response or the audit log."},{"finding":"A PayPal notice could change a matching subscription without a PayPal signature.","change":"A notice is refused unless PayPal is configured, the webhook id is set, and PayPal's signature check returns success.","retest":"Pass. An unsigned notice was refused and did not change the office."},{"finding":"Sign-in lockouts could be bypassed by changing X-Forwarded-For on each attempt.","change":"Rate limits now key off trusted edge addresses (for example CF-Connecting-IP) before forwarded chains.","retest":"Pass. Nine failures from one edge address paused sign-in even with different forwarded values."},{"finding":"Public trial signup had no rate limit.","change":"Trial signup counts toward the same per-address attempt window as other public auth routes.","retest":"Pass. Repeated sign-ups from one address were paused."},{"finding":"Inbound SMS could attach to the wrong chart when two offices shared the same patient mobile number.","change":"Routing prefers a single match, recent texts, and open offers; ambiguous cross-office matches are refused.","retest":"Pass. A duplicate-number test did not attach the message."},{"finding":"Trustpilot widgets on the homepage were not listed in the connection inventory.","change":"Trustpilot hosts are documented in the audit inventory and Privacy Policy.","retest":"Pass. The destination inventory check no longer flags Trustpilot."},{"finding":"Public support and Android download routes were missing from the application router.","change":"Support chat and the Android APK download are handled on this host with rate limits on support posts.","retest":"Pass. Support chat stored a message on this server."},{"finding":"Demo credentials could appear on /api/public when PT_SHOW_DEMO was set outside localhost.","change":"Demo passwords are returned only on localhost when PT_SHOW_DEMO is explicitly enabled.","retest":"Pass. Live ptworker.me returned demo null on /api/public."},{"finding":"October 2026 php2shell (CVE-2026-109618, CVE-2026-109619) affects PHP runtimes, not Node.js.","change":"PTworker.me ships no PHP. Live ptworker.me was probed for .php paths and X-Powered-By: PHP.","retest":"Pass. No PHP interpreter on ptworker.me; stack is Node on Render."},{"finding":"Fill from this visit required Local AI to be active, blocking list-only coding on low-power laptops.","change":"POST /api/local-ai/extract matches office ICD/CPT lists without Local AI. Optional GGUF only adds keyword hints.","retest":"Pass. Extract returned 200 with diagnoses and match reasons while Local AI was inactive."},{"finding":"Local AI verify could accept any 64-character hash when the host did not pin a model fingerprint.","change":"Default SmolLM2 GGUF SHA-256 is pinned. Handshake, browser download, verify, and reload re-check the hash.","retest":"Pass. Wrong SHA-256 was refused on verify."},{"finding":"Staff and portal traffic from outside the United States was not uniformly blocked.","change":"US-only geo gate on the host with App Store review portal login exempt for Apple review.","retest":"Pass. Non-US tests returned 403; app-review portal login returned 200 from a simulated abroad address."},{"finding":"Owners needed a repeatable proof that USB/cloud backups verify and decrypt (not only save).","change":"POST /api/backup/verify, GET /api/backup decrypt round-trip, and scripts/backup-derrick-conti-roundtrip.mjs were added to QA and the Up to Code audit.","retest":"Pass. Verify latest copy and sealed download opened on the audit office without clear-text chart names."}],"retest":"Backup verify, sealed download decrypt, and cloud vendor catalog checks; Harbor sample tour passkeys HARBOR-OWNER, HARBOR-DESK, HARBOR-PT, HARBOR-BILL; Fill from this visit without Local AI, GGUF SHA-256 pinning, US-only geo gate, and prior rate-limit checks were added or retested on this run.","sandbox":{"disk":true,"liveOfficeOpened":false}}