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

Twistlock security scan shows that private keys are stored in the container #5538

Open
sanknmFinicity opened this issue Nov 3, 2021 · 0 comments

Comments

@sanknmFinicity
Copy link

sanknmFinicity commented Nov 3, 2021

Hi there!

Twistlock vulnerability scans raise a compliance alarm on images containing Protractor node module:

Private keys stored in image:
Found:
node_modules/browserstack/node_modules/agent-base/test/ssl-cert-snakeoil.key ,
node_modules/saucelabs/node_modules/agent-base/test/ssl-cert-snakeoil.key
Private keys stored in image"

Steps to reproduce
Install Protractor. Build a docker image containing that node module and run that image through Twistlock scanning.

Expected outcome
Successful Twistlock scan completion without errors.

Actual outcome
Twistlock raises a compliance issue because server.key file is included.

Suggested fix
Update saucelab and agent-base to the latest version

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