Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
pactum-flow-plugin
Advanced tools
plugin to publish flows, interactions and run contract tests locally
plugin to publish flows, interactions & run contract tests locally
const pf = require('pactum-flow-plugin');
const { reporter } = require('pactum');
// global before block
before(() => {
pf.config.url = '<pactum-flow-server-url>';
pf.config.projectId = '<unique-project-id>';
pf.config.projectName = '<unique-project-name>';
pf.config.version = '<unique-project-version>';
pf.config.username = '<username>';
pf.config.password = '<password>';
reporter.add(pf.reporter);
});
// global after block
after(async () => {
await reporter.end();
});
option | type | description | others |
---|---|---|---|
url | string | pactum flow server url | required (if publish is true ) |
projectId | string | unique project id | required (if publish is true ) |
projectName | string | unique project name | required (if publish is true ) |
version | string | unique project version | required (if publish is true ) |
token | string | auth token | required (if publish is true ) |
username | string | scanner username | required (if token is empty ) |
password | string | scanner password | required (if token is empty ) |
batchSize | number | pactum flow server url | defaults to 10 |
publish | boolean | enable publishing contracts | defaults to true |
dir | boolean | save contracts in fs | defaults to false |
dir | string | save contracts in custom path | defaults to .pactum/contracts/ |
checkQualityGate | boolean | check quality gate | defaults to false |
checkQualityGateLocal | boolean | check quality gate locally without publishing | defaults to false |
checkQualityGateTimeout | number | check quality gate timeout | defaults to 10000 ms |
checkQualityGateEnvironments | string | check quality gate against the given envs | defaults to all envs |
checkQualityGateDefaultDelay | number | default delay to wait for processing analysis | defaults to 2000 ms |
jUnitReporter | boolean | enable jUnit reporter | defaults to false |
jUnitReporterPath | string | junit reporter path | defaults to contract-tests |
FAQs
plugin to publish flows, interactions and run contract tests locally
The npm package pactum-flow-plugin receives a total of 537 weekly downloads. As such, pactum-flow-plugin popularity was classified as not popular.
We found that pactum-flow-plugin 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
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.