Skip to content

Commit 69af181

Browse files
kouroshHakhaijrsvt
andauthored
[RLlib] Added security vulnerability notices to policy_server_input.py (#37769)
Signed-off-by: Kourosh Hakhamaneshi <[email protected]> Signed-off-by: kourosh hakhamaneshi <[email protected]> Co-authored-by: Ian Rodney <[email protected]>
1 parent 050a89a commit 69af181

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎rllib/env/policy_server_input.py‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ class PolicyServerInput(ThreadingMixIn, HTTPServer, InputReader):
3535
For an example, run `examples/serving/cartpole_server.py` along
3636
with `examples/serving/cartpole_client.py --inference-mode=local|remote`.
3737
38+
WARNING: This class is not meant to be publicly exposed. Anyone that can
39+
communicate with this server can execute arbitary code on the machine. Use
40+
this with caution, in isolated environments, and at your own risk.
41+
3842
Examples:
3943
>>> import gymnasium as gym
4044
>>> from ray.rllib.algorithms.pg import PGConfig

0 commit comments

Comments
 (0)