Dapr september 2023 security audit reportExample 3: Wasm While not a cloud service, Daprs Wasm componentʼs request handler can cause excessive resource exhaustion on the host machine which can lead to DoS of Dapr. If a request causes the Wasm handler https://github.com/dapr/components-contrib/blob/651834e9de50616be9374a933a90be69e5fcc2cc/middle ware/http/wasm/httpwasm.go#L98-L115 func (rh *requestHandler) requestHandler(next http.Handler) http.Handler { stdout.String(); len(stdout) > 0 { rh.logger.Debugf("wasm stdout: %s", stdout) } if stderr := rh.stderr.String(); len(stderr) > 0 { rh.logger.Debugf("wasm stderr: %s", stderr) } }) } Recommendation Check0 码力 | 47 页 | 1.05 MB | 1 年前3
共 1 条
- 1













