
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
@kie/build-chain-files-generator
Advanced tools
NodeJS tool to create files based on build configuration
It's a tool either to be used as a javascript library, a CLI or a github actions. The tool generate files (images, project-list.txt, ...) based on a build-chain definition file. See: Github Action Build Chain.
definition-file (mandatory): path to the file in filesystem | URL to the file
Example:
definition-file: './folder/whatever_definition_file.yaml' definition-file: 'http://yourdomain.com/definition-file.yaml' definition-file: 'https://raw.githubusercontent.com/kiegroup/droolsjbpm-build-bootstrap/master/.ci/pull-request-config.yaml' definition-file: 'https://raw.githubusercontent.com/kiegroup/droolsjbpm-build-bootstrap/${BRANCH}/.ci/pull-request-config.yaml' definition-file: 'https://raw.githubusercontent.com/${GROUP}/droolsjbpm-build-bootstrap/${BRANCH}/.ci/pull-request-config.yaml' definition-file: 'https://raw.githubusercontent.com/${GROUP}/${PROJECT_NAME}/${BRANCH}/.ci/pull-request-config.yaml'
output-file-path:
description: "the output file path to store the produced file"
required: true
font:
description: "the font used to generate image, something like 14px Arial
"
required: false
file-type (required): The file type you want to produce. Possible values:
output-file-path (required): The file path where the file will be stored. For instance:
output-file-path: 'folderx/my-project-hierarchy.png' output-file-path: 'project-list.txt'
Note: It make sense in case this is part of a flow where the files are either archived or stored as a new push to the repository/pull request.
exclude (optional): The list of projects or branches to exclude from project-list generation. For instance:
exclude: groupx/projectx # it will exclude groupx/projectx from the list exclude: | # it will exclude groupx/projectx, groupx/projecty and all the projects where the mapping is master:7.x groupx/projectx groupx/projecty @master:7.x
include (optional): The list of projects or branches to include from project-list generation. For instance:
include: groupx/projectx # it will include groupx/projectx from the list include: | # it will include groupx/projectx, groupx/projecty and all the projects where the mapping is master:7.x groupx/projectx groupx/projecty @master:7.x
font (optional): The font size and name to produce the image. For instance:
font: '14px Liberation Serif' font: '11px IBM Plex Sans Condensed 2'
Check this example: build-chain-files-generator -df https://raw.githubusercontent.com/kiegroup/droolsjbpm-build-bootstrap/master/.ci/pull-request-config.yaml -o image.png image -font "14px Arial"
where:
-df
: is the definition file-o
: the file path to store the fileimage
: the file type to generate-font
(optional): the font to useCheck this example:
build-chain-files-generator -df ./pull-request-config.yaml -o file.txt repository-list -exclude "groupx/projectX" "@master:main"
>build-chain-files-generator -df ./pull-request-config.yaml -o file.txt repository-list -include "groupx/projectY" "@main:master"
where:
-df
: is the definition file-o
: the file path to store the fileimage
: the file type to generate-exclude
(optional): the project list or mapping to exclude-include
(optional): the project list or mapping to includeFAQs
NodeJS tool to create files based on build configuration
We found that @kie/build-chain-files-generator demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.