
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
@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 2,443 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
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.