PHPackages                             cylab-be/webshell-detector - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. cylab-be/webshell-detector

ActiveLibrary

cylab-be/webshell-detector
==========================

Webshell detector

1.0.2(8y ago)27[3 issues](https://github.com/cylab-be/webshell-detector/issues)MITPHP

Since Mar 11Pushed 6y ago3 watchersCompare

[ Source](https://github.com/cylab-be/webshell-detector)[ Packagist](https://packagist.org/packages/cylab-be/webshell-detector)[ Docs](https://github.com/RUCD/webshell-detector)[ RSS](/packages/cylab-be-webshell-detector/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (2)Dependencies (6)Versions (5)Used By (0)

webshell-detector
=================

[](#webshell-detector)

[![pipeline status](https://camo.githubusercontent.com/51ab43c668622b0130cf6b459e10280e996ce0e96b9d7b89165831b1b296bae7/68747470733a2f2f6769746c61622e63796c61622e62652f63796c61622f7765627368656c6c2d6465746563746f722f6261646765732f6d61737465722f706970656c696e652e737667)](https://gitlab.cylab.be/cylab/webshell-detector/commits/master)[![Latest Stable Version](https://camo.githubusercontent.com/da48521b135c1e5162c162b2973e3428a50bba46adf3518b49752618272d3721/68747470733a2f2f706f7365722e707567782e6f72672f63796c61622d62652f7765627368656c6c2d6465746563746f722f762f737461626c65)](https://packagist.org/packages/cylab-be/webshell-detector)[![Total Downloads](https://camo.githubusercontent.com/d404e67c7f9952571d3a71bba95167a5688cfaf3c3dd135b045c1799703d8a49/68747470733a2f2f706f7365722e707567782e6f72672f63796c61622d62652f7765627368656c6c2d6465746563746f722f646f776e6c6f616473)](https://packagist.org/packages/cylab-be/webshell-detector)[![Latest Unstable Version](https://camo.githubusercontent.com/d41751ce6746e2f592f7fc38cce0713acf07bc293bff64dd424e7c8cc7ee19d7/68747470733a2f2f706f7365722e707567782e6f72672f63796c61622d62652f7765627368656c6c2d6465746563746f722f762f756e737461626c65)](https://packagist.org/packages/cylab-be/webshell-detector)[![License](https://camo.githubusercontent.com/eef8f859987a29b4123f8ecf2c22e3734e50fdc1a4ebda9e24f7a856c1dacb67/68747470733a2f2f706f7365722e707567782e6f72672f63796c61622d62652f7765627368656c6c2d6465746563746f722f6c6963656e7365)](https://packagist.org/packages/cylab-be/webshell-detector)

Developement now taks place at

Installation and usage
----------------------

[](#installation-and-usage)

The webshell detector can be integrated as a composer library to your project, or you can run it from the command line.

### As a library

[](#as-a-library)

`composer require cylab-be/webshell-detector`

```
require_once "vendor/autoload.php";

use RUCD\WebshellDetector\Detector;

$detector = new Detector();
echo $detector->analyzeFile("strange_file.php");
```

### From the command line

[](#from-the-command-line)

Download the runnable PHAR from the [Releases pages](https://github.com/cylab-be/webshell-detector/releases).

To run:

```
webshell-detector.phar analyze:directory /path/to/directory

```

[![](./webshell-detector.png)](./webshell-detector.png)

You can modify the "sensitivity" of the detector, by modifying the threshold for displaying files. This will display the suspiciousness score of every files:

```
webshell-detector.phar analyze:directory -t 0.0 /path/to/directory

```

The default threshold used by the tool is 0.4

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 80.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

3

Last Release

2981d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7c315a5fa6bd564f98127e90046ff629dad5a22cd509cc53d07f5858c85b08fc?d=identicon)[tdebatty](/maintainers/tdebatty)

---

Top Contributors

[![tdebatty](https://avatars.githubusercontent.com/u/872972?v=4)](https://github.com/tdebatty "tdebatty (46 commits)")[![BorelEnzo](https://avatars.githubusercontent.com/u/16661226?v=4)](https://github.com/BorelEnzo "BorelEnzo (11 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/cylab-be-webshell-detector/health.svg)

```
[![Health](https://phpackages.com/badges/cylab-be-webshell-detector/health.svg)](https://phpackages.com/packages/cylab-be-webshell-detector)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.6k509.9M17.0k](/packages/laravel-framework)[spatie/laravel-backup

A Laravel package to backup your application

6.0k21.8M186](/packages/spatie-laravel-backup)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M647](/packages/sylius-sylius)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19462.3M1.3k](/packages/drupal-core)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
