perl-Perl-Critic-Policy-ValuesAndExpressions-PreventSQLInjection-1.4.0-alt1.noarch.rpm


Advertisement

Description

perl-Perl-Critic-Policy-ValuesAndExpressions-PreventSQLInjection - Prevent SQL injection in interpolated strings

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-Perl-Critic-Policy-ValuesAndExpressions-PreventSQLInjection
Package version 1.4.0
Package release alt1
Package architecture noarch
Package type rpm
Installed size 44.90 KB
Download size 44.90 KB
Official Mirror ftp.altlinux.org
When building SQL statements manually instead of using an ORM, any input must
be quoted or passed using placeholders to prevent the introduction of SQL
injection vectors. This policy attempts to detect the most common sources of
SQL injection in manually crafted SQL statements, by detecting the use of
variables inside interpolated strings that look like SQL statements.
In other words, this policy searches for code such as:
_my $sql = "SELECT * FROM $table WHERE field = $value";
But would leave alone:
_my $string = "Hello $world";

Alternatives

Package Version Architecture Repository
perl-Perl-Critic-Policy-ValuesAndExpressions-PreventSQLInjection - - -

Requires

Name Value
/usr/share/perl5 -
perl(Data/Dumper.pm) -
perl(Perl/Critic/Policy.pm) -
perl(Perl/Critic/Utils.pm) -
perl(Readonly.pm) -
perl(String/InterpolatedVariables.pm) -
perl(Try/Tiny.pm) -
perl(base.pm) -
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(Perl/Critic/Policy/ValuesAndExpressions/PreventSQLInjection.pm) = 1.004
perl-Perl-Critic-Policy-ValuesAndExpressions-PreventSQLInjection = 1.4.0-alt1

Download

Type URL
Binary Package perl-Perl-Critic-Policy-ValuesAndExpressions-PreventSQLInjection-1.4.0-alt1.noarch.rpm
Source Package perl-Perl-Critic-Policy-ValuesAndExpressions-PreventSQLInjection-1.4.0-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Perl-Critic-Policy-ValuesAndExpressions-PreventSQLInjection rpm package:
    # sudo apt-get install perl-Perl-Critic-Policy-ValuesAndExpressions-PreventSQLInjection

Files

Path
/usr/share/doc/perl-Perl-Critic-Policy-ValuesAndExpressions-PreventSQLInjection-1.4.0/Changes
/usr/share/doc/perl-Perl-Critic-Policy-ValuesAndExpressions-PreventSQLInjection-1.4.0/LICENSE
/usr/share/doc/perl-Perl-Critic-Policy-ValuesAndExpressions-PreventSQLInjection-1.4.0/README.md
/usr/share/doc/perl-Perl-Critic-Policy-ValuesAndExpressions-PreventSQLInjection-1.4.0/ignore.txt
/usr/share/doc/perl-Perl-Critic-Policy-ValuesAndExpressions-PreventSQLInjection-1.4.0/examples/examples.txt
/usr/share/perl5/Perl/
/usr/share/perl5/Perl/Critic/
/usr/share/perl5/Perl/Critic/Policy/
/usr/share/perl5/Perl/Critic/Policy/ValuesAndExpressions/PreventSQLInjection.pm

See Also

Package Description
perl-Perl-Critic-Policy-ValuesAndExpressions-ProhibitSingleArgArraySlice-0.004-alt1.noarch.rpm Prohibit using an array slice with only one index
perl-Perl-Critic-Policy-Variables-ProhibitLoopOnHash-0.006-alt1.noarch.rpm Don't write loops on hashes, only on keys and values of hashes
perl-Perl-Critic-Policy-Variables-ProhibitUnusedVarsStricter-0.102-alt1.noarch.rpm Critique unused variables in Perl source
perl-Perl-Critic-Policy-Variables-RequireHungarianNotation-0.0.7-alt1.noarch.rpm Critic policy for hungarian notation
perl-Perl-Critic-Policy-logicLAB-ModuleBlacklist-0.04-alt1.noarch.rpm blacklist modules you want to prohibit use of
perl-Perl-Critic-Policy-logicLAB-ProhibitShellDispatch-0.05-alt1.noarch.rpm simple policy prohibiting shell dispatching
perl-Perl-Critic-Policy-logicLAB-ProhibitUseLib-0.04-alt1.noarch.rpm simple policy prohibiting the use of 'use lib'
perl-Perl-Critic-Policy-logicLAB-RequirePackageNamePattern-0.05-alt1.noarch.rpm simple policy for enforcing a package naming policy
perl-Perl-Critic-Policy-logicLAB-RequireParamsValidate-0.03-alt1.noarch.rpm simple policy for enforcing use of Params::Validate
perl-Perl-Critic-Policy-logicLAB-RequireSheBang-0.07-alt1.noarch.rpm simple policy for keeping your shebang line uniform
perl-Perl-Critic-Policy-logicLAB-RequireVersionFormat-0.08-alt1.noarch.rpm assert version number formats
perl-Perl-Critic-PolicyBundle-PERLANCAR-0.002-alt1.noarch.rpm Perl::Critic policies
perl-Perl-Critic-RENEEB-0.02-alt1.noarch.rpm A collection of handy Perl::Critic policies
perl-Perl-Critic-Storable-0.01-alt1_22.noarch.rpm Policy for Storable.pm
perl-Perl-Critic-StricterSubs-0.05-alt1_11.noarch.rpm Perl::Critic plugin for stricter subroutine checks
Advertisement
Advertisement