mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-25 09:53:29 +08:00
docs: fix grammar and missing articles in SECURITY.md (#17360)
## Description This PR fixes grammar and missing articles in `SECURITY.md`. ## Details Updated sentence phrasing (`numpy module has...` $\to$ `the numpy module has...` and `function directly execute` $\to$ `function to directly execute`). Co-authored-by: ferkans-amir <amir.rezaei@tu-berlin.de>
This commit is contained in:
@@ -18,7 +18,7 @@ main
|
||||
### Actual behavior
|
||||
|
||||
The restricted_loads function at [api/utils/__init__.py#L215](https://github.com/infiniflow/ragflow/blob/main/api/utils/__init__.py#L215) is still vulnerable leading via code execution.
|
||||
The main reason is that numpy module has a numpy.f2py.diagnose.run_command function directly execute commands, but the restricted_loads function allows users import functions in module numpy.
|
||||
The main reason is that the numpy module has a numpy.f2py.diagnose.run_command function to directly execute commands, but the restricted_loads function allows users to import functions in the numpy module.
|
||||
|
||||
|
||||
### Steps to reproduce
|
||||
|
||||
Reference in New Issue
Block a user