Read-path behavior, error handling, and the full auth boundary of the share service in production — run directly against the public gateway right after rollout. Writes require a real user JWT minted by auth, so the write path is proven by its rejections: no credentials, spoofed identity headers, and forged tokens all bounce at the mesh before touching the service.
curl https://api.phantom.app/share/AAAAAAAAAA
{"message":"Share not found","error":"Not Found","statusCode":404}
404 with the service's JSON body — proves pod + CRDB + routing
curl https://api.phantom.app/share/AAAAAAAAAA/image
{"message":"Share not found","error":"Not Found","statusCode":404}
404 JSON from the image route — renderer path wired
curl https://api.phantom.app/share/../../etc/passwd --path-as-is
<html> <head><title>400 Bad Request</title></head> <body> <center><h1>400 Bad Request</h1></center> <hr><center>cloudflare</center> </body> </html>
400 rejected at the edge — path traversal never reaches the service
curl -X POST https://api.phantom.app/share -H 'content-type: application/json' -d {"payload":{"kind":"profile","username":"ghosty"},"deepLinkPath":"profile/ghosty"}
RBAC: access denied
403 RBAC: Istio AuthorizationPolicy requires JWT for writes
curl -X POST https://api.phantom.app/share -H 'content-type: application/json' -H 'x-forwarded-user: 550e8400-e29b-41d4-a716-446655440000' -d {"payload":{"kind":"profile","username":"ghosty"},"deepLinkPath":"profile/ghosty"}
RBAC: access denied
403 RBAC: client-supplied identity headers are not honored from outside — spoofing blocked at the mesh
curl -X POST https://api.phantom.app/share -H 'content-type: application/json' -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.e30.invalid' -d {"payload":{"kind":"profile","username":"ghosty"},"deepLinkPath":"profile/ghosty"}
Jwt issuer is not configured
401: RequestAuthentication rejects tokens from unknown issuers
curl https://staging-api.phantom.app/share/AAAAAAAAAA
{"message":"Share not found","error":"Not Found","statusCode":404}
staging behaves identically to prod