
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
npm-package-deployer
Advanced tools
Run npm install npm-package-deployer
Run deploy-pkg <package name>
to deploy an automatic version locally. Here are available flags:
CLI argument | Explanation |
---|---|
--npm-access-token | The NPM access token. Required for NPM package deployments. |
--npm-registry | The NPM registry. Default: registry.npmjs.org |
--npm-scope | The NPM scope. The scope of the NPM package. Default: '' |
--github-access-token | The GitHub access token. Required for GitHub release deployments. |
--github-owner | The GitHub owner. Required for GitHub release deployments. |
--github-repo | The GitHub repo. Required for GitHub release deployments. |
--pretty-print | Printing data in a more "readable" format |
--debug | If to print debug logs |
--dry-run | If to release packages in a dry run |
You can integrate with a GitHub action workflow using the 'package-deploy-bot' GitHub action:
deployment:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setting up the environment
run: npm install
- name: Deploying version
uses: ./
with:
pkg_name: npm-package-deployer
pkg_managers: '[github, npm]'
npm_registry: registry.npmjs.org
npm_access_token: ${{secrets.NPM_AUTH_TOKEN}}
github_access_token: ${{secrets.G_AUTH_TOKEN}}
dry_run: true
debug: true
Parameters | Explanation |
---|---|
package_managers | A list of package deployments. i.e. '[github, npm]'. Available options are github, npm. |
pkg_name | The name of the package. |
npm_access_token | The NPM access token. Required for NPM package deployments. |
npm_registry | The NPM registry. Default: registry.npmjs.org |
npm_scope | The NPM scope. The scope of the NPM package. Default: '' |
github_access_token | The GitHub access token. Required for GitHub release deployments. |
github_owner | The GitHub owner. Required for GitHub release deployments. |
github_repo | The GitHub repo. Required for GitHub release deployments. |
pretty_print | Printing data in a more "readable" format |
debug | If to print debug logs |
dry_run | If to release packages in a dry run |
FAQs
A useful tool to deploy an NPM version via CLI
The npm package npm-package-deployer receives a total of 10 weekly downloads. As such, npm-package-deployer popularity was classified as not popular.
We found that npm-package-deployer 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.