
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
grpc-web-service-generator
Advanced tools
Wrapper service over base grpc-web.
$ yarn add grpc-web-service-generator
$ yarn grpc-web-service-generator --proto-file=./proto/rpc.proto --output-dir=./proto --skip-grpc-service
$ yarn grpc-web-service-generator --proto-file=./proto/rpc.proto --output-dir=./services/GrpcService
--proto-file
- path to main proto.--output-dir
- dir path for generated code.--skip-grpc-service
- disabling generation GrpcService (special for server-side)// rpc.proto
syntax = "proto3";
package RpcPackage;
service TodoService {
rpc AddTodo() returns () {}
}
import { GrpcService } from './GrpcService';
const grpcService = new GrpcService('http://localhost:8080');
grpcService.TodoService.AddTodo({}).then(response => ...)
import { GrpcService } from './GrpcService';
const grpcService = new GrpcService('http://localhost:8080');
grpcService.RpcPackage.TodoService.AddTodo({}).then(response => ...)
const updateGrpcServiceAccessToken = async () => {
storedAccessToken = await grpcService.AuthService.GetAccessToken();
console.log('updateGrpcServiceAccessToken', storedAccessToken);
grpcService.setAccessToken(storedAccessToken);
};
grpcService.interceptors.errors.push((e) => {
if (e === 'INVALID_TOKEN') {
return updateGrpcServiceAccessToken();
} else {
return Promise.resolve();
}
});
FAQs
gRPC-Web Service Generator
The npm package grpc-web-service-generator receives a total of 2 weekly downloads. As such, grpc-web-service-generator popularity was classified as not popular.
We found that grpc-web-service-generator 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.