crates.io package intelligence

regex — deep security report

ShadowCanopy's full breakdown of regex on crates.io: verdict, AI analysis, dependency chain, network behavior, prebuilds, and obfuscated code.

Safe to use
Deep-scanned by ShadowCanopy — no threats found in its code, dependencies, or network behavior.
Scanned 11/20/2026
Approvedregex@1.13.2View on registry ↗latest: 1.13.2

The flagged hex escapes (\x00, \u0061, etc.) are ordinary regex syntax examples and documentation strings inside the legitimate regex crate. No malicious behavior present.

Protect your projects free

AI breakdown

Plain-English summary of what this package does and how it behaves.

The 'regex' crate (v1.13.2) is a Rust library providing regular expression compilation, matching, and searching for strings and bytes.

Capabilities

  • Regular expression matching
  • No scripts present
  • No dependencies declared

Data access

  • None observed

Network

  • No network access observed

Static analysis flagged three instances of obfuscated source files; otherwise the manifest and file list show a standard regex implementation with no runtime scripts or external dependencies.

Obfuscated / hidden code

Encoded payloads decoded statically (without executing them) so you can see what they resolve to.

Obfuscated source filesrc/regex/bytes.rs

Multiple obfuscation patterns in src/regex/bytes.rs

Security findings (3)

Static analysis rule matches, with the exact code that triggered them.

mediumObfuscated source fileATK-023src/builders.rs

Multiple obfuscation patterns in src/builders.rs

mediumObfuscated source fileATK-023src/lib.rs

Multiple obfuscation patterns in src/lib.rs

mediumObfuscated source fileATK-023src/regex/bytes.rs

Multiple obfuscation patterns in src/regex/bytes.rs

Files in package (58)

.cargo_vcs_info.jsonCHANGELOG.mdCargo.lockCargo.tomlCargo.toml.origLICENSE-APACHELICENSE-MITREADME.mdUNICODE.mdbench/README.mdsrc/builders.rssrc/bytes.rssrc/error.rssrc/find_byte.rssrc/lib.rssrc/pattern.rssrc/regex/bytes.rssrc/regex/mod.rssrc/regex/string.rssrc/regexset/bytes.rssrc/regexset/mod.rssrc/regexset/string.rstestdata/anchored.tomltestdata/bytes.tomltestdata/crazy.tomltestdata/crlf.tomltestdata/earliest.tomltestdata/empty.tomltestdata/expensive.tomltestdata/flags.tomltestdata/fowler/basic.tomltestdata/fowler/nullsubexpr.tomltestdata/fowler/repetition.tomltestdata/iter.tomltestdata/leftmost-all.tomltestdata/line-terminator.tomltestdata/misc.tomltestdata/multiline.tomltestdata/no-unicode.tomltestdata/overlapping.toml

How ShadowCanopy checks crates.io packages

ShadowCanopy blocks every dependency by default and only lets through what it can verify — against live malicious-package advisories, an AI behavior scan, and a byte-for-byte hash check. It protects installs across npm, PyPI, crates.io, pkg.go.dev, RubyGems, Maven Central, NuGet, Packagist, Hex, pub.dev, Swift Package Manager.

Protect your projects freeSee what's being blocked

This report reflects ShadowCanopy's threat intelligence at page load and is informational, not a warranty. Canonical URL: https://shadowcanopy.dev/packages/crates/regex