Readit News logoReadit News
marcc commented on Show HN: SecureBuild – Zero-CVE Images That Pay OSS Projects   securebuild.com... · Posted by u/grantlmiller
westwater · 6 months ago
What's the process to add new images?

I assume this is limited to CVEs in the underlying layers, and adding in the latest of the primary package. Given that how/are you testing the images after you fix the CVEs?

marcc · 6 months ago
Adding images involves us creating a new package (APK) in our APK repo. This is done by creating a melange build config (https://github.com/chainguard-dev/melange). The melange config defines some basic tests. It's not comprehensive, but generally validates that the binary produced is functional.

When we build the OCI image, we validate it via some custom tests that we've written. We have identified the canonical image (i.e. DockerHub, GHCR, etc), and we confirm that our image has the same entrypoint, args, env that the canonical image has. Then we have some generated scenarios we run the OCI image through to make sure it functions the same as the canonical image runs.

For example, we have Postgres in the catalog today. When we rebuild, we have some tests that run with various configurations of PG_DATABASE/PG_PASSWORD, etc env vars. We run these with our image and with index.docker.io/library/postgres, and expect to see the same output with both.

marcc commented on Show HN: SecureBuild – Zero-CVE Images That Pay OSS Projects   securebuild.com... · Posted by u/grantlmiller
cube00 · 6 months ago
> New SecureBuilds are created whenever upstream CVEs are available, with a 6-day SLA for critical vulnerabilities.

Aren't most SecOps pushing 48 hours as the absolute limit for critical vulns or are ours just being extra pushy?

marcc · 6 months ago
We often deliver in way less than 6 days but sometimes the dependency tree is deep for a patch.

I've seen most auditors mandate 30 days for Critical, but you clearly want to move a lot quicker than that.

marcc commented on Show HN: SecureBuild – Zero-CVE Images That Pay OSS Projects   securebuild.com... · Posted by u/grantlmiller
siggy · 6 months ago
thanks for sharing. what's the onboarding process look like? if i'm maintaining my own Dockerfiles today, do you or I evaluate and port those to SecureBuild/Wolfi?
marcc · 6 months ago
We work together on it. Assuming you have a build process and dockerfile (we all do), generally our team can get you listed in the catalog quickly.

It's not too much work since we built on an existing set of tools (melange & apko). I've actually found that putting a Dockerfile into ChatGPT generates a really good first iteration.

marcc commented on Sora: Creating video from text   openai.com/sora... · Posted by u/davidbarker
namlem · 2 years ago
I disagree. I think this is going to empower creatives like never before. Filmmaking currently takes a huge amount of time and money. Countless would be filmmakers are relegated to making 30 second tiktoks because that's all they can afford to do. This could change all that.
marcc · 2 years ago
Exactly this. Art changes over time. The mediums that we use to express ourselves creatively evolves. The position that AI is the end of creative art isn't taking this evolution into account.

When video became an affordable medium, would people say "this is the end of art, live performances are art. Now the people will just watch the same recordings over and over?" Maybe, if the internet existed. But it's had the effect of creating and introducing new art forms.

AI generated content won't replace art. It will evolve it to a new creative.

marcc commented on Ask HN: What is your most wanted HN feature?    · Posted by u/nnurmanov
thomasfromcdnjs · 2 years ago
notifications of replies would be nice. i've acidentally left so many people hanging over the years.
marcc · 2 years ago
I've used https://www.hnreplies.com/ for years here. Agreed that this is something that would be great to have built in.
marcc commented on Ask HN: How did FTX not fail technically first?    · Posted by u/kevinsimper
kevinsimper · 2 years ago
I think you are right, but security teams is for when things does not go as expected.

Like Opensea had insider trading but they were not nearly as big as FTX, everyone knew FTX. Opensea is “just” a marketplace, not even near a live trading platform.

But there will probably be more information about it the next 10 years heh.

marcc · 2 years ago
> security teams is for when things does not go as expected.

That's an unexpected view. Security teams are experts in security and help application developers think of ways the product could be exploited. Security teams run pen tests and bug bounty programs. Security teams manage compliance.

Separation of duties is a critical part of building a secure system, and you can't have separation of duties properly if app developers do it all.

Don't think of a security team a punishment for when things didn't go as expected, but a good security team can help increase velocity and confidence and security all at the same time.

marcc commented on Ask HN: What Are the Alternatives to Cloudflare?    · Posted by u/matthewfelgate
marcc · 2 years ago
The outages this week have been rough. But outages can and will happen in any provider. I think the better goal is to find a way to use upstream providers in a more resilient way. When they are down, can you have fallbacks to another provider, or will that be too much engineering effort? Don't look for a provider that will be up 100% of the time, but figure out how to make sure your service isn't down when Cloudflare is down.
marcc commented on Cloudflare API Down   cloudflarestatus.com/inci... · Posted by u/supermatti
buro9 · 2 years ago
When I worked there (3+ years ago), if PDX were out then "the brain" was out... things like DDoS protection was already being done within each PoP (so that will be just fine, even for L3 and L7 floods, even for new and novel attacks), but nearly everything else was done with the compute in PDX and then shipped to each PoP as configuration data.

The lifecycle is: PoPs generate/gather data > send to PDX > compute in PDX > ship updates / data to PoPs.

If you take out PDX, then as so much runs on fresh data, it starts getting stale.

I doubt everything has changed since then, so this is unlikely just "API down" and more likely that a lot of things are now in a degraded state as they're running on stale information (no update from PDX)... this includes things like load balancing, the tiered caching (Argo Smart Routing), Warp / Zero Trust, etc.

Even if it were only "API down", then bear in mind that a lot of automation customers have will block attacks by calling the API... "API down" is a hell of a window of opportunity for attackers.

Note that just before I'd left they'd been investing in standing up AMS (I think) but had never successfully tested a significant failover, and the majority of services that needed fresh state did not know how to do this.

PS: :scream: most of the observability was also based in PDX, so hugs to all the teams and SREs currently running blind.

marcc · 2 years ago
Yikes. If still true, this feels like a significant single point of failure in their architecture.
marcc commented on Ask HN: What's Your Opinion on Opentelemetry?    · Posted by u/Nevin1901
jiggawatts · 2 years ago
A lot of people complaining about OpenTelemetry assume that it’s a “fancy logging API” and are disappointed when they discover that it is something else.

It’s actually a vendor-agnostic replacement for the client side of DataDog, New Relic, or Azure App Insights.

It’s complicated because those tools are complicated.

It’s especially complicated because it needs to support the special needs of library vendors, third party plugins, and framework-level integrations.

So no, it’s never going to be “simple” in the same way there will never be a simple replacement for something as complex as a Word document.

No, ASCII won’t cut it. Yes it’s simple and lightweight, but not what people actually want.

marcc · 2 years ago
> It’s actually a vendor-agnostic replacement for the client side of DataDog, New Relic, or Azure App Insights.

The client side of DataDog, New Relic aren't nearly as complicated as Otel.

u/marcc

KarmaCake day892October 11, 2010
About
Founder and CTO, Replicated. Previous: Founder, Look.io.

[ my public key: https://keybase.io/marccampbell; my proof: https://keybase.io/marccampbell/sigs/X-4VBUCVaGWKJKyP74L2lsEXkSteWVRm-UrSnVwI_io ]

View Original