infynon 0.2.0-beta.6.6 → 0.2.0-beta.7.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.
Files changed (2) hide show
  1. package/README.md +87 -26
  2. package/package.json +6 -3
package/README.md CHANGED
@@ -1,8 +1,12 @@
1
1
  # INFYNON
2
2
 
3
- **🔥 Stop installing vulnerable dependencies blindly**
3
+ **Stop trusting installs, traffic, and API flows blindly.**
4
4
 
5
- A security-first CLI: pre-install CVE scanner for 14 ecosystems + reverse proxy WAF for your backend.
5
+ A security-first CLI one binary, three shields:
6
+
7
+ - 📦 **Dependency Firewall** — pre-install CVE scanner across 14 ecosystems
8
+ - 🛡️ **Network Firewall** — reverse proxy WAF with real-time TUI dashboard
9
+ - 🧪 **API Flow Tester** — node-based integration testing with security probes
6
10
 
7
11
  [![npm](https://img.shields.io/npm/v/infynon?style=flat-square&logo=npm)](https://www.npmjs.com/package/infynon)
8
12
  [![License: MIT](https://img.shields.io/badge/license-MIT-blue?style=flat-square)](https://github.com/d4rkNinja/infynon-cli/blob/main/LICENSE)
@@ -10,6 +14,7 @@ A security-first CLI: pre-install CVE scanner for 14 ecosystems + reverse proxy
10
14
 
11
15
  > ⚠️ AI installs packages. You don't verify them. That's the risk.
12
16
  > **INFYNON fixes that — blocks threats before they reach your system.**
17
+ > Use `--agent` for structured JSON output inside AI agents or CI pipelines.
13
18
 
14
19
  ---
15
20
 
@@ -23,19 +28,13 @@ Downloads the right pre-built native binary for your OS and architecture automat
23
28
 
24
29
  **Supported platforms:** Windows x64 · Linux x64 · Linux ARM64 · macOS x64 · macOS ARM64
25
30
 
26
- To uninstall and clean up all config files:
27
-
28
31
  ```bash
29
- npm uninstall -g infynon
32
+ npm uninstall -g infynon # uninstall and clean up all config files
30
33
  ```
31
34
 
32
35
  ---
33
36
 
34
- ## What is INFYNON?
35
-
36
- A single binary with two modes:
37
-
38
- ### 1. `infynon pkg` — Package Security
37
+ ## Module 1 — `infynon pkg` · Dependency Firewall
39
38
 
40
39
  Intercepts install commands across **14 ecosystems** and runs a 3-layer CVE check before anything touches your disk.
41
40
 
@@ -43,10 +42,8 @@ Intercepts install commands across **14 ecosystems** and runs a 3-layer CVE chec
43
42
  # Scan your project's lock files for CVEs
44
43
  infynon pkg scan
45
44
 
46
- # Secure install — intercepts and checks before running npm
45
+ # Secure install — drop-in wrapper around your package manager
47
46
  infynon pkg npm install express
48
-
49
- # Works with any ecosystem
50
47
  infynon pkg cargo add serde
51
48
  infynon pkg pip install requests
52
49
  infynon pkg yarn add lodash
@@ -57,16 +54,23 @@ infynon pkg fix --auto
57
54
  # Deep audit with full dependency tree
58
55
  infynon pkg audit
59
56
 
60
- # 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 --auto-fix # auto-upgrade to safe versions
63
- infynon pkg npm install express --skip-vulnerable # skip bad packages silently
64
- infynon pkg npm install express --yes # install everything (audit-only CI)
57
+ # CI / non-interactive flags
58
+ infynon pkg npm install express --strict high # fail on critical/high (exit 3)
59
+ infynon pkg npm install express --auto-fix # auto-upgrade to safe versions
60
+ infynon pkg npm install express --skip-vulnerable # skip bad packages silently
61
+ infynon pkg npm install express --yes # install everything (audit-only CI)
62
+
63
+ # AI agent mode — structured JSON for AI tools and CI parsers
64
+ infynon pkg scan --agent
65
+ infynon pkg npm install express --agent --strict high
66
+ infynon pkg uv add fastapi --agent --auto-fix
65
67
  ```
66
68
 
67
69
  **Ecosystems:** npm · yarn · pnpm · bun · pip · uv · poetry · cargo · go · gem · composer · nuget · hex · pub
68
70
 
69
- ### 2. `infynon` — Network Firewall
71
+ ---
72
+
73
+ ## Module 2 — `infynon` · Network Firewall
70
74
 
71
75
  A reverse proxy WAF with a real-time TUI dashboard. Sits between the internet and your backend.
72
76
 
@@ -91,18 +95,63 @@ infynon logs --verdict block
91
95
 
92
96
  ---
93
97
 
94
- ## How It Works (Package Security)
98
+ ## Module 3 `infynon weave` · API Flow Testing
99
+
100
+ Test your entire API as a connected flow. Model endpoints as a directed graph — authentication tokens and extracted values thread automatically between nodes.
101
+
102
+ ```bash
103
+ # Set your API base URL once
104
+ infynon weave env set BASE_URL http://localhost:8001
105
+
106
+ # Create nodes from natural language
107
+ infynon weave node create --ai "POST /auth/login with email and password, extracts token"
108
+ infynon weave node create --ai "POST /orders — creates order, extracts order_id"
109
+
110
+ # Wire into a flow and run
111
+ infynon weave flow create "checkout" --ai "login then create order"
112
+ infynon weave flow run checkout
113
+
114
+ # Run security probes (auth bypass, rate limit, SQL injection)
115
+ infynon weave ai probe checkout
116
+
117
+ # Open the 10-tab TUI dashboard
118
+ infynon weave tui
119
+ ```
95
120
 
96
- 1. You (or an AI tool) runs `infynon pkg npm install express`
97
- 2. INFYNON resolves the full dependency tree
98
- 3. Queries **OSV.dev** for known CVEs across all packages
99
- 4. Presents an interactive decision for any vulnerable package block, skip, or install a fixed version
100
- 5. Only approved packages get installed
121
+ **Runtime prompt inputs** pause and ask for OTPs, passwords, and dynamic values mid-flow:
122
+
123
+ ```bash
124
+ infynon weave node prompt verify-otp add otp_code --label "OTP Code" --secret
125
+ infynon weave node prompt create-order add env --type select --options "staging,production,dev"
126
+ infynon weave node prompt confirm-delete add confirm --type boolean --default false
127
+ infynon weave node prompt create-token add scopes --type multiselect --options "read,write,admin"
128
+ ```
129
+
130
+ **Prompt types:** `text · boolean · select · multiselect`
131
+
132
+ **CI ready** — use `--default` values or `--set KEY=val` for fully non-interactive runs:
133
+
134
+ ```bash
135
+ infynon weave flow run auth-flow --set email=ci@example.com --set password=Test@1234
136
+ ```
101
137
 
102
138
  ---
103
139
 
104
- ## More Commands
140
+ ## Traditional Testing vs INFYNON Weave
105
141
 
142
+ | | Traditional (Postman / pytest) | INFYNON Weave |
143
+ |---|---|---|
144
+ | **Token handling** | Manual copy-paste between requests | Automatic — extracted values thread forward |
145
+ | **Dynamic inputs** | Hardcoded env vars | Runtime prompts (OTP, 2FA, password) |
146
+ | **Security testing** | Separate tool (Burp, manual) | Built-in probes: auth bypass, rate limit, SQLi |
147
+ | **Flow creation** | Manual configuration | AI-generated from natural language |
148
+ | **CI integration** | Complex credential management | `--set KEY=val` or `--default` flags |
149
+
150
+ ---
151
+
152
+ ## Commands Reference
153
+
154
+ ### Package Security
106
155
  | Command | Description |
107
156
  |---------|-------------|
108
157
  | `infynon pkg scan` | Scan lock files for CVEs |
@@ -118,6 +167,18 @@ infynon logs --verdict block
118
167
  | `infynon pkg migrate <from> <to>` | Migrate between package managers |
119
168
  | `infynon pkg eagle-eye setup` | Set up scheduled CVE monitoring with email alerts |
120
169
 
170
+ ### API Flow Testing (Weave)
171
+ | Command | Description |
172
+ |---------|-------------|
173
+ | `infynon weave node create --ai "..."` | Create a node from natural language |
174
+ | `infynon weave flow create "name" --ai "..."` | Build a flow from description |
175
+ | `infynon weave flow run <id>` | Run a flow with live step output |
176
+ | `infynon weave flow run <id> --set key=val` | Pre-seed context vars (skip prompts) |
177
+ | `infynon weave ai probe <id>` | Run auth bypass / rate limit / SQLi probes |
178
+ | `infynon weave ai explain <id>` | Diagnose the last failed run |
179
+ | `infynon weave validate` | Validate all nodes and flows |
180
+ | `infynon weave tui` | Open 10-tab TUI dashboard |
181
+
121
182
  ---
122
183
 
123
184
  ## Full Documentation
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "infynon",
3
- "version": "0.2.0-beta.6.6",
4
- "description": "Universal package security manager & network firewall — intercepts installs across npm, pip, cargo, go, gem and more with 3-layer CVE verification, plus a real-time reverse proxy WAF with TUI dashboard",
3
+ "version": "0.2.0-beta.7.1",
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",