zabetak commented on code in PR #5115:
URL: https://github.com/apache/calcite/pull/5115#discussion_r3637326819
##########
site/_docs/security_known_class_loading_sinks.md:
##########
@@ -0,0 +1,71 @@
+---
+layout: docs
+title: Known class-loading sinks
+permalink: /docs/security_known_class_loading_sinks.html
+---
Review Comment:
I would remove this section and the references to it. I don't think we
should list publicly security sinks that we are in the process of fixing.
##########
site/_docs/security_threat_model.md:
##########
@@ -0,0 +1,275 @@
+---
+layout: docs
+title: Security threat model
+permalink: /docs/security_threat_model.html
+---
+<!--
+{% comment %}
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to you under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+{% endcomment %}
+-->
+
+Calcite is an embedded library: it runs inside a host application's JVM and
+exposes no network port of its own. This threat model covers what an attacker
+who reaches that embedded engine over a JDBC connection can and cannot do.
+
+Calcite treats the behaviors below as security vulnerabilities, so that
+reporters and committers triage them the same way. A report that
+contradicts this model is a feature request or a documentation gap, not a
+vulnerability.
+
+**Status:** draft for PMC discussion; not yet ratified.
Review Comment:
Since we are about to merge this PR the Draft status should be removed.
Anyways the model will necessarily evolve as more vulnerabilities are reported
in the future.
--
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]