Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
node-xmpp-core
Advanced tools
Library to handle all the core functionality for:
Note: We now only support Node.js versions 0.8.0 and greater.
With package manager npm:
npm install node-xmpp-core
Install the dev dependencies, then...
npm test
Also see the tests run in travis. The tests in travis run both the code and code style tests.
Please use one of node-xmpp-client/component/server
EventEmitter
, ie. for write
buffer controlnode-expat
was written for this librarySet this option as true
to enable the optimization for continuous TCP streams. If your "socket" actually transports frames (WebSockets) and you can't have stanzas split across those, do not enable it.
type: boolean
default: false
npm install node-stringprep
Optional
Automatically building the optional library can be turned off by npm config set optional false
or by setting the environmental variable export NPM_CONFIG_OPTIONAL=false
. On Heroku this is done through heroku config:set NPM_CONFIG_OPTIONAL=false
, for example.
Strophe.js' XML Builder is very convenient for producing XMPP
stanzas. ltx includes it in a much more primitive way: the
c()
, cnode()
and t()
methods can be called on any Element
object, returning the new child element.
This can be confusing: in the end, you will hold the last-added child
until you use up()
, a getter for the parent. Connection.send()
first invokes tree()
to retrieve the uppermost parent, the XMPP
stanza, before sending it out the wire.
(Builing up documentation slowly)
...coming soon...
FAQs
core files for the node-xmpp project
The npm package node-xmpp-core receives a total of 10,014 weekly downloads. As such, node-xmpp-core popularity was classified as popular.
We found that node-xmpp-core demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.