Open AlephNotation opened 2 years ago
For the detect file, I've deleted from the repo. Is there a way to remove it from the repo history?
No.
Ok I should actually explain here.
It is possible to rewrite the commit history. However I'm not sure that matters anymore. This project has been forked and there is no way to change the commit history of those forks. Additionally, this repo has already been indexed by at least one public third party tracker and I expect there are probably more private indexers that have already cached it.
Hi there.
I was recently reviewing the repo and noticed the addition of a new script:
detect7.sh
. I looked it over and noticed the following issues I would like to raise.(1) A script like this should not be part of any public facing repository because it spells out in detail the types of security scans RTX is running. Something like this probably belongs in the CI/CD apparatus itself, not the repo being scanned. I am by no means a fan of 'security via obscurity', but publishing code that informs people of the exact attack vectors RTX is monitoring (and thus how to avoid them) seems like a practice that merits discussion.
(2) The above referenced script seems to be using hardcoded passwords. Examine the following code block:
Passwords should under no circumstances be handled as inline plaintext and this doubly applies to code that is committed to source.
(3). Examine the following code block:
Downloading and running unknown jars without verification is a security vulnerability itself. While validating against a checksum does not itself mitigate against this added attack vector (supply chain attacks are a thing), it does at least allow the user running this script to verify the origin of their download.
Furthermore, the recently uncovered Log4j creates additional pause as there is no way for the user to verify that the downloaded jars do not themselves introduce further critical security vulnerabilities.