Malicious libraries can steal all your application secrets in Elixir
1–10 of 13 posts
Re: Malicious libraries can steal all your application secrets in Elixir
#2Re: Malicious libraries can steal all your application secrets in Elixir
#3This is an important thing to be aware of, but this is not unique to Elixir, and the article title does not mention Elixir specifically although the example shown is in Elixir. If you are not careful about your dependency chain, attacks like this could happen in any language. When you pull code in and run it in your app, you are trusting it as if you wrote it yourself.
Re: Malicious libraries can steal all your application secrets in Elixir
#4The subject matter and title unfairly single-out Elixir.
Re: Malicious libraries can steal all your application secrets in Elixir
#5This is an important thing to be aware of, but this is not unique to Elixir, and the article title does not mention Elixir specifically although the example shown is in Elixir. If you are not careful about your dependency chain, attacks like this could happen in any language. When you pull code in and run it in your app, you are trusting it as if you wrote it yourself.
Not quite every language. Giving libraries access to every capability by default is a language design decision, not a law of nature.
Re: Malicious libraries can steal all your application secrets in Elixir
#6Earlier quoted context omitted.
Not quite every language. Giving libraries access to every capability by default is a language design decision, not a law of nature.
Do you mind highlighting languages that have avoided making similar decisions?
Re: Malicious libraries can steal all your application secrets in Elixir
#7Earlier quoted context omitted.
Not quite every language. Giving libraries access to every capability by default is a language design decision, not a law of nature.
Do you mind highlighting languages that have avoided making similar decisions?
Is that an example?
Re: Malicious libraries can steal all your application secrets in Elixir
#8Re: Malicious libraries can steal all your application secrets in Elixir
#9Re: Malicious libraries can steal all your application secrets in Elixir
#10Earlier quoted context omitted.
Not quite every language. Giving libraries access to every capability by default is a language design decision, not a law of nature.
Do you mind highlighting languages that have avoided making similar decisions?
deno run --allow-net=xyz.com,abc.com
If you run without a domain, it allows access to all. Seems like it should be more explicit by default, perhaps there is a config option.
Speaking of config options, I wonder if there is a config option to prohibit access to domains like pastebin.org no matter what. Seems like an arms race that an attacker could circumvent, but maybe they won't bother and will only attack my dumber friends.