Skip to content
Jared Smith edited this page Apr 25, 2016 · 26 revisions

PHP-CSAS

Build Status

One Goal: Context-Sensitive Auto-Sanitization for PHP

Overview of Extension

We are building off of the work done by previous leaders in this field, including inspiration from this paper from Google and UC Berkeley. Languages like Java (Google Soy Templates), C (CTemplate), Python (Django) and others have modules similar to PHP-CSAS for implementing auto-escaping for various template languages. Our goal is to bring the functionality of these languages into PHP.

We developed this extension solely on PHP 5.4.45 and Ubuntu 14.04. Mileage may vary for other versions and systems.

Background of Project

This project is the senior thesis project for five students (@jaredmichaelsmith, @kylebshr, @josconno, @traviswork, and @davpcunn) at the University of Tennessee, Knoxville, sponsored by the Advanced Security Initiatives Group at Cisco Systems.

Overview of Documentation

Here is a brief overview of each section.

Quickstart

Getting Started

Testing

Compatibility

Licensing

Technical Details

Function Reference and PHP API

Semantics

The HTML Parser

Developing and Extending PHP-CSAS

Source File Overview

Adding Sanitizers

Additional Details

3rd Party Libraries Used in PHP-CSAS

Clone this wiki locally