
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
@zapier/spectral-api-ruleset
Advanced tools
Ownership • Features • Installation • Usage • Development
TBD
Provides a Spectral linting ruleset to lint API schemas against Zapier's API Design Guidelines.
yarn add -D @stoplight/spectral-cli
yarn add -D @zapier/spectral-api-ruleset
For some reason, installing the CLI global and running
spectral lint
ornpx spectral lint
always fails to find the package. Adding the CLI as local dependency and then running eitheryarn spectral lint
does work.
Create a local spectral.yaml
that extends the ruleset provided by the package:
extends:
- '@zapier/spectral-api-ruleset'
Then run:
yarn spectral lint your-schema.yaml
See the Spectral CLI docs for more details.
Use a Gitlab job like the following
lint:schema:
stage: validate
before_script:
- mkdir spectral
script:
- yarn spectral lint your-schema.yaml -o spectral/junit.xml -f junit
artifacts:
when: always
paths:
- spectral
reports:
junit: spectral/junit.xml
See Continuous Integration docs for more details.
See CONTRIBUTING, also for information on how we use @changesets/cli
to version and publish.
You can add rules to spectral.js
. See the Alternative JS Ruleset Format docs for details.
We're using the JS format so that the package ruleset can also be used in JavaScript.
functions/
.test-schema.yaml
to meet all rules (run yarn test:integrate
to verify).FAQs
Spectral ruleset for Zapier API Guidelines.
We found that @zapier/spectral-api-ruleset demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.