| <!-- | |
| 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. | |
| --> | |
| # Security Policy | |
| The security surface area of Apache Hamilton should be pretty small in comparison to other projects. | |
| ## Supported Versions | |
| We currently only support the latest version of Apache Hamilton that's been released. | |
| | Version | Supported | | |
| | ------- | ------------------ | | |
| | Latest | :white_check_mark: | | |
| ## Security Model | |
| Apache Hamilton executes user-authored Python functions in the host process. Dataflows, extensions, | |
| and adapters therefore run with the same privileges as the Python process and must come from trusted | |
| sources. | |
| Hamilton also provides an explicit loader for Python pickle files. Pickle deserialization can execute | |
| arbitrary code, so `@load_from.pickle` and `PickleLoader` must only be used with files from trusted | |
| sources. When data crosses a trust boundary, use a non-executable interchange format such as JSON, | |
| Parquet, or Arrow instead. | |
| This is a project of the [Apache Software Foundation](https://apache.org) and follows the ASF [vulnerability handling process](https://apache.org/security/#vulnerability-handling). | |
| ## Reporting a Vulnerability | |
| To report a new vulnerability you have discovered please follow the [ASF vulnerability reporting process](https://apache.org/security/#reporting-a-vulnerability). |