Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SDT] Taint Analysis for Python code called from Java #105

Draft
wants to merge 73 commits into
base: develop
Choose a base branch
from

Conversation

barpec12
Copy link

This PR introduces analysis for Python code executed using Jython, a ScriptEngine for calling Python code from Java.

  • Main details
    It bases on the PR for JavaScript analysis made by @timll - JavaScript-Aware Taint Analysis #81.
    The main target of this PR is to detect and run analysis on Python code.

  • Short description
    Opal recognises Python code sent to ScriptEngine.
    It starts the analysis, that is conducted in Python. Its results are returned back to Java and processed by Opal.
    A prototype for analysis of Python code is also provided, but it is simple and incomplete.

  • Further improvements
    This analysis can be later changed to a complete solution like Pysa.
    Unfortunately, currently it is not possible due to incompatible Python versions.
    Jython does not support Python 3.x at the time of making this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants