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.
orgast-util-visit-ids
Advanced tools
orgast-util-visit-ids
orgast (uniorg) utility to visit all nodes with ids.
npm install orgast-util-visit-ids
import { unified } from 'unified';
import uniorgParse from 'uniorg-parse';
import { visitIds } from 'orgast-util-visit-ids';
const tree = unified().use(uniorgParse).parse(`
:PROPERTIES:
:ID: id-org-data
:END:
* First headline
:PROPERTIES:
:ID: id-headline
:END:
** Second headline
:PROPERTIES:
:ID: id-headline-2
:END:
`);
visitIds(tree, (id, node) => {
console.log(id, node.type, node.rawValue);
});
//=> id-org-data org-data undefined
//=> id-headline headline First headline
//=> id-headline-2 headline Second headline
visitIds(node: OrgData, callback: (id: string, node: OrgData | Headline) => void)
Call callback
for every node that has an id assigned.
FAQs
orgast (uniorg) utility to visit all nodes with ids
The npm package orgast-util-visit-ids receives a total of 59 weekly downloads. As such, orgast-util-visit-ids popularity was classified as not popular.
We found that orgast-util-visit-ids demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
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.