Replication of VERJava
Project description
VERJava
Replication of VERJava. VERJava is a two-stage approach for identifying vulnerable versions of Java Open Source Software (OSS) projects.
Install
pip install verjava
Usage
from verjava import verjava
# results will be a list of vulnerability repo tags
vul_tags: list[str] = verjava(
repo_path="/path/to/your/repo",
commit_id="your_commit_id",
)
If you want to adjust the parameters, you can do so by passing them as keyword arguments:
vul_tags: list[str] = verjava(
repo_path="/path/to/your/repo",
commit_id="your_commit_id",
tDel=1.0, # Threshold for deleted lines similarity
tAdd=0.9, # Threshold for added lines similarity
T=0.8, # Threshold for vulnerability ratio
)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
verjava-0.0.1.tar.gz
(7.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file verjava-0.0.1.tar.gz.
File metadata
- Download URL: verjava-0.0.1.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5d3d2c5db2d187c863821d070b424a55cc31995912319c6e40aeb0b3918d9fc4
|
|
| MD5 |
7eea743521fee813ce88938911f73cff
|
|
| BLAKE2b-256 |
afb71fac8dac408619994c962c427f80119f17cd893c82896cb8bef270816204
|
File details
Details for the file verjava-0.0.1-py3-none-any.whl.
File metadata
- Download URL: verjava-0.0.1-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4c9647a4870bada07108a3d12357b513145ecefe2795f077dea6c4f29cef6e4f
|
|
| MD5 |
c708a559fd108c8f9a48d0124454bae1
|
|
| BLAKE2b-256 |
65be7f6eef470fbe6a483cf9115804792055b2da1bdeb8973f9a05bb6c9726af
|