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.
github.com/FrancoLiberali/uala_challenge
Coding challenge para Ualá
La solución del challenge se encuentra desplegada en AWS. A continuación se muestran los pasos para la ejecución de una demo utilizando curl:
Comienza a seguir a un usuario:
curl -X POST https://x7vywn4yub.execute-api.us-east-2.amazonaws.com/prod/user/1/follower/2
Crea un tweet:
curl -X POST https://x7vywn4yub.execute-api.us-east-2.amazonaws.com/prod/user/1/tweet -H 'Content-type: application/json' -d '{ "content": "este es un ejemplo" }'
Consulta el timeline:
curl https://x7vywn4yub.execute-api.us-east-2.amazonaws.com/prod/user/2/timeline
Para más información sobre los endpoints disponibles mira api docs.
La misma demo puede ser ejecutada en la version local de la solución:
Lanza el servidor web:
docker compose -f "docker/docker-compose.yml" up -d
Comienza a seguir a un usuario:
curl -X POST localhost:8080/user/1/follower/2
Crea un tweet:
curl -X POST localhost:8080/user/1/tweet -H 'Content-type: application/json' -d '{ "content": "este es un ejemplo" }'
Consulta el timeline:
curl localhost:8080/user/2/timeline
La documentación de los endpoints disponibles se encuentra en el documento swagger.json
. Puedes verlo de forma sencilla utilizando swagger-ui:
Corre el servidor web:
docker run -p 8081:8080 -e SWAGGER_JSON=/swagger.json -v ./swagger.json:/swagger.json swaggerapi/swagger-ui
Ingresa a localhost:8081 desde tu navegador.
FAQs
Unknown package
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.