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.
Experimental tool to automatically detect accessibility issues in web pages using OpenAI and provide suggestions for fixing them
Experimental tool to automatically detect accessibility issues in web pages using OpenAI and provide suggestions for fixing them.
Can I help fixing your a11y issues?
npm install -g a11y-ai
Usage: a11y <command> <files> [options]
If no files are specified, it will scan the current directory and
subdirectories for HTML files.
Commands:
s, scan Scan files or URLs for accessibility issues
f, fix Fix accessibility issues interactively
-i, --issues <issues> Comma-separated list of issues to fix (disable scan)
-s, --chunk-size <tokens> Set input chunk size (default: 1000)
-c, --char-diff Use character diff instead of patch-like diff
-y, --yes Apply fixes without prompting
--context <context> Provide additional context
--gpt-diff Make AI generate diff of fixes (experimental)
r, report Generate a report of issues with fix suggestions
-i, --issues <issues> Comma-separated list of issues to fix (disable scan)
-s, --chunk-size <tokens> Set input chunk size (default: 1000)
-o, --format <format> Report format [html, md] (default: html)
--context <context> Provide additional context
--gpt-diff Make AI generate diff of fixes (experimental)
General options:
--api Use specified API URL
--verbose Show detailed logs
--help Show this help
You can also set the API URL using the A11Y_AI_API
environment variable.
Interactively scan & fix a local file:
a11y fix site.html
Generate a report of issues with fix suggestions for multiple URLs:
a11y report https://microsoft.com https://docs.microsoft.com
Interactively fix specific issues with additional context:
a11y fix doc.html \
--issues "Add missing images alt attributes" \
--context "This is a documentation where screenshots shows the different step to setup GitHub Copilot on your account"
Automagicically scan for all HTML files in the current directory and subdirectories, interactively fix the issues:
a11y
Accessibility issues scan is done using Playwright with the axe-playwright plugin.
--gpt-diff
options is experimental and may not work well in some casesFAQs
Experimental tool to automatically detect accessibility issues in web pages using OpenAI and provide suggestions for fixing them
The npm package a11y-ai receives a total of 5 weekly downloads. As such, a11y-ai popularity was classified as not popular.
We found that a11y-ai 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.