Security News
cURL Project and Go Security Teams Reject CVSS as Broken
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
@escape.tech/graphql-armor-cost-limit
Advanced tools
This plugin will limit the cost of a GraphQL query.
# npm
npm install @escape.tech/graphl-armor-cost-limit
# yarn
yarn add @escape.tech/graphl-armor-cost-limit
@graphql/graphql-js
import { costLimitRule } from '@escape.tech/graphql-armor-cost-limit';
@envelop/core
from @the-guild-org
import { envelop } from '@envelop/core';
import { costLimitPlugin } from '@escape.tech/graphql-armor-cost-limit';
const getEnveloped = envelop({
plugins: [
// ... other plugins ...
costLimitPlugin({
maxCost: 5000, // Default: 5000
objectCost: 2, // Default: 2
scalarCost: 1, // Default: 1
depthCostFactor: 1.5, // Default: 1.5
ignoreIntrospection: true, // Default: true
}),
]
})
FAQs
Limit the cost of a GraphQL Query.
The npm package @escape.tech/graphql-armor-cost-limit receives a total of 48,502 weekly downloads. As such, @escape.tech/graphql-armor-cost-limit popularity was classified as popular.
We found that @escape.tech/graphql-armor-cost-limit demonstrated a healthy version release cadence and project activity because the last version was released less than 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
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.