Git Product home page Git Product logo

Comments (1)

Aurore54F avatar Aurore54F commented on August 17, 2024

Thank you for reaching out.

Both JaSt and JStap are malicious JavaScript detectors. JaSt was our initial work (published in 2018) and JStap (published in 2019) is a refinement, which is more modular and enables to detect malicious JS more precisely.

At a high level (see enclosed figures):

  • JaSt works at AST (Abstract Syntax Tree) level to distinguish benign from malicious JS;

JaSt

  • JStap goes beyond relying on the pure code syntax by also considering control and data flow information (i.e., considers more semantic information). JStap is composed of ten modules (we define a "module" based on a chosen code abstraction, like AST or Data Flow Graph, and the way we extract features). Modules can be used both independently or combined, for a higher detection accuracy.

JStap

One of JStap module (AST + n-gram features) is conceptually identical to JaSt. Note that due to some slight improvements (I can be more verbose here if necessary), this JStap module has a slightly higher detection accuracy than JaSt (on the same dataset).
You can find precise detection performance numbers in Sections 3.2 and 3.3 of our JStap paper.

I hope this answers your question. I am happy to clarify or be more verbose if necessary.

from jast.

Related Issues (8)

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.