rust-const

Warn

Audited by Socket on Sep 15, 2026

1 alert found:

Anomaly
AnomalyLOW
SKILL_ZH.md

The content is benign Rust documentation with no apparent malware or supply-chain attack behavior. However, the `init_array` example is unsafe and incorrect because it writes repeatedly to the same vector element before setting the vector length, causing undefined behavior. That example should not be used without fixing pointer indexing or using a safe initialization approach.

Confidence: 98%Severity: 62%
Audit Metadata
Analyzed At
Sep 15, 2026, 07:35 AM
Package URL
pkg:socket/skills-sh/huiali%2Frust-skills%2Frust-const%2F@9cbc0a611c0ce4df603d3d596033a4e545a9741b2de0cf019530c144eea0b116