
Security News
Follow-up and Clarification on Recent Malicious Ruby Gems Campaign
A clarification on our recent research investigating 60 malicious Ruby gems.
Bruh is a Ruby gem that automates the release process for Haskell packages to both Hackage and Homebrew. It streamlines the workflow of releasing Haskell packages by handling version updates, changelog management, Hackage publishing, and Homebrew formula updates.
Install the gem by executing:
gem install bruh
The primary interface is through the bruh
command:
# Interactive release process
bruh release
# Non-interactive release with specific version
bruh release --non-interactive --version 0.1.2
# Skip specific steps
bruh release --skip-hackage --skip-bottles
# Show version
bruh version
For CI/CD pipelines, you can use the included release script:
# Basic usage
bin/release --version 0.1.2
# Skip specific steps
bin/release --version 0.1.2 --skip-hackage --skip-bottles
# Run in interactive mode
bin/release --interactive
Bruh stores configuration in ~/.config/bruh/config.toml
. For non-interactive usage, you should set up your Hackage credentials:
# Setup credentials
bruh config setup
# Manually set credentials
bruh config set hackage_username "your-username"
bruh config set hackage_password "your-password"
bruh config set github_token "your-token"
After checking out the repo, run bin/setup
to install dependencies. Then, run rake test
to run the tests. You can also run bin/console
for an interactive prompt.
# Run all tests
bundle exec rake test
# Run a specific test
bundle exec ruby -I lib:test test/test_cabal.rb -n test_name
git checkout -b feature/amazing-feature
)git commit -am 'Add amazing feature'
)git push origin feature/amazing-feature
)The gem is available as open source under the terms of the MIT License.
FAQs
Unknown package
We found that bruh demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.
Security News
ESLint now supports parallel linting with a new --concurrency flag, delivering major speed gains and closing a 10-year-old feature request.
Research
/Security News
A malicious Go module posing as an SSH brute forcer exfiltrates stolen credentials to a Telegram bot controlled by a Russian-speaking threat actor.