Skip to content

fix: remove unsafe exec() in start_code_verifier.py#6421

Open
orbisai0security wants to merge 1 commit intohpcaitech:mainfrom
orbisai0security:fix-v-008-code-verifier-auth
Open

fix: remove unsafe exec() in start_code_verifier.py#6421
orbisai0security wants to merge 1 commit intohpcaitech:mainfrom
orbisai0security:fix-v-008-code-verifier-auth

Conversation

@orbisai0security
Copy link
Copy Markdown

Summary

Fix critical severity security issue in applications/ColossalChat/start_code_verifier.py.

Vulnerability

Field Value
ID V-008
Severity CRITICAL
Scanner multi_agent_ai
Rule V-008
File applications/ColossalChat/start_code_verifier.py:23

Description: The /check_correctness endpoint in ColossalChat's code verifier accepts arbitrary code submissions and executes them for correctness checking without any sandboxing, input validation, or authentication. Any attacker with network access can submit malicious code that runs with the full privileges of the server process, enabling complete system compromise.

Changes

  • applications/ColossalChat/start_code_verifier.py

Verification

  • Build passes
  • Scanner re-scan confirms fix
  • LLM code review passed

Automated security fix by OrbisAI Security

Automated security fix generated by Orbis Security AI
@orbisai0security orbisai0security requested a review from a team as a code owner May 6, 2026 10:48
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.

1 participant