Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Automation for Beancount.
Features (for rationale see Notes):
Supported data sources:
Project status: rough prototype; tested on Linux only.
Create a config file and save it alongside your existing ledger:
$ ls
beanclerk-config.yml my_ledger.beancount
Import new transactions:
$ bean-clerk import --from-date 2023-01-01
Account: 'Assets:Banks:Fio:Checking'
New transactions: 3, balance OK: 9830.00 CZK
Account: 'Assets:Banks:Fio:Savings'
New transactions: 0, balance OK: 50001.97 CZK
[!IMPORTANT] Beanclerk relies on
id
key in transaction metadata to check for duplicates and to determine the date of the last import. You may leave out the--from-date
option by adding a transaction like this:2023-01-01 * "Initial import date for Beanclerk" id: "dummy" Assets:Banks:Fio:Checking 0 CZK Assets:Banks:Fio:Savings 0 CZK
Once Beanclerk encounters a transaction without a matching categorization rule, it prompts you for resolution:
$ bean-clerk import
Account: 'Assets:Banks:Fio:Checking'
...
No categorization rule matches the following transaction:
2023-01-03 *
id: "10000000002"
account_id: "2345678901"
account_name: "Pavel, Žák"
bank_id: "2010"
bank_name: "Fio banka, a.s."
type: "Příjem převodem uvnitř banky"
specification: "test specification"
bic: "TESTBICXXXX"
order_id: "30000000002"
payer_reference: "test payer reference"
Assets:Banks:Fio:Checking 500.0 CZK
Available actions:
'r': reload config (you should add a new rule first)
'i': import as-is (transaction remains unbalanced)
...
pip install beanclerk
[!IMPORTANT] Beanclerk requires Beancount. You may need
gcc
andpython3-devel
(python3-dev
on some distros) for its successful installation. For further details check out Beancount Download & Installation.
Confirm successful installation by running:
bean-clerk -h
Beanclerk automates some areas not addressed by Beancount:
I started Beanclerk to try out some Python packages and programming concepts. Actually, there are a couple of interesting projects of similar sort:
Set up a development environment:
pipenv sync --dev
pipenv run pre-commit install
[!NOTE] If you prefer to create the virtual environment in the project's directory, add
PIPENV_VENV_IN_PROJECT=1
into.env
file. For more info see Virtualenv mapping caveat.
Run tests:
pytest
Follow Conventional Commits.
Following the Beancount license, this code is distributed under the terms of the "GNU GPLv2 only".
FAQs
Automation for Beancount
We found that beanclerk demonstrated a healthy version release cadence and project activity because the last version was released less than 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
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.