-
-
Notifications
You must be signed in to change notification settings - Fork 674
Comparing changes
Open a pull request
base repository: PyCQA/bandit
base: 1.8.0
head repository: PyCQA/bandit
compare: 1.8.3
- 20 commits
- 26 files changed
- 9 contributors
Commits on Dec 2, 2024
-
Bump docker/build-push-action from 6.9.0 to 6.10.0 (#1209)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 6.9.0 to 6.10.0. - [Release notes](https://github.com/docker/build-push-action/releases) - [Commits](docker/build-push-action@4f58ea7...48aba3b) --- updated-dependencies: - dependency-name: docker/build-push-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 65ddf8f - Browse repository at this point
Copy the full SHA 65ddf8fView commit details
Commits on Dec 6, 2024
-
Update the bug template with latest bandit version (#1208)
Since Bandit 1.8.0 was just released, the bug template should also have 1.8.0 in its list of choices.
Configuration menu - View commit details
-
Copy full SHA for ead6717 - Browse repository at this point
Copy the full SHA ead6717View commit details -
Add Mercedes-Benz to sponsor list (#1210)
* Add Mercedes-Benz to sponsor list Add Mercedes-Benz to the README as one of our generous sponsors. * Update README.rst
Configuration menu - View commit details
-
Copy full SHA for 929d597 - Browse repository at this point
Copy the full SHA 929d597View commit details
Commits on Dec 16, 2024
-
Bump docker/setup-buildx-action from 3.7.1 to 3.8.0 (#1211)
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 3.7.1 to 3.8.0. - [Release notes](https://github.com/docker/setup-buildx-action/releases) - [Commits](docker/setup-buildx-action@c47758b...6524bf6) --- updated-dependencies: - dependency-name: docker/setup-buildx-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 8e3c928 - Browse repository at this point
Copy the full SHA 8e3c928View commit details
Commits on Dec 24, 2024
-
[pre-commit.ci] pre-commit autoupdate (#1213)
updates: - [github.com/asottile/pyupgrade: v3.19.0 → v3.19.1](asottile/pyupgrade@v3.19.0...v3.19.1) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 1abd1d7 - Browse repository at this point
Copy the full SHA 1abd1d7View commit details
Commits on Jan 7, 2025
-
Start testing with 3.14 alphas (#1189)
* Test with official 3.13 and 3.14 alphas This change updates the unit testing to use the official Python 3.13 released yesterday (Oct 7). It also starts testing against the alpha versions of Python 3.14 to catch potential problems early before it is officially released. Signed-off-by: Eric Brown <[email protected]> * Update setup.cfg * Update setup.cfg Signed-off-by: Eric Brown <[email protected]> --------- Signed-off-by: Eric Brown <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 13d3406 - Browse repository at this point
Copy the full SHA 13d3406View commit details -
Remove lxml (B320 & B410) from blacklist (#1212)
* remove B320 (xml_bad_etree) and B410 (import_lxml) * restore lxml documentation and denote removal * fix missing newline Co-authored-by: Ian Stapleton Cordasco <[email protected]> --------- Co-authored-by: Ian Stapleton Cordasco <[email protected]> Co-authored-by: Eric Brown <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e4da0b3 - Browse repository at this point
Copy the full SHA e4da0b3View commit details
Commits on Jan 12, 2025
-
Clarify "getting started" docs (#963)
* Clarify "getting started" docs This makes it clearer that you don't need to use both virtualenv and venv at the same time * Update doc/source/start.rst --------- Co-authored-by: Luke Hinds <[email protected]> Co-authored-by: Eric Brown <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e58379c - Browse repository at this point
Copy the full SHA e58379cView commit details -
Configuration menu - View commit details
-
Copy full SHA for c2c336d - Browse repository at this point
Copy the full SHA c2c336dView commit details
Commits on Jan 13, 2025
-
Bump docker/build-push-action from 6.10.0 to 6.11.0 (#1220)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 6.10.0 to 6.11.0. - [Release notes](https://github.com/docker/build-push-action/releases) - [Commits](docker/build-push-action@48aba3b...b32b51a) --- updated-dependencies: - dependency-name: docker/build-push-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for e91b911 - Browse repository at this point
Copy the full SHA e91b911View commit details
Commits on Jan 20, 2025
-
Bump docker/build-push-action from 6.11.0 to 6.12.0 (#1221)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 6.11.0 to 6.12.0. - [Release notes](https://github.com/docker/build-push-action/releases) - [Commits](docker/build-push-action@b32b51a...67a2d40) --- updated-dependencies: - dependency-name: docker/build-push-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for ef0090f - Browse repository at this point
Copy the full SHA ef0090fView commit details
Commits on Jan 27, 2025
-
Bump docker/build-push-action from 6.12.0 to 6.13.0 (#1222)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 6.12.0 to 6.13.0. - [Release notes](https://github.com/docker/build-push-action/releases) - [Commits](docker/build-push-action@67a2d40...ca877d9) --- updated-dependencies: - dependency-name: docker/build-push-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 3348781 - Browse repository at this point
Copy the full SHA 3348781View commit details
Commits on Feb 4, 2025
-
[pre-commit.ci] pre-commit autoupdate (#1229)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/psf/black-pre-commit-mirror: 24.10.0 → 25.1.0](psf/black-pre-commit-mirror@24.10.0...25.1.0) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 7619cc4 - Browse repository at this point
Copy the full SHA 7619cc4View commit details -
Update bug template to include latest released versions (#1218)
The bug template should include a drop down selection for newly released Bandit versions 1.8.1 and 1.8.2.
Configuration menu - View commit details
-
Copy full SHA for 6133e08 - Browse repository at this point
Copy the full SHA 6133e08View commit details -
Add markupsafe.Markup XSS plugin (#1225)
* Add markupsafe.Markup XSS plugin * Apply suggestions from code review Co-authored-by: Eric Brown <[email protected]> --------- Co-authored-by: Eric Brown <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5e3e694 - Browse repository at this point
Copy the full SHA 5e3e694View commit details
Commits on Feb 5, 2025
-
Warn not error on an nonexistant test given (#1230)
When a user gives a test ID to include or skip, the current behavior raises an exception and exits the process. However, when tests end up getting deprecated and eventually removed, it is a lot more user friendly to simple present a warning to the user that the test ID given wasn't found rather than a hard error and exit. Fixes: #1228 Signed-off-by: Eric Brown <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for affd4fd - Browse repository at this point
Copy the full SHA affd4fdView commit details
Commits on Feb 10, 2025
-
Configuration menu - View commit details
-
Copy full SHA for a324f42 - Browse repository at this point
Copy the full SHA a324f42View commit details -
Configuration menu - View commit details
-
Copy full SHA for 00b1e95 - Browse repository at this point
Copy the full SHA 00b1e95View commit details -
B107: Skip None values in hardcoded password detection (#1232)
* B107: Skip None values in hardcoded password detection The B107 check was incorrectly flagging None default values as hardcoded passwords in function definitions. This is a false positive since None is a legitimate and commonly used within __init__ initialization This change modifies the hardcoded_password_default function to: - Skip None values in parameter defaults - Handle both ast.Constant (Python 3.8+) and ast.NameConstant (Python 3.7-) representations of None - Update documentation to clarify None handling behavior Example of code that no longer triggers B107: def __init__(self, auth_scheme, auth_password=None): pass Fixes ##1227 * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for def123a - Browse repository at this point
Copy the full SHA def123aView commit details
Commits on Feb 16, 2025
-
* Fix pytorch weights check * B614: Fix PyTorch plugin to handle weights_only parameter correctly The PyTorch plugin (B614) has been updated to properly handle the weights_only parameter in torch.load calls. When weights_only=True is specified, PyTorch will only deserialize known safe types, making the operation more secure. I also removed torch.save as there is no certain insecure element as such, saving any file or artifact requires consideration of what it is you are saving. Changes: - Update plugin to only check torch.load calls (not torch.save) - Fix weights_only check to handle both string and boolean True values - Remove map_location check as it doesn't affect security - Update example file to demonstrate both safe and unsafe cases - Update plugin documentation to mention weights_only as a safe alternative The plugin now correctly identifies unsafe torch.load calls while allowing safe usage with weights_only=True to pass without warning. Fixes: #1224 * Fix E501 line too long * Rename files to new test scope * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update doc/source/plugins/b614_pytorch_load.rst Co-authored-by: Eric Brown <[email protected]> * Update pytorch_load.py --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Eric Brown <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8ff25e0 - Browse repository at this point
Copy the full SHA 8ff25e0View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 1.8.0...1.8.3