@vesviet/agent-skills 5.7.0 → 5.7.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/INDEX.md +58 -5
- package/README.md +7 -7
- package/VERSION +1 -1
- package/adapters/antigravity/ANTIGRAVITY.md +1 -1
- package/adapters/antigravity/a2a-config.template.yaml +1 -1
- package/adapters/antigravity/capability-role-map.generated.yaml +1 -0
- package/adapters/antigravity/role-skill-index.json +62 -13
- package/adapters/claude/CLAUDE_ADAPTER.md +1 -1
- package/core/contracts/schemas/INDEX.md +2 -2
- package/core/contracts/schemas/adr-spec.json +12 -3
- package/core/contracts/schemas/architecture-options.json +12 -4
- package/core/contracts/schemas/seo-audit-report.json +8 -2
- package/core/contracts/schemas/seo-metadata.json +5 -2
- package/core/contracts/schemas/ui-component-spec.json +25 -6
- package/core/policies/README.md +2 -2
- package/core/policies/action-boundaries.yaml +37 -1
- package/core/roles/README.md +5 -1
- package/core/roles/backend-developer.md +3 -1
- package/core/roles/frontend-developer.md +2 -1
- package/core/roles/game-developer.md +1 -0
- package/core/roles/mobile-engineer.md +1 -0
- package/core/roles/prompt-engineer.md +9 -0
- package/core/roles/references/reverse-engineer-review-checklist.md +86 -0
- package/core/roles/reverse-engineer.md +287 -0
- package/core/roles/sdet.md +9 -0
- package/core/skills/README.md +3 -2
- package/core/skills/agent/agent-panel-meeting/SKILL.md +4 -4
- package/core/skills/commerce/handle-checkout-flow/SKILL.md +1 -4
- package/core/skills/commerce/integrate-payment-gateway/SKILL.md +1 -5
- package/core/skills/commerce/manage-product-catalog/SKILL.md +2 -7
- package/core/skills/content/write-article/SKILL.md +1 -0
- package/core/skills/education/create-exercises/SKILL.md +1 -6
- package/core/skills/education/design-learning-plan/SKILL.md +2 -9
- package/core/skills/education/grade-and-review/SKILL.md +2 -9
- package/core/skills/foundation/release-notes/SKILL.md +1 -1
- package/core/skills/frontend/INDEX.json +100 -1
- package/core/skills/meetings-analysis/analyze-data/SKILL.md +2 -7
- package/core/skills/meetings-analysis/meeting-review/SKILL.md +3 -7
- package/core/skills/security-data/manage-vietnam-accounting/SKILL.md +3 -1
- package/core/skills/security-data/reverse-engineer-binary/SKILL.md +134 -0
- package/core/skills/security-data/reverse-engineer-binary/agents/openai.yaml +4 -0
- package/core/skills/security-data/security-audit/SKILL.md +9 -1
- package/core/workflows/dependency-upgrade.md +1 -1
- package/core/workflows/security-incident-response.md +1 -1
- package/overlays/hugo-authority-content/workflows/affiliate-publishing.md +1 -1
- package/overlays/hugo-authority-content/workflows/publish-series.md +1 -1
- package/package.json +2 -2
|
@@ -62,12 +62,7 @@ Use this skill to generate practical tasks, problem sets, and exams strictly fol
|
|
|
62
62
|
|
|
63
63
|
When the exercise set crosses a role boundary or is handed off to an LMS, tutoring engine, or teacher, emit:
|
|
64
64
|
|
|
65
|
-
- **`contracts/schemas/learning-handoff.json`** — populating `artifact_type: "exercises"`, `dok_level`, `bloom_2026_taxonomy_tier
|
|
66
|
-
- **`contracts/schemas/bloom-2026-taxonomy.json`** — AI-age cognitive levels including Orchestration.
|
|
67
|
-
- **`contracts/schemas/cognitive-resilience-exercise-spec.json`** — deliberate friction, bounded AI patterns.
|
|
68
|
-
- **`contracts/schemas/stanbkt-irt-spec.json`** — Bayesian IRT parameters, posteriors, uncertainty quantification.
|
|
69
|
-
- **`contracts/schemas/eu-ai-act-compliance-spec.json`** — High-Risk AI metadata for exercise generators.
|
|
70
|
-
- **`contracts/schemas/adaptive-exercise-selection-spec.json`** — BKT-driven exercise selection.
|
|
65
|
+
- **`contracts/schemas/learning-handoff.json`** — populating `artifact_type: "exercises"`, `dok_level`, `bloom_2026_taxonomy_tier` (including Orchestration), `cognitive_resilience_mechanisms` (deliberate friction, bounded AI patterns), `stanbkt_irt_parameters` (Bayesian IRT parameters, posteriors, uncertainty quantification), `eu_ai_act_compliance` (High-Risk AI metadata), and adaptive exercise selection specifications.
|
|
71
66
|
- For human-readable formats, emit exercise matrix markdown with questions, DOK tags, Bloom 2026 tiers, IRT parameters, partial-credit barems, compliance metadata.
|
|
72
67
|
- Every AI-generated question set must record human review metadata before student assignment.
|
|
73
68
|
|
|
@@ -63,20 +63,13 @@ Use this skill to structure personalized, adaptive study plans adhering to Vygot
|
|
|
63
63
|
- [ ] **RAG-enhanced content**: Accurate contextual retrieval with citation requirements, verified knowledge base.
|
|
64
64
|
- [ ] **Multi-modal pathways**: Code, diagram, text, oral, peer-collaborative formats per learning objective.
|
|
65
65
|
- [ ] **EU AI Act High-Risk compliance**: Conformity assessment completed (internal Annex VI or third-party Annex VII), human oversight model (HITL/HOTL/HIC), automation bias mitigation, Article 12 automatic logging, CE marking verified.
|
|
66
|
-
- [ ] Structured contracts emitted: `learning-handoff.json
|
|
66
|
+
- [ ] Structured contracts emitted: `learning-handoff.json` (capturing BKT adaptation, ES-LLMs orchestrator config, cognitive load budgets, and EU AI Act compliance).
|
|
67
67
|
|
|
68
68
|
## Output Contracts
|
|
69
69
|
|
|
70
70
|
When the learning plan is handed off to an educator, automated tutor, or LMS, emit:
|
|
71
71
|
|
|
72
|
-
- **`contracts/schemas/learning-handoff.json`** — populating `artifact_type: "learning_plan"`, `zpd_assessment`, `smart_objectives`, `formative_scaffolding_tiers`, `spaced_repetition_schedule`, `bkt_mastery_posteriors`, `es_llms_orchestrator_config`, `cognitive_load_budget`, `growth_mindset_strategies`, `peer_matching_config`, `eu_ai_act_compliance`.
|
|
73
|
-
- **`contracts/schemas/bkt-learning-plan-spec.json`** — Mastery-driven plan adaptation parameters.
|
|
74
|
-
- **`contracts/schemas/es-llms-orchestrator-spec.json`** — Agent coordination, constraint enforcement rules.
|
|
75
|
-
- **`contracts/schemas/cognitive-load-budget-spec.json`** — Per-block intrinsic/extraneous load planning.
|
|
76
|
-
- **`contracts/schemas/adaptive-spaced-repetition-spec.json`** — BKT-driven review intervals with pForget modulation.
|
|
77
|
-
- **`contracts/schemas/growth-mindset-integration-spec.json`** — Metacognitive strategies, feedback templates, safe culture config.
|
|
78
|
-
- **`contracts/schemas/peer-matching-spec.json`** — Social learning, BKT similarity matching.
|
|
79
|
-
- **`contracts/schemas/eu-ai-act-learning-plan-spec.json`** — High-Risk compliance metadata.
|
|
72
|
+
- **`contracts/schemas/learning-handoff.json`** — populating `artifact_type: "learning_plan"`, `zpd_assessment`, `smart_objectives`, `formative_scaffolding_tiers`, `spaced_repetition_schedule`, `bkt_mastery_posteriors`, `es_llms_orchestrator_config`, `cognitive_load_budget`, `growth_mindset_strategies`, `peer_matching_config`, and `eu_ai_act_compliance`.
|
|
80
73
|
- For human-readable reports, emit markdown learning plans with timeline tables, Feynman checkpoints, graduated hint prompts, BKT mastery trajectories, cognitive load budgets.
|
|
81
74
|
|
|
82
75
|
## Failure Modes
|
|
@@ -62,15 +62,8 @@ Use this skill to evaluate student submissions against **BKT-informed 4-tier cri
|
|
|
62
62
|
|
|
63
63
|
When the assessment result is handed off to a gradebook, LMS, student, or cross-agent workflow, emit:
|
|
64
64
|
|
|
65
|
-
- **`contracts/schemas/learning-assessment-report.json`** — primary contract populating `student_token`, `overall_score`, `rubric_breakdown` (with line citations + executable verification), `cognitive_error_diagnosis`, `growth_mindset_feedback`, `zpd_progression`, `bkt_mastery_posteriors`, `stanbkt_uncertainty
|
|
66
|
-
- **`contracts/schemas/learning-handoff.json`** — secondary contract for multi-agent educational state, learning plan progression, curriculum handoffs.
|
|
67
|
-
- **`contracts/schemas/eu-ai-act-grading-spec.json`** — High-Risk grading system compliance metadata.
|
|
68
|
-
- **`contracts/schemas/bkt-grading-spec.json`** — Mastery-informed assessment parameters.
|
|
69
|
-
- **`contracts/schemas/executable-verification-spec.json`** — Code/prose validation pipeline config.
|
|
70
|
-
- **`contracts/schemas/ai-fluency-detection-spec.json`** — LLM pattern markers.
|
|
71
|
-
- **`contracts/schemas/socratic-tutor-spec.json`** — Hint ladder, attempt-before-hint constraints.
|
|
72
|
-
- **`contracts/schemas/stanbkt-uncertainty-spec.json`** — Bayesian confidence intervals.
|
|
73
|
-
- **`contracts/schemas/cognitive-diagnostic-dashboard-spec.json`** — Per-skill mastery, error category, ZPD, growth mindset indicators.
|
|
65
|
+
- **`contracts/schemas/learning-assessment-report.json`** — primary contract populating `student_token`, `overall_score`, `rubric_breakdown` (with line citations + executable verification), `cognitive_error_diagnosis`, `growth_mindset_feedback`, `zpd_progression`, `bkt_mastery_posteriors`, `stanbkt_uncertainty` (Bayesian confidence intervals), `ai_fluency_detection` (LLM pattern markers), `audit_metadata`, and `conformity_assessment_ref` (High-Risk grading system compliance metadata).
|
|
66
|
+
- **`contracts/schemas/learning-handoff.json`** — secondary contract for multi-agent educational state, learning plan progression, curriculum handoffs, and Socratic tutoring hint ladders.
|
|
74
67
|
- For human-readable reports, emit markdown assessment summaries with BKT mastery trajectories, executable verification results, fluency detection flags, Socratic hint ladders, compliance evidence.
|
|
75
68
|
|
|
76
69
|
## Failure Modes
|
|
@@ -164,7 +164,7 @@ Before publishing, verify:
|
|
|
164
164
|
When the release notes are consumed by a CI pipeline, a release manager, or an
|
|
165
165
|
external publication system, emit:
|
|
166
166
|
|
|
167
|
-
- **`contracts/schemas/
|
|
167
|
+
- **`contracts/schemas/document-manifest.json`** (or a markdown frontmatter block listing `version`, `release_date`, `breaking_changes[]`, `new_features[]`, `deprecations[]`, `security_fixes[]`, `operator_notes[]`). The frontmatter block is the minimum-viable contract.
|
|
168
168
|
- For human-readable publication, the markdown template already documented is the canonical format.
|
|
169
169
|
- Every breaking change and deprecation must be machine-readable so downstream consumers can detect upgrade requirements without re-reading the prose.
|
|
170
170
|
|
|
@@ -38,6 +38,19 @@
|
|
|
38
38
|
],
|
|
39
39
|
"version": "1.0.0"
|
|
40
40
|
},
|
|
41
|
+
{
|
|
42
|
+
"name": "anti-ui-slop-finish-gate",
|
|
43
|
+
"description": "Use when conducting pre-staging UI finish reviews, enforcing 100% interaction state coverage, and applying the 13 universal escalation triggers.",
|
|
44
|
+
"allowed-tools": [
|
|
45
|
+
"read_file",
|
|
46
|
+
"write_file",
|
|
47
|
+
"edit_file",
|
|
48
|
+
"create_file",
|
|
49
|
+
"search_code",
|
|
50
|
+
"run_build"
|
|
51
|
+
],
|
|
52
|
+
"version": "1.0.0"
|
|
53
|
+
},
|
|
41
54
|
{
|
|
42
55
|
"name": "component-composition",
|
|
43
56
|
"description": "Architect scalable UI components using compound components, Radix-style asChild slot delegation, headless hook separation, and anti-boolean prop sprawl patterns. Use when designing reusable component libraries, refactoring prop-heavy components, or decoupling interaction state from presentation.",
|
|
@@ -55,6 +68,48 @@
|
|
|
55
68
|
],
|
|
56
69
|
"version": "1.0.0"
|
|
57
70
|
},
|
|
71
|
+
{
|
|
72
|
+
"name": "design-md-specification",
|
|
73
|
+
"description": "Use when generating machine-readable DESIGN.md documents, specifying YAML frontmatter design tokens, enforcing two-tier token architectures, calculating concentric radii, and codifying tabular-nums standards.",
|
|
74
|
+
"allowed-tools": [
|
|
75
|
+
"read_file",
|
|
76
|
+
"write_file",
|
|
77
|
+
"edit_file",
|
|
78
|
+
"create_file",
|
|
79
|
+
"search_code",
|
|
80
|
+
"run_build"
|
|
81
|
+
],
|
|
82
|
+
"version": "1.0.0"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"name": "design-system-engineering",
|
|
86
|
+
"description": "Use when engineering design token architectures, calculating concentric border radii, establishing perceptual OKLCH color ramps, and verifying APCA contrast tables.",
|
|
87
|
+
"allowed-tools": [
|
|
88
|
+
"read_file",
|
|
89
|
+
"write_file",
|
|
90
|
+
"edit_file",
|
|
91
|
+
"create_file",
|
|
92
|
+
"search_code",
|
|
93
|
+
"run_build"
|
|
94
|
+
],
|
|
95
|
+
"version": "1.0.0"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"name": "frontend-micro-polish",
|
|
99
|
+
"description": "Use when applying micro-typographic polish, optical padding compensations, mobile input zoom guards, active tap scales, and 3-layer shadow elevations.",
|
|
100
|
+
"allowed-tools": [
|
|
101
|
+
"read_file",
|
|
102
|
+
"write_file",
|
|
103
|
+
"edit_file",
|
|
104
|
+
"create_file",
|
|
105
|
+
"search_code",
|
|
106
|
+
"run_tests",
|
|
107
|
+
"run_linter",
|
|
108
|
+
"run_build",
|
|
109
|
+
"execute_command"
|
|
110
|
+
],
|
|
111
|
+
"version": "1.0.0"
|
|
112
|
+
},
|
|
58
113
|
{
|
|
59
114
|
"name": "frontend-testing",
|
|
60
115
|
"description": "Add or improve frontend test coverage by choosing the right UI test scope, reusing local tooling, and validating rendering, interaction, accessibility, and network-driven states. Use when frontend behavior needs regression coverage or UI release confidence.",
|
|
@@ -120,6 +175,35 @@
|
|
|
120
175
|
],
|
|
121
176
|
"version": "1.0.0"
|
|
122
177
|
},
|
|
178
|
+
{
|
|
179
|
+
"name": "interactive-component-workbench",
|
|
180
|
+
"description": "Use when building scratch-route component workbenches with search-param state switchers and multi-variant pickers for isolated multi-state UI testing.",
|
|
181
|
+
"allowed-tools": [
|
|
182
|
+
"read_file",
|
|
183
|
+
"write_file",
|
|
184
|
+
"edit_file",
|
|
185
|
+
"create_file",
|
|
186
|
+
"search_code",
|
|
187
|
+
"run_tests",
|
|
188
|
+
"run_linter",
|
|
189
|
+
"run_build",
|
|
190
|
+
"execute_command"
|
|
191
|
+
],
|
|
192
|
+
"version": "1.0.0"
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"name": "motion-performance-engineering",
|
|
196
|
+
"description": "Use when engineering 60fps/120fps hardware-accelerated animations, restricting transitions to composite-only properties, calibrating spring physics, and enforcing prefers-reduced-motion accessibility guards.",
|
|
197
|
+
"allowed-tools": [
|
|
198
|
+
"read_file",
|
|
199
|
+
"write_file",
|
|
200
|
+
"edit_file",
|
|
201
|
+
"create_file",
|
|
202
|
+
"search_code",
|
|
203
|
+
"run_build"
|
|
204
|
+
],
|
|
205
|
+
"version": "1.0.0"
|
|
206
|
+
},
|
|
123
207
|
{
|
|
124
208
|
"name": "setup-design-system",
|
|
125
209
|
"description": "Configure a scalable design system, styling framework, and component architecture for a frontend project. Use when initializing a new project, migrating to a unified CSS strategy, or setting up a component library (e.g., Tailwind, Storybook, Radix).",
|
|
@@ -153,6 +237,21 @@
|
|
|
153
237
|
"execute_command"
|
|
154
238
|
],
|
|
155
239
|
"version": "1.0.0"
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"name": "web-quality-audit",
|
|
243
|
+
"description": "Use when conducting Core Web Vitals audits, profiling Long Animation Frames and interaction responsiveness, auditing DOM depth and bundle bloat, and enforcing Lighthouse CI quality gates.",
|
|
244
|
+
"allowed-tools": [
|
|
245
|
+
"read_file",
|
|
246
|
+
"write_file",
|
|
247
|
+
"edit_file",
|
|
248
|
+
"create_file",
|
|
249
|
+
"search_code",
|
|
250
|
+
"run_tests",
|
|
251
|
+
"run_linter",
|
|
252
|
+
"run_build"
|
|
253
|
+
],
|
|
254
|
+
"version": "1.0.0"
|
|
156
255
|
}
|
|
157
256
|
]
|
|
158
|
-
}
|
|
257
|
+
}
|
|
@@ -125,13 +125,8 @@ Populate the two-column Table of Evidence separating empirical data from narrati
|
|
|
125
125
|
|
|
126
126
|
When delivering analysis to stakeholders, BI engineers, or downstream agent workflows, emit:
|
|
127
127
|
|
|
128
|
-
-
|
|
129
|
-
-
|
|
130
|
-
- `contracts/schemas/dosi-ossie-agent-spec.json` — 10-min AI agent semantic layer setup
|
|
131
|
-
- `contracts/schemas/fastmcp-sqlglot-spec.json` — AST validation configuration
|
|
132
|
-
- `contracts/schemas/duckdb-v2-readiness-spec.json` — Migration readiness checklist
|
|
133
|
-
- `contracts/schemas/dowhy-causal-spec.json` — DOT DAG + refutation configuration
|
|
134
|
-
- `contracts/schemas/finops-agent-query-spec.json` — Cost tracking with per-agent budgets
|
|
128
|
+
- **`contracts/schemas/data-analysis-report.json`** — structured business context, metric definitions, dataset lineage, findings with fact/interpretation indices, anomalies, drift metrics, causal estimates, recommendations, and agent query costs as FinOps line items (incorporating Apache Ossie semantic models, AST validation rules, and DoWhy causal configurations).
|
|
129
|
+
- **`contracts/schemas/data-pipeline-spec.json`** — when data pipeline ingestion, DuckDB/Polars streaming configurations, or lakehouse ETL steps are required.
|
|
135
130
|
- Markdown summary brief providing executive findings, narrative context, and recommended decisions.
|
|
136
131
|
|
|
137
132
|
## Failure Modes
|
|
@@ -162,13 +162,9 @@ Core: Architecture, Engineering, Risk. Optional: Product, QA, Operations, Data,
|
|
|
162
162
|
|
|
163
163
|
## Output Contracts
|
|
164
164
|
|
|
165
|
-
-
|
|
166
|
-
-
|
|
167
|
-
-
|
|
168
|
-
- `contracts/schemas/nygard-adr-ai-controls-spec.json` for ADR with AI safeguards
|
|
169
|
-
- `contracts/schemas/async-decision-protocol-spec.json` for RFC + comment window
|
|
170
|
-
- `contracts/schemas/daci-decision-spec.json` for single-approver framing
|
|
171
|
-
- `contracts/schemas/ai-perspective-guardrails-spec.json` for labeling/pruning rules
|
|
165
|
+
- **`contracts/schemas/adr-spec.json`** for architectural decision records capturing Nygard format, AI controls & safeguards, DACI single-approver framing, and async decision protocols.
|
|
166
|
+
- **`contracts/schemas/coordination-plan.json`** for follow-up phases and multi-role delegations.
|
|
167
|
+
- **`contracts/schemas/code-review-finding.json`** (adapted): severity, owner, category.
|
|
172
168
|
|
|
173
169
|
## Failure Modes
|
|
174
170
|
|
|
@@ -27,6 +27,8 @@ When completing a scoped accounting review or period close, emit the appropriate
|
|
|
27
27
|
|
|
28
28
|
- **`contracts/schemas/accounting-compliance-review.json`** — Machine-readable compliance review with source versions, gates, findings, retention classification, required approvals, assumptions, exceptions, and a scoped disclaimer. Set `produced_by_role: vietnam-accounting-specialist`.
|
|
29
29
|
- **`contracts/schemas/period-end-closing-report.json`** — Machine-readable financial period-end closing report capturing trial balance reconciliations, closing entries, Account 911 clearing, financial statements, and HITL approval token. Set `produced_by_role: vietnam-accounting-specialist`.
|
|
30
|
+
- **`contracts/schemas/amis-voucher-contract.json`** — Enterprise financial schema for multi-channel retail vouchers exported to MISA AMIS ERP, enforcing VAS 14 revenue recognition, pre-tax VAT decomposition, and strict debit-credit balance verification. Set `produced_by_role: vietnam-accounting-specialist`.
|
|
31
|
+
- **`contracts/schemas/stock-audit-session.json`** — Physical inventory stocktake contract governing the audit lifecycle, tolerance thresholds, blind recounts, variance reconciliation, TK 1381/3381 suspense accounting, and sign-offs. Set `produced_by_role: vietnam-accounting-specialist`.
|
|
30
32
|
|
|
31
33
|
## Suggested Process
|
|
32
34
|
|
|
@@ -82,7 +84,7 @@ Assemble B01-DN, B02-DN, B03-DN, B09-DN with balance equality checks. Emit SHA-2
|
|
|
82
84
|
- [ ] TK 242 allocation $\le$ 36 months, TK 214 depreciation within Circular 45 brackets, and Account 911 cleared to zero
|
|
83
85
|
- [ ] financial statements satisfy balance equality equations (B01, B02, B03, B09)
|
|
84
86
|
- [ ] immutable WORM snapshot generated, OCSF 99001 logged, and Chief Accountant HITL token verified
|
|
85
|
-
- [ ] output contract emitted: `accounting-compliance-review.json
|
|
87
|
+
- [ ] output contract emitted: `accounting-compliance-review.json`, `period-end-closing-report.json`, `amis-voucher-contract.json`, or `stock-audit-session.json`
|
|
86
88
|
|
|
87
89
|
## Related Skills
|
|
88
90
|
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: reverse-engineer-binary
|
|
3
|
+
description: Deconstruct compiled binaries, proprietary protocols, and obfuscated bytecode in air-gapped sandboxes to recover logic, discover vulnerabilities, and produce verifiable REA evidence ledgers. Use when analyzing untrusted binaries, auditing closed-source dependencies, inspecting firmware, or reverse engineering protocols.
|
|
4
|
+
allowed-tools: [read_file, write_file, create_file, search_code, execute_command, run_tests, run_linter]
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Reverse Engineer Binary
|
|
8
|
+
|
|
9
|
+
Deconstruct compiled executables, firmware blobs, proprietary protocols, and obfuscated bytecode in air-gapped sandboxes to generate defensible Reverse Engineering Artifact (REA) evidence ledgers.
|
|
10
|
+
|
|
11
|
+
## When to Use
|
|
12
|
+
|
|
13
|
+
- Auditing closed-source third-party binaries, libraries, or native dependencies for vulnerabilities
|
|
14
|
+
- Triage of suspicious binaries, trojanized packages, or malicious firmware blobs in isolation
|
|
15
|
+
- Reverse engineering proprietary network protocols, serialized RPC payloads, or encrypted client-server APIs
|
|
16
|
+
- Deobfuscating packed executables, control-flow-flattened code, or stripped virtual machine bytecode
|
|
17
|
+
- Producing defensible Reverse Engineering Artifact (REA) evidence reports for formal security audits
|
|
18
|
+
|
|
19
|
+
## Core Rules
|
|
20
|
+
|
|
21
|
+
- **Defensive Ethics Invariant**: Analysis is strictly restricted to defensive vulnerability research, malware triage, interoperability, and audit validation. Exploit authoring, DRM circumvention, and keygen generation are strictly barred.
|
|
22
|
+
- **Source Code Presence Guard**: If readable source code exists in the repository, bypass binary reverse engineering and audit the source code directly using standard analysis tools.
|
|
23
|
+
- **Mandatory Air-Gapped Sandbox**: Untrusted binaries must never run on the host. All inspection must execute in Tier 2 (hardened OCI/gVisor with `--read-only`, `--network=none`, `CAP_DROP=ALL`) or Tier 3 (Firecracker microVM).
|
|
24
|
+
- **Dynamic Tracing Confinement**: Dynamic binary instrumentation (DBI) and kernel tracing must execute in isolated guest sandboxes without external network sockets.
|
|
25
|
+
- **Evidence Ledger Rigor**: Every discovered defect or recovered routine must reference exact memory offsets, disassembly snippets, and cryptographic hashes in the REA ledger.
|
|
26
|
+
|
|
27
|
+
## Suggested Process
|
|
28
|
+
|
|
29
|
+
### 1. Ingest, Hash, and Verify Boundaries
|
|
30
|
+
- Compute cryptographic digests: SHA-256 and MD5 checksums, SSDEEP fuzzy hash, and TLSH locality-sensitive hash.
|
|
31
|
+
- Confirm repository lacks source code; verify engagement scope is authorized for defensive security research.
|
|
32
|
+
|
|
33
|
+
### 2. Initialize Air-Gapped Sandbox Environment
|
|
34
|
+
- Launch Tier 2 container with read-only root, dropped Linux capabilities (`CAP_DROP=ALL`), non-root UID (10001:10001), and active network air-gap (`--network=none`).
|
|
35
|
+
- Mount target artifact into scratch space with `noexec` mount flag during static triage; set resource caps (RAM $\le 2\text{GB}$, CPU $\le 2.0$, PIDs $\le 64$).
|
|
36
|
+
|
|
37
|
+
### 3. Multi-Architecture Static Decompilation
|
|
38
|
+
- **Header & File Classification**: Query format (ELF, PE, Mach-O, Wasm) and CPU architecture (x86, x86_64, ARMv7, AArch64, RISC-V) via header analyzers.
|
|
39
|
+
- **Entropy & Packing Analysis**: Calculate section Shannon entropy; detect packers (UPX, Themida, VMProtect) when entropy $H(X) \ge 7.2$.
|
|
40
|
+
- **Symbol & String Extraction**: Extract ASCII, UTF-16, and obfuscated strings; map imported symbols and exported functions.
|
|
41
|
+
- **Decompiler Protocol**: Run headless Ghidra scripts, IDA Pro microcode decompilation, Binary Ninja MLIL/HLIL, or radare2 (`r2 -c 'aaa; pdc'`) to recover control flow graphs (CFG).
|
|
42
|
+
|
|
43
|
+
### 4. Dynamic Instrumentation and Kernel Tracing
|
|
44
|
+
- **Runtime Hooking**: Attach Frida v16+ (`Interceptor.attach`, `Memory.protect`) inside guest to capture decrypted buffers and trace function arguments.
|
|
45
|
+
- **Instruction Tracing**: Deploy Frida `Stalker` or non-invasive eBPF user probes (`uprobes`/`uretprobes` via bpftrace) to log execution paths without triggering anti-debug traps.
|
|
46
|
+
- **Emulation**: Use Unicorn or QEMU user emulation for foreign architectures (ARM/MIPS blobs on x86_64 hosts).
|
|
47
|
+
|
|
48
|
+
### 5. Protocol Dissection and Deobfuscation
|
|
49
|
+
- **Traffic Capture & TLS Extraction**: Dissect packet captures with Wireshark/TShark; extract session keys via `SSLKEYLOGFILE` or memory hooks for mitmproxy decryption.
|
|
50
|
+
- **Wire Format Reconstruction**: Parse Tag-Length-Value (TLV) framing, gRPC, and Protobuf schemas via `protoc --decode_raw`.
|
|
51
|
+
- **Symbolic Execution**: Employ angr or Z3 to resolve dispatcher loops in Control Flow Flattening (CFF) and prune opaque predicates.
|
|
52
|
+
- **AST Simplification**: Apply algebraic simplification to normalize Mixed Boolean-Arithmetic (MBA) expressions.
|
|
53
|
+
|
|
54
|
+
### 6. Mobile and Bytecode Deconstruction
|
|
55
|
+
- **Android APK / DEX**: Decompile DEX bytecode with Jadx; extract manifests and smali resources with APKTool.
|
|
56
|
+
- **Unity & Native Hybrid**: Run Il2CppDumper to recover class declarations, method offsets, and string literals from `libil2cpp.so`.
|
|
57
|
+
- **.NET & JVM**: Decompile managed assemblies using ILSpy, dnSpy, or CFR.
|
|
58
|
+
|
|
59
|
+
### 7. Synthesize REA Ledger and Secure Cleanup
|
|
60
|
+
- Document all identified entry points, cryptographic algorithms, network endpoints, and data schemas.
|
|
61
|
+
- Catalog vulnerabilities with exact virtual addresses, disassembly snippets, and CWE/CVSS scores.
|
|
62
|
+
- Terminate ephemeral sandbox containers and shred temporary scratch memory.
|
|
63
|
+
|
|
64
|
+
## Output Format
|
|
65
|
+
|
|
66
|
+
Format results into a structured Reverse Engineering Artifact (REA) ledger:
|
|
67
|
+
|
|
68
|
+
```markdown
|
|
69
|
+
# <Artifact Name> - Reverse Engineering Evidence Ledger
|
|
70
|
+
|
|
71
|
+
## Artifact Identification
|
|
72
|
+
- Filename: <binary_name> | Byte Size: <bytes>
|
|
73
|
+
- SHA-256: <64-character-hex-hash> | SSDEEP: <fuzzy-hash>
|
|
74
|
+
- Architecture: <e.g. x86_64, AArch64, RISC-V, Wasm> | Format: <ELF, PE, Mach-O>
|
|
75
|
+
- Detected Toolchain / Packer: <detected signature or Unpacked> | Max Entropy: <value>
|
|
76
|
+
|
|
77
|
+
## Environment & Provenance
|
|
78
|
+
- Sandbox Tier: Tier 2 (OCI / gVisor) | Network: Air-gapped (--network=none)
|
|
79
|
+
- Decompiler Toolchain: Ghidra Headless <ver> / Binary Ninja <ver> / radare2 <ver>
|
|
80
|
+
|
|
81
|
+
## Attack Surface Inventory
|
|
82
|
+
- Dynamic Dependencies: <shared objects or DLLs>
|
|
83
|
+
- Sensitive Strings & Endpoints: <extracted URLs, IPs, keys>
|
|
84
|
+
- Dissected Protocol Wire Schemas: <reconstructed framing or .proto definitions>
|
|
85
|
+
|
|
86
|
+
## Vulnerability & Defect Matrix
|
|
87
|
+
| Virtual Offset | Category | Severity | Root Cause | Remediation |
|
|
88
|
+
| :--- | :--- | :--- | :--- | :--- |
|
|
89
|
+
| `0x004012A0` | CWE-120 Buffer Overflow | High (CVSS 7.8) | Unbounded memory copy | Enforce bounded copy |
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
## Failure Modes
|
|
93
|
+
|
|
94
|
+
- **Host execution leak**: Running untrusted binaries outside sandboxes risks host compromise. **Mitigation**: Strictly mandate Tier 2/3 OCI containers with `--read-only`, `--network=none`, and `CAP_DROP=ALL`.
|
|
95
|
+
- **Decompiling existing source code**: Reverse engineering binaries when source code is present wastes compute. **Mitigation**: Enforce Source Code Presence Guard in step 1.
|
|
96
|
+
- **Network egress during analysis**: Target binaries phoning home or triggering network beacons. **Mitigation**: Enforce container-level network air-gap (`--network=none`).
|
|
97
|
+
- **Unverified assembly assertions**: Stating defects exist without virtual addresses or assembly proofs. **Mitigation**: Require proof offsets and decompiled snippets in REA ledger.
|
|
98
|
+
|
|
99
|
+
## Output Contracts
|
|
100
|
+
|
|
101
|
+
When completing binary analysis or protocol reverse engineering, emit:
|
|
102
|
+
|
|
103
|
+
- Structured REA evidence ledger markdown document following the Output Format template.
|
|
104
|
+
- If reporting security vulnerabilities, companion contract must adhere to `contracts/schemas/security-audit.json`.
|
|
105
|
+
- If reconstructing network or RPC schemas, companion contract must adhere to `contracts/schemas/api-contract-spec.json`.
|
|
106
|
+
|
|
107
|
+
## Security Guardrails (OWASP ASI)
|
|
108
|
+
|
|
109
|
+
- **ASI05 Sandbox Escape Guard**: Never enable Docker socket forwarding or privileged flags (`--privileged`) during reverse engineering tasks.
|
|
110
|
+
- **ASI06 Binary Data Guard**: Do not output raw unescaped binary byte streams or shellcode sequences into user-facing chat logs.
|
|
111
|
+
- **AST03 Egress Guard**: Deny all network egress during dynamic binary execution; enforce fail-closed air-gap boundaries.
|
|
112
|
+
|
|
113
|
+
## Checklist
|
|
114
|
+
|
|
115
|
+
- [ ] Defensive audit or vulnerability research authorization confirmed.
|
|
116
|
+
- [ ] Source code presence checked; skipped binary analysis if source code is present.
|
|
117
|
+
- [ ] Cryptographic checksums (SHA-256, SSDEEP, TLSH) computed and recorded.
|
|
118
|
+
- [ ] Tier 2/3 sandbox container initialized with `--read-only`, `--network=none`, and `CAP_DROP=ALL`.
|
|
119
|
+
- [ ] Section Shannon entropy calculated to detect packers or encrypted payloads.
|
|
120
|
+
- [ ] Disassembler/decompiler (Ghidra, IDA Pro, Binary Ninja, radare2) executed on critical functions.
|
|
121
|
+
- [ ] Dynamic instrumentation (Frida, eBPF) conducted inside guest without network exposure.
|
|
122
|
+
- [ ] Protocol payloads or bytecode disassembled and reconstructed into schemas.
|
|
123
|
+
- [ ] REA evidence ledger populated with exact virtual offsets and remediation guidance.
|
|
124
|
+
- [ ] Ephemeral sandbox container destroyed and scratch memory purged upon completion.
|
|
125
|
+
|
|
126
|
+
## Related Skills
|
|
127
|
+
|
|
128
|
+
- **security-audit**: Conduct end-to-end vulnerability assessments and CVSS scoring
|
|
129
|
+
- **systematic-debugging**: Formulate and verify control flow and execution hypotheses
|
|
130
|
+
- **supply-chain-security**: Validate package hashes, provenance, and SBOM attestations
|
|
131
|
+
- **prompt-injection-defense**: Analyze embedded agent prompts and adversarial inputs
|
|
132
|
+
- **skill-preflight-ast-check**: Validate zero-execution AST scripts and sandbox tier isolation
|
|
133
|
+
- **review-code**: Audit decompiled pseudocode and recovered source logic
|
|
134
|
+
- **performance-profiling**: Trace instruction execution cycles and memory patterns
|
|
@@ -23,7 +23,8 @@ Use this skill when reviewing a change, service, or deployment for security post
|
|
|
23
23
|
- treat code, config, and runtime exposure together
|
|
24
24
|
- call out unclear assumptions as risk, not as proof of safety
|
|
25
25
|
- avoid exposing real secrets or exploit details unnecessarily in user-visible artifacts
|
|
26
|
-
- **CVSS 4.0**: Score vulnerabilities using CVSS 4.0 with CVSS-BTE nomenclature distinguishing Vulnerable System (VC/VI/VA) from Subsequent Systems (SC/SI/SA); MSS (Supplemental) metrics include Automatable and Recovery.
|
|
26
|
+
- **CVSS 4.0 & EPSS Triage**: Score vulnerabilities using CVSS 4.0 with CVSS-BTE nomenclature distinguishing Vulnerable System (VC/VI/VA) from Subsequent Systems (SC/SI/SA); MSS (Supplemental) metrics include Automatable and Recovery. Prioritize via the `CVSS 4.0 × EPSS × CISA KEV` triad (EPSS > 10% or CISA KEV requires 24–48h fix).
|
|
27
|
+
- **CVE Reachability Analysis**: Distinguish reachable from unreachable transitive CVEs via AST call-graph tracing (`govulncheck`, `osv-scanner`, `npm audit`); emit VEX `not_affected` (code_not_reachable) instead of blocking releases on dead code paths.
|
|
27
28
|
- **OWASP Top 10:2025 A10**: A10:2025 is "Mishandling of Exceptional Conditions" — audit error-handling paths and exception blocks; ensure fail-closed behavior (deny by default on uncaught exceptions, release DB connections, no stack trace leakage).
|
|
28
29
|
- **OWASP ASI01–10 (official 2026 list)**: for agentic AI systems apply the OWASP Top 10 for Agentic Applications 2026 exactly as published — ASI01 Agent Goal Hijack, ASI02 Tool Misuse & Exploitation, ASI03 Identity & Privilege Abuse, ASI04 Agentic Supply Chain, ASI05 Unexpected Code Execution (verify sandbox boundary adherence against `core/policies/execution-sandbox.md`), ASI06 Memory & Context Poisoning, ASI07 Insecure Inter-Agent Communication, ASI08 Cascading Failures, ASI09 Human-Agent Trust Exploitation, ASI10 Rogue Agents.
|
|
29
30
|
- **ZTA-MTLS**: Zero Trust Architecture deployments MUST enforce mTLS between all internal services using SPIFFE/SPIRE for workload identity issuance; block any service-to-service communication without a valid SVID.
|
|
@@ -79,6 +80,13 @@ Use:
|
|
|
79
80
|
- high-severity risk for likely misuse or privilege widening
|
|
80
81
|
- follow-up risk for hardening gaps that should be tracked
|
|
81
82
|
|
|
83
|
+
### 6. CVE Remediation & Virtual Patching
|
|
84
|
+
|
|
85
|
+
When an active CVE is identified:
|
|
86
|
+
- verify AST call-graph reachability before filing release-blocking issues
|
|
87
|
+
- apply SemVer-safe in-place upgrades; if breaking or unpatched, author virtual patch middleware (input validation/sanitization)
|
|
88
|
+
- run table-driven regression tests to verify exploit payload rejection
|
|
89
|
+
|
|
82
90
|
## Checklist
|
|
83
91
|
|
|
84
92
|
- [ ] trust boundary identified
|
|
@@ -182,7 +182,7 @@ After the change is deployed:
|
|
|
182
182
|
When this workflow produces a structured handoff, emit:
|
|
183
183
|
|
|
184
184
|
- **`contracts/schemas/implementation-result.json`** — Required fields: `change_summary`, `files_touched[]`, and `validation_run` output proving the upgrade builds and tests pass.
|
|
185
|
-
- **`contracts/schemas/
|
|
185
|
+
- **`contracts/schemas/document-manifest.json`** (or frontmatter block) — when the upgrade ships; capture the version diff, the breaking changes, the deprecations, and the security fixes.
|
|
186
186
|
- **`contracts/schemas/incident-report.json`** — When a CVE requires a hot upgrade; capture the CVE id, the affected version, the fix version, and the upgrade plan.
|
|
187
187
|
|
|
188
188
|
### Security Guardrails (OWASP ASI)
|
|
@@ -181,7 +181,7 @@ When this workflow produces a structured handoff, emit:
|
|
|
181
181
|
|
|
182
182
|
- **`contracts/schemas/incident-report.json`** — Required fields: symptom, scope, blast radius, containment actions, CVE / advisory id, rotation evidence, and follow-up postmortem reference.
|
|
183
183
|
- **`contracts/schemas/coordination-plan.json`** — When containment cascades to multiple services; route through the coordinator.
|
|
184
|
-
- **`contracts/schemas/
|
|
184
|
+
- **`contracts/schemas/document-manifest.json`** (or frontmatter block) — when the disclosure is published; capture the CVE id, the fix version, and the user-facing advisory.
|
|
185
185
|
|
|
186
186
|
### Security Guardrails (OWASP ASI)
|
|
187
187
|
|
|
@@ -52,4 +52,4 @@ When this workflow produces a structured handoff, emit:
|
|
|
52
52
|
|
|
53
53
|
- **`contracts/schemas/seo-content-brief.json`** from Step 1, capturing the niche, the cluster, the supporting articles, and the commercial intent.
|
|
54
54
|
- **`contracts/schemas/content-handoff.json`** (or markdown frontmatter block) from Step 3, capturing the publish event, the affiliate disclosure placement, and the structured data decision.
|
|
55
|
-
- **`contracts/schemas/
|
|
55
|
+
- **`contracts/schemas/document-manifest.json`** (or frontmatter block) from Step 4, capturing the distribution channels and the repurposed short-form content.
|
|
@@ -123,4 +123,4 @@ When this workflow produces a structured handoff, emit:
|
|
|
123
123
|
|
|
124
124
|
- **`contracts/schemas/content-handoff.json`** (or markdown frontmatter block) from each draft, capturing the part slug, the language, the frontmatter gate verdict, the AI Governance verdict, and the reviewer verdict.
|
|
125
125
|
- **`contracts/schemas/coordination-plan.json`** from Step 5, capturing the parallel subagent dispatch and the translation order.
|
|
126
|
-
- **`contracts/schemas/
|
|
126
|
+
- **`contracts/schemas/document-manifest.json`** (or frontmatter block) from Step 7-8, capturing the published series, the languages, and the go-live commit hashes.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vesviet/agent-skills",
|
|
3
|
-
"version": "5.7.
|
|
4
|
-
"description": "Engineering skill pack for AI-assisted delivery:
|
|
3
|
+
"version": "5.7.2",
|
|
4
|
+
"description": "Engineering skill pack for AI-assisted delivery: 183 skills, 39 roles, 25 workflows, 60 data contracts, with a CLI to install skills into your agent platform.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"bin": {
|