News for hackers. Stuff that matters.
Re:Compromised PyTorch-nightly dependency chain December 30t... by remram on Sunday January 01, 2023 @12:03PM (#34208090)
strace uses ptrace, which is not safe for security use because of race conditions. Linux Security Modules should be used.

https://stackoverflow.com/a/4421762/711380

Re:Compromised PyTorch-nightly dependency chain December 30t... by ashishbijlani on Sunday January 01, 2023 @12:24PM (#34208385)
Thanks for highlighting this! While PTRACE introduces TOCTTOU vulnerabilities, Packj sandboxes fixes that by using read-only args for ptrace. You can find my PhD work [1] on this relevant.

1. https://lwn.net/Articles/803890/