Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@gapi/cli

Latest version: v1.8.296

Overview

Last scanned
28 Nov 2026
Published
28 Nov 2026
npm package Publisher: gapi, kristian.tachev
4 Stars
0 Forks
59 Versions
10.0K Downloads

Scan summary

@gapi/cli was last scanned on 28 Nov 2026 at version 1.8.296. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 59 versions; the latest 5 were published within 2 days (27 and 28 Nov 2026).
  • Findings: No rules fired in version 1.8.296.
  • Downloads: 9,999 downloads.

Versions

59 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.8.296 LATEST 28 Nov 2026 No rules fired
1.8.295 28 Nov 2026 No rules fired
1.8.294 27 Nov 2026 No rules fired
1.8.293 27 Nov 2026 Not shown
1.8.292 27 Nov 2026 Not shown

No rules fired in 1.8.296

Findings

Findings for v1.8.296. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 1.8.296; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

This is CLI project related with GAPI graphQL api with typescript Decorators

WIKI
Gapi - Advanced graphql server with typescript decorators
Starter - Basic starter project
Starter-advanced - Advanced starter project
Gapi-angular-client - Gapi Apollo Angular client
To install gapi utility type following command:
npm i -g @gapi/cli
To create new basic project from scratch via CLI type:
gapi new my-project
To create new advanced project from scratch via CLI type:
gapi new my-project --advanced
To create new basic project with microservices from scratch via CLI type:
gapi new my-project --microservices
Available commands
Create new project
gapi new project-name
Start created project.
gapi start
(Uses internally on every restart to introspect api schema check "gapi schema introspect" command)
Can be disabled inside package.json > nodemonConfig > events > restart
With this configuration it will make request to localhost:9000 and will take current API schema then will generate graphql.d.ts based on introspection
  "nodemonConfig": {
    "events": {
      "restart": "sleep 1 && gapi schema introspect"
    }
  },
Start production (it will start pm2 and will use process.yml file inside working directory)
gapi start --prod --pm2
Start production inside Docker(it will start pm2-docker and will use process.yml file inside working directory)
gapi start --prod --docker
Start testing
Run single test iteration
Will take config > test > local configuration inside @gapi/cli.conf.yml
gapi test
Run tests in watch mode
gapi test --watch
Run tests with different environment
It will take configuration from @gapi/cli.conf.yml
You can extend configurations from APP when you write after environment "extends app/my-environment"
Custom testing environments
config:
  app:
    local:
      API_PORT: 9000
      API_CERT: ./cert.key
      NODE_ENV: development
      AMQP_HOST: 182.10.0.5
      AMQP_PORT: 5672
    prod:
      API_PORT: 9000
      API_CERT: ./cert.key
      NODE_ENV: production
      AMQP_HOST: 182.10.0.5
      AMQP_PORT: 5672
    my-environment:
      API_PORT: 9000
      API_CERT: ./cert.key
      NODE_ENV: development
      AMQP_HOST: 182.10.0.5
      AMQP_PORT: 5672
  test:
    my-environment: extends app/my-environment
    local: extends app/local
    prod: extends app/prod
    worker:
      API_PORT: 9000
      API_CERT: ./cert.key
      NODE_ENV: production
      AMQP_HOST: 182.10.0.5
      AMQP_PORT: 5672
Running with Testing worker environment
gapi test --worker
Running with Production environment
gapi test --prod
Running with custom enviroment
gapi test --my-enviroment
Schema
Schema introspection
It will generate graphql.d.ts file based on given address and output folder
Uses @gapi/cli.conf.yml file
config:
  schema:
    introspectionEndpoint: http://localhost:9000/graphql
    introspectionOutputFolder: ./src/app/core/api-introspection
gapi schema introspect
strictNullability - keep NonNull output fields required

By default every field of a generated OUTPUT interface is optional (field?: T). With strictNullability: true (or --strict-nullability) a NonNull output field stays required (field: T) and only nullable fields are optional (field?: T | null), so the generated types match the schema exactly. __typename stays optional.

config:
  schema:
    introspectionEndpoint: http://localhost:9000/graphql
    introspectionOutputFolder: ./src/app/core/api-introspection
    strictNullability: true
Available shared commands are:
--verbose - Show better logging

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm @gapi/cli

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Frame 2085668439 (1)
Group 1261154229