Go kubernetes-security

Open-source Go projects categorized as kubernetes-security

Top 10 Go kubernetes-security Projects

  • kube-bench

    Checks whether Kubernetes is deployed according to security best practices as defined in the CIS Kubernetes Benchmark

  • Project mention: Cloud Security and Resilience: DevSecOps Tools and Practices | dev.to | 2024-05-01

    2. Kubebench: https://github.com/aquasecurity/kube-bench Kubebench is an open-source tool that checks whether Kubernetes is deployed according to security best practices as defined in the CIS Kubernetes Benchmark.

  • CDK

    📦 Make security testing of K8s, Docker, and Containerd easier.

  • Project mention: A morning with the Rabbit R1: a fun, funky, unfinished AI gadget | news.ycombinator.com | 2024-04-24

    It does show how incompetent the attacker was, I report below what Retr0id wrote in the issue:

    "tl;dr: The "leak" seems real, but doesn't prove any of the claims made in the readme.

    This statement from Peiyuan Liao, the rabbit CTO, is consistent with what I'm seeing here: https://twitter.com/liaopeiyuan/status/ 1782922595199033662

    So the "leak" is a bit of a nothingburger, containing partial code for the relatively boring process of letting users authenticate with online services through a sandboxed browser session, from which auth tokens etc. can be extracted. You can't infer anything about how LAM does or doesn't work from this.

    They likely used "kiosk escape" tricks to get code exec within the box that runs the browser. Assuming their sandboxing is all set up correctly, this isn't particularly concerning, but it does expose the code that runs within the sandbox for analysis. That's what we appear to have here.

    The attacker left behind a file named cdk.log, which is an artifact of https://github.com/cdk-team/CDK/, a container pentesting tool. They were clearly trying to escape the sandbox and pivot to somewhere more interesting, but I don't think they managed it. I think "part 2" is a bluff, this is all they have (feel free to prove me wrong, lol).

    But that doesn't mean there's nothing here. Lets look at what we do have.

    The most interesting detail to me is a package name list in repo/ typescript/common/base-tsconfig.json

    [...]

    The only code actually present is for q-web-minion-

    What follows is my speculation based on the names alone:

    "q" seems like a codename for the rabbit device (so q-hole rabbit hole). Q might stand for "quantum".

    The problem with trying to log into and interface with consumer-facing services from 'the cloud" is that you'll get IP rate limited, blocked as a bot, etc. It would make sense to proxy traffic back out through the user's device, and that's what I'd hope q-proxy is about. The big downside with this is that it ~doubles latency and halves available bandwidth, magnifying any deficiencies of a flaky 4G connection. This is perhaps partly why their doordash demo chugged so hard. (protip to the team; use a caching proxy, with SSL, MitM. Detect CDN URLs and don't proxy those.)

    This is a total stab in the dark but my guess is that bunny-host is where the LAM action happens, and bunny-builder is for LAM training.

    cm-quantum-peripheral-common might be the wrist-mounted device teased in the launch event.

    Addendum:

    It's also possible there were some juicy credentials accessible within the container. But if there were, they aren't in this leak. In particular, it looks like they're using GCP "service account keys' (/credentials/ cm-gcp-service-account-quantum-workload/gcp-service-account- quantum-workload.json), which according to google's docs "create a security risk and are not recommended. Unlike the other credential file types, compromised service account keys can be used by a bad actor without any additional information".

    There isn't enough information here (and/or my analysis isn't deep enough - "cloud" is not my forte) to determine if that'll cause any issues in practice, but if there really is a "part 2" leak, I'd guess this is how they got it."

    I OCR two screenshots that I did so there could be errors.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • stratus-red-team

    :cloud: :zap: Granular, Actionable Adversary Emulation for the Cloud

  • kubeclarity

    KubeClarity is a tool for detection and management of Software Bill Of Materials (SBOM) and vulnerabilities of container images and filesystems

  • Project mention: Building Secure Docker Images for Production - Best Practices | dev.to | 2023-06-30

    In the following steps, we use a local Kubernetes cluster (such as kind) to test the image. With the cluster up and running, let's install some tooling to help us with image scanning. In this case, we're using KubeClarity. Follow the installation instructions in the README to install it into your development cluster.

  • paralus

    All-in-one Kubernetes access manager. User-level credentials, RBAC, SSO, audit logs.

  • constellation

    Constellation is the first Confidential Kubernetes. Constellation shields entire Kubernetes clusters from the (cloud) infrastructure using confidential computing.

  • KubeHound

    Kubernetes Attack Graph

  • Project mention: KubeHound: Kubernetes Attack Graph | /r/blueteamsec | 2023-10-09
  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • eBPF-Guide

    eBPF (extended Berkeley Packet Filter) Guide. Learn all about the eBPF Tools and Libraries for Security, Monitoring , and Networking.

  • rbac-police

    Evaluate the RBAC permissions of Kubernetes identities through policies written in Rego

  • managed-kubernetes-auditing-toolkit

    All-in-one auditing toolkit for identifying common security issues in managed Kubernetes environments. Currently supports Amazon EKS.

  • Project mention: Auditing AWS EKS Pod Permissions | dev.to | 2024-02-29

    Datadog also maintains the Managed Kubernetes Auditing Toolkit (MKAT), which can be installed to perform similar permission checks.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Go kubernetes-security related posts

  • Evaluating and securing your Kubernetes infrastructure with kube-bench

    1 project | dev.to | 25 Aug 2023
  • Building Secure Docker Images for Production - Best Practices

    4 projects | dev.to | 30 Jun 2023
  • Security starts before the production deployment

    2 projects | dev.to | 15 Jun 2023
  • Using "Confidential Computing" with Hetzner? (Intel SGX/TDX, AMD SEV/SNP)

    1 project | /r/hetzner | 16 May 2023
  • A tool that scans repos and workout latest version and pull date of installed version + how to lock down repos (via some cluster policy?)

    2 projects | /r/kubernetes | 27 Apr 2023
  • Where are you hosting your Managed Kubernetes and why?

    1 project | /r/kubernetes | 5 Mar 2023
  • Why is K8 an issue when compliances become important for enterprises (HIPAA)

    1 project | /r/kubernetes | 2 Mar 2023
  • A note from our sponsor - SaaSHub
    www.saashub.com | 1 Jun 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

What are some of the best open-source kubernetes-security projects in Go? This list will help you:

Project Stars
1 kube-bench 6,714
2 CDK 3,692
3 stratus-red-team 1,638
4 kubeclarity 1,271
5 paralus 943
6 constellation 876
7 KubeHound 672
8 eBPF-Guide 473
9 rbac-police 323
10 managed-kubernetes-auditing-toolkit 240

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com