Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request for Secure browser Launch Options for Production Deployment #38

Open
AlexTraveylan opened this issue Nov 25, 2024 · 0 comments
Open

Comments

@AlexTraveylan
Copy link

Is your feature request related to a problem? Please describe.
I want to deploy EcoSonar to production, but there are security issues present.

Describe the solution you'd like
In the file: EcoSonar-API/services/lighthouse/lighthouse.js, we can see:

export default async function lighthouseAnalysis(urlList, projectName, username, password) {
  const browserArgs = [
    '--no-sandbox', // can't run inside docker without
    '--disable-setuid-sandbox', // but security issues
    '--ignore-certificate-errors',
    '--window-size=1920,1080',
    '--start-maximized',
    '--remote-debugging-port=36951'
  ];
}

I don't see how to deploy this in production with these issues. We need a feature that allows using it securely in production.

Describe alternatives you've considered
Perhaps a feature flag or an environment variable to enable sandboxing in production.

Additional context
I don't have any additional context.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant