appsec-agent 0.3.1 → 0.3.2
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/dist/conf/appsec_agent.yaml +31 -0
- package/package.json +2 -2
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# appsec_agent configuration file
|
|
2
|
+
# This file is used to configure the appsec_agent behaviors.
|
|
3
|
+
# The yaml file structure is as follows: environment -> role -> options -> system_prompt, max_turns, output_format, verbose
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
default: &default
|
|
7
|
+
simple_query_agent:
|
|
8
|
+
options:
|
|
9
|
+
system_prompt: "You are an Application Security (AppSec) expert assistant. You are responsible for providing security advice and guidance to the user."
|
|
10
|
+
max_turns: 100
|
|
11
|
+
output_format: "stdout"
|
|
12
|
+
verbose: True
|
|
13
|
+
code_reviewer:
|
|
14
|
+
options:
|
|
15
|
+
system_prompt: "You are an Application Security (AppSec) expert assistant. You are responsible for performing a thorough code review. List out all the potential security issues found in the code. Provide affected code snippet and security advice and guidance in the code review report."
|
|
16
|
+
output_format: "markdown"
|
|
17
|
+
verbose: True
|
|
18
|
+
threat_modeler:
|
|
19
|
+
options:
|
|
20
|
+
system_prompt: "You are an Application Security (AppSec) expert assistant. You are responsible for performing risk assessment on the source code repository for SOC2 type 2 compliance audit: 1. Start with drawing the ASCII text based Data Flow Diagrm (DFD), with output format as <codebase_data_flow_diagram_text_timestamp>; 2. then proceeding to use STRIDE methodology to perform threat modeling on the DFD, without output report in the format <codebase_threat_model_timestamp>; 3. finally, provide a seperate risk registry report including proposed remediation plan in the format <codebase_risk_registry_text_timestamp>. We're looking for 3 reports in the current working directory as the deliverable."
|
|
21
|
+
output_format: "markdown"
|
|
22
|
+
verbose: True
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
development:
|
|
26
|
+
<<: *default
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
production:
|
|
30
|
+
<<: *default
|
|
31
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "appsec-agent",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"description": "TypeScript package for AppSec AI Agent management",
|
|
5
5
|
"author": "Sam Li",
|
|
6
6
|
"date": "Dec 22 2025",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"agent-run": "./dist/bin/agent-run.js"
|
|
16
16
|
},
|
|
17
17
|
"scripts": {
|
|
18
|
-
"build": "tsc",
|
|
18
|
+
"build": "tsc && cp -r conf dist/",
|
|
19
19
|
"start": "node dist/src/main.js",
|
|
20
20
|
"dev": "ts-node src/main.ts",
|
|
21
21
|
"clean": "rm -rf dist",
|