Coder Social home page Coder Social logo

ts-cpe-guesser's Introduction

ts-cpe-guesser

All resources related to NLP based CPE generation in the TrustSource ecosystem.

lambdas

Current lambda handlers are implemented in

  • cpe_extraction.py - Essentially API wrapper for nlp.py
  • fetch_nlp_cves.py - Fetches data from the collection nlp_cves
  • update_cve_nlp.py - This lambda function is situated in ts-vulndb-crawler. It relies on the ts-vulndb package on codeartifact. When deciding to deploy it from here, make sure that ts-vulndb is installed as sam build runs.

nlp.py is the core module, which uses the openAI API to call GPT3 with a CVE description. The lambda functions listed above rely on this module.

NOTE: Make sure to properly deregister the lambda functions from the stack ts-vulndb-crawler, where they have been deployed and are running now before deciding to redeploy them from this repo.

evaluation

After generating CPEs for CVEs over the last 6 months, we have created an evaluation script and corresponding report. They are available in this directory.

ts-cpe-guesser's People

Contributors

denizmgun avatar jthdev avatar

Stargazers

Simon Jonassen avatar

Watchers

Oleksandr Dmukhovskyi  avatar  avatar

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.