Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Collect resource usage in a home environment.
konsum --config=<<some dir>> start
konsum --config=<<some dir>> list [category]
konsum --config=<<some dir>> insert category value [time]
konsum --config=<<some dir>> backup [file]
konsum --config=<<some dir>> restore [file]
npm -g install konsum
openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365 -nodes
openssl genrsa -out demo.rsa 1024
openssl rsa -in demo.rsa -pubout > demo.rsa.pub
test with:
curl -H "Content-Type: application/json" \
-d '{"username":"admin","password":"start123"}' \
-X POST http://localhost:12345/authenticate
and exec a request
TOKEN=...
CATEGORY=...
curl -H "Authorization: Bearer $TOKEN" \
http://localhost:12345/category/$CATEGORY/value
TOKEN=...
CATEGORY=...
curl -H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"value":"1234.5","time":"1995-12-17T03:24:00"}' \
http://localhost:12345/category/$CATEGORY/value
Or directly calling the executable
konsum insert ev 90091.3 '2019-06-22T13:44:17'
see openapi
Stop konsum server.
Reload konsum systemd config.
Create backup on server.
Backup data as text.
Retrieve service state.
Login to request api token. At least one entitlement starting with "konsum" is required.
Retrieve list of categories.
Add a new category.
Delete a category.
List values of a category.
Insert a value into a category.
Delete a value from a category.
List meters/notes of a category.
Add a meter/note to a category.
Update a meter/note.
Delete a meter/note.
FAQs
Collect resource usage in a home environment
The npm package konsum receives a total of 3 weekly downloads. As such, konsum popularity was classified as not popular.
We found that konsum demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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 researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.