nextcloud/apps
Lukas Reschke 3d2600b039
Add Phan plugin to check for SQL injections
This adds a phan plugin which checks for SQL injections on code using our QueryBuilder, while it isn't perfect it should already catch most potential issues.

As always, static analysis will sometimes have false positives and this is also here the case. So in some cases the analyzer just doesn't know if something is potential user input or not, thus I had to add some `@suppress SqlInjectionChecker` in front of those potential injections.

The Phan plugin hasn't the most awesome code but it works and I also added a file with test cases.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-07-20 22:48:13 +02:00
..
admin_audit Log console commands 2017-07-01 12:19:01 +02:00
comments [tx-robot] updated from transifex 2017-07-17 00:08:02 +00:00
dav Add Phan plugin to check for SQL injections 2017-07-20 22:48:13 +02:00
encryption [tx-robot] updated from transifex 2017-07-17 00:08:02 +00:00
federatedfilesharing [tx-robot] updated from transifex 2017-07-20 00:08:04 +00:00
federation [tx-robot] updated from transifex 2017-07-18 00:08:02 +00:00
files Fix copy and paste error on activity descriptions 2017-07-20 09:31:14 +02:00
files_external Add Phan plugin to check for SQL injections 2017-07-20 22:48:13 +02:00
files_sharing Run phan over code base 2017-07-19 10:28:11 +02:00
files_trashbin [tx-robot] updated from transifex 2017-07-13 00:08:31 +00:00
files_versions [tx-robot] updated from transifex 2017-07-12 00:08:43 +00:00
lookup_server_connector Bump app versions as well 2017-05-22 10:35:25 +02:00
oauth2 [tx-robot] updated from transifex 2017-07-19 00:08:22 +00:00
provisioning_api Add unit tests for the new code 2017-06-21 12:21:21 +02:00
sharebymail Merge pull request #5734 from nextcloud/only-readable-chars-in-share-tokens 2017-07-19 16:40:18 +02:00
systemtags [tx-robot] updated from transifex 2017-07-15 00:08:54 +00:00
testing Bump app versions as well 2017-05-22 10:35:25 +02:00
theming Add Android and iOS URLs to theming app 2017-07-19 10:20:47 +02:00
twofactor_backupcodes [tx-robot] updated from transifex 2017-07-13 00:08:31 +00:00
updatenotification [tx-robot] updated from transifex 2017-07-15 00:08:54 +00:00
user_ldap [tx-robot] updated from transifex 2017-07-20 00:08:04 +00:00
workflowengine [tx-robot] updated from transifex 2017-07-15 00:08:54 +00:00