Skip to content

Commit

Permalink
[RLlib] Added security vulnerability notices to `policy_server_input.…
Browse files Browse the repository at this point in the history
…py` (ray-project#37769)

Signed-off-by: Kourosh Hakhamaneshi <[email protected]>
Signed-off-by: kourosh hakhamaneshi <[email protected]>
Co-authored-by: Ian Rodney <[email protected]>
Signed-off-by: NripeshN <[email protected]>
  • Loading branch information
2 people authored and NripeshN committed Aug 15, 2023
1 parent 375d23a commit 0913144
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rllib/env/policy_server_input.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ class PolicyServerInput(ThreadingMixIn, HTTPServer, InputReader):
For an example, run `examples/serving/cartpole_server.py` along
with `examples/serving/cartpole_client.py --inference-mode=local|remote`.
WARNING: This class is not meant to be publicly exposed. Anyone that can
communicate with this server can execute arbitary code on the machine. Use
this with caution, in isolated environments, and at your own risk.
Examples:
>>> import gymnasium as gym
>>> from ray.rllib.algorithms.pg import PGConfig
Expand Down

0 comments on commit 0913144

Please sign in to comment.