
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.
@exodus/analytics-validation
Advanced tools
JSON schemas for analytics events, to prevent sensitive data from being sent up to the infamous cloud
This helps prevent that we do not accidentally collect any sensitive and/or private information, therefore all events must pass a validation layer.
Examples of what could go wrong:
flowchart TD
Title(Adding a new telemetry event) --> A
A{Does your event\nhave properties?}
A -->|Yes| C
A -->|No| B
B(You're done!)
C{Does it only require\n the 'origin' property?}
C -->|Yes| B
C -->|No| E[Generate a new JSON Schema: \nyarn generate analytics-validation]
E --> D[Adjust the schema and tests]
D --> B
To add a new schema run
yarn generate analytics-validation
in the project root. The CLI tool will ask you for all details needed. Once the schema is created, make sure to
dapps
) already exists in ./src
. If not, you will have to come up with a subdirectory name during the next steps;expected_property
);Schemasafe ships with a bunch of default formats, you can find the implementation of these here!
FAQs
JSON schemas for analytics events, to prevent sensitive data from being sent up to the infamous cloud
The npm package @exodus/analytics-validation receives a total of 838 weekly downloads. As such, @exodus/analytics-validation popularity was classified as not popular.
We found that @exodus/analytics-validation demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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.