-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Quick security audit #60
Comments
Sensors long/lat are public infos, no value.
Data loss. Via malicious sensor deletion (CASCADE DELETE). Mucus surface
|
Mucus surface in the codehttps://github.com/anthill/pheromon/blob/master/api/api.js https://github.com/anthill/pheromon/blob/master/api/routes.js https://github.com/anthill/pheromon/blob/master/broker/makeMqttServer.js |
The discussion of whether a sensor can access the server has come up several times. The answer seems to be no, but the fact we're asking the question often means this means to be carefully documented. Maybe with a picture (sequence diagram). |
I tried to address some of this in #61 about the api part. |
I'm not sure, but as we can see here, it looks like everyone could open a websocket to pheromon and send commands every sensors, which would be a pretty big security issue. |
What's the state of this issue today ? |
Blargh, putting in prod tomorrow. Let's take a quick look at various security features of the project.
First off, let's do some threat modeling in 2 categories:
Most important question:
What is pheromon's mucus surface? How can people harm pheromon and/or Ants from abusing this surface?
Then... dunno, let's see what we'll find and figure things out.
The text was updated successfully, but these errors were encountered: