
Security News
Follow-up and Clarification on Recent Malicious Ruby Gems Campaign
A clarification on our recent research investigating 60 malicious Ruby gems.
Mozilla Thunderbird uses the Mork database format for its folder indexes.
This library reads in a Mork file and produces a Mork::Data
instance.
This provides:
tables
- The top-level tables,rows
- The top-level rows (i.e. rows not contained in tables).require "mork/parser"
parser = Mork::Parser.new
content = File.read("MyFolder.msf")
raw = parser.parse(content)
data = raw.data
After checking out the repo, run bundle
to install dependencies.
Then, run rake spec
to run the tests.
To release a new version, update the version number in version.rb
,
and then run rake release
, which will create a git tag for the version,
push git commits and the created tag,
and push the .gem
file to rubygems.org.
The lexer, parser/mork.rex
, is written in Rexical grammar.
After changes, regenerate the Ruby lexer code:
$ rex parser/mork.rex --output-file lib/mork/lexer.rb
The parser, which uses the symbols lexed by lib/mork/lexer.rb
,
is parser/mork.y
.
To regenerate the parser:
$ racc parser/mork.y --output-file lib/mork/parser.rb
Bug reports and pull requests are welcome on GitHub at https://github.com/joeyates/mork. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.
The gem is available as open source under the terms of the MIT License.
Everyone interacting in the Mork project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.
FAQs
Unknown package
We found that mork-parser 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
A clarification on our recent research investigating 60 malicious Ruby gems.
Security News
ESLint now supports parallel linting with a new --concurrency flag, delivering major speed gains and closing a 10-year-old feature request.
Research
/Security News
A malicious Go module posing as an SSH brute forcer exfiltrates stolen credentials to a Telegram bot controlled by a Russian-speaking threat actor.