Extrautils - Extra utility for Rust

I published a new crate named "extrautils" work for std and no_std, By default work only in std if you want use it in bare metal disable all feature and enable 'lowlevel' feature.

The crate offer rich of utils and macros and functions and modules, Theses offer flexibility and safety.

Links:
- GitHub - HackingRepo/extrautils-rs: Extra utilities for Rust Programming Language by RelunSec
- crates.io: Rust Package Registry

Install:
Run cargo add extrautils

Can you disclose how much of this is AI generated?

Docs are failing extrautils 0.1.0 - Docs.rs which doesn't give me confidence. That would be a good thing to fix before announcing.

Can you say what "rich utils and macros and functions and modules"?
And why would anyone need them?

I think this is basic information for such an announcement. And no, I don't want to fish around in some random GitHub repo to find out.

2 Likes

If anything this is a bad and blunt copy of code from several other crates, without attribution, here and there extended with some comments, but rarely more. It's a 7000+ line file added in a single commit titled "Add files via upload".

Best to stay away from this.

7 Likes

Even the license seems AI-generated and is not filled in:

2 Likes
/// A slab of memory for objects of a specific size.
struct Slab {
    free_list: Option<NonNull<FreeNode>>,
// In a real implementation, you'd also track the slab's memory region,
// how many objects are in use, etc.
}

see here

4 Likes

By the way, instead of lowlevel feature there should be std default feature.

3 Likes

This whole thing looks like slop (and the Git repo is private or no longer exists).
And considering the comments from the user in this other thread they must be either a bot or a troll or someone using AI to write any of their recent posts...

1 Like

The user has also yanked the crate: https://crates.io/crates/extrautils

Excuse me this crate i yanked it and i deleted the repo because ai generated. i just used Gemini Code Assistant.

You said you deleted the repo because it was AI-generated, but are you sure this too isn't AI generated? People do not really appreciate just AI code here. At least you have to review it.

2 Likes

No the crate winaudit is not ai generated, I developp it myself this crate offer windows assement and security checks for windows systems.

The post here A crate for Windows Security Assement and Windows Security Checks