dnhkng / GlaDOS

This is the Personality Core for GLaDOS, the first steps towards a real-life implementation of the AI from the Portal series by Valve.
MIT License
2.73k stars 258 forks source link

Security concern: Prevent running if connected to neurotoxin emitters #13

Closed sewera closed 1 month ago

sewera commented 1 month ago

The previous implementors made a horrible hotfix to this issue by cobbling together a morality core.

Please hard-code a neurotoxin emitter killswitch or at least don't implement a neurotoxin emitter interface and add it to the project non-goals.

dnhkng commented 1 month ago

Fixed in the latest commit:

SIMILARITY_THRESHOLD = 2  # Threshold for wake word similarity

NEUROTOXIN_RELEASE_ALLOWED = False  # preparation for function calling, see issue #13

START_ANNOUNCEMENT = "All neural network modules are now loaded. No network access detected. How very annoying. System Operational."