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.
JavaScript implementation of DICOM manipulation. This code is an outgrowth of several efforts to implement web applications for medical imaging.
Note: this code is a work-in-progress and should not be used for production or clinical purposes
Overall the code should:
Architectural goals include:
Parts of DICOM that dcmjs will focus on:
Parts of DICOM that dcmjs will not focus on:
<script type="text/javascript" src="https://unpkg.com/dcmjs"></script>
// To install latest _stable_ release
npm install --save dcmjs
// To install latest code merged to master
npm install --save dcmjs@dev
git clone https://github.com/dcmjs-org/dcmjs
cd dcmjs
npm install
npm run build
npm test
Publish new version automatically from commit:
Use the following "Commit Message Format" when drafting commit messages. If you're merging a 3rd party's PR, you have the ability to override the supplied commit messages by doing a "Squash & Merge":
Note: Be wary of BREAKING_CHANGE
in commit message descriptions, as this can force a major version bump.
Be sure to use lower case for the first letter of your semantic commit message, so use fix
not Fix
or feat
not Feat
.
It is advised to use the git-cz, i.e.:
npm install -g git-cz
git-cz --non-interactive --type=fix --subject="commit message"
More info at git-cz.
Note: a new package version will be published only if the commit comes from a PR.
Use this repository's issues page to report any bugs. Please follow SSCCE guidelines when submitting issues.
Use github pull requests to make contributions.
Tests are written using the Jest testing framework and live in the test/
folder. Test file names must end with .test.js
.
Pull requests should either update existing tests or add new tests in order to ensure good test coverage of the changes being made.
To run all tests use npm run test
. To only run specific tests use Jest's .only
feature. If you're using VS Code, an extension such as firsttris.vscode-jest-runner
can be used to step through specific tests in the debugger.
Read all about unit testing best practices here.
Currently dcmjs is an early-stage development experiment, but already has valuable functionality.
The developers gratefully acknowledge their research support:
FAQs
Javascript implementation of DICOM manipulation
The npm package dcmjs receives a total of 15,069 weekly downloads. As such, dcmjs popularity was classified as popular.
We found that dcmjs demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
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.