Hello PKP team,
I’d like to report a serious security and reputation concern I discovered while auditing my OJS installation, I’m using ojs 3.5.1 now.
During a system-wide scan for injected keywords like “birototo”, “slot gacor”, and “video slot”, I found that the following file inside the default OJS vendor directory contains hidden links to gambling websites: /lib/pkp/lib/vendor/nesbot/carbon/sponsors.php
Here are a few lines from the file:
‘name’ => ‘Non Gamstop Casinos’,
‘description’ => ‘Casinos not on Gamstop’,
‘website’ => ‘https://www.slotozilla.com/nz/free-spins’,
This file also references other gambling-related domains such as:
-
slotozilla.com -
onlinekasyno-polis.pl -
zonaminecraft.net
While this file belongs to the nesbot/carbon package (a Laravel date-time library), it raises major concerns because:
-
It resides within the OJS vendor directory (
lib/pkp/lib/vendor/). -
It may cause search engines (e.g., Google) to index OJS journal URLs along with gambling keywords.
-
It poses a reputation risk for academic institutions using OJS.
Although this file is not directly executed by OJS, it is still problematic because:
-
The file is publicly accessible if the server doesn’t block access to
/lib/. -
It contains outbound links to gambling and potentially harmful sites.
-
It might contribute to unwanted search index contamination (SEO spam)
Steps to Reproduce:
-
Navigate to your OJS installation directory.
-
Run:
grep -Rni "slot" lib/pkp/lib/vendor/nesbot/carbon/ -
You’ll find the gambling-related sponsor definitions in sponsors.php