yoanbernabeu/stackalarm
Sobre
Security news for your stack: an agent skill and the CLI it relies on. Ask your AI agent "anything today?" and get a straight answer.
Segurança e privacidadeCrescimento medido de estrelas
- em 24 h
- +2
- em 7 dias
- Coletando histórico
- em 15 dias
- Coletando histórico
- em 1 mês
- Coletando histórico
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
README.md
Originalstackalarm
Type /stackalarm in your AI agent and get a straight answer about your project's security today.
stackalarm is an agent skill and the CLI it relies on. Open a project in Claude Code, Codex, Cursor or another agent, run the skill, and the agent tells you what in this week's security news affects this repository, how urgent it is, and what to change.
stackalarm.dev: what it does and an example answer. Documentation: the skill, every CLI option, the scheduled watch, the sources.
How it works
- The skill is the analyst. It reads the project (manifests, lockfiles, Dockerfiles, CI, git remotes), runs the CLI, completes it with a web search and your ecosystem's audits (
composer audit,npm audit,pip-audit,govulncheck…), judges what applies, and offers to fix what lives in the repository, one change at a time, after asking. It never pushes, deploys or touches a server. - The CLI is its eyes. It reads more than 380 sources first-hand: project and vendor announcements, the GitHub Advisory Database, OSV.dev, the NVD and EUVD CVE databases, CERTs, CISA KEV, catalogs of public exploits and the security press. Given the versions in use, it tells which vulnerable ranges hold them. It does no project analysis.
Install
npx skills add yoanbernabeu/stackalarm
If /stackalarm is not found, the installer did not detect your agent and left the skill in ~/.agents/skills/ only. Name the agent (-g installs it for every project), then start a new session: npx skills add yoanbernabeu/stackalarm -g -a claude-code. For a skill already there, a link is enough: ln -s ~/.agents/skills/stackalarm ~/.claude/skills/stackalarm.
The first time you run /stackalarm, the skill sees the CLI is missing and offers to install it; it runs nothing before you agree. To install the CLI yourself: brew install yoanbernabeu/tap/stackalarm, or curl -sSL https://raw.githubusercontent.com/yoanbernabeu/stackalarm/main/install.sh | sh. On Windows, download the zip from the releases. With Go: go install github.com/yoanbernabeu/stackalarm/cmd/stackalarm@latest.
Optional: GITHUB_TOKEN (or GH_TOKEN) raises the GitHub API rate limit, and NVD_API_KEY (free) makes NVD searches faster.
Update
The skill and the CLI go together: a new CLI with an old skill still answers, but the agent does not know the newer commands. Update both.
npx skills add yoanbernabeu/stackalarm # the skill: the install command again
brew upgrade stackalarm # the CLI (or run install.sh again)
Use
Open a project in your agent and call the skill by name (agents otherwise tend to answer with npm audit alone, which knows nothing of this week's runtime flaws):
/stackalarm
/stackalarm before the Friday deploy
/stackalarm are we affected by PHP2Shell?
The CLI also works on its own:
stackalarm news --tag [email protected] --tag gitlab --since 7d
stackalarm news --tag npm --package [email protected] # every known flaw of that version
stackalarm news --sbom image.cdx.json # every known flaw of an image's packages
stackalarm cve CVE-2025-29927 [email protected] # one CVE: affected, fixed, exploited?
stackalarm eol [email protected] node@20 # still getting security fixes?
stackalarm sources # the sources and their tags
stackalarm news --help # every option
No install needed to look around: stackalarm.dev/news shows the security news of the last 30 days, tag by tag (a language, a framework, a tool, a vendor), with a feed for each.
Scheduled watch
Copy ci/github/stackalarm.yml to .github/workflows/, or include ci/gitlab/stackalarm.yml in your GitLab CI. Every 4 hours, the CLI reads the .stackalarm.yaml profile the skill wrote and opens an issue when a heads-up, an alert or a security release is new. On GitHub, with an ANTHROPIC_API_KEY secret, Claude triages the news first and an issue is opened only when the project is concerned. A Slack or Mattermost webhook can get a line for each issue, and the profile can record the vulnerabilities you already judged (ignore), with a reason and a review date.
Privacy
The CLI downloads public feeds and queries public APIs. It sends only what it is given: tags and keywords, as search terms to the CVE databases (NVD, EUVD), package names (with their version when given), to the GitHub Advisory Database and, when a version is given, to OSV.dev (--no-osv or STACKALARM_NO_OSV=1 turns that off), the package names and versions of an SBOM passed with --sbom, to OSV.dev, and the ids of the CVEs found, to the FIRST EPSS API (and to the CVE Program, the NVD and GitHub with stackalarm cve). Nothing else about your project, and no telemetry.
Contributing
Contributions go through issues only; pull requests are closed automatically. The most useful one is a new source: open a New source issue. See CONTRIBUTING.md. To report a vulnerability, see SECURITY.md.
License
Explore projetos relacionados
Carregando…