
Research
/Security News
Fake imToken Chrome Extension Steals Seed Phrases via Phishing Redirects
Mixed-script homoglyphs and a lookalike domain mimic imToken’s import flow to capture mnemonics and private keys.
@studio/gateway
Advanced tools
A custom Swagger server and compiler with AWS Lambda and mock integration, for local API Gateway testing.
$ref to external files - compiles to single AWS compatible fileAssuming a swagger.json file in the current directory:
const gateway = require('@studio/gateway');
const lambda = require('@studio/lambda');
const lambda_ctrl = lambda.create();
const gateway_server = gateway.create(lambda_ctrl)
gateway_server.on('lambda', lambda_ctrl.invoke);
gateway_server.listen(1337);
gateway_server = gateway.create([options]): Returns a new gateway server
for the given options.
swagger_file: The swagger file to read. Defaults to swagger.json.swagger_env: The dotenv config to read.gateway_server.listen(port[, callback]): Bind the server to the given port.lambda(name, event, context, callback): When a lambda integration should be
invoked. See @studio/lambda for a custom Lambda execution environment.This module ships with a swagger command to compile a swagger.json file with
references to other files into a single AWS compatible file.
Use in npm scripts like this:
{
"scripts": {
"swagger:prod": "swagger -o target/swagger-prod.json"
}
}
The swagger optionally loads the dotenv module and replaces environment
${variables}.
These options are supported:
-f, --file: Sets the name of the swagger file. Defaults to swagger.json.-e, --env: Sets the path to a dotenv config file.-o, --outfile: Defines the output file to write to. If not specified, the
result is printed to standard out.Note that all environment variables can be used. When using npm scripts as
shown above, you can also do things like ${npm_package_version}.
FAQs
JavaScript Studio Gateway
The npm package @studio/gateway receives a total of 12 weekly downloads. As such, @studio/gateway popularity was classified as not popular.
We found that @studio/gateway demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.

Research
/Security News
Mixed-script homoglyphs and a lookalike domain mimic imToken’s import flow to capture mnemonics and private keys.

Security News
Latio’s 2026 report recognizes Socket as a Supply Chain Innovator and highlights our work in 0-day malware detection, SCA, and auto-patching.

Company News
Join Socket for live demos, rooftop happy hours, and one-on-one meetings during BSidesSF and RSA 2026 in San Francisco.