This project has been split from a single large obfuscated file (deofcode.js) into multiple organized modules.
src/
├── utils/
│ ├── moduleHelpers.js # Module system helper functions
│ └── systemInfo.js # System information utilities
├── modules/
│ ├── grpcConstants.js # gRPC status codes and constants
│ ├── logger.js # Logging utilities
│ ├── packageInfo.js # Package metadata
│ └── protobufDefinitions.js # Google Cloud protobuf definitions
└── main.js # Main execution entry point
- moduleHelpers.js: Contains helper functions for module creation and property definition
- systemInfo.js: Functions for getting system information (platform, architecture) and generating random strings
- grpcConstants.js: gRPC status codes, log verbosity levels, and propagation flags
- logger.js: Logging system for gRPC operations with configurable verbosity
- packageInfo.js: Package.json metadata for the gRPC library
- protobufDefinitions.js: Large protobuf definitions for Google Cloud Secret Manager
- main.js: Main execution logic that orchestrates data collection from various cloud providers and systems
Variables have been renamed from obfuscated names to more meaningful ones:
rL0→objectCreatesL0→getPrototypeOfKI→definePropertyeL0→getOwnPropertyNamesOM0→hasOwnPropertya→createModuleWrappery→createModulee1→defineGetters_0→lazyInite→requireModuleG1→grpcConstantsp1→loggerNI→protobufDefinitionstL0→generateRandomString$y1→getSystemInfoaL0→collectSystemAndCloudDatajy1→main
The following components still need to be extracted from the original deofcode.js:
-
Cloud Providers:
- AWS Secrets Manager (
WXclass) - GCP Secrets Manager (
Hwclass) - Azure Secrets Manager (
Eqclass)
- AWS Secrets Manager (
-
GitHub Integration:
- GitHub client (
dqclass) - GitHub Actions secrets collection
- Repository management
- GitHub client (
-
NPM Integration:
- NPM token validation
- NPM package management
-
Security Scanning:
- Trufflehog integration (
Tlclass) - File system scanning
- Trufflehog integration (
-
Additional Utilities:
- Browser detection
- Platform-specific utilities
- HTTP proxy agents
- The original
deofcode.jsfile is preserved for reference - Some modules still have dependencies on the original file structure
- Further refactoring is needed to fully modularize all components