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.
redis-smq-rest-api
Advanced tools
RedisSMQ REST API offers an HTTP interface which allows any web capable application to interact with the RedisSMQ message queue using a RESTful API.
Currently, RedisSMQ REST API is distributed as an RC release and is still in active development.
To start using the REST API make sure that you are using the latest RedisSMQ V8 RC release.
npm i redis-smq-rest-api@rc --save
The REST API configuration extends RedisSMQ Configuration while adding the API server configuration.
export type THttpApiConfig = {
port?: number;
host?: string;
basePath?: string;
};
export interface IRedisSMQHttpApiConfig extends IRedisSMQConfig {
apiServer?: THttpApiConfig;
}
import { RedisSmqRestApi } from 'redis-smq-rest-api';
const config: IRedisSMQHttpApiConfig = {
redis: {
client: ERedisConfigClient.IOREDIS,
options: {
host: '127.0.0.1',
port: 6379,
},
},
apiServer: {
host: '127.0.0.1',
port: 7210
}
};
const apiServer = new RedisSmqRestApi(config);
apiServer.run();
Once your RedisSMQ API server is up and running you may view the API Reference and try it directly from
the Swagger UI which is accessible via http://<HOSTAME:PORT>/docs
.
The OpenAPI specification is available at http://<HOSTAME:PORT>/assets/openapi-specs.json
FAQs
A RESTful API for RedisSMQ
The npm package redis-smq-rest-api receives a total of 568 weekly downloads. As such, redis-smq-rest-api popularity was classified as not popular.
We found that redis-smq-rest-api demonstrated a healthy version release cadence and project activity because the last version was released less than 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.