
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
mobify-analytics-sdk
Advanced tools
.......'.........
.,,'. ...
'c,. .
.oo; ........
coo' .;looolcc:;;,,,;,;;,.... ..
dxoc' ,dOO0OOOOOOOOOOOOOO0000kxd, .'.
cO; 'cxKKKKKKKKKKKKKXXXXXXXXXXXXXXk,.
.d..'lOXXXXXXNNNNNNNNNNNNNNNNNNNNNNNK:.
:;::dOKkOxOOOOkxdxxxxdddddxxxxxxkkkkkd;.
.clokKKKOKkkkxkxxxxxxxxxkxkxxkkkkkkkOx0O0x.
kkKNNNXXxkkOOkkkkxxxxxxxxxxxxxxxxxkkOx0KNWO
.k0OXXNNXNOdkOkkkxxxxxxxxxxxxxxxxxxxxkOx0KXOc
'k0OKXXKXXNOdkOkkkkxxxxxxxxxxxxxxxxxxxkkx0Kd'.
cdOOKXXXXXXNOdkOkkkkxxxxxxxxxxxxxxxxxxxkkx0Kxcl'
.dOOKXXXXXXXN0dkOOkkkkxxxxxxxxxxxxxxxxxxkkx0Kdld:
.oOK0XXXXXXXXNKxkOOkkkkkxxxxxxxxxxxxxxxxkkkxOKd;:;
:kKXKKXXXXXXNNXxkOOkkkkkkkkkkkkkkkkkkkkkkkOkOKdcco.
oOKNX0KXXXXXXNXxx0OOOOOkOOOOOOOOOOOOOOOOOOOkkOdxdo,
l00XXKKXXXXXXNNkx00000000000000000000000000OOOdxoo;
;K0KXKKKKXXXXNN0xOOOOOOOOOOkkkkOOkkkkkkkkkkkxxxdooc,,'.
'KKKKKKKKKXXXNNOoxxxxkkkkOOOOO000OOOOkOOOO00OkxxddOkdo,.
.KKKKKKKKKXXXXNNXXXXXXKkkkkkkkkkxxxkxOXNNNWX0OkkxOKO00kl.
.KKKKKXXXXXNNXNWWNNNNNKxdxxdkxkxxkdkxxNWWWNKKOOk0XK00000d,
KKKKKXNXXXXXXXX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NNNWWNNNNXXKNNXXXNNNWN00NWWWWWWWWWWWXXXNNWWWWWNWWWNNNNNWWKKNNNXXNNWNOxXWKKWWWWNWWWWW
WNkd0XNWWWWWNNNNXXXNNXXNNNNWWKOXNWWWWWWWWWWWNNNNWWWWNNNNNNNNWN0XNNNNNNWWXdOWWN0NWWWWNWWWWW
WOddcocKWWWWWNNNNXXXNWNXNNNNWWXO0NWWWWWWWWWWWNNNWWWWWNNNNNNWX0XNNNNWWWNOxXWWWXKNWWWWXNXkdx
WKkxo;,:WNWWWWNXNNKK0XWNNNNNNNWN0OXNWWWWWWWWWWWNNWWWWWWNNNNO0NWWWWWWWKxONWWWWK0NNNKOOX0O0X
NNX0kl:kWNNWWWWNXNN0KO0NWNNNNNNNNKOXWWWWNNNWWWWWWNNWWWWNNX0XWWWWWWWXkxXWWWWWKkOOkdoo0NWWWW
NXXXXXNWWNKXNWWWXKNX00kONWWWNNNNNNXOKNWWWNNNNNWWWWNNWWNNNNWWWWWWWNOxKWWWWWWNddkxlccd00KNNX
WWNNNNNNNN0k0XNWNKKNKkkdkXWWWWWNNNNKOKNWWWWWNNNNNWWWWWNNWWWWWWNN0dONWWWWWWNxloddo;l0Kdoloc
NNWWWNXKKKXOxOKNNX0KNKxodxKWWWWWWWWWNXNNWWWWWWNNNNNWWWWWWWWWNX0xkXWWWWWNNXxcodolkxKXXxcclc
XNNWWNK00KXNOdk0XXKkXN0dooxKWWWWWWWWWNNNNWWWWWWWNNNNWWWWWWNXKOd0NWWWWNNNKdcodol:Ko:OO0oddk
Portrait of one of the original SDK member
https://www.npmjs.com/package/mobify-analytics-sdk
Analytics SDK standardize how we capture analytics across different Mobify platform. It contains a few parts:
npm i
npm run build
npm run test
This will run the necessary tests.
To hot reload test in browser:
npm run build:watch &
npm run start:cold &
open http://localhost:8443/webpack-dev-server/test/index.html
The analytics SDK will read a specific config file that can be bundled.
To build the SDK, run:
npm run build
Which will generate the analytics-sdk/index.js
. The SDK can then be loaded on any webpage by doing:
<script src='analytics-sdk/index.js'></script>
Note: this is for temporary demo but eventually this will be loaded by a.js directly
One can side-load the script in any page by running:
npm start
And you can load the script from https://localhost:8443/public/bundle/index.js which will have the hot-reload available.
Note that https is required for side-loading on https site.
And then use the following
Just drag and drop this into the toolbar.
https://www.npmjs.com/package/mobify-analytics-sdk
This is published on merge to master branch.
To publish manually:
npm run build
# Remember to bump version in package.json
npm publish
Note that assets bundling should be the responsibility of the library requirer.
The config file is responsible for specifying what to capture on the client.
To validate a config file, run:
npm run build
bin/validate-sdk.js config/config.js
These files also are responsible for generated the documents for config.
npm run docs:build
There are 2 main parts of documentation:
src/*
config/config.js
The source of these docs are documented in package.json
docs:build
script.
The docs is generated into both Markdown (via jsdoc2md
) and HTML format (via jsdoc
- not checked into repo)
FAQs
A unified way to setup Mobify analytics
We found that mobify-analytics-sdk demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.