# SCodeScanner | Stands For Source Code Scanner Where The User Can Scans The Source Code For Finding The Critical Vulnerabilities

**URL:** <https://onehack.st/t/scodescanner-stands-for-source-code-scanner-where-the-user-can-scans-the-source-code-for-finding-the-critical-vulnerabilities/224418>\
**Category:** Tools & Scripts\
**Tags:** tools, programming, hacking\
**Created:** [September 27, 2022, 9:29pm UTC](https://onehack.st/t/scodescanner-stands-for-source-code-scanner-where-the-user-can-scans-the-source-code-for-finding-the-critical-vulnerabilities/224418 "2022-09-27T21:29:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Prometheus](https://onehack.st/user_avatar/onehack.st/prometheus/32/34950_2.png) [@Prometheus](https://onehack.st/u/Prometheus)\
**Post date:** [September 27, 2022, 9:29pm UTC](https://onehack.st/t/scodescanner-stands-for-source-code-scanner-where-the-user-can-scans-the-source-code-for-finding-the-critical-vulnerabilities/224418/1 "2022-09-27T21:29:37Z")

</div>

![image](https://onehack.st/uploads/default/original/3X/d/f/dfa1a07c9b94d935d71e0b11480f60604f756d30.png)

# SCodeScanner

SCodeScanner stands for Source Code scanner where the user can scans the source code for finding the Critical Vulnerabilities. The main objective for this scanner is to find the vulnerabilities inside the source code before code gets published in Prod.

## Features

1. Supported [PHP](https://github.com/agrawalsmart7/scodescanner/tree/main/src/php) Language

2. Supported [YAML](https://github.com/agrawalsmart7/scodescanner/tree/main/src/yaml) Language

3. Pass results to bug tracking services like Jira also Slack (Sending files to group to multiple people at once).

4. Gives results in JSON format, which can easily be used to any other program.

5. Works with Rules. We only need to create some rules which the target rule is not present in php/yaml directory.

6. Rules that can scan advance patterns

## Achievements

SCodeScanner received 5 CVEs for finding vulnerabilities in multiple CMS plugins.

- CVE-2022-1465
- CVE-2022-1474
- CVE-2022-1527
- CVE-2022-1532
- CVE-2022-1604

## How to run?

- Download the repository -

- Run `pip3 install -r requirements.txt`

- And run `python3 scscanner.py --help`

## Feedback/Imporvements

I would love to hear your feedback on this tool. Open issues if you found any. And open PR request if you have something.

# Contact

[Utkarsh Agrawal](https://twitter.com/agrawalsmart7)  
[Website](https://smart7.in/)

## GitHub:

> **[GitHub - agrawalsmart7/scodescanner: SCodeScanner stands for Source Code scanner where...](https://github.com/agrawalsmart7/scodescanner)**
>
> SCodeScanner stands for Source Code scanner where the user can scans the source code for finding the Critical Vulnerabilities.
