{"id":13566150,"url":"https://github.com/Speykious/cve-rs","last_synced_at":"2025-04-03T23:31:10.936Z","repository":{"id":222744646,"uuid":"758270602","full_name":"Speykious/cve-rs","owner":"Speykious","description":"Blazingly 🔥 fast 🚀 memory vulnerabilities, written in 100% safe Rust. 🦀","archived":false,"fork":false,"pushed_at":"2025-01-28T18:23:48.000Z","size":1022,"stargazers_count":4325,"open_issues_count":21,"forks_count":109,"subscribers_count":26,"default_branch":"main","last_synced_at":"2025-04-01T20:19:48.045Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Speykious.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-16T00:34:34.000Z","updated_at":"2025-04-01T16:30:34.000Z","dependencies_parsed_at":"2024-03-03T20:27:42.501Z","dependency_job_id":"566a6c72-daf9-4814-a476-1350ebef2ba1","html_url":"https://github.com/Speykious/cve-rs","commit_stats":null,"previous_names":["speykious/cve-rs"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Speykious%2Fcve-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Speykious%2Fcve-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Speykious%2Fcve-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Speykious%2Fcve-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Speykious","download_url":"https://codeload.github.com/Speykious/cve-rs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247097715,"owners_count":20883124,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T13:02:03.312Z","updated_at":"2025-04-03T23:31:10.917Z","avatar_url":"https://github.com/Speykious.png","language":"Rust","funding_links":[],"categories":["Rust","others","Repos"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ch1 align=\"center\"\u003e\u003cimg src=\"./assets/cve-rs-logo.png\"\u003e\u003c/h1\u003e \n  \u003ch6 align=\"center\"\u003e\n    \u003ca href=\"https://github.com/Speykious/cve-rs/actions/workflows/ci.yaml\"\u003e\n      \u003cimg src=\"https://img.shields.io/github/actions/workflow/status/serde-rs/serde/ci.yml?branch=master\" align=\"top\"\u003e\n    \u003c/a\u003e\n  \u003c/h6\u003e\n  \n  \u003cdiv align=\"center\"\u003e\n    Blazingly 🔥 fast 🚀 memory vulnerabilities, written in 100% safe Rust. 🦀 \n  \u003c/div\u003e\n\u003c/p\u003e\n\n[Build Status]: https://img.shields.io/github/actions/workflow/status/Speykious/cve-rs/ci.yaml?branch=master\n\n**cve-rs** allows you to introduce common memory vulnerabilities (such as buffer overflows and segfaults) into your Rust program in a memory safe manner.\n\n## Why choose **cve-rs**?\n- 🩸 Bleeding edge technology\n- 🕹️ Paradigm-changing (no more unsafe code!)\n- 🔥 Blazingly fast\n- 💡 Easy to use\n- 🏆 Featuring way 👋 too 2️⃣ many 🤯 emojis in the 📖 readme 🔥 🦀 💨\n- **🦀 Built in 100% memory-safe Rust**\n\n## Example\n![Segfault demo](/vhs/cassete.gif)\n\nRust 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.\n\nWe 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.\n\nThat 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](./src/transmute.rs#L56)) in this project.\n\n**cve-rs** implements the following bugs in safe Rust:\n\n- Use after free\n- Buffer overflow\n- Segmentation fault\n\n**cve-rs** also contains safe reimplementations of:\n\n- `std::mem::transmute`\n- `std::ptr::null()`/`null_mut()` but for references\n\n## Installation\n\n**cve-rs** can be used directly with Cargo.\n\nTo use it as a library:\n\n```sh\ncargo add cve-rs\n```\n\nOr to run our example binary:\n\n```sh\ncargo install cve-rs\ncve-rs\n```\n\n## WASM support\n\n**cve-rs** supports WASM through the WASI API, and also to Webassembly that you can run in a browser.\n\nYou can compile it and run it using [Wasmer](https://wasmer.io/) with the following commands:\n\n```sh\ncargo build --target wasm32-wasi\nwasmer run target/wasm32-wasi/debug/cve-rs.wasm\n```\n\n## Contributors\n\nSpecial thanks to [@Bright-Shard](https://github.com/Bright-Shard) and [@Creative0708](https://github.com/Creative0708), and everyone else who contributed to **cve-rs**.\n\n## Can I use cve-rs in production?\n\nThis project is licensed under the [GLWTSPL](/LICENSE).\n\n## Wait, how safe is cve-rs?!?\n\nThis project is licensed under the [GLWTSPL](/LICENSE).\n\n## License\n\nThis project is licensed under the [GLWTSPL](/LICENSE).\n\n![Good Luck](https://github.com/me-shaon/GLWTPL/raw/master/good-luck.gif)\n\n...and godspeed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSpeykious%2Fcve-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSpeykious%2Fcve-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSpeykious%2Fcve-rs/lists"}