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.
cosmos-multi_field_bit_conversion
Advanced tools
A cosmos read conversion designed to combine the bits of several uint fields. Where values on the left are more significant, and values on the right are less significant. This conversaion will work with any number of uint fields, of any size.
Add this line to your application's Gemfile:
gem 'cosmos-multi_field_bit_conversion'
And then execute:
$ bundle
Or install it yourself as:
$ gem install cosmos-multi_field_bit_conversion
In your telemetry definition file: config/targets/my-target/cmd_tlm/test.txt
TELEMETRY PI TEST LITTLE_ENDIAN "Test Aggregate Packet"
APPEND_ID_ITEM TST_PK_ID 16 UINT 149 "Packet ID which must be 149"
APPEND_ITEM VALUE_A 8 UINT
APPEND_ITEM VALUE_B 8 UINT
ITEM HEAD_LENGTH 32 16 UINT
APPEND_ITEM VALUE_C 8 UINT
APPEND_ITEM VALUE_D 8 UINT
ITEM BOTH_FIELDS 0 0 DERIVED "Description"
READ_CONVERSION cosmos/multi_field_bit_conversion.rb VALUE_C VALUE_D
## Both fields is essentially (VALUE_C << 8 | VALUE_D)
In your target definition file config/targets/my-target/target.txt
REQUIRE cosmos/multi_field_bit_conversion.rb
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)FAQs
Unknown package
We found that cosmos-multi_field_bit_conversion 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.