{"id":33057953,"url":"https://github.com/fportantier/vulpy","last_synced_at":"2026-01-22T21:39:26.024Z","repository":{"id":37766688,"uuid":"69271463","full_name":"fportantier/vulpy","owner":"fportantier","description":"Vulnerable Python Application To Learn Secure Development","archived":false,"fork":false,"pushed_at":"2024-05-31T07:42:23.000Z","size":2973,"stargazers_count":126,"open_issues_count":8,"forks_count":497,"subscribers_count":3,"default_branch":"master","last_synced_at":"2026-01-22T03:05:02.652Z","etag":null,"topics":["flask","python","security","sqlite","vulnerable","web"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fportantier.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2016-09-26T16:49:55.000Z","updated_at":"2026-01-19T00:40:46.000Z","dependencies_parsed_at":"2023-01-23T20:01:33.595Z","dependency_job_id":"d31c3419-cba7-4158-82dd-c96c6ae6ebbc","html_url":"https://github.com/fportantier/vulpy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fportantier/vulpy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fportantier%2Fvulpy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fportantier%2Fvulpy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fportantier%2Fvulpy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fportantier%2Fvulpy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fportantier","download_url":"https://codeload.github.com/fportantier/vulpy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fportantier%2Fvulpy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28671719,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T20:48:19.482Z","status":"ssl_error","status_checked_at":"2026-01-22T20:48:14.968Z","response_time":144,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["flask","python","security","sqlite","vulnerable","web"],"created_at":"2025-11-14T05:00:24.333Z","updated_at":"2026-01-22T21:39:26.006Z","avatar_url":"https://github.com/fportantier.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"Vulpy - Web Application Security Lab\n====================================\n\nVulpy is a web application developed in Python / Flask / SQLite that has two faces.\n\n**GOOD**: Tries to code with secure development best practices in mind.\n\n**BAD**: Tries to code like (possibly) you. :p\n\nIs developed has a laboratory for the following courses:\n\nSecure Development of Securetia (https://www.securetia.com/cursos.html)\nSecure Development of EducaciónIT (https://www.educacionit.com/curso-de-desarrollo-seguro)\n\nBut you can use it has you want (MIT License)\n\n\nOWASP Application Security Verification Standard\n------------------------------------------------\n\nThe \"GOOD\" version (not finished yet) will comply with the OWASP ASVS:\n\nhttps://www.owasp.org/index.php/Category:OWASP_Application_Security_Verification_Standard_Project\n\nThis will permit learn how to develop python code following the best security practices.\n\n\n\nInstallation\n------------\n\n::\n\n   git clone https://github.com/fportantier/vulpy\n\n   cd vulpy\n\n   pip3 install --user -r requirements.txt\n\n\nFeatures\n--------\n\n- Login/Logout\n- Read posts from other users\n- Publish posts\n- Multi-Factor Authentication (MFA)\n- API for read and write posts\n- Content Security Policy\n- SSL/TLS Server\n\n\nVulnerabilities\n---------------\n\nSome of the vulnerabilities present on the \"BAD\" version:\n\n- Cross-Site Scripting (XSS)\n- SQL Injection\n- Cross Site Request Forgery (CSRF)\n- Session Impersonation\n- Insecure Deserialization\n- Authentication Bruteforce\n- Authentication Bypass\n\n**Note:** The \"GOOD\" version (not finished yet) is supposed to don't have vulnerabilities, but I'm a human being, so...\n\n\nDatabase Initialization\n-----------------------\n\nBoth, \"BAD\" and \"GOOD\" versions, requires an initialization of the database.\n\nThis is done with the script \"db_init.py\" inside each of the directories (bad, and good).\n\nEach version has their own sqlite files for the users and posts.\n\nThe execution of the script is, for example:\n\n::\n\n   cd bad\n   ./db_init.py\n\n\nDefault Credentials\n-------------------\n\nAfter database initialization, three users are created:\n\n::\n\n   Username    Password\n   --------    -----------\n   admin       SuperSecret\n   elliot      123123123\n   tim         12345678\n\n\nYou can login with any user, the application doesn't have a permissions system, so, the three have the same permissions.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffportantier%2Fvulpy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffportantier%2Fvulpy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffportantier%2Fvulpy/lists"}