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.
backstage-grpc-playground-backend
Advanced tools
A backend plugin for Backstage supporting gRPC playground
This repo contains backend code of the backstage-grpc-playground
Install backstage-grpc-playground-backend for packages/backend
E.g: In your backstage project root
yarn --cwd packages/backend add backstage-grpc-playground-backend
Create a new file packages/backend/src/plugins/grpc-playground.ts
// packages/backend/src/plugins/grpc-playground.ts
import { ScmIntegrations } from '@backstage/integration';
import { createRouter } from 'backstage-grpc-playground-backend';
import { Router } from 'express';
import { PluginEnvironment } from '../types';
export default async function createPlugin(
env: PluginEnvironment,
): Promise<Router> {
const { config, reader } = env;
const integrations = ScmIntegrations.fromConfig(config);
return await createRouter({
logger: env.logger,
reader,
integrations,
});
}
/grpc-playground
path in backstage backend// packages/backend/src/index.ts
import grpcPlayground from './plugins/grpc-playground';
async function main() {
// other env
const grpcPlaygroundEnv = useHotMemoize(module, () => createEnv('grpc-playground'));
// init router
// ...
// register before notFoundHandler
apiRouter.use('/grpc-playground', await grpcPlayground(grpcPlaygroundEnv));
// not found handler
apiRouter.use(notFoundHandler());
}
See examples
FAQs
A backend plugin for Backstage supporting gRPC playground
The npm package backstage-grpc-playground-backend receives a total of 118 weekly downloads. As such, backstage-grpc-playground-backend popularity was classified as not popular.
We found that backstage-grpc-playground-backend 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.