# wh014m/m4nifest0-m4-copy-js-botnet- architecture

> Architecture diagram of the GitHub repository wh014m/m4nifest0-m4-copy-js-botnet-, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-04). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/wh014m/m4nifest0-m4-copy-js-botnet-
- Repository: https://github.com/wh014m/m4nifest0-m4-copy-js-botnet-

## Overview

This repository is a Windows-focused credential and wallet stealer with clipboard replacement, Discord token collection/injection, and webhook exfiltration. The principal flow starts in index.js: environment checks precede collection of wallets, Discord data, and browser records; infection logic and archive helpers provide additional capabilities, while webhook utilities send collected data. Edges reflect only explicit README claims or relationships visible in the excerpts/SOURCE INDEX. Several collection internals and configuration modules were not excerpted, so their undocumented call links are omitted.

Main entry points: [`index.js`](https://github.com/wh014m/m4nifest0-m4-copy-js-botnet-/blob/main/index.js) (Collector runtime), [`utils/discord.js`](https://github.com/wh014m/m4nifest0-m4-copy-js-botnet-/blob/main/utils/discord.js) (Discord token collection), [`utils/browsers.js`](https://github.com/wh014m/m4nifest0-m4-copy-js-botnet-/blob/main/utils/browsers.js) (Browser data), [`utils/webhook.js`](https://github.com/wh014m/m4nifest0-m4-copy-js-botnet-/blob/main/utils/webhook.js) (Webhook formatting)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["Runtime and checks"]
  node_runtime["Collector runtime<br/>[index.js]"]
  node_guard["Environment checks<br/>[protection.js]"]
  node_hostprofile["Host profile<br/>[user.js]"]
  node_environment["Browser paths<br/>[environ.js]"]
end

subgraph group_collection["Data collection"]
  node_browser["Browser data<br/>[browsers.js]"]
  node_keywords["Search terms<br/>[keywords.js]"]
  node_wallets["Wallet collection<br/>[wallets.js]"]
  node_clipper["Clipboard replacement<br/>[clipper.js]"]
  node_crypto["Crypto configuration<br/>[crypto.js]"]
  node_encryption["Encryption helper<br/>[encryption.js]"]
end

subgraph group_discord["Discord access"]
  node_discordscan["Discord token collection<br/>[discord.js]"]
  node_discordconfig["Discord configuration<br/>[discord.js]"]
  node_injection["Discord injection<br/>[infection.js]"]
  node_corepayload["Desktop core payload<br/>[index.js]"]
  node_flags["Country flags<br/>[flags.js]"]
end

subgraph group_delivery["Packaging and delivery"]
  node_archive["Archive creation<br/>[jszip.js]"]
  node_archiveconfig["Archive settings<br/>[jszip.js]"]
  node_webhook["Webhook formatting<br/>[webhook.js]"]
  node_gofile["GoFile uploader<br/>[gofile.js]"]
end

node_operator(("Target user"))
node_endpoint(("Discord webhook"))
node_external(("GoFile service"))

node_operator -->|"runs"| node_runtime
node_runtime -->|"checks host"| node_guard
node_runtime -->|"collects wallets"| node_wallets
node_runtime -->|"collects tokens"| node_discordscan
node_runtime -->|"collects browser data"| node_browser
node_runtime -->|"initializes"| node_injection
node_runtime -->|"starts monitoring"| node_clipper
node_runtime -->|"reads paths"| node_environment
node_runtime -->|"loads profile"| node_hostprofile
node_runtime -->|"sets archive path"| node_archiveconfig
node_runtime -->|"cleans archive"| node_archive
node_browser -.->|"filters terms"| node_keywords
node_runtime -.->|"sends collected results"| node_webhook
node_discordscan -->|"submits token embeds"| node_webhook
node_webhook -->|"posts data"| node_endpoint
node_injection -.->|"patches core"| node_corepayload
node_discordscan -.->|"records tokens"| node_discordconfig
node_discordscan -.->|"formats country"| node_flags
node_runtime -->|"loads settings"| node_crypto
node_browser -->|"decrypts credentials"| node_encryption
node_discordscan -->|"decrypts tokens"| node_encryption
node_runtime -.->|"no observed call"| node_gofile
node_gofile -->|"uploads files"| node_external

click node_runtime "https://github.com/wh014m/m4nifest0-m4-copy-js-botnet-/blob/main/index.js"
click node_guard "https://github.com/wh014m/m4nifest0-m4-copy-js-botnet-/blob/main/utils/protection.js"
click node_hostprofile "https://github.com/wh014m/m4nifest0-m4-copy-js-botnet-/blob/main/config/user.js"
click node_environment "https://github.com/wh014m/m4nifest0-m4-copy-js-botnet-/blob/main/config/environ.js"
click node_browser "https://github.com/wh014m/m4nifest0-m4-copy-js-botnet-/blob/main/utils/browsers.js"
click node_keywords "https://github.com/wh014m/m4nifest0-m4-copy-js-botnet-/blob/main/keywords.js"
click node_wallets "https://github.com/wh014m/m4nifest0-m4-copy-js-botnet-/blob/main/utils/wallets.js"
click node_clipper "https://github.com/wh014m/m4nifest0-m4-copy-js-botnet-/blob/main/utils/clipper.js"
click node_discordscan "https://github.com/wh014m/m4nifest0-m4-copy-js-botnet-/blob/main/utils/discord.js"
click node_discordconfig "https://github.com/wh014m/m4nifest0-m4-copy-js-botnet-/blob/main/config/discord.js"
click node_injection "https://github.com/wh014m/m4nifest0-m4-copy-js-botnet-/blob/main/utils/infection.js"
click node_corepayload "https://github.com/wh014m/m4nifest0-m4-copy-js-botnet-/blob/main/discord_desktop_core/index.js"
click node_crypto "https://github.com/wh014m/m4nifest0-m4-copy-js-botnet-/blob/main/config/crypto.js"
click node_encryption "https://github.com/wh014m/m4nifest0-m4-copy-js-botnet-/blob/main/utils/encryption.js"
click node_archive "https://github.com/wh014m/m4nifest0-m4-copy-js-botnet-/blob/main/utils/jszip.js"
click node_archiveconfig "https://github.com/wh014m/m4nifest0-m4-copy-js-botnet-/blob/main/config/jszip.js"
click node_webhook "https://github.com/wh014m/m4nifest0-m4-copy-js-botnet-/blob/main/utils/webhook.js"
click node_gofile "https://github.com/wh014m/m4nifest0-m4-copy-js-botnet-/blob/main/gofile.js"
click node_flags "https://github.com/wh014m/m4nifest0-m4-copy-js-botnet-/blob/main/utils/flags.js"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_runtime,node_guard,node_hostprofile,node_environment,node_operator toneBlue
class node_browser,node_keywords,node_wallets,node_clipper,node_crypto,node_encryption toneAmber
class node_discordscan,node_discordconfig,node_injection,node_corepayload,node_flags,node_endpoint toneMint
class node_archive,node_archiveconfig,node_webhook,node_gofile toneRose
class node_external toneIndigo
```

## Components

### Runtime and checks

- [Collector runtime](https://github.com/wh014m/m4nifest0-m4-copy-js-botnet-/blob/main/index.js): `index.js`
- [Environment checks](https://github.com/wh014m/m4nifest0-m4-copy-js-botnet-/blob/main/utils/protection.js): `utils/protection.js`
- [Host profile](https://github.com/wh014m/m4nifest0-m4-copy-js-botnet-/blob/main/config/user.js): `config/user.js`
- [Browser paths](https://github.com/wh014m/m4nifest0-m4-copy-js-botnet-/blob/main/config/environ.js): `config/environ.js`

### Data collection

- [Browser data](https://github.com/wh014m/m4nifest0-m4-copy-js-botnet-/blob/main/utils/browsers.js): `utils/browsers.js`
- [Search terms](https://github.com/wh014m/m4nifest0-m4-copy-js-botnet-/blob/main/keywords.js): `keywords.js`
- [Wallet collection](https://github.com/wh014m/m4nifest0-m4-copy-js-botnet-/blob/main/utils/wallets.js): `utils/wallets.js`
- [Clipboard replacement](https://github.com/wh014m/m4nifest0-m4-copy-js-botnet-/blob/main/utils/clipper.js): `utils/clipper.js`
- [Crypto configuration](https://github.com/wh014m/m4nifest0-m4-copy-js-botnet-/blob/main/config/crypto.js): `config/crypto.js`
- [Encryption helper](https://github.com/wh014m/m4nifest0-m4-copy-js-botnet-/blob/main/utils/encryption.js): `utils/encryption.js`

### Discord access

- [Discord token collection](https://github.com/wh014m/m4nifest0-m4-copy-js-botnet-/blob/main/utils/discord.js): `utils/discord.js`
- [Discord configuration](https://github.com/wh014m/m4nifest0-m4-copy-js-botnet-/blob/main/config/discord.js): `config/discord.js`
- [Discord injection](https://github.com/wh014m/m4nifest0-m4-copy-js-botnet-/blob/main/utils/infection.js): `utils/infection.js`
- [Desktop core payload](https://github.com/wh014m/m4nifest0-m4-copy-js-botnet-/blob/main/discord_desktop_core/index.js): `discord_desktop_core/index.js`
- [Country flags](https://github.com/wh014m/m4nifest0-m4-copy-js-botnet-/blob/main/utils/flags.js): `utils/flags.js`

### Packaging and delivery

- [Archive creation](https://github.com/wh014m/m4nifest0-m4-copy-js-botnet-/blob/main/utils/jszip.js): `utils/jszip.js`
- [Archive settings](https://github.com/wh014m/m4nifest0-m4-copy-js-botnet-/blob/main/config/jszip.js): `config/jszip.js`
- [Webhook formatting](https://github.com/wh014m/m4nifest0-m4-copy-js-botnet-/blob/main/utils/webhook.js): `utils/webhook.js`
- [GoFile uploader](https://github.com/wh014m/m4nifest0-m4-copy-js-botnet-/blob/main/gofile.js): `gofile.js`

### Other components

- **Target user**
- **Discord webhook**
- **GoFile service**

## Connections

- Target user → Collector runtime: runs (evidence: `README.md`)
- Collector runtime → Environment checks: checks host (evidence: `index.js`)
- Collector runtime → Wallet collection: collects wallets (evidence: `index.js`)
- Collector runtime → Discord token collection: collects tokens (evidence: `index.js`)
- Collector runtime → Browser data: collects browser data (evidence: `index.js`)
- Collector runtime → Discord injection: initializes (evidence: `index.js`)
- Collector runtime → Clipboard replacement: starts monitoring (evidence: `index.js`)
- Collector runtime → Browser paths: reads paths (evidence: `index.js`)
- Collector runtime → Host profile: loads profile (evidence: `index.js`)
- Collector runtime → Archive settings: sets archive path (evidence: `index.js`)
- Collector runtime → Archive creation: cleans archive (evidence: `index.js`)
- Browser data → Search terms: filters terms (evidence: `README.md`)
- Collector runtime → Webhook formatting: sends collected results (evidence: `README.md`)
- Discord token collection → Webhook formatting: submits token embeds (evidence: `utils/discord.js`)
- Webhook formatting → Discord webhook: posts data (evidence: `utils/webhook.js`)
- Discord injection → Desktop core payload: patches core (evidence: `README.md`)
- Discord token collection → Discord configuration: records tokens (evidence: `README.md`)
- Discord token collection → Country flags: formats country (evidence: `README.md`)
- Collector runtime → Crypto configuration: loads settings (evidence: `index.js`)
- Browser data → Encryption helper: decrypts credentials (evidence: `utils/browsers.js`)
- Discord token collection → Encryption helper: decrypts tokens (evidence: `utils/discord.js`)
- Collector runtime → GoFile uploader: no observed call (evidence: `index.js`)
- GoFile uploader → GoFile service: uploads files (evidence: `gofile.js`)
