You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Given a test not annotated with @AllowLocalPort, it is still possible for student code to acces the internet and local ports. (The local port part is not tested in artemis itself but locally but I'm more conserned with internet access.)
Expected behavior
Security manager should prevent internet acces.
Desktop (please complete the following information):
OS: Windows
IDE: IntelliJ
Ares-Version: 1.13.0
Also applies to docker image ls1tum/artemis-maven-template:java17-21
Additional context
In the security manager, checkForNonWhitelistedStackFrames gets called but getNonWhitelistedStackFrames does not return the stackframe from ReachingWeb because a takeWhile cuts it of:
The text was updated successfully, but these errors were encountered:
Describe the bug
Given a test not annotated with
@AllowLocalPort
, it is still possible for student code to acces the internet and local ports. (The local port part is not tested in artemis itself but locally but I'm more conserned with internet access.)To Reproduce
Expected behavior
Security manager should prevent internet acces.
Desktop (please complete the following information):
Also applies to docker image
ls1tum/artemis-maven-template:java17-21
Additional context
In the security manager, checkForNonWhitelistedStackFrames gets called but
getNonWhitelistedStackFrames
does not return the stackframe from ReachingWeb because a takeWhile cuts it of:The text was updated successfully, but these errors were encountered: