
Research
/Security News
DuckDB npm Account Compromised in Continuing Supply Chain Attack
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
slither is a utility for testing simple IO-based programs. It's perfect for algorithmic competitions like Codeforces or TopCoder, or for testing anything else where the only effects you care about are input and output.
$ npm install -g slither
# Wherever you want to use slither...
$ slither init
# Add a new testset
$ slither addset
# Add some tests to your testset
$ slither addtest [testset-name]
# Run the tests
$ slither test [testset-name]
# Helpful options:
# -t, --tests [tests] only run the specified tests
# -i, --inspect open the test inspector after testing
# Other commands: edittest, cattest
Custom set templates can be used by creating a JSON file in ~/.slither_templates
. Default templates:
{
"java": {
"limits": {
"timeout": 4000,
"memory": 64
},
"scripts": {
"compile": "javac {name}.java",
"run": "java -Xmx512M -Xss64M -DONLINE_JUDGE=false -Duser.language=en -Duser.region=US -Duser.variant=US {name}",
"cleanup": "ls | grep -e '{name}.*\\.class' | xargs rm"
}
},
"python": {
"limits": {
"timeout": 8000,
"memory": 64
},
"scripts": {
"run": "python {name}.py"
}
},
"js": {
"limits": {
"timeout": 2000,
"memory": 64
},
"scripts": {
"run": "node {name}.js"
}
}
}
FAQs
Quick testing for short scripts
The npm package slither receives a total of 12 weekly downloads. As such, slither popularity was classified as not popular.
We found that slither demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.