mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #1823] disable-devel.inc does not blacklist python and node #1241
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#1241
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @punksta on GitHub (Mar 22, 2018).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1823
I think there is a lot languages which are missing there. Does it give any security when we have only few of them?
also: there is an option to disable
bash?@Fred-Barclay commented on GitHub (Mar 22, 2018):
For python, we tried enabling it in
d287140250, but disabled it inf374c79aa7. The issue with including it in disable-devel.inc is that lots of applications - hexchat, for instance - often need a python shell but don't need access to compilers like gcc, which are also blacklisted in disable-devel.inc.Possibly we could consider a new
disable-interpreters.incor something like that with python, ruby, perl, node, and so on. Any thoughts @netblue30 @SkewedZeppelin @smitsohu ?Anything with a private-bin filter that doesn't include bash will disable it. You could also do something like:
--blacklist=/bin/bash --blacklist=/usr/bin/bashbut you'd need to make sure you blacklist all the paths to bash.@SkewedZeppelin commented on GitHub (Mar 22, 2018):
We should add javac, npm, and yarn to disable-devel.inc.
And a disable-interpreters.inc would be nice with
java, python, and node. We should be able to add it to most profiles.@Fred-Barclay commented on GitHub (Mar 23, 2018):
@SkewedZeppelin ruby, perl, php in disable-interpreters? Php I'm least sure about.
@punksta commented on GitHub (Mar 23, 2018):
java isn't interpretable, maybe it'd better to name it
disable-computer-languages?@Fred-Barclay commented on GitHub (Mar 23, 2018):
Or maybe
disable-compilers(to replacedisable-devel) anddisable-interpreters. But then java is a bit of a hybrid... I'm going to give myself a headache from overthinking. 😄I'm thinking perl, python, ruby, php, node??? in disable-interpreters.
Gcc and all other c or c++ stuff, java, go, rust, openSSL, npm, node??? in disable-devel.
@SkewedZeppelin I'll try and submit a PR for review soon.
@Fred-Barclay commented on GitHub (Mar 23, 2018):
Also is there a reason that we generally blacklist full paths to compilers and interpreters instead of using ${PATH}? We're already using ${PATH} in disable-common, and I suspect we should be using it in disable-devel/interpreters as well.
@Fred-Barclay commented on GitHub (Apr 4, 2018):
@punksta We've added disable-interpreters in #1837
Cheers!