an atomdrift project
Hostile 100% go Download

github.com/praetorian-inc/titus v1.2.11

Embeds a GitHub classic access tokenBroad-access extension removes security headers

Evidence

Hardcoded Slack user OAuth token slack.yml · lines 59–61
59:77… 196ace562dd6443b5d29b1d817c2 "This is a test run. Ignore"'
60 - 'curl -X POST -H "Content-type: application/json" -H "Authorization: Bearer xoxp-283316862324-298911817009-298923149681-44f585044dace54f5701618e97cd1c0b" --data @data.json https://wirecard-issuing.slack.com/api/chat.postMessage'
61 - ' url := "https://slack.com/api/channels.history?token=xoxp-113726990690-113803571044-155105854433-53ffb9d16ace50aa79aa1c4 …
curl command names a remote HTTP(S) URL slack.yml · lines 142–146
142:63… 1/A00EXAMPLE1/123456789012345678/aBcDeFgHiJkLmNoPqRsTuVwX'
143 - 'curl -X POST https://hooks.slack.com/workflows/E00EXAMPLE2/A00EXAMPLE2/987654321098765432/xYzAbCdEfGhIjKlM'
144 - |
145 # Trigger Slack workflow
146 webhook_url = "https://hooks.slack.com/workflows/T00EXAMPLE3/A00EXAMPLE3/1112223334 …
Declares fake values for testing only mixed-secrets.txt · lines 1–28
1# Mixed Test Secrets - FAKE VALUES FOR TESTING ONLY
2# Various secret types from different providers
3
4# Slack Bot Token (np.slack.1)
5# Pattern: xoxb-[0-9]+-[0-9]+-[a-zA-Z0-9]+
6SLACK_BOT_TOKEN=xoxb-123456789012-123456789012-xxxxxxxxxxxxxxxxxxxx
7
8# Stripe Secret Key (np.stripe.1)
9# Pattern: sk_live_[a-zA-Z0-9]{24,99}
10STRIPE_SECRET_KEY=sk_live_xxxxxxxxxxxxxxxxxxxxxxxx
11
12# SendGrid API Key (np.sendgrid.1)
13# Pattern: SG\.[a-zA-Z0-9_-]{22}\.[a-zA-Z0-9_-]{43}
14SENDGRID_API_KEY=SG.xxxxxxxxxxxxxxxxxxxxxx.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
15
16# Twilio Auth Token (np.twilio.1)
17# Pattern: \b[a-f0-9]{32}\b (with context)
18TWILIO_ACCOUNT_SID=ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
19TWILIO_AUTH_TOKEN=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
20
21# Generic Private Key Header
22-----BEGIN RSA PRIVATE KEY-----
23MIIEowIBAAKCAQEAtestfakekeyxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
24xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
25-----END RSA PRIVATE KEY-----
26
27# OpenAI API Key (np.openai.1)
28OPENAI_API_KEY=sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Extension has all-URL host permission manifest.json · lines 1–48
1{
2 "manifest_version": 3,
3 "name": "Titus Secret Scanner",
4 "version": "1.0.0",
5 "description": "Red team tool: Scan web pages for exposed secrets and credentials",
6
7 "permissions": [
8 "storage",
9 "activeTab",
⋯5 lines
15 ],
16
17 "host_permissions": [
18 "<all_urls>"
19 ],
20
21 "background": {
22 "service_worker": "background/service-worker.js"
23 },
24
25 "content_security_policy": {
26 "extension_pages": "script-src 'self' 'wasm-unsafe-eval'; object-src 'self'"
27 },
28
29 "declarative_net_request": {
30 "rule_resources": [
31 {
32 "id": "csp_rules",
33 "enabled": true,
34 "path": "rules/csp-rules.json"
35 }
36 ]
37 },
38
39 "content_scripts": [
40 {
41 "matches": ["<all_urls>"],
42 "js": ["content/content.js"],
43 "css": ["content/toast.css"],
44 "run_at": "document_idle"
45 }
46 ],
47
48 "action": {
DNR CSP header field csp-rules.json · lines 1–46
1[
2 {
3 "id": 1,
4 "priority": 1,
5 "action": {
6 "type": "modifyHeaders",
7 "responseHeaders": [
8 {
9 "header": "content-security-policy",
10 "operation": "remove"
11 },
12 {
13 "header": "content-security-policy-report-only",
14 "operation": "remove"
15 },
16 {
17 "header": "x-content-security-policy",
18 "operation": "remove"
19 },
20 {
21 "header": "x-webkit-csp",
22 "operation": "remove"
23 }
⋯23 lines

Showing the top 5 files — 4 more files (48 regions) not shown.

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.