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.
@stigg/sidecar
Advanced tools
Stigg Sidecar is a tiny service that runs alongside the main application, acting as a proxy between the host and the Stigg API, while ensuring low latency entitlement checks, handles caching and provides simplified access to real-time data.
The benefits of deploying the Sidecar:
Login to AWS ECR:
aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws/stigg
Run the service:
docker run --rm --name stigg-sidecar --memory=1gb --cpus="1" --publish=8443:8443 \
-e SERVER_API_KEY="<SERVER_API_KEY>" \
public.ecr.aws/stigg/sidecar:latest
Environment Variable | Type | Default | Description |
---|---|---|---|
SERVER_API_KEY | String* | Environment server API key | |
API_URL | String | https://api.stigg.io | Stigg API address URL |
EDGE_ENABLED | Boolean | 1 | Edge API enabled |
EDGE_API_URL | String | https://edge.api.stigg.io | Edge API URL |
WS_ENABLED | Boolean | 1 | Websocket enabled |
WS_URL | String | wss://api.stigg.io | Websocket API URL |
REDIS_ENVIRONMENT_PREFIX | String | Identifier of the environment. If provided, Redis cache will be used. | |
REDIS_HOST | String | localhost | Redis host address |
REDIS_PORT | Number | 6379 | Port of your redis |
REDIS_DB | Number | 0 | DB identifier to use when writing to Redis |
REDIS_USERNAME | String | Redis username | |
REDIS_PASSWORD | String | Redis password | |
REDIS_KEYS_TTL_IN_SECS | Number | 7 * 24 * 60 * 60 | Time for entitlements to be cached, in milliseconds |
PORT | Number | 8443 | Server port |
ENTITLEMENTS_FALLBACK | String | `` | Fallback entitlements in a JSON string format. |
*Required fields
The service exposes two endpoints:
GET /livez
Returns 200
if the service is alive.
Healthy response: {"status":"UP"}
GET /readyz
Returns 200
if the service is ready.
Healthy response: { "status": "UP" }
FAQs
Stigg sidecar
The npm package @stigg/sidecar receives a total of 3 weekly downloads. As such, @stigg/sidecar popularity was classified as not popular.
We found that @stigg/sidecar demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
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.