@vesviet/agent-skills 5.7.1 → 5.7.3
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 +9 -7
- 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 +70 -14
- package/adapters/claude/CLAUDE_ADAPTER.md +1 -1
- package/core/contracts/schemas/seo-audit-report.json +3 -5
- package/core/policies/README.md +2 -2
- package/core/policies/action-boundaries.yaml +37 -1
- package/core/roles/3d-graphics-engineer.md +34 -23
- package/core/roles/README.md +5 -1
- package/core/roles/agent-coordinator.md +53 -41
- package/core/roles/agent-discovery-engineer.md +19 -7
- package/core/roles/ai-systems-engineer.md +21 -9
- package/core/roles/aws-engineer.md +21 -7
- package/core/roles/backend-developer.md +16 -3
- package/core/roles/business-analyst.md +12 -1
- package/core/roles/cloudflare-engineer.md +31 -19
- package/core/roles/content-manager.md +22 -9
- package/core/roles/content-writer.md +52 -41
- package/core/roles/data-analyst.md +13 -2
- package/core/roles/data-engineer.md +12 -1
- package/core/roles/devops-engineer.md +64 -54
- package/core/roles/ecommerce-engineer.md +27 -21
- package/core/roles/frontend-developer.md +15 -6
- package/core/roles/game-developer.md +35 -9
- package/core/roles/mmo-engineer.md +18 -8
- package/core/roles/mobile-engineer.md +74 -60
- package/core/roles/product-manager.md +38 -30
- package/core/roles/project-manager.md +25 -16
- package/core/roles/prompt-engineer.md +28 -2
- package/core/roles/qa-engineer.md +16 -3
- package/core/roles/references/reverse-engineer-review-checklist.md +86 -0
- package/core/roles/researcher.md +44 -33
- package/core/roles/reverse-engineer.md +301 -0
- package/core/roles/reviewer.md +16 -3
- package/core/roles/sdet.md +28 -0
- package/core/roles/security-engineer.md +34 -19
- package/core/roles/seo-analyst.md +50 -35
- package/core/roles/solution-architect.md +14 -5
- package/core/roles/sre.md +23 -6
- package/core/roles/system-engineer.md +25 -15
- package/core/roles/task-planner.md +36 -22
- package/core/roles/teacher.md +29 -9
- package/core/roles/technical-architect.md +65 -47
- package/core/roles/technical-lead.md +19 -1
- package/core/roles/technical-writer.md +45 -28
- package/core/roles/ui-ux-designer.md +69 -64
- package/core/roles/vietnam-accounting-specialist.md +19 -8
- package/core/roles/vietnam-legal-counsel.md +29 -13
- package/core/skills/README.md +5 -3
- package/core/skills/ai/openrouter-task/SKILL.md +86 -0
- package/core/skills/ai/openrouter-task/agents/openai.yaml +5 -0
- 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/package.json +2 -2
- package/packs/real-estate-team/manifest.yaml +2 -2
|
@@ -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
|
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.3",
|
|
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": {
|
|
@@ -2,7 +2,7 @@ schema_version: "2"
|
|
|
2
2
|
|
|
3
3
|
name: real-estate-team
|
|
4
4
|
display_name: Real Estate Content & SEO Team
|
|
5
|
-
description: High-authority content engineering and SEO publishing pack for Real Estate Portal (https://real-estate.example.com - Astro v5 + Cloudflare Pages). Composes portable core with overlays/real-estate-content and overlays/seo-publishing. Enforces the 5-Pillar Housing Content Framework (Intelligence, Information, Insights, Neighborhoods, Integration), 2026/2027 GEO/AEO standards (<AnswerFirst> component, fact density >=3 points/500w, anti-slop gating), 8-batch empirical AEO upgrade discipline,
|
|
5
|
+
description: High-authority content engineering and SEO publishing pack for Real Estate Portal (https://real-estate.example.com - Astro v5 + Cloudflare Pages). Composes portable core with overlays/real-estate-content and overlays/seo-publishing. Enforces the 5-Pillar Housing Content Framework (Intelligence, Information, Insights, Neighborhoods, Integration), 2026/2027 GEO/AEO standards (<AnswerFirst> component, fact density >=3 points/500w, anti-slop gating), 8-batch empirical AEO upgrade discipline, 17-persona E-E-A-T authorship (133 frontmatter aliases), property-post cross-linking (61 luxury portfolios x 482 guides), and a 4-role multi-agent delivery pipeline.
|
|
6
6
|
version: 5.0.0
|
|
7
7
|
|
|
8
8
|
tags:
|
|
@@ -78,7 +78,7 @@ corpus:
|
|
|
78
78
|
empirical_batches_completed: 8
|
|
79
79
|
posts_at_masterclass: 100
|
|
80
80
|
answerfirst_coverage: "482/482"
|
|
81
|
-
author_registry_personas:
|
|
81
|
+
author_registry_personas: 17
|
|
82
82
|
indexes:
|
|
83
83
|
- real-estate/plan/CONTENT_INDEX.md
|
|
84
84
|
- real-estate/plan/LAW_CONTENT_INDEX_AND_AUDIT_2026.md
|