Skip to content
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

1.5 Milestone: Security audit #107

Open
skejeton opened this issue Oct 22, 2022 · 3 comments
Open

1.5 Milestone: Security audit #107

skejeton opened this issue Oct 22, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@skejeton
Copy link
Member

The engine needs a lot of security auditing. It currently doesn't support networking, so it's not a big threat. But it's important to crack down on all the security holes at once, before we scale the code further.

Example of a security threat: https://github.com/marekmaskarinec/tophat/blob/520907a859a875c6bb07ff34547c2124bcb6e25c/src/bindings.c#L26

I would take a look at the entire repository right now, and look for all possible holes, perhaps using tooling like static analyzers and dynamic analyzers.

This is really important - if netcode extension gets developed, or networking gets added into tophat, it would potentially allow doing arbitrary code in case of stack smashing like in example above.

Netcode may be far ahead, but I think it's important to take measures.

@skejeton
Copy link
Member Author

the entire codebase isn't that big, so I think it would be healthy to take both of us a glance and create issue for each potential threat

@marekmaskarinec
Copy link
Member

I totally agree.

@marekmaskarinec marekmaskarinec added the enhancement New feature or request label Nov 2, 2022
@skejeton skejeton changed the title 1.0 Milestone: Security audit 1.4 Milestone: Security audit Feb 3, 2024
@skejeton
Copy link
Member Author

skejeton commented Feb 3, 2024

Adding 1.4 since I think 1.3 will be an intermediary release and we definitely won't worry about any networking here.

@marekmaskarinec marekmaskarinec changed the title 1.4 Milestone: Security audit 1.5 Milestone: Security audit Jul 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants