
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
python-oops-timeline: Error report integration with timelines
Copyright (c) 2010, 2011, Canonical Ltd
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, version 3 only.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
The oops_timeline package provides integration glue between timeline objects (http://pypi.python.org/pypi/timeline) and the oops error reporting system (http://pypi.python.org/pypi/oops).
Python 3.8+
timeline (http://pypi.python.org/pypi/timeline)
subunit (http://pypi.python.org/pypi/python-subunit) (optional)
testtools (http://pypi.python.org/pypi/testtools)
oops_timeline provides an oops on_create hook to extract timeline data from oops_context['timeline'] and inject it into the oops report as primitive data.
Setup your configuration::
from oops import Config config = Config()
Note that you will probably want at least one publisher, or your reports will be discarded.
Add in the timeline hook to the config::
oops_timeline.install_hooks(config)
This is a convenience function in case additional hooks are needed in future.
For more information see pydoc oops_timeline.
python-oops-timeline can be installed into an existing Python environment in
the usual way using pip
, or it can be installed as a standalone package.
To install it as a standalone package, run make
to create a suitable virtual
environment.
Upstream development takes place at https://launchpad.net/python-oops-timeline.
To setup a working area for development, if the dependencies are not
immediately available, you can use make
to create a virtual environment, then
env/bin/python3 to get a python interpreter with the dependencies available.
To run the tests use tox.
For instance::
$ tox
FAQs
Integrate timelines with OOPS error reports.
We found that oops-timeline demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 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.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
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.