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.
pinterpreter
Advanced tools
an interpreter layer for puppeteer, optimized for running browser automation
As the name implies, an interpreter for running puppeteer functions. Instead of writing any code, this takes a "workflow", in pseudo-JSON.
Puppeteer out of the box requires some other pieces to work efficiently, those other pieces often includes a lot of boiler code or extra libraries that add heft to a project. Pinterpreter aims to be the middle man that consolidates all of them and make puppeteer dead simple to take advantage of.
You'll need "npm" for this:
npm i instagram-private-api
const pinterpreter = require('pinterpreter');
const { EXAMPLE_WORKFLOW } = require('./path/to/workflow/');
const browserController = new pinterpreter.BrowserController();
const browser = await browserController.launch({
foo: bar,
});
Note: The browser will run in headless mode by default, so it's normal if you don't see anything happening.
const workflowPerformer = new pinterpreter.WorkflowPerformer();
await workflowPerformer.setBrowserController(browserController);
await workflowPerformer.perform(EXAMPLE_WORKFLOW, {
foo: bar,
});
await browserController.end();
Refer to the API docs for more information, including how to set up your own workflows and other ways you can launch your browser.
FAQs
an interpreter layer for puppeteer, optimized for running browser automation
The npm package pinterpreter receives a total of 0 weekly downloads. As such, pinterpreter popularity was classified as not popular.
We found that pinterpreter 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.