rustshop
cargo-auditable
Our great sponsors
rustshop | cargo-auditable | |
---|---|---|
8 | 23 | |
72 | 547 | |
- | 4.4% | |
6.4 | 7.9 | |
about 2 months ago | about 1 month ago | |
Rust | Rust | |
Mozilla Public License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
rustshop
-
Projects whose entire stack is in rust?
I was hoping to have https://github.com/rustshop/rustshop be like that, but I've got a Rust dayjob since then, and I have less time for Rust side projects now.
-
Perfect Docker Images for Rust with Nix
Many thanks to u/dpc_pw, whose notes on GitHub were my starting point for the flake definition. (I also just realized I unwittingly gave my article an almost-identical title by the time I was done refining it, so Iām more indebted to them than I thought.)
- Rewrote It In Rust: A Tiny Go Scraper [no code, only context & thoughts]
-
min-sized-rust: How to minimize Rust binary size
Since docker images are mentioned, I'd like to point out that using musl-linked images is often counterproductive, as docker layers with standard library can be shared between different projects and build versions. https://github.com/rustshop/rustshop/discussions/9
- Perfect DX in RustShop (using Rust + Nix, as always)
- Using Rust to not have to touch Yaml in k8s land
-
I'd like to get myself out of the stone age, but don't know how
and here is the project in this area that I'm working on
-
Interested in building cloud-based systems with Nix&Rust? Check out RustShop.
rustshop is an attempt at building a template for developers to help them start their own cloud-based system, without much Ops experience.
cargo-auditable
-
Rust Offline?
Further we use cargo-auditable and cargo-audit as part of both our pipeline and regular scanning of all deployed services. This makes our InfoSec and Legal super happy since it means they can also monitor compliance with licenses and patch/update timings.
-
Hey Rustaceans! Got a question? Ask here (15/2023)!
This exists, see cargo auditable.
-
The Rust Implementation Of GNU Coreutils Is Becoming Remarkably Robust
The Rust community seems to have settled on a perfectly reasonable way to address bit-rot in statically linked binaries. https://github.com/rust-secure-code/cargo-auditable
-
Release Engineering Is Exhausting So Here's cargo-dist
Would you be open to integrating cargo auditable into this pipeline in some form? It seems like a great match.
-
Swift Achieved Dynamic Linking Where Rust Couldn't
> and static compilation probably just hides the problem unless security scanners these days can identify statically compiled vulnerable versions of libraries
Some scanners like trivy [1] can scan statically compiled binaries, provided they include dependency version information (I think go does this on its own, for rust there's [2], not sure about other languages).
It also looks into your containers.
The problem is what to do when it finds a vulnerability. In a fat app with dynamic linking you could exchange the offending library, check that this doesn't break anything for your use case, and be on your way. But with static linking you need to compile a new version, or get whoever can build it to compile a new version. Which seems to be a major drawback of discouraging fat apps.
1: https://github.com/aquasecurity/trivy
2: https://github.com/rust-secure-code/cargo-auditable
-
'cargo auditable' can now be used as a drop-in replacement for Cargo
I have investigated a bunch of standardized formats - SPDX, CycloneDX, etc. All of them are unsuitable for a variety of reasons, chief of which are being way too verbose and including timestamps, which would break reproducible builds.
-
sccache now supports GHA as backend
The fix for interoperability with cargo auditable has also shipped in the latest release of sccache. You can use the released sccache now instead of building it from git!
-
`cargo audit` can now scan compiled binaries
I've been working to bring vulnerability scanning to Rust binaries by creating cargo auditable, which embeds the list of dependencies and their versions into the compiled binary. This lets you audit the binary you actually run, instead of the Cargo.lock file in some repo somewhere.
-
Here's how to patch the upcoming OpenSSL vulnerability in Rust
cargo auditable solves this problem by embedding the list of dependencies and their versions into the binaries. But until it becomes part of Cargo and gets enabled by default, static linking will remain problematic.
- Introducing cargo-auditable: audit Rust binaries for known bugs or vulnerabilities in production
What are some alternatives?
crane - A Nix library for building cargo projects. Never build twice thanks to incremental artifact caching.
trivy - Find vulnerabilities, misconfigurations, secrets, SBOM in containers, Kubernetes, code repositories, clouds and more
Examples - Various scripts I've created over the years. Mostly a reference for when I go "How the heck did I do that one thing a year ago?"
auto-fuzz-test - Effortlessly fuzz libraries with large API surfaces
alnoda-workspaces - :fireworks: Flexible and extendable containerized workspaces. Now. with free offline chat GPT!!! ššš
cargo-supply-chain - Gather author, contributor and publisher data on crates in your dependency graph.
min-sized-rust-windows - :crab: 464b rust binary on windows
eve-rs - A simple, intuitive, express-like HTTP library
yaml-language-server - Language Server for YAML Files
svntogit-community - Automatic import of svn 'community' repo (read-only mirror)
fedimint - Federated E-Cash Mint
sandbox - A sand simulation game