-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Using any of the /api endpoints of the Express server, it is possible to access nearly all files within the project's directory. Below are some examples:
- https://live.lean-lang.org/api/examples/mathlib-demo/build.sh
- https://live.lean-lang.org/api/examples/mathlib-demo/.lake/packages/mathlib/README.md
- https://live.lean-lang.org/api/examples/mathlib-demo/.lake/packages/mathlib/.github/workflows/daily.yml
- https://live.lean-lang.org/api/examples/mathlib-demo/.lake/packages/mathlib/Mathlib/Logic/Basic.lean
While I do not believe this presents a security risk, it seems unlikely that this behavior was intended. Would appreciate any clarification on whether this is expected or if further restrictions should be applied.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working