Skip to content

Commit b93f510

Browse files
authored
feat: 100k+ vulnerable paths image (#725)
feat: storing 100k vuln path container
1 parent 5ee16bb commit b93f510

File tree

5 files changed

+56111
-0
lines changed

5 files changed

+56111
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
node_modules
2+
npm-debug.log
3+
generate-files.js
4+
.git
5+
.gitignore
6+
README.md
7+
8+
9+
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
FROM node:14
2+
3+
WORKDIR /app
4+
5+
COPY package.json package-lock.json ./
6+
7+
COPY server.js ./
8+
9+
EXPOSE 3000
10+
11+
CMD ["node", "server.js"]
12+
13+
14+
15+
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# 100K Vulnerability Path Test Container
2+
3+
This container is designed to test Snyk's 100k max vuln limit
4+
5+
## Structure
6+
7+
- **4,000 packages**
8+
- **6 base dependencies** (each package depends on all 5):
9+
- `--hiljson`
10+
- `--legacy-peer-deps`
11+
- `--no-audit`
12+
- `-d3-ushape`
13+
- `-gzip-ize`
14+
- `-000webhost-admin`
15+
16+
## Build and Run
17+
18+
```bash
19+
# Build the Docker image
20+
docker build -t 100k-vulns .
21+
22+
# Run the container
23+
docker run -p 3000:3000 100k-vulns
24+
```
25+
26+
## Scan with Snyk
27+
28+
```bash
29+
# Scan the container image
30+
snyk container test 100k-vulns
31+
32+
# Monitor the container
33+
snyk container monitor 100k-vulns
34+
```
35+
36+
37+
38+

0 commit comments

Comments
 (0)