create-oss-store 1.0.0 → 1.5.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/README.md ADDED
@@ -0,0 +1,35 @@
1
+ # create-oss-store
2
+
3
+ Create a new [OSS – OopsSec Store](https://github.com/kOaDT/oss-oopssec-store) instance for web security CTF training.
4
+
5
+ ## Quick Start
6
+
7
+ ```bash
8
+ npx create-oss-store my-ctf-lab
9
+ cd my-ctf-lab
10
+ npm run dev
11
+ ```
12
+
13
+ Then open http://localhost:3000 in your browser and start hunting for flags.
14
+
15
+ ## What it does
16
+
17
+ This CLI will:
18
+
19
+ - Clone the OSS – OopsSec Store repository
20
+ - Create the `.env` configuration file
21
+ - Install all dependencies
22
+ - Set up the SQLite database with Prisma
23
+ - Seed the database with CTF flags and sample data
24
+
25
+ ## About OSS – OopsSec Store
26
+
27
+ OSS – OopsSec Store is an open-source, intentionally vulnerable e-commerce application built with Next.js and React. It provides a realistic environment to learn and practice web application security testing, including OWASP Top 10 vulnerabilities, API security flaws, and modern frontend attack vectors.
28
+
29
+ Designed for penetration testers, security engineers, developers, and cybersecurity students.
30
+
31
+ For more information, visit the [GitHub repository](https://github.com/kOaDT/oss-oopssec-store).
32
+
33
+ ## License
34
+
35
+ MIT
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { createOssStore } from '../src/index.js';
3
+ import { createOssStore } from "../src/index.js";
4
4
 
5
5
  const args = process.argv.slice(2);
6
6
  const projectName = args[0];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-oss-store",
3
- "version": "1.0.0",
3
+ "version": "1.5.0",
4
4
  "type": "module",
5
5
  "description": "Create a new OSS – OopsSec Store instance for web security CTF training",
6
6
  "author": "kOaDT",
@@ -24,7 +24,8 @@
24
24
  },
25
25
  "files": [
26
26
  "bin",
27
- "src"
27
+ "src",
28
+ "README.md"
28
29
  ],
29
30
  "engines": {
30
31
  "node": ">=18.0.0"