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

Test #24

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

Test #24

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .github/workflows/snyk.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Example workflow for Python using Snyk
on: push
jobs:
security:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Run Snyk to check for vulnerabilities
uses: snyk/actions/python-3.8@master
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
args: --all-projects
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,8 @@
# python-goof
# Poetry
## Exploiting the vulnerabilities
This app uses dependencies holding known vulnerabilities - two are direct and one is transitive.

Here are the exploitable vulnerable packages:
- [fastecdsa - Timing Attack](https://snyk.io/vuln/SNYK-PYTHON-FASTECDSA-511943)
- [flask-cors - Directory Traversal](https://snyk.io/vuln/SNYK-PYTHON-FLASKCORS-608972)
- [ihatemoney - Authorization Bypass](https://snyk.io/vuln/SNYK-PYTHON-IHATEMONEY-595715)
7 changes: 2 additions & 5 deletions pip-sample/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ gtfs-realtime-bindings==0.0.5
html5lib==1.0.1
idna==2.7
ipykernel==5.0.0
ipython==7.1.1
ipython-genutils==0.2.0
ipywidgets==7.4.2
itsdangerous==1.1.0
Expand All @@ -22,7 +21,6 @@ Jinja2==2.10
jsonschema==2.6.0
jupyter==1.0.0
jupyter-client==5.2.3
jupyter-console==5.2.0
jupyter-core==4.4.0
kiwisolver==1.0.1
MarkupSafe==1.0
Expand All @@ -32,15 +30,14 @@ nbconvert==5.4.0
nbformat==4.4.0
nltk==3.3
notebook==5.7.0
numpy==1.15.3
numpy==1.16.3
oauthlib==2.1.0
pandas==0.23.3
pandocfilters==1.4.2
parso==0.3.1
pexpect==4.6.0
pickleshare==0.7.5
prometheus-client==0.3.1
prompt-toolkit==2.0.7
protobuf==3.6.1
protobuf-to-dict==0.1.0
ptyprocess==0.6.0
Expand All @@ -51,7 +48,7 @@ python-dateutil==2.7.3
pytz==2018.5
pyzmq==17.1.2
qtconsole==4.4.1
requests==2.19.1
requests==2.31.0
requests-oauthlib==1.0.0
Send2Trash==1.5.0
simplegeneric==0.8.1
Expand Down
Loading