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.
@colucom/osseus-server
Advanced tools
express based osseus web server module
$ npm install @colucom/osseus-server
Mandatory:
OSSEUS_SERVER_PORT
Optional:
OSSEUS_SERVER_REQUEST_ID_HEADER
OSSEUS_SERVER_MAINTENANCE_ENABLED
true
to enable maintenance mode on serverOSSEUS_SERVER_MAINTENANCE_MESSAGE
OSSEUS_SERVER_MAINTENANCE_OVERRIDE_HEADER
OSSEUS_SERVER_ALLOWED_IP
OSSEUS_SERVER_COMPRESION_ENABLED
true
to enable compression middlewareOSSEUS_SERVER_COMPRESSION_LEVEL
OSSEUS_SERVER_NO_COMPRESSION_HEADER
OSSEUS_SERVER_MORGAN_FORMAT
OSSEUS_SERVER_CORS_WHITELIST
OSSEUS_SERVER_STATIC_ENGINE_TYPE
OSSEUS_SERVER_VIEWS_FOLDER
OSSEUS_SERVER_STATIC_FOLDER
OSSEUS_SERVER_ADD_HEALTHCHECK
/healthcheck
endpoint which returns OK
with status code 200OSSEUS_SERVER_ADD_IS_RUNNING
/is_running
endpoint which returns OK
with status code 200First, create index.js
:
const Osseus = require('osseus')
const main = async () => {
try {
// init osseus
const osseus = await Osseus.init()
} catch (err) {
console.error(err)
}
}
main()
Running:
$ node index.js --OSSEUS_SERVER_PORT 8080
Will result in:
server is listening on port: 8080
Please see contributing guidelines.
Code released under the MIT License.
FAQs
Osseus server
The npm package @colucom/osseus-server receives a total of 8 weekly downloads. As such, @colucom/osseus-server popularity was classified as not popular.
We found that @colucom/osseus-server demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 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.