
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.
Browse /proc fs on Linux.
This is a draft version.
Manual install, with:
$ gem install procfs2
Add to Gemfile with:
$ bundle add procfs2
This is a draft version.
It may change or not.
Comments / PR welcome !
Example of usage:
@p = Procfs2.proc
puts @p
puts @p.version._path
puts @p.version._raw_content
puts @p.version.version
puts @p.version.timestamp
puts @p.pid('self').fd._path
puts @p.pid('self').fd.id(0)
puts @p.pid(1091714).fd.id(3).type
puts @p.pid(1091714).fd.select { |fd| fd.type == 'socket' }
puts @p.pid(1091714).fd.select { |fd| fd.type == 'socket' }.map { |fd| fd.inode }
puts @p.net.tcp.by_inode(2235042).id
puts @p.net.tcp.by_inode(2235042).remote_address
puts @p.net.tcp.by_inode(2235042).remote_port
puts @p.net.tcp.by_inode(2235042).state_str
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/procfs2.
The gem is available as open source under the terms of the MIT License.
FAQs
Unknown package
We found that procfs2 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.