From bf8bd3c48d5d9420f6fde3331467c8dd41a26c6b Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 21 Mar 2026 17:08:17 +0900 Subject: feat(worker): block eval() in PHP code submissions Add validation to reject PHP code containing eval() before execution. Update the problem description to inform participants about this restriction. Co-Authored-By: Claude Opus 4.6 (1M context) --- frontend/app/components/Gaming/ProblemColumnContent.tsx | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'frontend') diff --git a/frontend/app/components/Gaming/ProblemColumnContent.tsx b/frontend/app/components/Gaming/ProblemColumnContent.tsx index bc6b43a..60d02ee 100644 --- a/frontend/app/components/Gaming/ProblemColumnContent.tsx +++ b/frontend/app/components/Gaming/ProblemColumnContent.tsx @@ -34,6 +34,14 @@ function PhpNotice() { {" "} に設定されています。

+

+ 2026-03-21 追記: + は (多分) 使えなくなりました。 + この判定には偽陽性があり、 + のないコードも{" "} + ありと判定される場合がありますが、 + 意図的に狙わない限り誤判定することはないと思います。 +

); -- cgit v1.3.1