GitHub Eases Crypto Coding, Adds the “Copy” Button
GitHub has added a “Copy” button to all code blocks, its CEO Nat Friedman revealed on May 11.
The “Copy” Button
The feature, which has been received positively, is part of the platform’s continuous improvement.
From GitHub—a code hosting platform that can assist projects to control their version and collaborate better–, over 65 million developers are actively and communally changing software.
GitHub builders can contribute to open source projects that can maintain their Git repositories via the platform.
There are over 200 million repositories in GitHub.
This highlights how critical the hosting portal has become over the year and how vital it is for various blockchain and crypto projects to maintain their code on the platform.
GitHub is Feature-Rich
The introduction of the copy button is a few weeks after GitHub introduced the Feature Flags that makes it easier for builders to deploy frequently and safely.
It will also help notify developers of potentially risky changes, enabling them to disable changes when needed quickly.
Often, the addition of the Feature Flags signals the increasing complexity of the code.
It may tag additional challenges of further verifying whether the code functions as designed.
However, to avert challenges, GitHub has to different builds.
Alberto Gimeno, the GitHub Actions Engineer, commented:
“We have two different builds: one that runs with all feature flags disabled by default, and another one that runs with all feature flags enabled by default. This drastically reduces the chances of not covering most code paths in automated tests properly.”
Crypto Malware on GitHub
Earlier last month, a report showed that hackers had covertly used GitHub servers to mine several cryptocurrencies.
By exploiting the GitHub Actions feature, hackers would fork an existing code repository, inject a malicious GitHub Actions element to the original code before filing a Pull Request–by-passing the need of the owner approving the request–, and automatically launching a crypto mining software.
This way, hackers could deploy 100 crypto miners in a single attack, overwhelming GitHub’s servers.
BTCManager also pointed out crypto-jacking malware on GitHub in 2019.