Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
github.com/stevenxie/fbmsgr
Reverse engineering Facebook Messenger.
This is a fork of unixpickle/fbmsgr
which contains a modified Session
struct with an exposed http.Client
, so
that its cookies may be read by other packages.
This is a wrapper around Facebook Messenger's internal AJAX protocol. This wrapper could be used for any number of cool things, such as:
- Tracking your friends' Messenger activity.
- Analyzing your conversations (e.g. keywords analysis)
- Automating "Away" messages
- Creating chat bots
Current status
Currently, the API is fairly reliable and can perform a bunch of basic functionalities. Here is a list of supported features (it may lag slightly behind the master branch):
- Send textual messages to people or groups
- Send attachments to people or groups
- Receive messages with or without attachments
- Send read receipts
- Receive events for incoming messages
- Receive events for friend "Last Active" updates
- Set chat text colors (to arbitrary RGB colors)
- List a user's threads.
- List messages in a thread.
- Send and receive typing events
- Delete messages
TODOs
- Support emojis in threads (i.e. the like button)
- In FullActionLog, remove all duplicates, incase two messages have the same timestamp.
- Emoji/sticker transmission
- Modifying chat preferences (emoji, nicknames, etc.)
- View pending message requests
- Create new group chats
License
This is under a BSD 2-clause license. See LICENSE.
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.