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

Switch to using digest sha256 value for promotion for security #232

Open
justin808 opened this issue Sep 23, 2024 · 0 comments
Open

Switch to using digest sha256 value for promotion for security #232

justin808 opened this issue Sep 23, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@justin808
Copy link
Member

We should refer to images on production using a naming like this rather than

/org/hichee-production/image/hichee-production@sha256:82e0fd45f5dbb8b40d74bb699cde3973eae7b631620b41bbd2ddd54191aec05b

rather than the current:

/org/hichee-production/image/hichee-production:964_8d258e9

The reason is that when reverting a hacked image, we're sure what image we're reverting to...

image

CC: @borela @dzirtusss

Details on the type of hack:

The type of attacker you're referring to is typically known as a "supply chain attacker" or specifically a "container image poisoning attacker." In this scenario, the attacker infiltrates the container supply chain by replacing legitimate Docker images with malicious ones while maintaining the same tags. This is a form of image poisoning or tag squatting where the goal is to infect production environments with malware by compromising the image repository or distribution process.

Ensuring image integrity through measures like image signing (e.g., Docker Content Trust) or using private registries can help mitigate these risks.

@justin808 justin808 added the enhancement New feature or request label Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant