{"id":18151208,"url":"https://github.com/msantos/noprivexec-go","last_synced_at":"2025-04-06T23:29:14.180Z","repository":{"id":224529097,"uuid":"763065063","full_name":"msantos/noprivexec-go","owner":"msantos","description":"noprivexec: disable setuid privileges","archived":false,"fork":false,"pushed_at":"2024-11-22T12:29:33.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-13T05:30:04.042Z","etag":null,"topics":["exec","pledge","prctl","procctl","setuid"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/msantos.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-25T13:21:27.000Z","updated_at":"2024-11-22T12:29:36.000Z","dependencies_parsed_at":"2024-09-18T15:16:42.751Z","dependency_job_id":"afbc1391-c20f-44eb-8b26-382049ed47e5","html_url":"https://github.com/msantos/noprivexec-go","commit_stats":null,"previous_names":["msantos/noprivexec-go"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msantos%2Fnoprivexec-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msantos%2Fnoprivexec-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msantos%2Fnoprivexec-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msantos%2Fnoprivexec-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/msantos","download_url":"https://codeload.github.com/msantos/noprivexec-go/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247568698,"owners_count":20959752,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["exec","pledge","prctl","procctl","setuid"],"created_at":"2024-11-02T01:06:56.572Z","updated_at":"2025-04-06T23:29:14.156Z","avatar_url":"https://github.com/msantos.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SYNOPSIS\n\nnoprivexec *cmd* *...*\n\n# DESCRIPTION\n\nnoprivexec: disable setuid privileges\n\n`noprivexec` disables the ability to use setuid privileges before executing\na command.\n\n# EXAMPLES\n\n```\n$ noprivexec echo test\ntest\n\n$ noprivexec sudo echo test\nsudo: effective uid is not 0, is /usr/bin/sudo on a file system with the 'nosuid' option set or an NFS file system without root privileges?\n\n$ noprivexec ping 8.8.8.8\nping: icmp open socket: Operation not permitted\n```\n\n# Build\n\n```\ngo install codeberg.org/msantos/noprivexec-go/cmd/noprivexec@latest\n```\n\nTo build a reproducible executable:\n\n```\nCGO_ENABLED=0 go build -trimpath -ldflags \"-w\" ./cmd/noprivexec/\n```\n\n# OPTIONS\n\n# ALTERNATIVES\n\n* [noprivexec](https://github.com/msantos/noprivexec)\n* [noprivexec-rs](https://codeberg.org/msantos/noprivexec-rs)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsantos%2Fnoprivexec-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmsantos%2Fnoprivexec-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsantos%2Fnoprivexec-go/lists"}