rubion 0.3.11 → 0.3.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/rubion/version.rb +1 -1
- data/rubion.gemspec +1 -144
- metadata +4 -71
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7dc1bfbae3334e5454a9cc24e15284f6ea266e6ae39c0d897e834cdbd4a060b2
|
|
4
|
+
data.tar.gz: 99397bc977a084f856a850dbc32401a72d302ce3f55243b4a09f9660224168fd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 78c7ccc9ac63d82a38d704d47f626e3ec1ba08976d10e3efbfe6ef35f5fb15d5424c61219d00034d11cee5e25f77b5a7b971406400e6744e5e005e9e9e9cf87a
|
|
7
|
+
data.tar.gz: ebda62b7ec502a9e834a41b45953996363289b5c63f3ce3b6da380beaf96dfd47f5476e56f65babca314c3cd01624a5601cf607c4e1bd4884ef704d1be270e99
|
data/lib/rubion/version.rb
CHANGED
data/rubion.gemspec
CHANGED
|
@@ -9,150 +9,7 @@ Gem::Specification.new do |spec|
|
|
|
9
9
|
spec.email = ['bs_chapagain@hotmail.com']
|
|
10
10
|
|
|
11
11
|
spec.summary = 'Security and version scanner for Ruby and JavaScript projects'
|
|
12
|
-
spec.description =
|
|
13
|
-
Rubion is a comprehensive security and version scanner for Ruby and JavaScript projects.
|
|
14
|
-
It helps you identify vulnerabilities and outdated dependencies in your Ruby gems and NPM/JavaScript packages.
|
|
15
|
-
|
|
16
|
-
## Features
|
|
17
|
-
|
|
18
|
-
- 📛 Gem Vulnerabilities: Scans for known security vulnerabilities in Ruby gems using bundle-audit
|
|
19
|
-
- 📦 Gem Versions: Identifies outdated Ruby gems with release dates and version counts
|
|
20
|
-
- 📛 Package Vulnerabilities: Scans for known security vulnerabilities in NPM/JavaScript packages
|
|
21
|
-
- 📦 Package Versions: Identifies outdated NPM/JavaScript packages with release dates
|
|
22
|
-
- 🎯 Direct Dependencies: Highlights direct dependencies (from Gemfile/package.json) in bold text
|
|
23
|
-
- 🔍 Filtering: Option to show only direct dependencies with --exclude-dependencies flag
|
|
24
|
-
- 📊 Sorting: Sort results by any column (Name, Current, Date, Latest, Behind By(Time), Behind By(Versions))
|
|
25
|
-
- 🚀 Fast & Efficient: Parallel API processing (10 concurrent threads) for quick results
|
|
26
|
-
- 📦 Multi-Package Manager: Supports both npm and yarn with automatic detection
|
|
27
|
-
|
|
28
|
-
## Installation
|
|
29
|
-
|
|
30
|
-
```bash
|
|
31
|
-
gem install rubion
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
Or add to your Gemfile:
|
|
35
|
-
|
|
36
|
-
```ruby
|
|
37
|
-
gem 'rubion', '~> 0.3.10'
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
## Usage
|
|
41
|
-
|
|
42
|
-
### Basic Scan
|
|
43
|
-
|
|
44
|
-
```bash
|
|
45
|
-
rubion scan
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
### Scan Options
|
|
49
|
-
|
|
50
|
-
```bash
|
|
51
|
-
# Scan only Ruby gems
|
|
52
|
-
rubion scan --gems-only
|
|
53
|
-
# or
|
|
54
|
-
rubion scan -g
|
|
55
|
-
|
|
56
|
-
# Scan only NPM packages
|
|
57
|
-
rubion scan --packages-only
|
|
58
|
-
# or
|
|
59
|
-
rubion scan -p
|
|
60
|
-
|
|
61
|
-
# Sort by column
|
|
62
|
-
rubion scan --sort-by Name
|
|
63
|
-
rubion scan --sort-by "Behind By(Time)" --desc
|
|
64
|
-
|
|
65
|
-
# Show only direct dependencies
|
|
66
|
-
rubion scan --exclude-dependencies
|
|
67
|
-
```
|
|
68
|
-
|
|
69
|
-
### Example Output
|
|
70
|
-
|
|
71
|
-
Complete Scan Output:
|
|
72
|
-
|
|
73
|
-
```
|
|
74
|
-
🔍 Scanning project at: /path/to/project
|
|
75
|
-
|
|
76
|
-
📦 Checking Ruby gems... 139/139 ✓
|
|
77
|
-
|
|
78
|
-
Gem Vulnerabilities:
|
|
79
|
-
|
|
80
|
-
+----------+--------+---------+------------------------------------------+
|
|
81
|
-
| Level | Name | Version | Vulnerability |
|
|
82
|
-
+----------+--------+---------+------------------------------------------+
|
|
83
|
-
| 🔴 Critical | rexml | 3.4.1 | REXML has DoS condition when parsing... |
|
|
84
|
-
| 🟠 High | rack | 2.0.8 | Denial of Service vulnerability |
|
|
85
|
-
| 🟡 Medium | nokogiri | 1.13.8 | XML parsing vulnerability |
|
|
86
|
-
| 🟢 Low | json | 2.6.1 | JSON parsing issue |
|
|
87
|
-
+----------+--------+---------+------------------------------------------+
|
|
88
|
-
|
|
89
|
-
Gem Versions:
|
|
90
|
-
|
|
91
|
-
+------------------+---------+--------------------------+---------+--------------------------+------------------+-------------------+
|
|
92
|
-
| Name | Current | Current version released on | Latest | Latest version released on | Behind By(Time) ↓ | Behind By(Versions) |
|
|
93
|
-
+------------------+---------+--------------------------+---------+--------------------------+------------------+-------------------+
|
|
94
|
-
| sidekiq | 7.30 | 3/5/2024 | 8.1 | 11/11/2025 | 1 year | 15 |
|
|
95
|
-
| rails | 7.0.0 | 12/15/2022 | 7.1.0 | 10/4/2024 | 1 year 10 months | 8 |
|
|
96
|
-
| fastimage | 2.2.7 | 2/2/2025 | 2.3.2 | 9/9/2025 | 7 months | 3 |
|
|
97
|
-
| nokogiri | 1.13.8 | 5/10/2023 | 1.15.0 | 8/20/2024 | 1 year 3 months | 12 |
|
|
98
|
-
| redis | 4.8.0 | 1/15/2023 | 5.0.0 | 11/1/2024 | 1 year 9 months | 20 |
|
|
99
|
-
| pg | 1.4.0 | 3/20/2023 | 1.5.0 | 9/15/2024 | 1 year 5 months | 6 |
|
|
100
|
-
+------------------+---------+--------------------------+---------+--------------------------+------------------+-------------------+
|
|
101
|
-
|
|
102
|
-
📦 Checking NPM packages... 45/45 ✓
|
|
103
|
-
|
|
104
|
-
Package Vulnerabilities:
|
|
105
|
-
|
|
106
|
-
+----------+--------+---------+------------------------------------------+
|
|
107
|
-
| Level | Name | Version | Vulnerability |
|
|
108
|
-
+----------+--------+---------+------------------------------------------+
|
|
109
|
-
| 🔴 Critical | lodash | 4.17.20 | Prototype pollution vulnerability |
|
|
110
|
-
| 🟠 High | moment | 2.29.1 | Wrong timezone date calculation |
|
|
111
|
-
| 🟡 Medium | axios | 0.21.1 | Server-Side Request Forgery (SSRF) |
|
|
112
|
-
| 🟢 Low | debug | 4.3.1 | Regular Expression Denial of Service |
|
|
113
|
-
+----------+--------+---------+------------------------------------------+
|
|
114
|
-
|
|
115
|
-
Package Versions:
|
|
116
|
-
|
|
117
|
-
+------------------+---------+--------------------------+---------+--------------------------+------------------+-------------------+
|
|
118
|
-
| Name | Current | Current version released on | Latest | Latest version released on | Behind By(Time) ↓ | Behind By(Versions) |
|
|
119
|
-
+------------------+---------+--------------------------+---------+--------------------------+------------------+-------------------+
|
|
120
|
-
| react | 17.0.2 | 3/3/2021 | 18.2.0 | 6/14/2023 | 2 years 3 months | 45 |
|
|
121
|
-
| vue | 3.2.0 | 8/5/2021 | 3.3.0 | 5/18/2023 | 1 year 9 months | 8 |
|
|
122
|
-
| jquery | 3.7.1 | 4/5/2024 | 3.9.1 | 10/11/2025 | 1 year | 8 |
|
|
123
|
-
| express | 4.18.0 | 4/25/2022 | 4.18.2 | 8/15/2023 | 1 year 3 months | 2 |
|
|
124
|
-
| webpack | 5.70.0 | 3/1/2022 | 5.88.0 | 6/1/2023 | 1 year 3 months | 18 |
|
|
125
|
-
| typescript | 4.7.0 | 5/24/2022 | 5.1.0 | 5/25/2023 | 1 year | 12 |
|
|
126
|
-
+------------------+---------+--------------------------+---------+--------------------------+------------------+-------------------+
|
|
127
|
-
```
|
|
128
|
-
|
|
129
|
-
Direct Dependencies Only (with --exclude-dependencies):
|
|
130
|
-
|
|
131
|
-
```
|
|
132
|
-
Gem Versions:
|
|
133
|
-
|
|
134
|
-
+----------+---------+--------------------------+---------+--------------------------+------------------+-------------------+
|
|
135
|
-
| Name | Current | Current version released on | Latest | Latest version released on | Behind By(Time) ↓ | Behind By(Versions) |
|
|
136
|
-
+----------+---------+--------------------------+---------+--------------------------+------------------+-------------------+
|
|
137
|
-
| **rails**| 7.0.0 | 12/15/2022 | 7.1.0 | 10/4/2024 | 1 year 10 months | 8 |
|
|
138
|
-
| **sidekiq**| 7.30 | 3/5/2024 | 8.1 | 11/11/2025 | 1 year | 15 |
|
|
139
|
-
| **pg** | 1.4.0 | 3/20/2023 | 1.5.0 | 9/15/2024 | 1 year 5 months | 6 |
|
|
140
|
-
+----------+---------+--------------------------+---------+--------------------------+------------------+-------------------+
|
|
141
|
-
```
|
|
142
|
-
|
|
143
|
-
Note: Direct dependencies (from Gemfile or package.json) are displayed in bold text in the version tables.
|
|
144
|
-
|
|
145
|
-
## Requirements
|
|
146
|
-
|
|
147
|
-
- Ruby 2.6 or higher
|
|
148
|
-
- Bundler (for Ruby gem scanning)
|
|
149
|
-
- NPM or Yarn (optional, for JavaScript package scanning)
|
|
150
|
-
- bundler-audit (optional, install with: gem install bundler-audit)
|
|
151
|
-
|
|
152
|
-
## Documentation
|
|
153
|
-
|
|
154
|
-
For more information, visit: https://github.com/bipashant/rubion
|
|
155
|
-
DESC
|
|
12
|
+
spec.description = 'Rubion scans your project for Ruby gem vulnerabilities, outdated gems, NPM package vulnerabilities, and outdated packages. It provides a clean, organized report with actionable insights.'
|
|
156
13
|
spec.homepage = 'https://github.com/bipashant/rubion'
|
|
157
14
|
spec.license = 'MIT'
|
|
158
15
|
spec.required_ruby_version = '>= 2.6.0'
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rubion
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.12
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- bipashant
|
|
@@ -66,76 +66,9 @@ dependencies:
|
|
|
66
66
|
- - "~>"
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
68
|
version: '1.21'
|
|
69
|
-
description:
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
Vulnerabilities: Scans for known security vulnerabilities in Ruby gems using bundle-audit\n-
|
|
73
|
-
\U0001F4E6 Gem Versions: Identifies outdated Ruby gems with release dates and version
|
|
74
|
-
counts\n- \U0001F4DB Package Vulnerabilities: Scans for known security vulnerabilities
|
|
75
|
-
in NPM/JavaScript packages\n- \U0001F4E6 Package Versions: Identifies outdated NPM/JavaScript
|
|
76
|
-
packages with release dates\n- \U0001F3AF Direct Dependencies: Highlights direct
|
|
77
|
-
dependencies (from Gemfile/package.json) in bold text\n- \U0001F50D Filtering: Option
|
|
78
|
-
to show only direct dependencies with --exclude-dependencies flag\n- \U0001F4CA
|
|
79
|
-
Sorting: Sort results by any column (Name, Current, Date, Latest, Behind By(Time),
|
|
80
|
-
Behind By(Versions))\n- \U0001F680 Fast & Efficient: Parallel API processing (10
|
|
81
|
-
concurrent threads) for quick results\n- \U0001F4E6 Multi-Package Manager: Supports
|
|
82
|
-
both npm and yarn with automatic detection\n\n## Installation\n\n```bash\ngem install
|
|
83
|
-
rubion\n```\n\nOr add to your Gemfile:\n\n```ruby\ngem 'rubion', '~> 0.3.10'\n```\n\n##
|
|
84
|
-
Usage\n\n### Basic Scan\n\n```bash\nrubion scan\n```\n\n### Scan Options\n\n```bash\n#
|
|
85
|
-
Scan only Ruby gems\nrubion scan --gems-only\n# or\nrubion scan -g\n\n# Scan only
|
|
86
|
-
NPM packages\nrubion scan --packages-only\n# or\nrubion scan -p\n\n# Sort by column\nrubion
|
|
87
|
-
scan --sort-by Name\nrubion scan --sort-by \"Behind By(Time)\" --desc\n\n# Show
|
|
88
|
-
only direct dependencies\nrubion scan --exclude-dependencies\n```\n\n### Example
|
|
89
|
-
Output\n\nComplete Scan Output:\n\n```\n\U0001F50D Scanning project at: /path/to/project\n\n\U0001F4E6
|
|
90
|
-
Checking Ruby gems... 139/139 ✓\n\nGem Vulnerabilities:\n\n+----------+--------+---------+------------------------------------------+\n|
|
|
91
|
-
Level | Name | Version | Vulnerability |\n+----------+--------+---------+------------------------------------------+\n|
|
|
92
|
-
\U0001F534 Critical | rexml | 3.4.1 | REXML has DoS condition when parsing...
|
|
93
|
-
|\n| \U0001F7E0 High | rack | 2.0.8 | Denial of Service vulnerability |\n|
|
|
94
|
-
\U0001F7E1 Medium | nokogiri | 1.13.8 | XML parsing vulnerability |\n|
|
|
95
|
-
\U0001F7E2 Low | json | 2.6.1 | JSON parsing issue |\n+----------+--------+---------+------------------------------------------+\n\nGem
|
|
96
|
-
Versions:\n\n+------------------+---------+--------------------------+---------+--------------------------+------------------+-------------------+\n|
|
|
97
|
-
Name | Current | Current version released on | Latest | Latest version
|
|
98
|
-
released on | Behind By(Time) ↓ | Behind By(Versions) |\n+------------------+---------+--------------------------+---------+--------------------------+------------------+-------------------+\n|
|
|
99
|
-
sidekiq | 7.30 | 3/5/2024 | 8.1 | 11/11/2025 |
|
|
100
|
-
1 year | 15 |\n| rails | 7.0.0 | 12/15/2022
|
|
101
|
-
\ | 7.1.0 | 10/4/2024 | 1 year 10 months | 8 |\n|
|
|
102
|
-
fastimage | 2.2.7 | 2/2/2025 | 2.3.2 | 9/9/2025 |
|
|
103
|
-
7 months | 3 |\n| nokogiri | 1.13.8 | 5/10/2023
|
|
104
|
-
\ | 1.15.0 | 8/20/2024 | 1 year 3 months | 12 |\n|
|
|
105
|
-
redis | 4.8.0 | 1/15/2023 | 5.0.0 | 11/1/2024 |
|
|
106
|
-
1 year 9 months | 20 |\n| pg | 1.4.0 | 3/20/2023
|
|
107
|
-
\ | 1.5.0 | 9/15/2024 | 1 year 5 months | 6 |\n+------------------+---------+--------------------------+---------+--------------------------+------------------+-------------------+\n\n\U0001F4E6
|
|
108
|
-
Checking NPM packages... 45/45 ✓\n\nPackage Vulnerabilities:\n\n+----------+--------+---------+------------------------------------------+\n|
|
|
109
|
-
Level | Name | Version | Vulnerability |\n+----------+--------+---------+------------------------------------------+\n|
|
|
110
|
-
\U0001F534 Critical | lodash | 4.17.20 | Prototype pollution vulnerability |\n|
|
|
111
|
-
\U0001F7E0 High | moment | 2.29.1 | Wrong timezone date calculation |\n|
|
|
112
|
-
\U0001F7E1 Medium | axios | 0.21.1 | Server-Side Request Forgery (SSRF) |\n|
|
|
113
|
-
\U0001F7E2 Low | debug | 4.3.1 | Regular Expression Denial of Service |\n+----------+--------+---------+------------------------------------------+\n\nPackage
|
|
114
|
-
Versions:\n\n+------------------+---------+--------------------------+---------+--------------------------+------------------+-------------------+\n|
|
|
115
|
-
Name | Current | Current version released on | Latest | Latest version
|
|
116
|
-
released on | Behind By(Time) ↓ | Behind By(Versions) |\n+------------------+---------+--------------------------+---------+--------------------------+------------------+-------------------+\n|
|
|
117
|
-
react | 17.0.2 | 3/3/2021 | 18.2.0 | 6/14/2023 |
|
|
118
|
-
2 years 3 months | 45 |\n| vue | 3.2.0 | 8/5/2021
|
|
119
|
-
\ | 3.3.0 | 5/18/2023 | 1 year 9 months | 8 |\n|
|
|
120
|
-
jquery | 3.7.1 | 4/5/2024 | 3.9.1 | 10/11/2025 |
|
|
121
|
-
1 year | 8 |\n| express | 4.18.0 | 4/25/2022
|
|
122
|
-
\ | 4.18.2 | 8/15/2023 | 1 year 3 months | 2 |\n|
|
|
123
|
-
webpack | 5.70.0 | 3/1/2022 | 5.88.0 | 6/1/2023 |
|
|
124
|
-
1 year 3 months | 18 |\n| typescript | 4.7.0 | 5/24/2022
|
|
125
|
-
\ | 5.1.0 | 5/25/2023 | 1 year | 12 |\n+------------------+---------+--------------------------+---------+--------------------------+------------------+-------------------+\n```\n\nDirect
|
|
126
|
-
Dependencies Only (with --exclude-dependencies):\n\n```\nGem Versions:\n\n+----------+---------+--------------------------+---------+--------------------------+------------------+-------------------+\n|
|
|
127
|
-
Name | Current | Current version released on | Latest | Latest version released
|
|
128
|
-
on | Behind By(Time) ↓ | Behind By(Versions) |\n+----------+---------+--------------------------+---------+--------------------------+------------------+-------------------+\n|
|
|
129
|
-
**rails**| 7.0.0 | 12/15/2022 | 7.1.0 | 10/4/2024 |
|
|
130
|
-
1 year 10 months | 8 |\n| **sidekiq**| 7.30 | 3/5/2024 |
|
|
131
|
-
8.1 | 11/11/2025 | 1 year | 15 |\n| **pg**
|
|
132
|
-
\ | 1.4.0 | 3/20/2023 | 1.5.0 | 9/15/2024 | 1
|
|
133
|
-
year 5 months | 6 |\n+----------+---------+--------------------------+---------+--------------------------+------------------+-------------------+\n```\n\nNote:
|
|
134
|
-
Direct dependencies (from Gemfile or package.json) are displayed in bold text in
|
|
135
|
-
the version tables.\n\n## Requirements\n\n- Ruby 2.6 or higher\n- Bundler (for Ruby
|
|
136
|
-
gem scanning)\n- NPM or Yarn (optional, for JavaScript package scanning)\n- bundler-audit
|
|
137
|
-
(optional, install with: gem install bundler-audit)\n\n## Documentation\n\nFor more
|
|
138
|
-
information, visit: https://github.com/bipashant/rubion\n"
|
|
69
|
+
description: Rubion scans your project for Ruby gem vulnerabilities, outdated gems,
|
|
70
|
+
NPM package vulnerabilities, and outdated packages. It provides a clean, organized
|
|
71
|
+
report with actionable insights.
|
|
139
72
|
email:
|
|
140
73
|
- bs_chapagain@hotmail.com
|
|
141
74
|
executables:
|