sh4shv4t commited on
Commit
10e192f
·
1 Parent(s): 21cee38

feat: sync openenv validate fixes + full compliance package

Browse files

- Add pyproject.toml, server/, uv.lock for openenv validate
- Sync latest statestrike_env, honeypot, scripts, inference.py
- openenv.yaml included
- Single unified Dockerfile with start.sh
- All 3 tasks: endpoint_discovery / vulnerability_probe / exploit_chain

Files changed (4) hide show
  1. pyproject.toml +34 -0
  2. server/__init__.py +0 -0
  3. server/app.py +11 -0
  4. uv.lock +0 -0
pyproject.toml ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [build-system]
2
+ requires = ["setuptools>=68", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "statestrike"
7
+ version = "0.1.0"
8
+ description = "OpenEnv-ready stateful API security audit environment"
9
+ readme = "README.md"
10
+ requires-python = ">=3.11"
11
+ license = { text = "MIT" }
12
+ authors = [{ name = "StateStrike" }]
13
+ dependencies = [
14
+ "openenv-core==0.1.0",
15
+ "fastapi==0.111.0",
16
+ "uvicorn[standard]==0.30.1",
17
+ "sqlalchemy==2.0.30",
18
+ "httpx==0.27.0",
19
+ "pydantic==2.7.1",
20
+ "streamlit==1.35.0",
21
+ "plotly==5.22.0",
22
+ "python-dotenv==1.0.1",
23
+ "pytest==8.2.0",
24
+ "pytest-asyncio==0.23.7",
25
+ "rich==13.7.1",
26
+ "websockets>=15.0",
27
+ "openai>=1.0.0",
28
+ ]
29
+
30
+ [project.scripts]
31
+ server = "server.app:main"
32
+
33
+ [tool.setuptools.packages.find]
34
+ include = ["statestrike_env*", "honeypot*", "agent*", "server*"]
server/__init__.py ADDED
File without changes
server/app.py ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from statestrike_env.environment import app
2
+
3
+
4
+ def main() -> None:
5
+ import uvicorn
6
+
7
+ uvicorn.run("server.app:app", host="0.0.0.0", port=7860)
8
+
9
+
10
+ if __name__ == "__main__":
11
+ main()
uv.lock ADDED
The diff for this file is too large to render. See raw diff