@pensar/apex 1.0.0 → 1.1.0
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/assets/wordlists/LICENSE +21 -0
- package/assets/wordlists/README.md +36 -0
- package/assets/wordlists/common.txt +4751 -0
- package/assets/wordlists/large.txt +29999 -0
- package/assets/wordlists/tiny.txt +227 -0
- package/build/agent-0jmzw6zx.js +18 -0
- package/build/{agent-95ysppvr.js → agent-wmynfx37.js} +10 -9
- package/build/{auth-h84w23gx.js → auth-p2n15nfp.js} +4 -4
- package/build/{authentication-3m2qm7ym.js → authentication-ngxxzcvc.js} +11 -11
- package/build/blackboxAgent-v698p7e4.js +18 -0
- package/build/{blackboxPentest-kn3y84jf.js → blackboxPentest-7jvcbz3f.js} +15 -15
- package/build/{cli-r8cerdwk.js → cli-03z6pswp.js} +1 -1
- package/build/{cli-abkgxjcc.js → cli-06q6sz4x.js} +2 -2
- package/build/{cli-dfth2beg.js → cli-1tv4x6xh.js} +8 -8
- package/build/{cli-ey40xb9a.js → cli-1xdc0keq.js} +1 -1
- package/build/{cli-qcsv2e9h.js → cli-5xfjvm8j.js} +1 -1
- package/build/{cli-wqeja2k6.js → cli-6negm843.js} +1 -1
- package/build/{cli-x5t1x7ts.js → cli-ahmpjgg6.js} +1 -1
- package/build/{cli-j4qm285k.js → cli-ch1yfrj1.js} +2 -2
- package/build/{cli-dsybj1jp.js → cli-d5mcmzp1.js} +1 -1
- package/build/{cli-etrmgpa5.js → cli-gs7zy230.js} +5 -5
- package/build/{cli-awjwsbrz.js → cli-mazg4ajq.js} +2 -2
- package/build/{cli-mxj8tz9b.js → cli-nwcvgx5m.js} +51 -14
- package/build/{cli-r4jzb7aj.js → cli-st6vsbzv.js} +2 -1
- package/build/{cli-qvq41y3z.js → cli-t1nkahx2.js} +1 -1
- package/build/cli-tp1tqn3k.js +184 -0
- package/build/{cli-yz3dzpxd.js → cli-tyrzasca.js} +351 -104
- package/build/{cli-sgzbqavm.js → cli-yvnb3k0x.js} +1 -1
- package/build/cli.js +28 -27
- package/build/{doctor-b7612pzw.js → doctor-8tva8j99.js} +1 -1
- package/build/{fixes-5f9xv4yx.js → fixes-p4e3bjcg.js} +4 -4
- package/build/{index-b7e18f8m.js → index-esgrht7q.js} +7 -7
- package/build/{index-d86fgcjm.js → index-gpvx8y17.js} +4 -4
- package/build/{index-h5r11f3q.js → index-m6gw4113.js} +2 -2
- package/build/{index-0qfckx3a.js → index-ywrq8mhc.js} +1555 -1449
- package/build/{issues-dy4rrtr2.js → issues-8had86x1.js} +4 -4
- package/build/{logs-d3sjx7vk.js → logs-3fpd8xq8.js} +4 -4
- package/build/pentest-4ty38pt8.js +28 -0
- package/build/{pentests-vwekf0zm.js → pentests-tqv6zrqy.js} +4 -4
- package/build/{projects-se9jgfb0.js → projects-eh2g7061.js} +4 -4
- package/build/{targetedPentest-mhkts702.js → targetedPentest-60td56me.js} +10 -9
- package/build/{threatModel-gdvgv7pc.js → threatModel-v46xygtn.js} +10 -9
- package/build/{uninstall-11a98j87.js → uninstall-vz6jzt86.js} +1 -1
- package/build/{utils-zvr7bcyw.js → utils-8yqe12jr.js} +1 -1
- package/package.json +2 -1
- package/build/agent-e3r90w2x.js +0 -17
- package/build/blackboxAgent-4t68wah3.js +0 -18
- package/build/cli-6gtnyaqf.js +0 -109
- package/build/pentest-6ctf263k.js +0 -28
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2018 Daniel Miessler
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Bundled Wordlists
|
|
2
|
+
|
|
3
|
+
These wordlists ship with `@pensar/apex` so the agent has guaranteed access to a known-good `-w` argument for tools like `gobuster`, `ffuf`, `dirb`, `wfuzz`, and `dirsearch` regardless of host. Without this bundle, the agent tends to reach for `/usr/share/wordlists/dirb/common.txt` (a Kali-only path) and fails on macOS, Alpine, vanilla Linux, and most Docker base images.
|
|
4
|
+
|
|
5
|
+
See issue [#642](https://github.com/pensarai/apex/issues/642) for the full motivation.
|
|
6
|
+
|
|
7
|
+
## Tiers
|
|
8
|
+
|
|
9
|
+
| File | Entries | Size | When to use |
|
|
10
|
+
| ------------ | ------- | ------ | ------------------------------------------------------------------------- |
|
|
11
|
+
| `tiny.txt` | ~200 | ~3KB | Sub-second smoke probe, time-pressured runs, first-pass triage |
|
|
12
|
+
| `common.txt` | ~4.7k | ~38KB | Default for normal recon |
|
|
13
|
+
| `large.txt` | ~30k | ~250KB | Escalation when `common.txt` finished and target still looks under-mapped |
|
|
14
|
+
|
|
15
|
+
The agent picks a tier based on signals (time budget, user intent, completeness of prior recon) — it does NOT chain tiers automatically. See `src/core/agents/specialized/utils.ts` (`detectOSAndEnhancePrompt`) for the policy injected into the system prompt.
|
|
16
|
+
|
|
17
|
+
## Provenance
|
|
18
|
+
|
|
19
|
+
- **`common.txt`** — verbatim copy of [`SecLists/Discovery/Web-Content/common.txt`](https://github.com/danielmiessler/SecLists/blob/master/Discovery/Web-Content/common.txt)
|
|
20
|
+
- **`large.txt`** — verbatim copy of [`SecLists/Discovery/Web-Content/raft-medium-directories.txt`](https://github.com/danielmiessler/SecLists/blob/master/Discovery/Web-Content/raft-medium-directories.txt)
|
|
21
|
+
- **`tiny.txt`** — custom-curated. Combines the most-frequently-hit paths from `common.txt` with a fixed core of high-signal security paths (`.git/config`, `.env*`, `.well-known/security.txt`, `actuator/env`, `swagger.json`, `openapi.json`, `graphql`, `wp-config.php`, etc.). Designed to maximise hits-per-request when budget is tight; not derived from `common.txt` alone — see the file for the curation.
|
|
22
|
+
- **`LICENSE`** — verbatim copy of the [SecLists MIT license](https://github.com/danielmiessler/SecLists/blob/master/LICENSE), preserved here to satisfy attribution for the entries we redistribute.
|
|
23
|
+
|
|
24
|
+
## Updating
|
|
25
|
+
|
|
26
|
+
To pull fresh upstream copies:
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
curl -fsSL -o assets/wordlists/common.txt \
|
|
30
|
+
'https://raw.githubusercontent.com/danielmiessler/SecLists/master/Discovery/Web-Content/common.txt'
|
|
31
|
+
|
|
32
|
+
curl -fsSL -o assets/wordlists/large.txt \
|
|
33
|
+
'https://raw.githubusercontent.com/danielmiessler/SecLists/master/Discovery/Web-Content/raft-medium-directories.txt'
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
Then re-run `bun run test` — the wordlist tests assert size invariants (`tiny < common < large` and `tiny.txt` in the 150–300 range) so accidental drift fails the build.
|