Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PHP security scanner [closed]

Tags:

security

php

Is there any easy to use PHP Security Scanner?

like image 547
TheNone Avatar asked Jun 16 '10 18:06

TheNone


2 Answers

Please be aware that NO automated security scanner will be able to detect all vulnerabilities in the code base. The best way to protect your code is to learn about how to write secure software, and do diligent code reviews.

Note, I'm not saying NOT to use a scanner. I'm saying use a scanner as a second line of defense only. Don't rely on it to make up for poor coding practices...

like image 180
ircmaxell Avatar answered Oct 19 '22 15:10

ircmaxell


An old topic, but I notice no-one has mentioned the RIPS Scanner yet (see also the related project page on Sourceforge)

"RIPS is a free static source code analyser for vulnerabilities in PHP scripts"

I haven't tried it yet (just downloading it now), but it sounds like the kind of thing the question is looking for. And it's free (GPL licenced). (interesting to note that it was first released in June 2010, pretty much the same time this question was asked)

Sourceforge also threw up a few other projects:

  • http://sourceforge.net/projects/securityscanner/
  • http://sourceforge.net/projects/phpsecaudit/
  • http://sourceforge.net/projects/yasca/

RIPS looks like it's a lot more well used than any of those others, but it might be worth trying them all, just to see.

Hope that helps

like image 23
SDC Avatar answered Oct 19 '22 15:10

SDC