Exposing Swagger/OpenAPI documentation is primarily a risk if your API has underlying security flaws, as it gives attackers a precise roadmap to find them.
Those detail every endpoint, parameter, and data model, making it easier to discover and exploit vulnerabilities like broken access control or injection points.
While a perfectly secure API mitigates the danger, protecting your documentation is a critical layer of defense that forces attackers to work without a map.
Severity: info
Fingerprint: 5733ddf49ff49cd12ec8532c2ec8532c2ec8532c2ec8532c2ec8532c2ec8532c
Public Swagger UI/API detected at path: /swagger/index.html
Open service 23.53.42.232:443 ยท backend.lunapay.com.br
2026-01-23 09:38
HTTP/1.1 404 Not Found
Content-Type: application/json; charset=utf-8
Content-Length: 103
Content-Security-Policy: script-src 'none';require-trusted-types-for 'script';default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests
cross-origin-opener-policy: same-origin
cross-origin-resource-policy: same-origin
origin-agent-cluster: ?1
referrer-policy: no-referrer
x-content-type-options: nosniff
x-dns-prefetch-control: off
x-download-options: noopen
x-frame-options: SAMEORIGIN
x-permitted-cross-domain-policies: none
x-xss-protection: 0
Vary: Origin
Access-Control-Allow-Credentials: true
x-correlation-id: 360c4ed3-ca4e-4441-9fdf-5f896d520ff3
ETag: W/"67-iiT1Yywmc6e0pfoX5gQGNd75E1g"
x-envoy-upstream-service-time: 3
Expires: Fri, 23 Jan 2026 09:38:51 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Fri, 23 Jan 2026 09:38:51 GMT
Connection: close
Strict-Transport-Security: max-age=31536000 ; includeSubDomains
{"statusCode":404,"timestamp":"2026-01-23T09:38:51.370Z","errorData":{"errorMessage":["Cannot GET /"]}}