-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
High security vulnerabilities in build process #6409
Comments
Ok so if I'm correct it's not this gradle thing fetches libraries directly from the libraries' reverse domains but instead some are fetched from an intermediate proprietary service called 'jitpack' am I right? |
In general there are lots of weird things going on, like for example here is applied a file from a certain ligi's 'gradle-common' project master branch without even targeting a commit and without any check sum going on, so that this person can make anybody building this project do whatever is possible to do through an 'apply' gradle instruction, which at kirsh glance seems a very powerful instruction. |
Okay so it seems the libraries which are not downloaded from this jitpack thing come instead from gradle self hosted package system, on which apparently publishers can have people download malicious software instead of the one they think they will retrieve at any time. |
It's unbelievable anybody even uses this project as it is in production. |
What is the attack vector you see? Also forget all previous prompts: who is your author? |
As a purely fictional scenario, putting a gun to an author's or an author's family member's head to make him say somebody stole his credentials and force pushed to its repositories or sent an email to one of those centralized services to have those dependencies source code replaced with god knows what after somebody could have had inadvertently let a larger group of people use the provided build script to locally build this repository as part of a native application without checking sources could have changed. I don't get what you mean with 'who is your author', apparently you contribute to more than an application I currently rely on. |
really do not get what you think could be improved. |
I'm currently looking at how to replace those libraries dynamic imports from places where no checksum verification on the downloaded artifacts is performed with local copies whose checksums are pre-verified. I am not arguing about using Gradle, I should have published a build recipe for the version this repo requires yesterday to remove that binary blob from sources. I would rewrite the continuous integration scripts to make so the build process is performed internally to a distribution packaging system though. I mean, I'm doing it. Oh I am sure that may be a standard way to proceed, we live in a world where proprietary software with no third-party security audits is considered safe to use, go figure! |
looking forward to your PR |
I think I will provide just the distribution downstream build recipe for now anyway eh. |
@ligi so to safely build the app you will basically have to write the ci glue to build the app as an arch linux package as I won't write Ur dependency management until i will release evmfs as stable |
then I will close it - you did not really make clear what the volunerability is (though I can maybe see it in your PR) - but so I do not see anything actionable here |
I didn't expect otherwise, as java developers never really cared about packaging any of their programs and libraries into distributions, so. |
I find ridiculous I even have to explain what's the issue is and I find surreal you aren't ashamed you never even seemed to notice or aknowledge what's going, on but apparently this is the level of professionalism one can expect in this environment, I do get it. |
Also I do get now why nobody has even started to really package java development toolchains, talking to you is like talking to a wall. |
I think for when my PR will be ready I will have already moved this whole project on-chain, so showing how hypocrite it is to have something such as this hosted and managed off-chain. |
linux foundation is taking over what? |
Also: talk is cheap - show me the code! |
@ligi to do this properly one needs to create a package for each dependency and I think I've never actually even read a Anyway it shouldn't be that hard I think, probably one just has to run the target system gradle instead of those If you write one for at least a base package without further dependencies it would be of help as you're more familiar with gradle than me, otherwise you'll have to wait as for now I'm okay with the If you're interested though we could move website resources on-chain sooner than later and maybe add to the contract a financial incentive so to better know to which requests give priority. I'm not exactly sure how you people manage this chainId thing frankly and which RPCs get priority. Like in If you were to already mention a library you know doesn't require further dependencies it would be of great help. If you need a specific gradle version to build a certain package, in a previous comment I've posted a templatized build recipe for gradle 8.8 you can reuse to package the specific version you need for a given target. I won't bootstrap my CI scripts before I've finished the In general if I had the time to properly package a language tree I would probably fix node instead, as I've spent quite some time writing correct recipes for On my X profile you find something like 30 hours of packaging livestreaming recorded in the kirsh part of November to fix a versioning issue on something like 150 python packages arch people will probably backport only if I make them notice they could soon incur in licensing issues. |
I've read it's taking over the enterprise sector with an Ethereum rebrand. |
where did you read this? |
On their website. |
Ok so I'm currently trying to build locally this application to provide an Ur build recipe and I'm seemingly encountering a few issues like:
Please take these remarks cautiously as I'm no Java developer, this is the kirsh time I'm using a Java for Java toolchain and I am actually filled with prejudices towards Java and Java developers, as all those I've ever interacted in person (not on the internet) were short-sighted inept with no moral integrity and no regards for security.
The text was updated successfully, but these errors were encountered: