crashappsec / crashappsec/con4m

Drop capabilities for `run()` builtin

Open
#14 0 comments 0 reactions 0 assignees View on GitHub
enhancement p2
Dominant language
Nim
Stars
12
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Right now, we drop uid/gid when we call run, and restore when we are done. I need to also explore dropping capabilities on Linux, though I believe those you cannot restore in the same way, so this needs some more exploration.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the `run()` builtin and the existing uid/gid drop-and-restore logic. Research Linux capability semantics and determine which capabilities can be dropped and whether restoration is possible. Done means the intended capability behavior and its restoration limitations are defined and implemented.

Written by the indexing model from the issue text.

Assessment

Tech stack
nim
Domain
operating-systems, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.