registry
js-x-ray
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
registry
-
Social engineering campaign targeting tech employees spreads through NPM malware
More important than the namespace is who published the package. I'm more inclined to trust an individual I know who takes security than a namespace that may change hands.
NPM exposes that info in the _npmUser field: https://github.com/npm/registry/blob/master/docs/REGISTRY-AP.... That gives "name" (NPM username) and email.
While there are thousands of packages, I bet there's a much smaller number of publishers to worry about.
-
query all npmjs packages
I can't find anything about it in their docs. https://github.com/npm/registry/blob/master/docs/REGISTRY-API.md
-
When to use a separate backend?
https://github.com/npm/registry/blob/master/docs/REGISTRY-API.md here are the docs. I was getting 122ms responses instead of 9000 on the old one.
-
A technical tale of NodeSecure - Chapter 1
My first instinct was to work with the public API of the npm registry. This sounds like a very good idea, but you will soon run into a set of problems (cache, private registry etc..).
-
Next.js, Material UI, MongoDB Personal Dashboard
There is no need to obtain an API key or token for querying NPM registry API. For the dashboard, I use only the endpoint that provides the data about a package downloads count - https://api.npmjs.org/downloads/. You can read more about it here.
-
Exploring the npm registry API
While many people regularly use npm's website to discover packages, only a few know that npm also provides a public REST API accessible at registry.npmjs.org.
-
[AskJS] Is there any website that regularly published npm download charts?
Or roll your own, docs here: https://github.com/npm/registry/blob/master/docs/download-counts.md
js-x-ray
-
JS-X-Ray 6.0
If you are new in town, JS-X-Ray is an open source JavaScript SAST (Static Application Security Testing). The tool analyzes your JavaScript sources for patterns that may affect the security and quality of your project 😎.
-
📦 Everything you need to know: package managers
@nodesecure/js-x-ray, a SAST scanner (A static analyser for detecting most common malicious patterns)
-
A technical tale of NodeSecure - Chapter 2
I'm back at writing for a new technical article on NodeSecure. This time I want to focus on the SAST JS-X-Ray 🔬.
-
How to respond to growing supply chain security risks?
And it is happening right now. Github is opening the GitHub Advisory Database to community submissions. Awesome community NodeSecure builds cool things like scanner and js-x-ray. There are also lockfile-lint, LavaMoat, Jfrog-npm-tools (and I am sure there is more).
-
NodeSecure - What's new in 2022 ?
Static Analysis is powered by @nodesecure/js-x-ray and @nodesecure/scanner.
-
A technical tale of NodeSecure - Chapter 1
Execute NodeSecure/JS-X-Ray on each JavaScript files.
-
Announcing new Node-Secure back-end
JS-X-Ray - SAST Scanner
-
JS-X-Ray 3.0.0
I have been working every night of the week on a new major version of my open-source JavaScript SAST JS-X-Ray. I've been looking forward to making significant changes to the code for several months now...
What are some alternatives?
flags - NodeSecure security flags 🚩 (configuration and documentation)
cli - JavaScript security CLI that allow you to deeply analyze the dependency tree of a given package or local Node.js project.
my-projects-dashboard - Next.js, Material UI, MongoDB Personal Dashboard with dev.to, GitHub, Twitter, and npm API integration.
ci - NodeSecure tool enabling secured continuous integration
conf - Simple config handling for your app or module
report - NodeSecure HTML & PDF report generator for any public and/or private git repositories.
birdcage - Cross-platform embeddable sandboxing
vulnera - Programmatically fetch security vulnerabilities with one or many strategies (NPM Audit, Sonatype, Snyk, Node.js DB).
Next.js - The React Framework
Governance - NodeSecure Governance (Code of conduct & Contribution guidelines)
types - Typescript definitions for npm registry content