foster-oss 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -7
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
<h1 align="center">Foster</h1>
|
|
4
4
|
|
|
5
|
+
<p align="center">
|
|
6
|
+
<a href="https://www.npmjs.com/package/foster-oss"><img alt="npm" src="https://img.shields.io/npm/v/foster-oss"></a>
|
|
7
|
+
<a href="https://github.com/foster-oss/foster/actions/workflows/ci.yml"><img alt="CI" src="https://github.com/foster-oss/foster/actions/workflows/ci.yml/badge.svg"></a>
|
|
8
|
+
<a href="https://foster-oss.github.io/foster/"><img alt="Orphan Index" src="https://img.shields.io/badge/Orphan%20Index-weekly-orange"></a>
|
|
9
|
+
<a href="LICENSE"><img alt="License" src="https://img.shields.io/badge/license-Apache--2.0-blue"></a>
|
|
10
|
+
</p>
|
|
11
|
+
|
|
5
12
|
**Find the dependencies nobody maintains anymore, and the fixes that exist for them.**
|
|
6
13
|
|
|
7
14
|
Foster scans your lockfile, tells you which dependencies have been abandoned, separates
|
|
@@ -15,8 +22,8 @@ npx foster-oss fix # switch to published drop-in patches (edits package.
|
|
|
15
22
|
npx foster-oss check ip@2.0.1
|
|
16
23
|
```
|
|
17
24
|
|
|
18
|
-
|
|
19
|
-
>
|
|
25
|
+
<p align="center"><img src="brand/demo.svg" alt="foster-oss scan and fix on a small app: two drop-in patches, one orphaned and vulnerable dependency with suggested replacements, and upgrades" width="860"></p>
|
|
26
|
+
<p align="center"><sub>Real output from scanning a small app that depends on <code>socks</code>, <code>request</code> and <code>extract-zip</code> (trimmed).</sub></p>
|
|
20
27
|
|
|
21
28
|
**The Orphan Index**, a public dataset of which critical packages are unmaintained, is live at
|
|
22
29
|
**<https://foster-oss.github.io/foster/>** and rebuilt every week.
|
|
@@ -134,12 +141,11 @@ you can find it; read the provider's source and advisory before adopting it.
|
|
|
134
141
|
```
|
|
135
142
|
|
|
136
143
|
The report is also written to the job summary. With `sarif: true`, findings appear in GitHub code
|
|
137
|
-
scanning next to your other security alerts.
|
|
138
|
-
the package is on npm.)
|
|
144
|
+
scanning next to your other security alerts.
|
|
139
145
|
|
|
140
146
|
### AI agents
|
|
141
147
|
|
|
142
|
-
**MCP** (Claude Code, Codex, Cursor, …):
|
|
148
|
+
**MCP** (Claude Code, Codex, Cursor, …). Listed in the official [MCP Registry](https://registry.modelcontextprotocol.io) as `io.github.foster-oss/foster`, or configure it directly:
|
|
143
149
|
|
|
144
150
|
```json
|
|
145
151
|
{ "mcpServers": { "foster": { "command": "npx", "args": ["-y", "foster-oss", "mcp"] } } }
|
|
@@ -173,8 +179,10 @@ public source, the original license kept, and a regression test for each advisor
|
|
|
173
179
|
|
|
174
180
|
## Contributing
|
|
175
181
|
|
|
176
|
-
|
|
177
|
-
|
|
182
|
+
New here? Pick a [good first issue](https://github.com/foster-oss/foster/labels/good%20first%20issue)
|
|
183
|
+
or something marked [help wanted](https://github.com/foster-oss/foster/labels/help%20wanted): Maven and
|
|
184
|
+
NuGet support, translations of the site, replacement suggestions, an ignore file, and more. Start with
|
|
185
|
+
[CONTRIBUTING.md](CONTRIBUTING.md).
|
|
178
186
|
|
|
179
187
|
Foster's rules are in [GOVERNANCE.md](GOVERNANCE.md), its stance on AI-written code in
|
|
180
188
|
[AI_POLICY.md](AI_POLICY.md), and how to report a problem in Foster itself in [SECURITY.md](SECURITY.md).
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "foster-oss",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
|
+
"mcpName": "io.github.foster-oss/foster",
|
|
4
5
|
"description": "Find dependencies nobody maintains anymore (npm, PyPI, Cargo, Go, RubyGems, Packagist), and switch to published drop-in security patches without changing your imports.",
|
|
5
6
|
"keywords": [
|
|
6
7
|
"security",
|