Coder Social home page Coder Social logo

blabla1337 / skf-flask Goto Github PK

View Code? Open in Web Editor NEW
803.0 50.0 307.0 124.08 MB

Security Knowledge Framework (SKF) Python Flask / Angular project

Home Page: https://www.securityknowledgeframework.org

License: Apache License 2.0

CSS 5.59% JavaScript 0.54% HTML 70.89% Python 8.50% Shell 0.04% TypeScript 2.10% Dockerfile 0.05% SCSS 12.29%
owasp-skf secure-by-default security security-audit security-hardening secure-coding security-training security-framework security-knowledge security-standards

skf-flask's Introduction

OLD and archived Security Knowledge Framework

Please note that this is the archived version of SKF, we are busy building a brand new Security Knowledge Framework. For more updates please visit this github repo:

Introduction

Our experience taught us that the current level of security of web-applications is not sufficient enough to ensure security. This is mainly because web-developers simply aren't aware of the risks and dangers that are lurking, waiting to be exploited by hackers.

Because of this we decided to develop a framework in order to create a guide-system available for all developers so they can develop applications secure by design from the start.

SKF Features

SKF Flow

Contributors

skf-flask's People

Contributors

adamnfish avatar akaasjager avatar akashm398 avatar alphkito avatar asurwade avatar bheuvel avatar bithinalangot avatar blabla1337 avatar el-prova avatar giuliocomi avatar h33raj avatar ilatypov avatar johnhaley avatar jot85 avatar leenabhegade avatar lfama avatar marianojabdala avatar martinmarsicano avatar northdpole avatar paulustm avatar priya997 avatar r3ggi avatar riiecco avatar sbp-ak avatar scopestyle avatar theodoorscholte avatar theoneneoxu avatar volkandindar avatar xen0vas avatar zythosec avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

skf-flask's Issues

Install docs on using with existing web server

I would like to use skf with my existing web server (lighttpd). There shouldn't be a need to run an additional Python-based server when one is already available on the system. Instructions for lighttpd and apache httpd would be ideal.

Issue Version check

When you don't have a active internet connection the SKF cannot start and gives an error.
Need to fix this

In screen processing functions, create a tagcloud for easy to assemble functions.

As the name suggests, the screen where the project processing functions gets assembled could really benefit from a tag cloud where functions could easilly be clicked, and added to the list. With the addition to add new tags (functions) manually (without a popup overlay).

This will greatly enhance the usability of this vital part of the SKF process, as a sign of what the user should be doing and as a clear timesaver for the user.

CFFI

Windows does not install CFFI module needed for SSL.

Add version control

It's just a nice to have feature, but is there anything like a version control possible as hardcoded in the design on the dashboard. Make a call to the repo to check if there is a possible new release version?

Create custom dynamic checklist

Create a custom dynamic checklist in the post-development phase.
This custom checklist can be used by companies that have their own checklist, but also want to use the ASVS items.

This checklist will default load the level 3 ASVS items
Items can be modified , deleted or added to a category
Items can be hooked to knowledge base item

SKF installation

Hi.

On debian, I faced multiple issue with the installation

a) to installation the wsgi version, it is required to do the default installation then follow the guide. it seems not 100% clear to me on documentation

b) then, I get now two issue

  • password does not change and sticks to test-skf even if I specify one in PASSWORD='mypass' on skf.py
  • sessions do not work but only for the wsgi as other pure php solutions works.
    any reason for that?

I even added the following code at the end of skf.py but without success

  #  session = web.session.Session(app, web.session.DiskStore(os.path.join(curdir,'sessions')),)
sess = web.session.Session(app, web.session.DiskStore('sessions'), initializer=INIT)
web.config.session_parameters['cookie_path'] = '/'

Unable to complete install

Running Ubuntu 14.04

Ran:
sudo apt-get install python-pip sqlite3
sudo pip install https://github.com/mitsuhiko/flask/tarball/master
sudo pip install owasp-skf

installing owasp-skf fails with error:

creating build/temp.linux-x86_64-2.7/src/lxml

x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/tmp/pip_build_root/lxml/src/lxml/includes -I/usr/include/python2.7 -c src/lxml/lxml.etree.c -o build/temp.linux-x86_64-2.7/src/lxml/lxml.etree.o -w

src/lxml/lxml.etree.c:8:22: fatal error: pyconfig.h: No such file or directory

#include "pyconfig.h"

                  ^

compilation terminated.

error: command 'x86_64-linux-gnu-gcc' failed with exit status 1


Cleaning up...
Command /usr/bin/python -c "import setuptools, tokenize;file='/tmp/pip_build_root/lxml/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-SZKpc9-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_root/lxml
Storing debug log for failure in /home/user/.pip/pip.log

wording for OWASP Top 10 A5 - director listing

The question reads, "Directory listing is enabled on your server?" but if you mark your answer "Yes" then is shades it green as if that is a good response. Isn't "No" the passing response, since you do not generally want directory listings enabled?

Logout button gives a 400 error

Should return back to the login page. Perhaps with a notification "You are now logged out" or something similar. Is this a common error or just on my end?

Checklist review crash for any project

Good morning.

When trying to check pre-development, everything is fine.
But when trying to check post-developement, I immedialtly reach 500 for any project I created or already existing.

File "/var/www/asvs/skf/skf.py", in project_checklists
  owasp_id = get_num(owasp_path[1])
 File "/var/www/asvs/skf/skf.py" ,  in get_num
   return int(''.join(ele for ele in x if ele.isdigit()))
ValueError: invalid literal for int() with base 10: ''

I tried to review why but I fail to really get the owasp_path concept so hard to then do better than submitting the issue :)

Unable to get Requirements

On Debian 8, I've been unable to pull in the BeautifulSoup package when I go to install owasp-skf as per instruction.

`Collecting BeautifulSoup (from -r requirements.txt (line 5))
Using cached BeautifulSoup-3.2.1.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 20, in
File "/tmp/pip-build-d48vmbx1/BeautifulSoup/setup.py", line 22
print "Unit tests have failed!"
^
SyntaxError: Missing parentheses in call to 'print'

----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-d48vmbx1/BeautifulSoup`

User management

Add support for multiple users
user management model
LDAP integration as part of this enhancement.

bind to 0.0.0.0

The IP is now hard coded to only run on localhost. If we want to run in docker it need to change to the global IP.

We should be able to pass the listen IP along as a configuration option.

Create more pre-development items

Create more pre-development items with the current knowledge base items we have.
Also we should cover the ASVS with the pre-development items.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.