Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
libclang-rb
This small gem provides a bundled libclang
shared library which, should work well on OSX, Windows, as well as usual Linux distributions. It shamelessly uses the bundled libclang
from the great libclang
PyPi project.
The gem version is the same as the libclang
version it bundles. Right now, that's corresponds 14
, but willing to add lower versions if there's demand.
x86_64-darwin
x86_64-linux
x86_64-linux-musl
x64-mingw32
x64-mingw-ucrt
aarch64-linux
arm64-darwin
Install the gem and add to the application's Gemfile by executing:
$ bundle lock --add-platform $ONE_OF_THE_ABOVE_PLATFORMS
$ bundle add libclang
If bundler is not being used to manage dependencies, install the gem by executing:
$ gem install libclang
This gem simply provides a libclang.(so|dylib|dll)
so it does not do much. It is up to the user to use it in their own way.
$ nm -gU "$(ruby -rlibclang -e 'puts Libclang.path')"
...
0000000000025e3c T _clang_BlockCommandComment_getArgText
0000000000025d8c T _clang_BlockCommandComment_getCommandName
0000000000025e18 T _clang_BlockCommandComment_getNumArgs
0000000000025e74 T _clang_BlockCommandComment_getParagraph
....
Bug reports and pull requests are welcome on GitHub.
The gem is available as open source under the terms of the Apache-2.0 License.
Everyone interacting in the Libclang project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.
FAQs
Unknown package
We found that libclang 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
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.