Skip to content

Fix for BC-123 - #420

Merged
molly-moen merged 2 commits into
mainfrom
molly-permission
Aug 6, 2026
Merged

Fix for BC-123#420
molly-moen merged 2 commits into
mainfrom
molly-permission

Conversation

@molly-moen

@molly-moen molly-moen commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

See slack and BC-123

molly-moen and others added 2 commits August 4, 2026 14:54
The Lambda environment includes the function's AWS credentials
(AWS_SECRET_ACCESS_KEY etc.), which student code could previously read
via System.getenv. Deny RuntimePermission getenv.* to confined student
code, and wrap the AWS SDK calls that run while student code is on the
call stack (output adapter, input adapter, content manager) in
AccessController.doPrivileged, since the SDK re-reads its credentials
from the environment on every request.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@molly-moen
molly-moen merged commit 9ae5c48 into main Aug 6, 2026
1 check passed
@molly-moen
molly-moen deleted the molly-permission branch August 6, 2026 15:55
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.

2 participants