
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
github.com/FelixAnna/web-service-dlw/finance-api
Advanced tools
a. 深圳住房指导价查询
1. 上传深圳二手房指导价数据 [SQL Server (default) / InMemory];
2. 查询, 过滤小区指导价。
b. 家庭作业
1. 数学加减法算术题生成,支持格式;
算术题:
* a + ? = c
* ? + b = c
* a + b = ?
* a - ? = c
* ? - b = c
* a - b = ?
應用題:
* 比a多/少b的數是c
减法支持仅正数模式;
前端已集成(React + Redux)。
upload file
example:
curl --location --request POST 'http://localhost:8484/zdj/upload' \
--header 'Content-Type: multipart/form-data' \
--form 'file=@"/D:/my/github/keep-learning/zdj.txt"'
search by criteria
curl --location --request POST 'http://localhost:8484/zdj/search' \
--header 'Content-Type: application/json' \
--data-raw '{
"Distrct": "福田",
"Street": "",
"Community": "",
"MinPrice": 49000,
"MaxPrice": 50000,
"Version": 2021,
"SortKey": "Price",
"Page": 1,
"Size":3
}'
generate mathematicals problems:
curl --location --request POST 'localhost:8484/homework/math/multiple' \
--header 'Content-Type: application/json' \
--data-raw '[
{
"Min": 10,
"Max": 100,
"Quantity": 3,
"Category": "+",
"Kind": "first"
},
{
"Min": 10,
"Max": 100,
"Quantity": 1,
"Category": "+",
"Kind": "second"
},
{
"Min": 10,
"Max": 100,
"Quantity": 2,
"Category": "+",
"Kind": "last"
}
]'
docker build -t finance-api . or docker build -t finance-api:1.0.0 .
docker image ls
docker image tag finance-api:latest finance-api:1.0.0
docker run -d -e AWS_ACCESS_KEY_ID=xyz -e AWS_SECRET_ACCESS_KEY=abc -e AWS_REGION=ap-southeast-1 -e profile=dev --publish 8484:8484 finance-api:1.0.0
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 researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.