Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
A node tool to help you focus.
A small set of defaults come bundled with fokus. Here is the simplest usage just blocking default links.
sudo fokus
And you can also specify your own links from a file. The file need to export an array of links, like this
module.exports = [
"www.facebook.com",
"www.connoratherton.com"
]
And use the -u
option followed by the file..
sudo fokus -u /path/to/file
Use a custom file and no defaults
sudo fokus -u /path/to/file --no-defaults
To restore your /etc/hosts back to its original state run the following command. All traces of fokus will be gone.
sudo fokus --kill
You have to use sudo to modify /etc/hosts. I mainly use this myself, but if you want to use it check out the source beforehand so you understand what it does.
Note: You might have to clear your DNS cache.
sudo dscacheutil -flushcache
FAQs
A small tool to block websites using your hosts file.
The npm package fokus receives a total of 0 weekly downloads. As such, fokus popularity was classified as not popular.
We found that fokus 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
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.