Coder Social home page Coder Social logo

shaneclarke-whitesource / curekit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from whitesource/curekit

0.0 0.0 0.0 82 KB

A repository containing code security remediation solutions used by WhiteSource Cure

Home Page: https://cure.whitesource.io

License: Apache License 2.0

Java 100.00%

curekit's Introduction

CureKit - WhiteSource Cure Encoding Package

Language Build Status License

CureKit is a security library mostly used by the WhiteSource Cure self-fixing product.

WhiteSource Cure is an innovative solution that automatically generates remediation suggestions for vulnerabilities identified by detection tools in proprietary code. The remediation suggestions are presented on the vulnerable code itself and can be used as-is in your IDE.

CureKit contains encoders and other utilities, critical to the Self-Healing process suggested by WhiteSource Cure. The sanitization methods offered in CureKit offer solutions for security vulnerabilities in your code, such as Cross-Site Scripting, Path Traversal, Os Command Injection and more. These methods rely on OWASP's encoders and best-practice fix recommendations.

Start using the CureKit Sanitizers

You can download a JAR from Maven Central.

The jar is also available in Maven:

<dependency>
    <groupId>io.whitesource</groupId>
    <artifactId>curekit</artifactId>
    <version>1.1.0</version>
</dependency>

Quick Overview

The CureKit Java library is intended for quick contextual encoding with very little overhead, either in performance or usage. To get started, simply add the encoder-1.0.3.jar, import io.whitesource.cure.Encoder and start using.

Example usage:

    PrintWriter out = ....;
        out.println("<textarea>"+Encode.forHtmlXss(userData)+"</textarea>");

curekit's People

Contributors

shlomieyaniv avatar benshmuely avatar nadavbarak avatar shanika04 avatar shaneclarke-whitesource avatar mend-for-github-com[bot] 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.