https://github.com/amy-keibler/lift-python-example
https://github.com/amy-keibler/lift-python-example
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/amy-keibler/lift-python-example
- Owner: amy-keibler
- Archived: true
- Created: 2023-01-26T16:33:52.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-28T20:33:52.000Z (over 2 years ago)
- Last Synced: 2025-05-10T01:37:51.649Z (about 2 months ago)
- Language: Python
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Lift Python Example
This repository provides examples of various tools run by Lift in order to facilitate manual testing.
## Examples
### Bandit Example
This demonstrates Bandit's ability to provide notes on both insecure code and use of disallowed functions/imports.
- `B402` - importing an FTP module instead of a secure data transfer option
- `B101` - using `assert`, which may produce unexpected behavior after compiled to bytecode## Usage
If you have [`nix` installed](https://nixos.wiki/wiki/Nix_Installation_Guide) with flake support, you can have a devlopment shell with the proper tools installed by running `nix develop`. This shell also provides helpful wrappers in the form `-check`, for you to run them with the same commandline arguments as Lift. If you have [`direnv`](https://direnv.net/) set up, there is an `.envrc` that automatically applies the development shell.