Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Plain text accounting JS helpers to interact with the ledger / hledger journal file format.
On the TS / JS side Transactions are described by the Transaction type
import { formatTransaction } from 'pta-journal';
function formatTransaction(trx: Transaction): string
Returns the Transaction formatted in a way suitable to be appendend to a journal file
import { parse } from 'pta-journal';
function parse(stream: ReadableStream): ParseResult
type ParseResult = {
transactions: Transaction[];
accounts: string[];
commodities: string[];
};
Returns the transactions, the accounts and the commodities from a journal. To get the stream of the journal you can use
FAQs
Plain text accounting journal JS apis
The npm package pta-tools receives a total of 2,615 weekly downloads. As such, pta-tools popularity was classified as popular.
We found that pta-tools 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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.