access-policy_rails (RubyGems) · Malicious Code
Affects access-policy_railsSource GCVE Database
Malicious package : remove access-policy_rails 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-6340
What to do
Remove access-policy_rails 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 |
|---|---|---|
RubyGemsaccess-policy_railspkg:gem/access-policy_railsOther 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 (3b2343f5738fa78b10f46210a3e8b1e94133197eccf8944a6caa7b7c5d26bd88) --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/9fbb5fba02ba2f02395d3d2d43c31b2c482b7a9d/osv/malicious/rubygems/access-policy_rails/MAL-2024-6340.json))