Remix.run Logo
SigmundA 3 days ago

More like

OSM Database -> PNGs -> PNG Decoder in browser-> Your screen

vs

OSM Database -> Vector Tiles -> MaplibreGL.js -> WebGL -> Your Screen

bugsMarathon88 3 days ago | parent [-]

Could you please comment on any security implications of executing community-generated vector tile content, compared to classic PNG decoding?

lxgr 3 days ago | parent | next [-]

I don't think anything's being executed here, in the same sense that both PDF (without JavaScript, at least) and JPEG are "data only", even though one uses vectors while the other only supports raster graphics.

SigmundA 2 days ago | parent | prev | next [-]

The security surface area will be either the png decoder or webgl, both are pretty well scrutinized but if I had to pick I would the png decoder is less likely to have a security issue compared to webgl.

Does't really matter because both png or webgl are available to any website at anytime.

fsflover 2 days ago | parent | prev [-]

If you care about security implications of reading untrusted data, you may be interested in trying Qubes OS, which isolates apps by running everything in VMs. My daily driver, can't recommend it enough.