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.
@focus-me/focus-cli
Advanced tools
A configurable timer with a plugin system meant to automate various tasks when the timer starts, stops, or ticks.
A configurable timer with a plugin system meant to automate various tasks when the timer starts, stops, or ticks.
The goal of this project is to help maintain focus. Start a timer and remove distraction seamlessly. When the timer ends, take a break on revisit the distracting world for a bit before setting another timer. We accomplish the goal via:
To this end, most of the functionality of the Focus Me lies within the various plugins.
npm install -g @focus-me/focus-cli
macOS is the only supported platform at the moment, PRs welcome!
focus
will look in a platform specific folder to try to load configuration, and if
cannot find it will throw. You can specify an alternative config with using the --config
command line option or
config
environment variable.
config.time
- The amount of time, in minutes, to count down.config.plugins
- An object of plugins to configure. Each key is the name of
the plugin. Each plugin has an enabled
property to enabled/disabled it, as
well as other plugin-specific configuration.{
"time": 25,
"plugins": {
"name-of-plugin": {
"enabled": true
}
}
}
focus
will start the timer.
If you need to cancel the timer, you can kill the process with a SIGINT
.
Canceling the timer will not execute any plugins' stop methods that should only
be run upon completion of the timer.
--help
- Display the list of options--version
- Display the version of FocusMe--config
- Specify an alternative path to a FocusMe config file.If you specify an additional plugin in config.plugins
, we attempt to import that module. The module must implement
the plugin interface
Installing this module will create files in:
~/Library/Application Support/FocusMe/preferences.json
: Your FocusMe preferences/config.~/Library/Script Libraries/FocusMe/util.scpt
:
A compiled applescript that serves as a library for other applescripts to import. It is responsible for
reading and parsing the user's preferences.FAQs
A configurable timer with a plugin system meant to automate various tasks when the timer starts, stops, or ticks.
The npm package @focus-me/focus-cli receives a total of 0 weekly downloads. As such, @focus-me/focus-cli popularity was classified as not popular.
We found that @focus-me/focus-cli 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.