infynon 0.2.0-beta.6.6 → 0.2.0-beta.7
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 +63 -9
- package/package.json +6 -3
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
**🔥 Stop installing vulnerable dependencies blindly**
|
|
4
4
|
|
|
5
|
-
A security-first CLI: pre-install CVE scanner for 14 ecosystems + reverse proxy WAF
|
|
5
|
+
A security-first CLI: pre-install CVE scanner for 14 ecosystems + reverse proxy WAF + node-based API flow tester with security probes.
|
|
6
6
|
|
|
7
7
|
[](https://www.npmjs.com/package/infynon)
|
|
8
8
|
[](https://github.com/d4rkNinja/infynon-cli/blob/main/LICENSE)
|
|
@@ -10,6 +10,7 @@ A security-first CLI: pre-install CVE scanner for 14 ecosystems + reverse proxy
|
|
|
10
10
|
|
|
11
11
|
> ⚠️ AI installs packages. You don't verify them. That's the risk.
|
|
12
12
|
> **INFYNON fixes that — blocks threats before they reach your system.**
|
|
13
|
+
> Use `--agent` for structured JSON output when running inside AI agents or CI pipelines.
|
|
13
14
|
|
|
14
15
|
---
|
|
15
16
|
|
|
@@ -33,7 +34,7 @@ npm uninstall -g infynon
|
|
|
33
34
|
|
|
34
35
|
## What is INFYNON?
|
|
35
36
|
|
|
36
|
-
A single binary with
|
|
37
|
+
A single binary with three modes:
|
|
37
38
|
|
|
38
39
|
### 1. `infynon pkg` — Package Security
|
|
39
40
|
|
|
@@ -58,15 +59,54 @@ infynon pkg fix --auto
|
|
|
58
59
|
infynon pkg audit
|
|
59
60
|
|
|
60
61
|
# CI / non-interactive flags (no prompts)
|
|
61
|
-
infynon pkg npm install express --strict high # fail build on critical/high
|
|
62
|
+
infynon pkg npm install express --strict high # fail build on critical/high (exit 3)
|
|
62
63
|
infynon pkg npm install express --auto-fix # auto-upgrade to safe versions
|
|
63
64
|
infynon pkg npm install express --skip-vulnerable # skip bad packages silently
|
|
64
65
|
infynon pkg npm install express --yes # install everything (audit-only CI)
|
|
66
|
+
|
|
67
|
+
# AI agent mode — structured JSON output for AI tools and CI parsers
|
|
68
|
+
infynon pkg scan --agent # JSON: status/vulnerabilities/summary
|
|
69
|
+
infynon pkg npm install express --agent --strict high # JSON: installed/blocked/vulns
|
|
70
|
+
infynon pkg uv add fastapi --agent --auto-fix # any ecosystem, machine-readable
|
|
65
71
|
```
|
|
66
72
|
|
|
67
73
|
**Ecosystems:** npm · yarn · pnpm · bun · pip · uv · poetry · cargo · go · gem · composer · nuget · hex · pub
|
|
68
74
|
|
|
69
|
-
### 2. `infynon` —
|
|
75
|
+
### 2. `infynon weave` — API Flow Testing
|
|
76
|
+
|
|
77
|
+
Test your entire API as a connected flow. Model endpoints as a directed graph — authentication tokens and extracted values thread automatically between nodes.
|
|
78
|
+
|
|
79
|
+
```bash
|
|
80
|
+
# Set your API base URL once
|
|
81
|
+
infynon weave env set BASE_URL http://localhost:8001
|
|
82
|
+
|
|
83
|
+
# Create nodes from natural language
|
|
84
|
+
infynon weave node create --ai "POST /auth/login with email and password, extracts token"
|
|
85
|
+
infynon weave node create --ai "POST /orders — creates order, extracts order_id"
|
|
86
|
+
|
|
87
|
+
# Wire into a flow and run
|
|
88
|
+
infynon weave flow create "checkout" --ai "login then create order"
|
|
89
|
+
infynon weave flow run checkout
|
|
90
|
+
|
|
91
|
+
# Run security probes (auth bypass, rate limit, SQL injection)
|
|
92
|
+
infynon weave ai probe checkout
|
|
93
|
+
|
|
94
|
+
# Open the 10-tab TUI dashboard
|
|
95
|
+
infynon weave tui
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
**Runtime prompt inputs** — pause and ask for OTPs, passwords, and dynamic values mid-flow, with 4 types:
|
|
99
|
+
```bash
|
|
100
|
+
infynon weave node prompt verify-otp add otp_code --label "OTP Code" --secret
|
|
101
|
+
infynon weave node prompt create-order add env --type select --options "staging,production,dev"
|
|
102
|
+
infynon weave node prompt confirm-delete add confirm --type boolean --default false
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
**CI ready** — use `--default` values or `--set KEY=val` for fully non-interactive runs.
|
|
106
|
+
|
|
107
|
+
---
|
|
108
|
+
|
|
109
|
+
### 3. `infynon` — Network Firewall
|
|
70
110
|
|
|
71
111
|
A reverse proxy WAF with a real-time TUI dashboard. Sits between the internet and your backend.
|
|
72
112
|
|
|
@@ -93,16 +133,18 @@ infynon logs --verdict block
|
|
|
93
133
|
|
|
94
134
|
## How It Works (Package Security)
|
|
95
135
|
|
|
96
|
-
1. You (or an AI
|
|
97
|
-
2. INFYNON resolves the
|
|
98
|
-
3.
|
|
99
|
-
4.
|
|
100
|
-
5.
|
|
136
|
+
1. You (or an AI agent) runs `infynon pkg npm install express`
|
|
137
|
+
2. INFYNON resolves the latest version and queries **OSV.dev** for CVEs
|
|
138
|
+
3. With `--agent`: emits JSON + structured exit code — AI agents parse and react
|
|
139
|
+
4. With `--strict high`: blocks installation if critical/high CVEs are found (exit `3`)
|
|
140
|
+
5. With `--auto-fix`: silently upgrades to the nearest safe version
|
|
141
|
+
6. Only approved packages get installed
|
|
101
142
|
|
|
102
143
|
---
|
|
103
144
|
|
|
104
145
|
## More Commands
|
|
105
146
|
|
|
147
|
+
### Package Security
|
|
106
148
|
| Command | Description |
|
|
107
149
|
|---------|-------------|
|
|
108
150
|
| `infynon pkg scan` | Scan lock files for CVEs |
|
|
@@ -118,6 +160,18 @@ infynon logs --verdict block
|
|
|
118
160
|
| `infynon pkg migrate <from> <to>` | Migrate between package managers |
|
|
119
161
|
| `infynon pkg eagle-eye setup` | Set up scheduled CVE monitoring with email alerts |
|
|
120
162
|
|
|
163
|
+
### API Flow Testing (Weave)
|
|
164
|
+
| Command | Description |
|
|
165
|
+
|---------|-------------|
|
|
166
|
+
| `infynon weave node create --ai "..."` | Create a node from a natural language description |
|
|
167
|
+
| `infynon weave flow create "name" --ai "..."` | Build a flow from description |
|
|
168
|
+
| `infynon weave flow run <id>` | Run a flow with live step output |
|
|
169
|
+
| `infynon weave flow run <id> --set key=val` | Pre-seed context vars (skip prompts) |
|
|
170
|
+
| `infynon weave ai probe <id>` | Run auth bypass / rate limit / SQLi security probes |
|
|
171
|
+
| `infynon weave ai explain <id>` | Diagnose the last failed run |
|
|
172
|
+
| `infynon weave validate` | Validate all nodes and flows |
|
|
173
|
+
| `infynon weave tui` | Open 10-tab TUI dashboard |
|
|
174
|
+
|
|
121
175
|
---
|
|
122
176
|
|
|
123
177
|
## Full Documentation
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "infynon",
|
|
3
|
-
"version": "0.2.0-beta.
|
|
4
|
-
"description": "Universal package security manager
|
|
3
|
+
"version": "0.2.0-beta.7",
|
|
4
|
+
"description": "Universal package security manager, network WAF, and API flow tester — intercepts installs across 14 ecosystems with CVE verification, reverse proxy WAF with TUI, and node-based API integration testing with security probes.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"infynon": "./run.js",
|
|
7
7
|
"infynon-pkg": "./run.js"
|
|
@@ -26,7 +26,10 @@
|
|
|
26
26
|
"waf",
|
|
27
27
|
"cve",
|
|
28
28
|
"pentest",
|
|
29
|
-
"supply-chain"
|
|
29
|
+
"supply-chain",
|
|
30
|
+
"api-testing",
|
|
31
|
+
"integration-testing",
|
|
32
|
+
"security-probes"
|
|
30
33
|
],
|
|
31
34
|
"author": "d4rkNinja",
|
|
32
35
|
"license": "MIT",
|