Skip to content

Security: dfeddad/deeplake-explorer

Security

SECURITY.md

Security

Reporting a vulnerability

Report it privately through GitHub's private vulnerability reporting, not in a public issue. Include what you did, what happened and the version (deeplake-explorer --version).

What the explorer trusts

Lake Explorer is a local tool with no login. Its protection is where it listens.

  • It binds to 127.0.0.1. Anyone who can reach the port can read every dataset under every source, with this machine's cloud access. --host with any other address removes that protection; use it only on a network you trust.
  • Requests must name localhost in their Host header (against DNS rebinding), and requests that change anything must be JSON (so a page on another site cannot send one).
  • Bound to this machine, the page can list the names of this machine's folders and add any folder or bucket as a source. Bound to anything else, it can do neither.
  • Datasets are opened read-only. A table id is matched against the tables discovered under a source and is never used as a path.
  • Credentials are read from the environment by deeplake and obstore. The explorer does not store, print or send them to the page; an address that carries one is refused. sources.json holds addresses only.
  • TQL typed on the page runs in deeplake with this machine's access. Treat the page as you would a shell on the machine.

In scope: anything that lets a web page on another site, or another host when bound to 127.0.0.1, read data or change sources; a write to a dataset; a credential reaching a file, a log or the page.

There aren't any published security advisories