
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
device-discovery
Advanced tools
Discover devices on your local network.
npm install device-discovery
const discovery = require('device-discovery')
({ type: 'ICMP', iface: 'WiFi' })
discovery.on('device', console.log)
// => 192.168.0.20
// 192.168.0.31
// ...
discovery.on('done', () =>
console.log('Done!'))
require('device-discovery')(options)
<Object>
<String>
: default = ICMP
; the protocol used for device discovery, one of ICMP
or TCP
<String>
: default = WiFi
; the interface on which to scan for devices<Number>
: default = 2
; the start of the range of hosts to be scanned<Number>
: default = 254
; the end of the range of hosts to be scanned<Number>
: default = 1
; the port to be scanned (TCP
only)<Number>
: default = 3000
; the timeout after which the scan of a host will be considered a miss<Number>
: default = 0
; the number of retries for pinging a host (ICMP
only)<Boolean>
: default = true
; whether to exclude the device the discovery is run on<Error>
if the interface cannot be found or the type is unknown<EventEmitter>
with the following events:
<String>
: the IPv4 address of the device found()
: if the discovery is doneWTFPL – Do What the F*ck You Want to Public License.
Made with :heart: by @MarkTiedemann.
FAQs
Discover devices on your local network.
We found that device-discovery 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.