This site is the archived OWASP Foundation Wiki and is no longer accepting Account Requests.
To view the new OWASP Foundation website, please visit

OWASP PHP Security Project

Jump to: navigation, search

ABANDONED: OWASP PHP Security Project You can still find the old source tree, but please be careful. There are many known issues.

The OWASP PHP Security Project was an effort by a group of PHP developers to help secure PHP web applications. The aim was to provide a collection of decoupled, flexible, secure PHP libraries, as well as a collection of PHP tools.

Unfortunately, due to a number of circumstances, the project did not manage to meet these objectives.

Because the code base that was under development was full of serious security issues, the decision was made to delete the code from this repository. The hope is that this will prevent developers from using the code or attempting to learn from it.

If you really do need to retrieve any of the code that once lived here, or if you wish to make an attempt at resurrecting the project, you can use the source tree before the project was abandoned.


Legacy code location:
Official Website:
Official Wiki page:

OWASP Inactive Banner.jpg



OWASP PHP Security Project is an effort by a group of PHP developers in securing PHP web applications, using a collection of decoupled flexible secure PHP libraries, as well as a collection of PHP tools.

READ ME: phpsec/ GitHub Repo

What is PHPSEC?

On top of a collection of libraries and tools, PHPSEC contains a sample framework to demonstrate proper usage of the tools and libraries, as well as guidelining new PHP projects. It can also be easily merged with existing PHP code, because it is both decoupled and flexible. Proper usage of PHPSEC will result in the target system being much more secure.


PHPSEC is suitable for three group of developers:

  • Framework Developers can use the libraries and tools to strengthen their framework security
  • PHP Application Developers can use the library and tools to enhance their application security
  • New PHP Developers can use the tools and libraries to create secure applications from scratch

Project leader

Abbas Naderi

Major Contributors

Libraries Offered

  • Basic Password Library
  • Advance Password Library
  • User Library and Management
  • Crypto Library
  • Password Library
  • Database Library
  • Download Manager Library
  • HTTP Library
  • Tainted Library
  • Logs Library
  • Session Library
  • Core Library
  • Scanner Tool

Tools Offered

  • XSS Resolver
  • SQL Injection Detector
  • Taint Tracker

Damages Mitigated

  • Brute Force Attacks
  • Cross-site Scripting(XSS) Attacks
  • SQL Injection Attacks
  • Session Fixation, Session Hijacking, Session Guessing
  • Encrypting sensitive information in configuration files
  • Replacement of native PHP's faulty functions
  • A secure PRNG (Pseudorandom number generator)
  • Secure implementation of "remember-me" and "temporary password" features
  • Capability to mark/disallow suspicious strings

Quick Download


News and Events

Visit us at OWASP APPSEC conference November 2013


Owasp-incubator-trans-85.png Owasp-builders-small.png
What does this OWASP project offer you?
What releases are available for this project?
what is this project?
Name: OWASP PHP Security Project (home page)
Purpose: OWASP PHP Security project plans to gather around secure PHP libraries, and provide a full featured framework of libraries for secure web applications in PHP, both as separate de-coupled libraries and as a whole secure web application framework. Many aspects of this project are already handled, and are being added to OWASP.
License: Creative Commons Attribution ShareAlike 3.0 License (best for documentation projects)
who is working on this project?
Project Leader(s):
  • Abbas Naderi @
how can you learn more?
Project Pamphlet: Not Yet Created
Project Presentation:
Mailing list: Mailing List Archives
Project Roadmap: View
Key Contacts
  • Contact Abbas Naderi @ to contribute to this project
  • Contact Abbas Naderi @ to review or sponsor this project
current release
Not Yet Published
last reviewed release
Not Yet Reviewed

other releases