
Security News
PodRocket Podcast: Inside the Recent npm Supply Chain Attacks
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
@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 1,095 weekly downloads. As such, @exodus/analytics-validation popularity was classified as 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.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.