GitHub Hot Board

GitHub Hot Board · Архів репозиторію

Speykious/cve-rs

Blazingly fast memory vulnerabilities, written in 100% safe Rust. (Опис узято з самого репозиторію.)

Дані на October 25Speykious

Найкраще місце

#500

Титани · Rust за мовою

5.4K

Усього зірок

114

Усього форків

0

Днів у рейтингах (30 дн.)

Ліцензія: NOASSERTIONОстанній push: September 26Відкриті issues (вкл. PR): 27Збирається з 2026-10-25; невідомо = ще не зібрано

Документація проєкту

Blazingly 🔥 fast 🚀 memory vulnerabilities, written in 100% safe Rust. 🦀

cve-rs allows you to introduce common memory vulnerabilities (such as buffer overflows and segfaults) into your Rust program in a memory safe manner.

Why choose cve-rs?

  • 🩸 Bleeding edge technology
  • 🕹️ Paradigm-changing (no more unsafe code!)
  • 🔥 Blazingly fast
  • 💡 Easy to use
  • 🏆 Featuring way 👋 too 2️⃣ many 🤯 emojis in the 📖 readme 🔥 🦀 💨
  • 🦀 Built in 100% memory-safe Rust

Example

Segfault demo

Rust is an amazing language. You can program a lot of useful things while ensuring that your program will stay safe. Unfortunately, safe Rust is quite limiting. For example, you cannot introduce code that could corrupt the program's memory. Now, with cve-rs, you can corrupt your program's memory without corrupting your program's memory.

We are very committed to making sure cve-rs is memory-safe. We know that unsafe code can have unintended consequences, such as memory unsafety that causes bugs like segmentation faults, use-after-frees, and buffer overflows.

That is why cve-rs uses #![deny(unsafe_code)] in the entire codebase. There is not a single block of unsafe code (except for some tests) in this project.

cve-rs implements the following bugs in safe Rust:

  • Use after free
  • Buffer overflow
  • Segmentation fault

cve-rs also contains safe reimplementations of:

  • std::mem::transmute
  • std::ptr::null()/null_mut() but for references

Installation

cve-rs can be used directly with Cargo.

To use it as a library:

cargo add cve-rs

Or to run our example binary:

cargo install cve-rs
cve-rs

WASM support

cve-rs supports WASM through the WASI API, and also to Webassembly that you can run in a browser.

You can compile it and run it using Wasmer with the following commands:

cargo build --target wasm32-wasi
wasmer run target/wasm32-wasi/debug/cve-rs.wasm

Contributors

Special thanks to @Bright-Shard and @Creative0708, and everyone else who contributed to cve-rs.

Can I use cve-rs in production?

This project is licensed under the GLWTSPL.

Wait, how safe is cve-rs?!?

This project is licensed under the GLWTSPL.

License

This project is licensed under the GLWTSPL.

Good Luck

...and godspeed.

Поточні місця

Динаміка за 30 днів

Немає записів за останні 30 днів.

Поставте бейдж у свій README · Speykious/cve-rs[![Поставте бейдж у свій README](https://git.vaiox.xyz/api/badge/Speykious/cve-rs.svg)](https://git.vaiox.xyz/uk/repo/Speykious/cve-rs)

Badge · 任何仓库都可以挂 —— 未上榜的仓库显示灰章,上完榜会自动点亮。

<a href="https://git.vaiox.xyz/uk/repo/Speykious/cve-rs"><img src="https://git.vaiox.xyz/api/badge/Speykious/cve-rs.svg" alt="Поставте бейдж у свій README" height="20"></a>

← До рейтингів

GitHub Hot BoardМашина часуОгляд联系我们 · Contact