Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 1020 Bytes

README.md

File metadata and controls

36 lines (22 loc) · 1020 Bytes

Net::OSV

Perl interface to the Open Source Vulnerabilities Database (OSV), allowing developers to search and retrieve vulnerability and security advisory information from many open source projects and ecosystems.

    use Net::OSV;

    my $osv = Net::OSV->new;

    my @vulns = $osv->query( commit => '6879efc2c1596d11a6a6ad296f80063b558d5e0f' );

    @vulns = $osv->query(
        package => { ecosystem => 'Debian:10', name => 'imagemagick' },
    );

    say $vulns[0]{details};

Installation

cpanm Net::OSV

or manually:

perl Makefile.PL
make test
make install

Please refer to this module's complete documentation for extra information.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.

This product uses data from the Open Source Vulnerabilities Database (OSV) but is not endorsed or certified by the OSV.