Skip to main content

Snyk Helps Secure the Golang Bento Project

Written by
feature insights context

March 12, 2025

0 mins read

Snyk is exploring using the open-source Golang project Bento to read data from Kafka streams and materialize intelligence to various outputs. We are pleased to share that we are proactively helping secure the Bento project by contributing dependency fix updates.  

What is Bento?

Bento is an open-source streaming data processing tool designed for ease of use and reliability. It features declarative configuration, enabling connections to diverse data sources and sinks, and handles common data engineering tasks such as transformations, integrations, and multiplexing. Written in Go, Bento is extensible through plugins, making it adaptable to various data processing needs.

Following is an example Bento configuration file demonstrating pipeline data processing

input:
  gcp_pubsub:
    project: foo
    subscription: bar

pipeline:
  processors:
    - mapping: |
        root.message = this
        root.meta.link_count = this.links.length()
        root.user.age = this.user.age.number()

output:
  redis_streams:
    url: tcp://TODO:6379
    stream: baz
    max_in_flight: 20

Snyk secures the Bento project

At Snyk, we like to ‘dogfood’ our products, and we use Snyk in our CI/CD pipelines as one example of leveraging Snyk’s developer-first security products.

During a container security scan of the Bento v1.5.0 binary, we detected a vulnerability in golang.org/x/crypto/ssh.

This vulnerability, tracked via CVE-2025-22869 in Snyk’s vulnerability database, is a denial of service attack that impacts the Golang projects that depend on the x/crypto/ssh library.

Given that Bento is an open-source project, we contacted the maintainers over Discord and were pleased to find them happy for us to contribute some fixes. We created two PRs to fix the issue:

  •  A Pull Request to update to go 1.23

  •  A followup Pull Request to bump the use of Go’s crypto library to use a safe version that does not introduce security vulnerabilities.

Both of our contributions have been merged into the main branch of the Bento project and will be part of future releases.

Snyk invitation to secure Open Source projects

Earlier this year, we launched Snyk’s Secure Developer Program—a new program that invites open source maintainers to connect their projects to Snyk and receive the full enterprise-grade and unlimited scans experience from Snyk. This includes API access, Snyk’s own Snyk Agent Fix, Service Accounts, and many more features to help you address security vulnerabilities and produce secure software.

2022 State of Open Source Security available now!

Our new State of Open Source Security report is available now. Produced in collaboration with the Linux Foundation, learn about the biggest challenges in open source security today.

Read more

illustration hero ai
Blog

PHP Patches Two Critical Unauthenticated RCEs (CVE-2026-109618, CVE-2026-109619): Update Now

Two critical flaws in PHP’s request lifecycle can enable unauthenticated remote code execution. Upgrade to a fixed release or install a vendor backport for older versions.

blog feature ai lilac
Blog

Turn Your Vulnerability Backlog Into Pull Requests With Agentic Remediation

The Evo Remediation Agent is now in Open Preview, bringing automated dependency resolution to Evo Agentic AppSec. AppSec teams can now run ongoing remediation

AI Background min crop
Blog

AI Is Calling In Every Risk You've Accepted: Seven Insights From The AI Security Panel: Unfiltered

AI is making attacks cheaper and faster, exposing risks organizations already carry. Four security leaders share why machine-speed defense and faster remediation are now essential.