bobbai00 commented on code in PR #4299: URL: https://github.com/apache/texera/pull/4299#discussion_r3025399383
########## SECURITY.md: ########## @@ -202,23 +207,28 @@ a user needs it. Texera's security model does NOT guarantee: - Protection against malicious code in user workflows (users can execute arbitrary code) +- Isolation of application secrets from UDF code executing within the same process or pod - Strong isolation between workflows in local computing units - Complete isolation between workflows in Kubernetes computing units within the same namespace - Protection against infrastructure-level compromises - Protection against deployment manager misconfigurations - DDoS protection (requires external infrastructure) - Compliance with specific regulatory requirements without additional configuration -## What are NOT Security Issues +## What is NOT a Security Issue The following are **NOT considered security vulnerabilities** in Texera: ### User Code Execution -REGULAR and ADMIN users can execute arbitrary code (Python, R, Scala) within computing units. This is by design - Texera -is a data analytics platform where custom code execution is a core feature. The system currently does not sandbox user -code beyond the isolation provided by the deployment environment (local processes or Kubernetes pods). Deployment -managers should use resource limits, monitor usage, and restrict user roles appropriately. +REGULAR and ADMIN users can execute arbitrary code (Python, R, Java, Scala) within computing units through UDFs. This is by design — custom code execution is a core feature of the platform. + +UDF code may access resources available in the execution environment, including: + +- Texera's application configurations +- Environment variables of the host + +This is not considered a vulnerability. Deployment managers are expected to mitigate this risk by ensuring only trusted users are granted access to the platform. Users who are no longer trusted should have their roles adjusted to RESTRICTED, which disallows any workflow execution. Review Comment: removed -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
