Skip to content

Commit a1b0ab2

Browse files
committed
[INTERNAL] Add security notice to Server docs
Add a prominent "Development Use Only" warning admonition to the top of Server.md, covering the risks of exposing the dev server to untrusted parties, custom middleware, proxy credential leakage, and the `--accept-remote-connections` flag.
1 parent ccc5213 commit a1b0ab2

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

docs/pages/Server.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,17 @@ The [UI5 Server](https://github.com/SAP/ui5-server) module provides server capab
44

55
[**API Reference**](https://ui5.github.io/cli/v4/api/module-@ui5_server.html){: .md-button .sap-icon-initiative }
66

7+
!!! warning "Development Use Only"
8+
The UI5 Server is intended for **local development purposes only**. It must not be exposed to untrusted parties or used as a public-facing web server.
9+
10+
The server does **not** implement safeguards against various network-based attacks — this is by design, as it is not meant to serve production traffic.
11+
12+
Please be aware of the following risks when using the server:
13+
14+
- **Custom middleware** from third parties can execute arbitrary code on your system and may introduce additional security vulnerabilities when the server is exposed to a network.
15+
- **Proxy middleware** configured with credentials may enable unauthorized access to the target system for other parties on the same network.
16+
- Using `--accept-remote-connections` makes the server reachable from all hosts on your network, which significantly increases the attack surface.
17+
718
## Standard Middleware
819

920
All available standard middleware are listed below in the order of their execution.

0 commit comments

Comments
 (0)