activemodel-can-validator (RubyGems) · Malicious Code
Affects activemodel-can-validatorSource GCVE Database
Malicious package : remove activemodel-can-validator and rotate any secrets on hosts that installed it.
Data as of 18 Jul 2026, 19:25 UTC
Malicious package
Published to RubyGems · OSV MAL-2024-6461
What to do
Remove activemodel-can-validator from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
RubyGemsactivemodel-can-validatorpkg:gem/activemodel-can-validatorOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
--- _-= Per source details. Do not edit below this line.=-_ ## Source: ghsa-malware (a662c53d663b18e056c562077c96f13fe0c1b86b8b14115d5de9d49642206326) --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/9fbb5fba02ba2f02395d3d2d43c31b2c482b7a9d/osv/malicious/rubygems/activemodel-can-validator/MAL-2024-6461.json))