Skip to content

What's the actual danger with --no-sandbox and --disable-setuid-sandbox #1977

@kalepail

Description

@kalepail

I'm running playwright in a Glitch app but it won't work unless I run under --no-sandbox and --disable-setuid-sandbox flags. Everywhere says this is insecure but I can't find any documentation or examples on why or how running under these flags is dangerous. Could someone provide some example code showing how these flags enable exploitation?

What specifically are the dangers? Memory and CPU consumption? Can secret server files somehow be accessed? Security issuers are different than performance issues so I'd like to know what some tests are I could run to see if there are other ways to mitigate the actual issues everyone seems to think are there but never show what.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions