spoils (bandit extensions)
A lightweight collection of additional security checks for Bandit.
Add-ons
- B380: No path-join misuse
Detects unvalidated or unsafe usage of
os.path.join, multi-argumentpathlib.Path(...),Path(...).joinpath(...), and/path composition in your codebase.
Installation
pip install spoils
Usage
Once installed, Bandit will automatically pick up the new checks:
bandit -r your_project/
Issues will be reported with their B-number and descriptive message.
Future Add-ons
More community-driven checks are coming soon! Got an idea or contribution? Feel free to file an issue or submit a pull request.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
spoils-0.2.0.tar.gz
(5.1 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 spoils-0.2.0.tar.gz.
File metadata
- Download URL: spoils-0.2.0.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
79f2916818ffb140bb202d5688e6cd44d6c43dd19f878cc4b192fe6ae60dd26b
|
|
| MD5 |
aad54f6522889ada6f268fd6cfd7e4b3
|
|
| BLAKE2b-256 |
4e073150adf2a4592c40002344742ec36dc2b3280594d320222842ef352da7a4
|
File details
Details for the file spoils-0.2.0-py3-none-any.whl.
File metadata
- Download URL: spoils-0.2.0-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
96fb8fba464b32cae6a57ac281019cfb7bf868e0ae945cbb4c7e896ea77cded0
|
|
| MD5 |
b30dc0662dc1d44700e02577773da250
|
|
| BLAKE2b-256 |
a8e3b92acafed2b769654676062398a750d733e8635d3e85684ca78333a21b9a
|