
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.
@croct/rule-engine-url-variables
Advanced tools
A rule engine extension for passing variables through the URL.
URL Variables Extension
A Rule Engine extension for passing variables through the URL.
📦Releases
·
🐞Report Bug
·
✨Request Feature
The recommended way to install this plugin is using NPM. It pairs nicely with module bundlers such as Rollup, Webpack or Browserify and includes Typescript typings.
Run the following command to install the latest version:
npm install @croct/rule-engine-url-variables
import croct from '@croct/plug';
import '@croct/rule-engine';
import '@croct/rule-engine-url-variables';
croct.plug({
appId: '<APP_ID>',
plugins: {
rules: {
extensions: {
urlVariables: {
prefix: 'ct-',
},
},
pages: {
// (omitted for conciseness)
}
},
},
});
Contributions to the package are always welcome!
Before running the test suites, the development dependencies must be installed:
npm install
Then, to run all tests:
npm run test
Run the following command to check the code against the style guide:
npm run lint
Before building the project, the dependencies must be installed:
npm install
Then, to build the CommonJS module:
npm run build
This project is released under the MIT License.
FAQs
A rule engine extension for passing variables through the URL.
We found that @croct/rule-engine-url-variables demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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 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.