Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
graphql-playground-middleware-koa
Advanced tools
GraphQL IDE for better development workflows (GraphQL Subscriptions, interactive docs & collaboration).
Koa middleware to expose an endpoint for the GraphQL Playground IDE SECURITY NOTE: All versions of
graphql-playground-koa
until1.6.15
or later have a security vulnerability when unsanitized user input is used while invokingkoaPlayground()
. Read more below
Using yarn:
yarn add graphql-playground-middleware-koa
Or npm:
npm install graphql-playground-middleware-koa --save
See full example in examples/basic.
const koa = require('koa')
const koaRouter = require('koa-router')
const koaPlayground = require('graphql-playground-middleware-koa')
const app = new koa()
const router = new koaRouter()
router.all('/playground', koaPlayground({ endpoint: '/graphql' }))
All versions before 1.6.15
were vulnerable to user-defined input to koaPlayground()
. Read more in the security notes
To fix the issue, you can upgrade to 1.6.15
or later. If you aren't able to upgrade, see the security notes for a workaround.
yarn:
yarn add graphql-playground-koa@^1.6.15
npm:
npm install --save graphql-playground-koa@^1.6.15
FAQs
GraphQL IDE for better development workflows (GraphQL Subscriptions, interactive docs & collaboration).
The npm package graphql-playground-middleware-koa receives a total of 23,097 weekly downloads. As such, graphql-playground-middleware-koa popularity was classified as popular.
We found that graphql-playground-middleware-koa demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 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.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.