{"id":43722929,"url":"https://github.com/vulndb/python-sdk","last_synced_at":"2026-02-05T08:32:52.629Z","repository":{"id":29447670,"uuid":"32983902","full_name":"vulndb/python-sdk","owner":"vulndb","description":"Python SDK to access the vulnerability database","archived":false,"fork":false,"pushed_at":"2019-09-05T12:42:57.000Z","size":184,"stargazers_count":22,"open_issues_count":2,"forks_count":12,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-08-20T17:56:56.898Z","etag":null,"topics":["database","vulnerability"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vulndb.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}},"created_at":"2015-03-27T12:04:44.000Z","updated_at":"2024-08-12T19:16:50.000Z","dependencies_parsed_at":"2022-09-06T18:12:40.576Z","dependency_job_id":null,"html_url":"https://github.com/vulndb/python-sdk","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vulndb/python-sdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vulndb%2Fpython-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vulndb%2Fpython-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vulndb%2Fpython-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vulndb%2Fpython-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vulndb","download_url":"https://codeload.github.com/vulndb/python-sdk/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vulndb%2Fpython-sdk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29117071,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T05:31:32.482Z","status":"ssl_error","status_checked_at":"2026-02-05T05:31:29.075Z","response_time":65,"last_error":"SSL_read: 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":["database","vulnerability"],"created_at":"2026-02-05T08:32:51.482Z","updated_at":"2026-02-05T08:32:52.623Z","avatar_url":"https://github.com/vulndb.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Python SDK to access the `vulnerability database \u003chttps://github.com/vulndb/data\u003e`_\n\n.. image:: https://circleci.com/gh/vulndb/python-sdk/tree/master.svg?style=svg\n   :alt: Build Status\n   :align: right\n   :target: https://circleci.com/gh/vulndb/python-sdk/tree/master\n\nInstallation\n============\nIt's possible to install `the latest stable release from pypi \u003chttps://pypi.python.org/pypi/vulndb\u003e`_:\n\n::\n\n    pip install vulndb\n\n\nOr if you're interested in the latest version from our repository:\n\n::\n\n    git clone https://github.com/vulndb/python-sdk.git\n    python setup.py install\n\nUsage\n=====\n\n::\n\n    \u003e\u003e\u003e from vulndb import DBVuln\n    \u003e\u003e\u003e dbv = DBVuln.from_id(42)\n    \u003e\u003e\u003e dbv.title\n    'SQL Injection'\n    \u003e\u003e\u003e dbv.description\n    'A long and actionable description for SQL injection ...'\n    \u003e\u003e\u003e dbv.fix_guidance\n    'Explains the developer how to fix SQL injections, usually a couple of \u003cp\u003e long ...'\n    \u003e\u003e\u003e dbv.severity\n    'high'\n    \u003e\u003e\u003e r = dbv.references[0]\n    \u003e\u003e\u003e r.url\n    'http://example.com/sqli-description.html'\n    \u003e\u003e\u003e r.title\n    'SQL injection cheat-sheet'\n\n\nMore attributes, methods and helpers are well documented and available in the\n`source code \u003chttps://github.com/vulndb/python-sdk/blob/master/vulndb/db_vuln.py\u003e`_.\n\nContributing\n============\nSend your `pull requests \u003chttps://help.github.com/articles/using-pull-requests/\u003e`_\nwith improvements and bug fixes, making sure that all tests ``PASS``:\n\n::\n\n    $ cd python-sdk\n    $ virtualenv venv\n    $ . venv/bin/activate\n    $ pip install -r vulndb/requirements-dev.txt\n    $ nosetests vulndb/\n    ..........\n    ----------------------------------------------------------------------\n    Ran 10 tests in 0.355s\n\n    OK\n\n\nUpdating the database\n=====================\nThis package embeds the `vulnerability database \u003chttps://github.com/vulndb/data\u003e`_\nin the ``vulndb/db/`` directory. To update the database with new information\nfollow these steps:\n\n::\n\n    # Update the database\n    tools/update-db.sh\n\nAfter updating the database it's a good idea to publish the latest at ``pypi`` using:\n\n::\n\n    rm -rf dist/\n    python setup.py sdist bdist_wheel\n    twine check dist/*\n    twine upload dist/*\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvulndb%2Fpython-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvulndb%2Fpython-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvulndb%2Fpython-sdk/lists"}