Nyx is a simple reverse phone lookup ; that is, a tool to obtain information about the subscriber (owner) of the phone number.
Please read Disclaimer, Is it legal ? and Are there any risk ?.
When the features become the weaknesses...
Nyx aims to highlight the weaknesses of instant‑messaging apps and increase public awareness of them. These common features allow malicious actors to perform reverse phone lookups and harvest personal data associated with a phone number. These data include :
- Username
- Photo
- Bio
- Last activity
- and more...
See Setup Inspected Applications for more information
This project is intended for educational and lawful purposes only. The primary goal is to provide users with a platform to learn and experiment with various technologies, programming languages, and security concepts in a controlled environment. The creators and contributors of this project do not endorse or support any malicious activities, including but not limited to hacking, unauthorized access, or any form of cybercrime.
Users are expected to use this project responsibly and in compliance with applicable laws and regulations. Unauthorized use of this project for any malicious or illegal activities is strictly prohibited. The creators and contributors disclaim any responsibility for any misuse or damage caused by the use of this project for unauthorized and unlawful purposes.
It is essential to respect the privacy and security of others and obtain explicit permission before attempting to access or modify any system or data. Any actions performed with the knowledge gained from this project should be conducted in an ethical manner, with a focus on enhancing cybersecurity/privacy awareness and promoting responsible use of technology.
By using this project, you acknowledge and agree to abide by the principles outlined in this disclaimer. If you do not agree with these terms, you are not authorized to use or contribute to this project.
npm i -g nyx-lookupgit clone --recurse-submodules -j4 https://github.com/EternalDreamer01/Nyx.git- Node 20+
| API | Information | Login | Session location | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
QR code |
|
|||||||||
| Telegram |
|
API Token | Environment. See nyx-lookup -e |
You must login to use their API ;
- WhatsApp access is via a QR Code
- Telegram access is via an API token. Edit with the command
nyx-lookup -e:API_TELEGRAM_IDandAPI_TELEGRAM_HASH- Login once with the code you receive, it will store the token in
API_TELEGRAM_TOKEN
Supports international phone format only
Raw format is digits only (e.g 61491570006) however, you may optionally specify :
+at the beginning, eventually followed by0:+0448081570192-,.,(space),/and\anywhere:61 491-570-006
$ nyx-lookup "+44 808 157 0192"
$ nyxl 448081570192$ nyx-lookup
Usage: nyx-lookup [options] phone
-p --photo Download photo into '/home/<user>/nyx-lookup'
-s --[no-]save Save user info and photo (autosave: yes)
-f --format={ text | json }
Define output format (default: text)
-c --[no-]colour No colour (only for 'text' format) (default: yes)
-e --env Edit env file (default editor: vim)
--api={ wa | tg | all }
API service to use (default: all)
--force Force query, do not use cached data.
--db Access database cache.
--open-photos[=phone]
Access cached photos.
--non-interactive
Will not ask to login if no session was found
--test Test phone from env. variable PHONE_TEST
Non-interactive is automatically true
-h --help Show this help
-v --version Show version
Status:
WhatsApp: ✔
Telegram: ✔
Editable using nyx-lookup -e ;
| Variable | Description | Default | Possible values |
|---|---|---|---|
API_TELEGRAM_ID |
Telegram ID (required to use Telegram API) | None | |
API_TELEGRAM_HASH |
Telegram Hash (required to use Telegram API) | None | |
DEFAULT_INFO_FORMAT |
Default output format | text |
text or json |
AUTOSAVE |
Enable/disable autosave (~/nyx-lookup/saved.db) |
true |
true/false, yes/no, 1/0 |
PHONE_TEST |
Phone number to use for testing | None |
The database of saved results is accessible at ~/nyx-lookup/saved.db.
To enable/disable autosave, run nyx-lookup -e and edit AUTOSAVE.
No
Yes - it'd be advised to prevent ban - it's a common thing to buy a prepaid SIM card from tobacconists or local stores.
Yes, users can always change their profile visibility. To view or edit these settings :
- WhatsApp : Settings > Privacy
- Telegram : Settings > Privacy and Security
The possible potential risks, temporary or permanently :
- Restricted to use WhatsApp through another device, or Telegram API
- Account suspension via phone number
A reasonable reverse lookup frequency would be ;
| Telegram | |
|---|---|
| 4/day | 12/day |
Waiting at least a few seconds between each call, at an irregular frequency. Use a prepaid SIM card to prevent such situations.
It's legal to view publicly or freely available information, when the user is aware of this feature and consented to it. However, scraping would be considered a privacy violation in many jurisdiction (including EU and US), and would violate Terms of Use of WhatsApp and Telegram.
Doing so could result in a permanent suspension, and a criminal penalty.
Moreover, the constant storage of this data could be considered a privacy violation (mainly for EU). You might consider editing AUTOSAVE and manage your cache yourself.
You alone bear full responsibility for any misuse or damage resulting from the unauthorized or unlawful use of this project.
name |
The name registered for this phone number on your personal WhatsApp account |
pushname |
The name configured on their WhatsApp |
If you were getting this error:
Error: Evaluation failed: Error: wid error: invalid wid
Try cleaning up cache using nyx-lookup --clean or rm -rf ~/.cache/nyx-lookup/
If you were getting this error:
Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'default')
Make sure you have the latest version of Nyx, or try reinstalling. If you installed it globally using npm:
npm uninstall -g nyx-lookup
npm install -g nyx-lookupPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.