🌍 Spec-compliant and production ready JavaScript GraphQL server that lets you develop in a schema-first way. Built for Express, Connect, Hapi, Koa, and more.
Installations
npm install apollo-server-core
Developer Guide
Typescript
Yes
Module System
CommonJS
Min. Node Version
>=12.0
Node Version
12.22.7
NPM Version
lerna/4.0.0/node@v12.22.7+x64 (linux)
Releases
@apollo/server@4.11.3
Published on 03 Jan 2025
@apollo/server-integration-testsuite@4.11.3
Published on 03 Jan 2025
@apollo/server-plugin-response-cache@4.1.4
Published on 03 Jan 2025
@apollo/server@4.11.2
Published on 29 Oct 2024
@apollo/server-integration-testsuite@4.11.2
Published on 29 Oct 2024
@apollo/server@4.11.1
Published on 29 Oct 2024
Contributors
Languages
TypeScript (55.93%)
JavaScript (43.61%)
Shell (0.45%)
Developer
Download Statistics
Total Downloads
388,702,569
Last Day
167,555
Last Week
725,081
Last Month
3,298,383
Last Year
52,102,804
GitHub Statistics
13,834 Stars
8,442 Commits
2,028 Forks
204 Watching
89 Branches
574 Contributors
Bundle Size
559.64 kB
Minified
121.72 kB
Minified + Gzipped
Package Meta Information
Latest Version
3.13.0
Package Id
apollo-server-core@3.13.0
Unpacked Size
940.67 kB
Size
205.19 kB
File Count
204
NPM Version
lerna/4.0.0/node@v12.22.7+x64 (linux)
Node Version
12.22.7
Publised On
14 Nov 2023
Total Downloads
Cumulative downloads
Total Downloads
388,702,569
Last day
-6.5%
167,555
Compared to previous day
Last week
-16.9%
725,081
Compared to previous week
Last month
1.1%
3,298,383
Compared to previous month
Last year
-34.2%
52,102,804
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
23
Peer Dependencies
1
apollo-server-core
This package implements the core logic of Apollo Server. It exports a base version of ApolloServer
. Typically you do not use this class directly but instead use an ApolloServer
imported from the batteries-included apollo-server
package or one of the integration packages like apollo-server-express
.
It also exports a set of plugins such as ApolloServerPluginUsageReporting
which you can provide to the plugins
option to the ApolloServer
constructor.
Stable Version
Stable Version
3.13.0
MODERATE
3
0/10
Summary
Batched HTTP requests may set incorrect `cache-control` response header
Affected Versions
>= 3.0.0, < 3.11.0
Patched Versions
3.11.0
0/10
Summary
apollo-server-core vulnerable to URL-based XSS attack affecting IE11 on default landing page
Affected Versions
>= 3.0.0, < 3.10.1
Patched Versions
3.10.1
0/10
Summary
Introspection in schema validation in Apollo Server
Affected Versions
< 2.14.2
Patched Versions
2.14.2
LOW
2
0/10
Summary
Prevent logging invalid header values
Affected Versions
< 2.26.1
Patched Versions
2.26.1
0/10
Summary
Prevent logging invalid header values
Affected Versions
>= 3.0.0, < 3.12.1
Patched Versions
3.12.1
Reason
no dangerous workflow patterns detected
Reason
30 commit(s) and 8 issue activity found in the last 90 days -- score normalized to 10
Reason
no binaries found in the repo
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: MIT License: LICENSE:0
Reason
security policy file detected
Details
- Info: security policy file detected: github.com/apollographql/.github/SECURITY.md:1
- Info: Found linked content: github.com/apollographql/.github/SECURITY.md:1
- Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/apollographql/.github/SECURITY.md:1
- Info: Found text in security policy: github.com/apollographql/.github/SECURITY.md:1
Reason
Found 5/19 approved changesets -- score normalized to 2
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Info: found token with 'none' permissions: .github/workflows/lock.yml:1
- Warn: no topLevel permission defined: .github/workflows/release-pr.yml:1
- Info: no jobLevel write permissions found
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/lock.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/apollographql/apollo-server/lock.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release-pr.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/apollographql/apollo-server/release-pr.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release-pr.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/apollographql/apollo-server/release-pr.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/release-pr.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/apollographql/apollo-server/release-pr.yml/main?enable=pin
- Warn: npmCommand not pinned by hash: smoke-test/prepare.sh:17
- Warn: npmCommand not pinned by hash: smoke-test/prepare.sh:22
- Warn: npmCommand not pinned by hash: smoke-test/prepare.sh:26
- Warn: npmCommand not pinned by hash: smoke-test/smoke-test.sh:71
- Warn: npmCommand not pinned by hash: .github/workflows/release-pr.yml:27
- Info: 0 out of 2 GitHub-owned GitHubAction dependencies pinned
- Info: 0 out of 2 third-party GitHubAction dependencies pinned
- Info: 0 out of 5 npmCommand dependencies pinned
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 30 are checked with a SAST tool
Reason
16 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-pxg6-pf52-xh8x
- Warn: Project is vulnerable to: GHSA-f6v4-cf5j-vf3w
- Warn: Project is vulnerable to: GHSA-78xj-cgh5-2h22
- Warn: Project is vulnerable to: GHSA-2p57-rm9w-gvfp
- Warn: Project is vulnerable to: GHSA-q674-xm3x-2926
- Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw
- Warn: Project is vulnerable to: GHSA-f5x3-32g6-xq36
- Warn: Project is vulnerable to: GHSA-5r9g-qh6m-jxff
- Warn: Project is vulnerable to: GHSA-r6ch-mqf9-qc9w
- Warn: Project is vulnerable to: GHSA-wqq4-5wpv-mx2g
- Warn: Project is vulnerable to: GHSA-3787-6prv-h9w3
- Warn: Project is vulnerable to: GHSA-9qxr-qj54-h672
- Warn: Project is vulnerable to: GHSA-m4v8-wqvr-p9f7
- Warn: Project is vulnerable to: GHSA-c76h-2ccp-4975
- Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q
- Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275
Score
4.7
/10
Last Scanned on 2025-01-27
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More