CPAN::Audit(3pm)

πŸ’– CPAN::Audit πŸ’–

okay bestie so listen β€” this is CPAN::Audit, a little Perl module from the User Contributed Perl Documentation section of the manual, and it's literally here to sniff out whether any of your CPAN distributions have ✨known vulnerabilities✨. yes, the group chat has receipts.


🌸 NAME 🌸

CPAN::Audit β€” your girl audits CPAN distributions for known vulnerabilities. no cap. πŸ•΅οΈβ™€οΈπŸ’…


✨ SYNOPSIS ✨

use CPAN::Audit;

that's it. that's the whole synopsis. short and iconic. πŸŽ€


πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea β˜• β€” CPAN::Audit uses the CPAN Security Advisory database to connect vulnerability reports to your installed CPAN modules. it's the whole engine behind the cpan-audit command-line application, which is the thing that actually goes and queries for vulnerabilities. this module is basically the brain, cpan-audit is the mouth. πŸ’…

okay now for the lore πŸ“œ β€” this module used to come bundled with its own copy of the database, called CPAN::Audit::DB, but that got moved out into its own distribution and is now deprecated in favor of CPANSA::DB. rip to a real one 🫑

here's how the lookup actually works, no gatekeeping:

  • this module will try to load CPANSA::DB first, that's the main character now πŸ‘‘
  • if it can't, it'll fall back to the deprecated CPAN::Audit::DB, and it will throw a warning at you while doing it, respectfully 🫢
  • eventually, CPAN::Audit::DB support will be completely removed β€” so like, the clock is ticking bestie ⏰

so if you've been out here updating your own version of CPAN::Audit::DB, the move is to change its package name to CPANSA::DB. everything else about them is identical β€” same modules, different name. glow-up only. ✨


πŸŽ€ LICENSE πŸŽ€

Copyright (C) Viacheslav Tykhanovskyi.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. slay, legally speaking. πŸ’–


πŸ‘‘ AUTHOR πŸ‘‘

Viacheslav Tykhanovskyi <viacheslav.t@gmail.com>


🌈 CREDITS 🌈

shoutout to the squad, couldn't have done it without y'all 🫢✨

  • Takumi Akiyama (github.com/akiym)
  • James Raspass (github.com/JRaspass)
  • MCRayRay (github.com/MCRayRay)

okay that's the whole page, ily, go audit your modules πŸ’…πŸ¦‹ and a cute tiny sign-off for the record: this was Perl version v5.40.1, dated 2026-07-05, and the page itself is CPAN::Audit(3pm). bye bestie, stay vulnerable-free πŸŽ€βœ¨πŸ’–

πŸ“¦ where this page comes from