
Research
/Security News
Toptal’s GitHub Organization Hijacked: 10 Malicious Packages Published
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
graphqlvisualizer
Advanced tools
This is a solution that can be used for visualization of an existing graphQL Schema, without the need of having an implemented service, in order to explore the API.
GraphQlVisualizer is a tool that enables you to visualize existing GraphQL schemas. It lets you explore all aspects of a schema without the need of a functional serverice side. Simply load your schema froma a local file or from a string and get a generated html page, wich will contain graphical representaion of your scehma in a simple, intuitive and interavctive UI.
File will be generated inside src/generated directory, under the name of schemaVisualized.html
Install using NPM
npm install --save graphqlvisualizer
Below is an example of how this package could be used
import GenerateHtmlFromString from "graphqlvisualizer";
var schemaString = `
type User{
id:ID!
firstname:String
lastname:String
address:Address
}
type Address{
postalCode:Int
city:String
}
type Query{
"""
Returns user with specified id
"""
user(id: ID): User
"""
Returns a list of users that have the specified address
"""
usersOnAddress(address: Address): [User]
}
type Mutation{
createAddress(postalCode:Int!, city:String): Address
deleteUser(id:ID):Boolean
}
`;
var schema = GenerateHtmlFromString(schemaString);
FAQs
This is a solution that can be used for visualization of an existing graphQL Schema, without the need of having an implemented service, in order to explore the API.
The npm package graphqlvisualizer receives a total of 31 weekly downloads. As such, graphqlvisualizer popularity was classified as not popular.
We found that graphqlvisualizer 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
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
Research
/Security News
Socket researchers investigate 4 malicious npm and PyPI packages with 56,000+ downloads that install surveillance malware.
Security News
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.