Skip to main content

SecurityGPT, GPT for security practioners

Project description

What is securitygpt ?

securitygpt is a package that makes makes common tasks that a security engineer does easy using generative LLMs.

As a security engineer, you dont want to worry about writing correct prompts, we have taken care of that for you.

Install

pip install securitygpt
export OPENAI_API_KEY="sk-xxx"

Examples

VulnGPT

Summarize CVEs

import securitygpt
from securitygpt.gpts.vulngpt.cvegpt import summarize_cve
summmarize_cve("CVE-2021-36934")

{
  "base_score": 7.8,
  "severity": "High",
  "attack_vector": "Local",
  "attack_complexity": "Low",
  "product_name": "Unknown",
  "company_name": "Unknown",
  "cwe_name": "CWE-269",
  "versions_affected": "Unknown",
  "versions_not_affected": "Unknown",
  "applicable_operating_systems": "Unknown",
  "application_configuration_needed": "Unknown",
  "versions_fixed": "Unknown",
  "remediation": {
    "patch_remediation": "Unknown",
    "network_remediation": "Unknown",
    "host_remediation": "Unknown",
    "application_remediation": "Unknown",
    "database_remediation": "Unknown",
    "operating_system_remediation": "Unknown"
  },
  "summary": "This is a potential security issue. Please refer to the provided links for more information."
}

## Knowledge Graphs

from securitygpt.gpts.researchgpt.graphgpt import draw_threat_graph
url = "https://thehackernews.com/2023/09/financially-motivated-unc3944-threat.html"
objective = "understand the attack details and remediations"

dot = draw_threat_graph(url,objective)


feedback and comments to rkreddy@gmail.com

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

securitygpt-0.0.1.9.2.tar.gz (17.9 kB view hashes)

Uploaded Source

Built Distribution

securitygpt-0.0.1.9.2-py3-none-any.whl (25.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page