finds.dev

Mo-Resa77/XV6-Secure-Medical-OS

A hardened, highly secure version of the xv6 operating system for medical device environments, featuring identity management, Role-Based Access Control (RBAC), and an isolated kernel-level automated auditing subsystem with a 12-point compliance test suite.

View on GitHub

★ 1Cupdated May 2026

// the take

A university coursework project that bolts user accounts, file-permission based RBAC, and a kernel-level syscall audit ring buffer onto xv6, MIT's teaching OS, then frames it as a 'hardened medical device OS.' It's aimed at OS students wanting a concrete kernel-hacking exercise, not anyone building real medical device firmware.

The kernel-level syscall interception feeding a 32-slot ring buffer is a legitimate, well-scoped kernel programming exercise — intercepting open/write/exec/fork and recording PID/UID/tick is exactly the kind of thing that teaches how auditing actually has to live below userspace to be trustworthy. The automated security_test harness chaining 'attack attempt → permission denied → audit logged → detection verified' into a scripted pass/fail report is a nice touch for demonstrating the full loop rather than just claiming each piece works in isolation. UID-based file permission policy (400/644/600 split across admin/doctor/patient) is a clean, understandable RBAC model for a teaching context.

xv6 has never run on a real medical device and has no RTOS guarantees, no driver ecosystem, no certified toolchain — calling this 'medical device environments' is marketing, not reality; there's no actual insulin pump or patient monitor hardware story here. The README's own quick-start ships a hardcoded default credential (admin123) baked into source with no password hashing, which undercuts the 'hardened' framing before you've even logged in. The '12-point compliance test suite' and 'medical cybersecurity frameworks' language implies alignment with something like IEC 62304 or FDA premarket cybersecurity guidance, but the tests are self-written and self-graded against no cited external standard. One star, zero forks, single-author academic submission (register number and course code are in the README) — this is a graded assignment, not a maintained project anyone should build on.

We read the README, the directory tree and a key source file in November 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
1
Forks
0
Language
C
Last commit
20 May 2026

// nearby

If XV6-Secure-Medical-OS isn't quite it.

All repos →