jjs-dev / jjs-dev/minion

Robust security tests

Open
#23 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
3
Forks
0
PR merge metrics
No merged PRs in 30d

Description

The most important tests, of course, are tests that verify our sandbox is **secure**. We would like to check that the particular system call failed with a permission error. Currently, test code itself verifies that a particular operation has failed, but IMO this approach is a bit fragile. I think we should separate it.

Each security test should contain a simple program that tries to do something bad and some pattern. The program is then executed in a sandbox and under strace. Finally, test runner makes sure that the strace log matches the pattern (i.e. contains certain lines).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.