
Security News
Follow-up and Clarification on Recent Malicious Ruby Gems Campaign
A clarification on our recent research investigating 60 malicious Ruby gems.
Collection of useful Danger plugins which intends to help you get up and running with Danger faster
Danger itself - https://danger.systems
All you need to do to start using Threat is:
group :development, :test do
gem 'threat', require: false
end
bundle install
danger.import_dangerfile(gem: 'threat')
# .github/workflows/ci.yml
name: CI
on:
pull_request:
branches:
- master
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
# https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token
permissions:
actions: write
checks: write
contents: read
statuses: write
pull-requests: write
jobs:
danger:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3.1
bundler-cache: true
- name: Run Danger
env:
DANGER_GITHUB_API_TOKEN: ${{ github.token }}
run: bundle exec danger
Validates that the Pull Request title is in correct format, containing JIRA ticket number and a meaningful short description. This works best when combined with "use pr title" + squash and merge strategy in GitHub
# Dangerfile
danger.import_dangerfile(gem: 'threat')
pr_title.run!
Checks if there are TODOs in PR diff. Can be improved by adding logic that will check if TODO was introduced in the PR itself, in this case warning message could be rephrased
# Dangerfile
danger.import_dangerfile(gem: 'threat')
todo.run!
Just add the following line at the bottom of your Dangerfile to celebrate a good run!
# Dangerfile
danger.import_dangerfile(gem: 'threat')
# The rest of your Dangerfile goes here...
confetti.run! unless failed?
P.S Raycast and macOS is required (not a paid promotion) (sorry @dhh)
Yes, please 🥺
FAQs
Unknown package
We found that threat demonstrated a not healthy version release cadence and project activity because the last version was released 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.