
Research
/Security News
Contagious Interview Campaign Escalates With 67 Malicious npm Packages and New Malware Loader
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.
puppet-lint-array_formatting-check
Advanced tools
A new check for puppet-lint that ensures array formatting conforms to the Puppet Style Guide on arrays; namely that each element should be on a separate line.
It will take an array formatted as
$packages = [ 'vim', 'sl', 'bind-utils', ]
and ensure that it's formatted as
$packages = [
'vim',
'sl',
'bind-utils',
]
In the name of readability, it'll ignore arrays with one element.
$my_short_package_list = [ 'emacs', ]
To use this plugin, add the following line to your Gemfile
gem 'puppet-lint-array_formatting-check'
and then run bundle install
.
You can also install it at a user level using
gem install --user-install puppet-lint-array_formatting-check
or at a system level using
sudo gem install puppet-lint-array_formatting-check
This plugin provides a new check to puppet-lint
.
--fix support: Yes
This check will raise warnings for every element in an array that should be on its own line
WARNING: expected newline before element on line 3
It will also raise warnings on extra (unnecessary) newlines in arrays
WARNING: unexpected newline on line 4
FAQs
Unknown package
We found that puppet-lint-array_formatting-check 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
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.
Security News
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.