Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
autocode-puppeteer
Advanced tools
Allows use of Puppeteer in Autocode services. Combines the puppeteer-core and chrome-aws-lambda packages.
Certain arguments to puppeteer.launch
are restricted. The package will throw an error if you attempt to pass args
, executablePath
, or headless
as an option into the launch
method.
const puppeteer = require('autocode-puppeteer');
module.exports = async (context) => {
let result;
let browser;
try {
browser = await puppeteer.launch();
let page = await browser.newPage();
await page.goto(context.params.url || 'https://example.com');
result = await page.title();
await browser.close();
} catch (error) {
if (!!browser) {
await browser.close();
}
throw error;
}
return result;
};
For more usage information, see the examples in the Puppeteer repo.
FAQs
Puppeteer for use in Autocode services
The npm package autocode-puppeteer receives a total of 2 weekly downloads. As such, autocode-puppeteer popularity was classified as not popular.
We found that autocode-puppeteer 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 researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.