SERG-Delft / andy

Andy assesses student's test code. It's used in CSE1110, TU Delft.
MIT License
78 stars 22 forks source link

Improve SourceCodeSecurityCheckStep #213

Open martinmladenov opened 1 year ago

martinmladenov commented 1 year ago

At the moment we use the SourceCodeSecurityCheckStep for two things - to prevent students from using certain classes, and to inform them that they should not instantiate their own Selenium driver. We do this using simple string comparisons.

We should consider the following:

mauricioaniche commented 1 year ago

Let's keep it with string manipulation for now, static analysis will be tough, and I'm not sure if it will bring waaay more soundness in the analysis!

Arraying commented 1 year ago

@mauricioaniche why do you think static analysis will be tough? I thought JavaParser has a really elegant and easy to use API. It also features a way to completely ignore all comments while parsing.

mauricioaniche commented 1 year ago

Thanks for the question. There are a few points here:

Cheers! --

Maurício Aniche Author of Effective Software Testing: A Developer's Guide https://www.effective-software-testing.com https://www.mauricioaniche.com

alexcojocaru2002 commented 1 year ago

@martinmladenov What is the state of this issue ? Could I maybe work on it ?

martinmladenov commented 1 year ago

Sure, go ahead!