
Research
SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.
acc-lib
Advanced tools
Accelerator physics library containing plotting tools and other useful methods to handle data from X-suite tracking and other beam dynamics software, in constant evolution along with my PhD projects.
Installation can be easily done via:
pip install acc_lib
The class plot_tools contains several plotting methods to illustrate the turn-by-turn data generated by X-suite trackers, including centroid evolution, phase space distributions, Twiss parameters, simple FFT and tune footprint.
The class resonance_lines, based upon the base class from Foteini Asvesta, contains methods to plot resonance lines of a given order in a given interval for tune plots. In particular, the method plot_resonance_and_tune_footprint allows to print the tune footprint from X-suite tracking together with the resonance lines of a given order.
The class particles allows to display particle properties.
The class madx_tools contains methods to print errors from a crashed MAD-X process, print the elements neatly, plot the beam envelope, get the realistic apertures for both starting and end points of each element, and to plot the aperture together with the beam envelope.
The class footprint, inspired by this X-suite example, allows for convenient plotting of footprints of coordinates in Cartesian/polar, but also of the tunes.
FAQs
Personal collection of methods useful for accelerator physics
We found that acc-lib demonstrated a healthy version release cadence and project activity because the last version was released less than 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
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.

Company News
Socket is proud to join the OpenJS Foundation as a Silver Member, deepening our commitment to the long-term health and security of the JavaScript ecosystem.

Security News
npm now links to Socket's security analysis on every package page. Here's what you'll find when you click through.