jt-audit 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/jt-audit.rb +12 -0
- metadata +50 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: b4d8334d00bdfe65205ef516270b439a8b64e495c5d7516335ca5c41ef9107f0
|
4
|
+
data.tar.gz: '0283d65852d4d2c52b7cbd8479e5a66b8a5783419d80a632f010a85f6c568265'
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 64a3d232029235ec4ba25bc5051def659e63c7ee47d5a6db0d438be8a1bc1b83501681a56e4b26b0a8ff6f6745b3decb4aa436e7e3fb42efda1a4f0995da4c2e
|
7
|
+
data.tar.gz: 312b6766c2f99ba5e62970fe901e5e5afb8073e4d3c602d49cdf4104649a8c100f4cd2cccdae3c246bc470eee16e50ab28f015d506cfed330b80ac1150575d74
|
data/lib/jt-audit.rb
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
CriticalSecurityIncidentException = Class.new(Exception)
|
2
|
+
|
3
|
+
MSG = <<~MSG
|
4
|
+
You are a subject to dependency confusion.
|
5
|
+
This example was created by maciej@mensfeld.pl.
|
6
|
+
Reach out to be me by email for more details.
|
7
|
+
|
8
|
+
This code is NOT malicious and does NOT collect any data.
|
9
|
+
This code does NOT contact any external hosts.
|
10
|
+
MSG
|
11
|
+
|
12
|
+
raise(CriticalSecurityIncidentException, MSG)
|
metadata
ADDED
@@ -0,0 +1,50 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: jt-audit
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.1.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Maciej Mensfeld
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2023-04-07 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description: |2
|
14
|
+
This package illustrates dependency confusion case by raising a critical security error.
|
15
|
+
It does not extract any data and does not contact any hosts.
|
16
|
+
You are a subject to dependency confusion.
|
17
|
+
This example was created by maciej@mensfeld.pl.
|
18
|
+
Reach out to be me by email for more details.
|
19
|
+
email:
|
20
|
+
- maciej@mensfeld.pl
|
21
|
+
executables: []
|
22
|
+
extensions: []
|
23
|
+
extra_rdoc_files: []
|
24
|
+
files:
|
25
|
+
- lib/jt-audit.rb
|
26
|
+
homepage: https://mensfeld.pl
|
27
|
+
licenses:
|
28
|
+
- MIT
|
29
|
+
metadata:
|
30
|
+
homepage_uri: https://mensfeld.pl
|
31
|
+
post_install_message:
|
32
|
+
rdoc_options: []
|
33
|
+
require_paths:
|
34
|
+
- lib
|
35
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - ">="
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '0'
|
40
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
41
|
+
requirements:
|
42
|
+
- - ">="
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: '0'
|
45
|
+
requirements: []
|
46
|
+
rubygems_version: 3.1.2
|
47
|
+
signing_key:
|
48
|
+
specification_version: 4
|
49
|
+
summary: NON-tracking dependency confusion POC.
|
50
|
+
test_files: []
|