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

Is it possible to lock the repy application files to prevent modification? #71

Open
SemicolonExpected opened this issue Nov 18, 2020 · 3 comments

Comments

@SemicolonExpected
Copy link
Contributor

It's come to my attention that the RePy application files are mutable due to a student injecting stuff into the repy.py file as one of their attack cases.

While that is a good attack, I do think it might be good to have a method of preventing that as depending on how it was done it could corrupt the build. While this student cleaned up after themselves and provided a script to sanitize the repy.py file others might not have the foresight and it might create problems.

@JustinCappos
Copy link
Contributor

This is a good observation. Usually one does not place the user directory / user code in the same directory as the repy source code. I'd recommend we make the instructions for running repy clearer so that that sort of use case is not common for students using the framework.

@SemicolonExpected
Copy link
Contributor Author

I think the repy.py file itself has to be in the directory at least due to the fact that the command we run is repy.py restrictions.default encasementlib.r2py <referencemonitor> <attack>

@JustinCappos
Copy link
Contributor

JustinCappos commented Nov 19, 2020 via email

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

No branches or pull requests

2 participants