
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@jbr-hook/cli
Advanced tools
A jbr hook type for a CLI-based hook.
If an experiment requires a hook, then you can install this CLI-based hook as follows.
$ jbr set-hook someHook cli
output/logs/cli-stdout.txt
: Logs of stdout.
output/logs/cli-stderr.txt
: Logs of stderr.
When installing this hook, your configuration file (jbr-experiment.json
) will contain the following:
...
"someHook": {
"@id": "urn:jrb:bb:hookSome",
"@type": "HookCli",
"entrypoint": [
"comunica-sparql-http",
"file@generated/dataset.nt",
"-p",
"3001"
],
"statsFilePath": "stats.csv"
}
...
entrypoint
: Array of command parts to execute when starting the experiment.statsFilePath
: Optional path to a CSV file in which the stats of the process will be written.jbr.js is written by Ruben Taelman.
This code is copyrighted by Ghent University – imec and released under the MIT license.
v6.0.0 - 2025-04-18
<a name="v5.7.1"></a>
FAQs
CLI-based hook handler for JBR
The npm package @jbr-hook/cli receives a total of 1,122 weekly downloads. As such, @jbr-hook/cli popularity was classified as popular.
We found that @jbr-hook/cli demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.