Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
extract-schema-coordinates
Advanced tools
Extract a list of "schema coordinates" contained in a GraphQL document
$ yarn add extract-schema-coordinates
e.g. for the following query:
query GET_BUSINESS($BizId: String) {
business(id: $BizId) {
name
location {
city
}
}
}
We would return the following set of schema coordinates:
["Query.business", "Business.name", "Business.location", "Location.city"]
extractSchemaCoordinates(
/**
* The text of the document to analyse, in raw string format
*/
documentText: string,
/**
* The text of your schema, in string SDL format (e.g. as created by printSchema)
* @see https://graphql.org/graphql-js/utilities/#printschema
*/
schemaText: string,
): Set<string>
import extractSchemaCoordinates from 'extract-schema-coordinates';
const coordinates = extractSchemaCoordinates(documentString, schemaText);
FAQs
extract schema coordinates from GraphQL documents
The npm package extract-schema-coordinates receives a total of 0 weekly downloads. As such, extract-schema-coordinates popularity was classified as not popular.
We found that extract-schema-coordinates demonstrated a not healthy version release cadence and project activity because the last version was released 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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.