Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pytorch Load / Save Plugin #1114

Merged
merged 16 commits into from
Sep 23, 2024
Merged

Pytorch Load / Save Plugin #1114

merged 16 commits into from
Sep 23, 2024

Commits on Mar 3, 2024

  1. Pytorch Load / Save Plugin

    This plugin checks for the use of `torch.load` and `torch.save`.
    Using `torch.load` with untrusted data can lead to arbitrary code
    execution, and improper use of `torch.save` might expose sensitive
    data or lead to data corruption.
    
    Signed-off-by: Luke Hinds <luke@stacklok.com>
    lukehinds committed Mar 3, 2024
    Configuration menu
    Copy the full SHA
    8b92a02 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b8296ac View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d14ae6e View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2024

  1. Add missing save check

    Signed-off-by: Luke Hinds <luke@stacklok.com>
    lukehinds committed Mar 4, 2024
    Configuration menu
    Copy the full SHA
    74f0f2a View commit details
    Browse the repository at this point in the history
  2. Review fixes from 8b92a02

    Signed-off-by: Luke Hinds <luke@stacklok.com>
    lukehinds committed Mar 4, 2024
    Configuration menu
    Copy the full SHA
    f0fe02f View commit details
    Browse the repository at this point in the history
  3. Fix tox issues

    Signed-off-by: Luke Hinds <luke@stacklok.com>
    lukehinds committed Mar 4, 2024
    Configuration menu
    Copy the full SHA
    d96e9b3 View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2024

  1. Review fixes

    Signed-off-by: Luke Hinds <luke@stacklok.com>
    lukehinds committed Mar 19, 2024
    Configuration menu
    Copy the full SHA
    407b9cd View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2024

  1. Configuration menu
    Copy the full SHA
    7da10e7 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2024

  1. Configuration menu
    Copy the full SHA
    11e00d8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    30c8a61 View commit details
    Browse the repository at this point in the history
  3. Update test_functional.py

    lukehinds authored Aug 24, 2024
    Configuration menu
    Copy the full SHA
    fc7de57 View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2024

  1. Update bandit/plugins/pytorch_load_save.py

    Co-authored-by: Eric Brown <ericwb@users.noreply.github.com>
    lukehinds and ericwb authored Aug 26, 2024
    Configuration menu
    Copy the full SHA
    0a1bdd8 View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2024

  1. Update bandit/plugins/pytorch_load_save.py

    Co-authored-by: Eric Brown <ericwb@users.noreply.github.com>
    lukehinds and ericwb authored Sep 14, 2024
    Configuration menu
    Copy the full SHA
    a25b293 View commit details
    Browse the repository at this point in the history
  2. Update doc/source/plugins/b704_pytorch_load_save.rst

    Co-authored-by: Eric Brown <ericwb@users.noreply.github.com>
    lukehinds and ericwb authored Sep 14, 2024
    Configuration menu
    Copy the full SHA
    97c6e3c View commit details
    Browse the repository at this point in the history
  3. Update bandit/plugins/pytorch_load_save.py

    Co-authored-by: Eric Brown <ericwb@users.noreply.github.com>
    lukehinds and ericwb authored Sep 14, 2024
    Configuration menu
    Copy the full SHA
    5df2039 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    db0aa43 View commit details
    Browse the repository at this point in the history