
Research
/Security News
Malicious npm Packages Target WhatsApp Developers with Remote Kill Switch
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
ObjectTree is like tree command for Ruby ancestors.
$ gem install object_tree
require 'object_tree'
class A
end
class B < A
end
class C < B
end
puts ObjectTree.create(A)
output
<C> A
└───── <C> B
└───── <C> C
more complex pattern
require 'object_tree'
module D
end
module E
end
class A
include D
end
class B < A
end
class C < A
include E
end
class F < B
include E
end
puts ObjectTree.create(D)
output
<M> D
└───── <C> A
├───── <C> B
│ └───── <M> E
│ └───── <C> F
└───── <M> E
└───── <C> C
can use from terminal by using rotree
command.
$ rotree Numeric
Ruby 2.3.3
<C> Numeric
├───── <C> Complex
├───── <C> Float
├───── <C> Integer
│ ├───── <C> Bignum
│ └───── <C> Fixnum
└───── <C> Rational
Ruby 2.4.0
<C> Numeric
├───── <C> Complex
├───── <C> Float
├───── <C> Integer
└───── <C> Rational
you can see unify Fixnum and Bignum into Integer from ruby 2.4.0
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)FAQs
Unknown package
We found that object_tree 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.
Research
/Security News
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
Research
/Security News
Socket uncovered 11 malicious Go packages using obfuscated loaders to fetch and execute second-stage payloads via C2 domains.
Security News
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.