Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Snake-powered pipe cleaner eats single-line Suricata rules and poops out pleasantly-spaced, vibrantly-coloured delicacies straight to your plate. Examine this exemplary example:
alert tcp $HOME_NET any -> 94.242.238.242 6565 (msg:"EmergingThreats:Indicator-2405101"; flow:to_server,established; flags:S; reference:url,doc.emergingthreats.net/bin/view/Main/BotCC; reference:url,www.shadowserver.org; threshold: type limit, track by_src, seconds 360, count 1; classtype:trojan-activity; flowbits:set,ET.Evil; flowbits:set,ET.BotccIP; sid: 533; rev:4991;)
Now watch as the snake-babies devour such fine a morsel – the last food for winter – then travel northward to return to their mates, leaving behind their season's work:
alert tcp $HOME_NET any -> 94.242.238.242 6565 ( \
msg: "EmergingThreats:Indicator-2405101"; \
flow: to_server,established; \
flags: S; \
reference: url,doc.emergingthreats.net/bin/view/Main/BotCC; \
reference: url,www.shadowserver.org; \
threshold: type limit, track by_src, seconds 360, count 1; \
classtype: trojan-activity; \
flowbits: set,ET.Evil; \
flowbits: set,ET.BotccIP; \
sid: 533; \
rev: 4991; \
)
Note: options with line continuations tested working with Suricata 4.0.4
pip install suricata-prettifier
Highlight and format right in your console. Wow.
prettify-suricata input.rules
Use it to generate sweet posts for your LiveJournal (Netscape Navigator required to view)
prettify-suricata -f html input.rules input.formatted.html style=vim full=True
Read from stdin and write to stdout to create your own pipe dream
head -n 50 input.rules | prettify-suricata -f html - - style=vim full=True | tee input.formatted.html
FAQs
Format and syntax highlight Suricata rules
We found that suricata-prettifier demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.