
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
@theconcurrent/graphiql-query-generator
Advanced tools
A GraphiQL plugin that automatically generates GraphQL operation queries based on specified resources, enhancing development productivity.
yarn add @theconcurrent/graphiql-query-generator
const config = {
adminPath: 'admin',
nodeRepresentatives: ['id'],
resources: [
{
name: 'Announcement',
list: {},
show: {},
create: { path: 'announcementCreate.announcement' },
update: { path: 'announcementUpdate.announcement' },
delete: { path: 'announcementDelete.announcement' },
},
],
collection: {
dataPath: 'nodes',
totalPath: 'totalCount',
typeNameSuffix: 'Collection',
},
};
# schema.graphql
type Query {
admin: Admin
}
type Admin {
user(id: ID): User
userList: UserCollection!
}
type User {
id: ID
name: String
}
type UserCollection {
nodes: [User!]
totalCount: Int
}
input UserCreateInput {
userInput: UserInput!
clientMutationId: String
}
input UserInput {
name: String
}
type UserCreatePayload {
user: User!
clientMutationId: String
}
type UserDeletePayload {
user: User!
clientMutationId: String
}
input UserDeleteInput {
clientMutationId: String
id: ID!
}
type UserUpdatePayload {
user: User!
clientMutationId: String
}
input UserUpdateInput {
userInput: UserInput!
clientMutationId: String
id: ID!
}
type Mutation {
userCreate(input: UserCreateInput!): UserCreatePayload
userDelete(input: UserDeleteInput!): UserDeletePayload
userUpdate(input: UserUpdateInput!): UserUpdatePayload
}
FAQs
A GraphiQL plugin that automatically generates GraphQL operation queries based on specified resources, enhancing development productivity.
The npm package @theconcurrent/graphiql-query-generator receives a total of 1 weekly downloads. As such, @theconcurrent/graphiql-query-generator popularity was classified as not popular.
We found that @theconcurrent/graphiql-query-generator 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
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.