
Security News
Nx npm Packages Compromised in Supply Chain Attack Weaponizing AI CLI Tools
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Manic is a static site generator, with configuration in ruby.
bin/manic
looks for config.manic
in the current working directory.. parsing site into output
Manic.config do
# set global variables
site_title "Manic static site example
author "Justin Baker"
# extend with helper method
plugin TagHelper
plugin "filename"
# add helper method for use in templates
img_tag lambda{|src| "<img src=\"#{src}\" />"}
end
Plugins are as basic as they can be. The API consists of just a module with helper methods.
By default, all files in plugins
will be autoloaded and available. This doesn't mean you can't load plugins other ways.
Calling plugin ModuleName
or plugin "filename"
in the Manic config file will load a plugin.
Helper methods can also be defined inside the Manic config by passing a lambda.
Manic.config do
img_tag lambda{|src| "<img src=\"#{src}\" />"}
end
Now you have an img_tag
helper method available to you.
FAQs
Unknown package
We found that manic 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.
Security News
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.