Reference

Security

What PeekInside records, how the local hub is locked down, and how PeekInside Cloud keeps your data encrypted.

PeekInside records complete requests and responses, including credentials and personal data in headers and bodies. Here is how that data is protected.

The local hub#

  • It listens on 127.0.0.1 only.
  • Its API answers only pages on its own origin: no CORS headers, and requests from other sites, other localhost ports or foreign Host headers (DNS rebinding) are refused.
  • Apps report to it from Node only; browsers can't send it requests.
  • The dashboard page runs under a strict Content Security Policy, and files in ~/.peekinside are readable only by your user.

PeekInside Cloud#

  • Requests, exceptions and timelines are encrypted on your server, as described in encryption; only counters, such as the number of queries, stay readable.
  • An exception's fingerprint (a hash of the error's name and where it was thrown) tells a new error from a known one, for alerts. It's stored only keyed with a server secret.
  • With advanced protection, the encryption is end to end.
  • The API key can send requests, but can't read them.
  • An MCP key reads one project for a member's AI tools, decrypting it on their computer: PeekInside stores the project key wrapped for the key's secret, which it never sees. It reads what the member's role reads, changes nothing but which errors are resolved, and stops working when it's revoked or the member leaves.
  • Roles decide what each member reads and changes. PeekInside's servers enforce them, not the encryption: every member of an organization holds its key, and the server hands a member only the data their role may read.

Profiles#

  • Heap profiles and CPU profiles hold code locations and numbers only: function names, file paths, packages, bytes and milliseconds, never the values in memory. No heap snapshot is ever taken.
  • PeekInside Cloud stores the locations sealed with the project key; only when each profile was read and how much it found, or how many blocks and how long, stay readable.

Values#

  • Query values are masked in your process before they are recorded. See masking.
  • Captured values are always rendered as text. Copy as cURL and Copy JSON include the real, unmasked values.

More#

How we handle your account and your data is in the Privacy Policy and the Data Processing Addendum. To report a vulnerability, write to support@peekinside.dev with "Security" in the subject.