
Research
PyPI Package Disguised as Instagram Growth Tool Harvests User Credentials
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
jupyter-paths
Advanced tools
Node wrapping of jupyter/jupyter_core to resolve paths across Jupyter installations.
Pure JavaScript implementation of jupyter-paths
.
npm install jupyter-paths
$ node
> var jp = require('jupyter-paths')
runtimeDir()
Returns immediately with the path to running kernels
> jp.runtimeDir()
'/Users/rgbkrk/Library/Jupyter/runtime'
dataDirs()
> jp.dataDirs()
[ '/Users/rgbkrk/Library/Jupyter',
'/usr/share/jupyter',
'/usr/local/share/jupyter' ]
If you want the paths to include the sys.prefix
paths (for Anaconda installs),
an optional opts
parameter is accepted with key withSysPrefix
. This changes
the return to a promise for you instead.
> jp.dataDirs({ withSysPrefix: true })
Promise { <pending> }
> jp.dataDirs({ withSysPrefix: true }).then(console.log)
Promise { <pending> }
> [ '/Users/rgbkrk/Library/Jupyter',
'/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/share/jupyter',
'/usr/share/jupyter',
'/usr/local/share/jupyter' ]
configDirs()
Like dataDirs
, an optional opts
parameter is accepted with key
withSysPrefix
as an argument.
> jp.configDirs({ withSysPrefix: true }).then(console.log)
Promise { <pending> }
> [ '/Users/rgbkrk/.jupyter',
'/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/etc/jupyter',
'/usr/local/etc/jupyter',
'/etc/jupyter' ]
FAQs
Node wrapping of jupyter/jupyter_core to resolve paths across Jupyter installations.
The npm package jupyter-paths receives a total of 841 weekly downloads. As such, jupyter-paths popularity was classified as not popular.
We found that jupyter-paths demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 20 open source maintainers 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
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.