Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
grpc-server-ts
Advanced tools
npm install grpc-server-ts --save
hello.proto
syntax = "proto3";
option java_multiple_files = true;
option java_package = "io.grpc.service.test";
option objc_class_prefix ="RTG";
package hello;
service Hello {
rpc say(stream Empty) returns (stream Word) {};
}
message Empty {
}
message Word {
string word = 1;
}
import { Route, Service } from "grpc-server-ts";
@Service('path_to_hello.proto')
export class HelloService {
@Route
public async say() {
return 'hello world';
}
}
import { RpcRegistry, Settings } from 'grpc-server-ts';
@Settings(settings)
class RPC extends RpcRegistry { }
RPC.start();
{
port: "3333", // listen port
host: "localhost", // listen host
ca: "runtime/rpc/ca.crt", // ca file path
cert: "runtime/rpc/server.crt", // cert file path
key: "runtime/rpc/server.key" // key file path
}
FAQs
a grpc server side module built by typescrpt
The npm package grpc-server-ts receives a total of 16 weekly downloads. As such, grpc-server-ts popularity was classified as not popular.
We found that grpc-server-ts demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.