Check code for health-data mistakes
perimeter_scan_codeScan code locally for common health-data mistakes: browser storage, trackers, logs, secrets, unsafe requests, and missing privacy notices. Returns file, line, explanation, and fix.
Instructions
Checks web code for common mistakes with patient or health data: data saved in browser storage, analytics trackers, scripts or fonts loaded from other sites, personal data written to logs, unencrypted or unapproved network requests, secret keys in the code, forms with no privacy notice, and eval-style code. Runs on this machine; nothing is uploaded. Useful after writing or changing code that handles health information. Returns each finding with its file, line, a plain explanation and a suggested fix. It looks for a fixed list of mistakes: a clean result is not a compliance review.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | No | File contents to check directly, instead of or as well as paths. | |
| paths | No | Files or folders to check, relative to the working directory. | |
| allowed_hosts | No | Hosts the code may send requests to, for example api.example.org. |