capability-primitive-search
Capability primitives + state-space search: combine primitives such as read/write/exec/ssrf into RCE equations A-F, map low-severity findings, search forward…
Skill by Akapi895
Chalk Labs
Need help deploying capability-primitive-search?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/akapi895-capability-primitive-search
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: writing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/capability-primitive-search
What's inside
- Skill name
capability-primitive-search- Description
- Capability primitives + state-space search: combine primitives such as read/write/exec/ssrf into RCE equations A-F, map low-severity findings, search forward and backward, and realize cross-domain chains. Use when there is no single RCE, when chaining low-severity vulnerabilities, or when deriving novel attack chains.
- License
- Apache-2.0
- Instructions
- 42 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
---
name: capability-primitive-search
description: >-
Capability primitives + state-space search: combine primitives such as read/write/exec/ssrf into RCE equations A-F, map low-severity findings, search forward and backward, and realize cross-domain chains. Use when there is no single RCE, when chaining low-severity vulnerabilities, or when deriving novel attack chains.
metadata:
tags: [penetration-testing, red-team]
---
## Capability Primitives + State-Space Search
```
Principle: RCE is not a single "vulnerability"; it emerges when a set of "capabilities" is assembled. When there is no single high-impact flaw, several informational/low-severity findings can still combine into code execution.
Mindset to break: "we cannot find RCE/deserialization/upload, so this site is unexploitable". Your job is not to "find an RCE vulnerability"; it is to "assemble the primitives required for execution".
Abstract each Fact into capability primitives(do not record "found vulnerability X"; record "what capability exists now + its limitations"):
read(path) write(path) exec(cmd) ssrf(url) sqli redirect(url) eval_expr idor(id) cred(svc,priv) coerce_auth write_acl
RCE requires satisfying any one equation; break it into obtainable primitives and assemble them:
A. Can write a file + the file is executed as code = RCE
B. Can control configuration/env + configuration points to your code = RCE
C. Can access an administrative interface + the panel has built-in execution = RCE(not a vulnerability; a feature!)
D. Have credentials + the service has a legitimate execution entry point = RCE(abuse of legitimate functionality)
E. Can read arbitrarily + obtain credentials + credentials log into an execution point = RCE
F. Can control data + data flows into a dangerous sink(eval/template/SQL) = RCE
Low severity → primitive mapping(translate "low-value vulnerabilities" into puzzle pieces):
Information disclosure(.git/backup/stack trace)→source/paths/keys→feed B/E/F | LFI/arbitrary read→read configuration keys→E, or poison logs→A
SSRF(even GET-only)→reach internal Redis/Consul/K8s/cloud metadata→C; obtain temporary credentials from cloud metadata→D
Weak/default/reused credentials→enter a backend with task/plugin/webhook/CI features→C | CORS/CSRF/XSS→use an administrator's browser to invoke execution features→C
Controllable upload(even with extension restrictions)→combine with path traversal/parser differences/.htaccess→A | configuration write→modify templates/logs/connection strings→B
SQLi(even read-only)→read hashes/keys→E, or OUTFILE→A | controllable template→SSTI→F | prototype pollution→pollute downstream properties→F
State-space search(search on your own when no existing chain is available): state=current capability set, action=use a capability to unlock a new capability, goal=Goal.
Forward: for each capability ask "what can it unlock?"; for each pair of capabilities ask "what can they produce together?"
(read+write=configuration change; ssrf+internal redis=RCE; sqli+FILE=webshell; coerce_auth+relay=domain SYSTEM; idor+massassign=modify another user's admin)
Backward(use primarily when stuck): lock Goal=execute a command→choose the equation closest to the current state as a template→make each missing primitive a sub-goal→
ask which low-severity finding/feature/information disclosure can provide it→if unavailable, recursively decompose or switch equations → forward and backward searches meet in the middle=the complete chain emerges → verify every segment
Breakthrough points(do not overlook them):
·"A feature is a primitive": backend task schedulers/plugins/template editors/SQL consoles/file managers/import-export/webhooks — legitimate features, but access provides ready-made execution/read/write primitives. To a pentester there is no "feature/vulnerability" distinction, only "capability".
·Cross-protocol jumps: SSRF's gopher/dict/file turns "can only send HTTP" into "reach Redis/send SMTP/read files".
·Credential reuse is universal glue: any password/key obtained anywhere should be sprayed across all services by default. Lateral movement is often faster than vertical escalation.
·Parser differences: upload validation/routing/reverse proxy interpret input differently→bypass gaps(double extensions/encoding/Host confusion).
·Time dimension: TOCTOU/predictable tokens/cache poisoning turn "occasional" into "stable" and non-exploitable into exploitable.
·Cross-domain realization: whenever you obtain a capability ask "what is it worth in another domain?"—capabilities are universal currency. Web SSRF→cloud metadata account takeover; hardcoded APK values→direct internal API access bypassing frontend authorization; supply chain→CI keys into production.
·Creative mode(when known combinations are exhausted): reassess capability boundaries(can you only read /var/log? What about /proc/self/environ?) | find equivalent RCE sinks(writing crontab/.bashrc/CI config/LD_PRELOAD/authorized_keys/systemd unit all=RCE) | use information(errors/timing/response length) as side channels | invert assumptions: list "what I thought was impossible" and ask "why is it impossible?" for each
> A derived chain is a hypothesis(record it as a tentative note/chain); only after actual execution + evidence write a confirmed Fact / record_vulnerability. The complete chain is valid only when every step has been verified.
```From Akapi895/RedForge, Apache-2.0.
More from Akapi895/RedForge
- 0.526score
cyberstrike-eino-demo
Akapi895
Full-featured example skill package: SKILL.md + optional scripts/, references/, assets/, and other directories; validates Eino skills and HTTP…
SkillBFreshness: BClaude Code +9 - 0.524score
attack-surface-recon
Akapi895
Reconnaissance/attack-surface mapping: passive whois/amass/crt.sh/FOFA/Shodan, active subfinder/httpx/naabu/katana/nuclei, DNS geography/CDN/Nginx…
SkillBFreshness: BClaude Code +9 - 0.524score
binary-mobile-reversing
Akapi895
APK/EXE/binary: UniApp/DCloud/Flutter reverse engineering, certificate-pinning bypass, exported components, memory-corruption exploit chains, and IoT firmware.
SkillBFreshness: BClaude Code +9 - 0.524score
cloud-attack-methods
Akapi895
Cloud attacks: metadata APIs, S3/K8s, AWS/Azure/GCP identity privilege escalation, MinIO attack matrix, Aliyun FC, and ChengZi SDK decryption.
SkillBFreshness: BClaude Code +9 - 0.524score
component-vuln-intel
Akapi895
Internet intelligence collection: after identifying a component, always perform CVE/search-engine/Chinese-community/GitHub…
SkillBFreshness: BClaude Code +9 - 0.519score
ai-llm-app-attack
Akapi895
AI/LLM application attacks: prompt injection, Agent tool abuse leading to RCE, RAG poisoning, MCP supply chain, and torch.load pickle RCE.
SkillBFreshness: BClaude Code +9 - 0.519score
blockchain-contract-attack
Akapi895
Blockchain/smart contracts: Etherscan, slither/mythril, reentrancy, access control, oracles, flash loans, cross-chain bridges, and exposed RPC endpoints.
SkillBFreshness: BClaude Code +9 - 0.519score
initial-access-phishing
Akapi895
Initial access/phishing/social engineering: password spraying, AiTM, device codes, OAuth-consent phishing, payloads, and vishing.
SkillBFreshness: BClaude Code +9 - 0.519score
active-directory-attack
Akapi895
Internal-domain attacks: BloodHound, Kerberoast, ADCS ESC1/ESC8, NTLM Relay, coercion, DACL, DCSync, Zerologon/NoPac/PrintNightmare, mitm6, LLMNR, and Linux…
SkillBFreshness: BClaude Code +9 - 0.507score
offensive_active_directory
Akapi895
Offensive security skill for offensive active directory
SkillBFreshness: BClaude Code +9 - 0.507score
offensive_business_logic
Akapi895
Offensive security skill for offensive business logic
SkillBFreshness: BClaude Code +9 - 0.503score
offensive_anti_forensics
Akapi895
Offensive security skill for offensive anti forensics
SkillBFreshness: BClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Sep 4, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/Akapi895/RedForge
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Akapi895
- 0.526score
cyberstrike-eino-demo
Akapi895
Full-featured example skill package: SKILL.md + optional scripts/, references/, assets/, and other directories; validates Eino skills and HTTP…
SkillBFreshness: BClaude Code +9 - 0.524score
component-vuln-intel
Akapi895
Internet intelligence collection: after identifying a component, always perform CVE/search-engine/Chinese-community/GitHub…
SkillBFreshness: BClaude Code +9 - 0.524score
cloud-attack-methods
Akapi895
Cloud attacks: metadata APIs, S3/K8s, AWS/Azure/GCP identity privilege escalation, MinIO attack matrix, Aliyun FC, and ChengZi SDK decryption.
SkillBFreshness: BClaude Code +9 - 0.524score
binary-mobile-reversing
Akapi895
APK/EXE/binary: UniApp/DCloud/Flutter reverse engineering, certificate-pinning bypass, exported components, memory-corruption exploit chains, and IoT firmware.
SkillBFreshness: BClaude Code +9 - 0.524score
attack-surface-recon
Akapi895
Reconnaissance/attack-surface mapping: passive whois/amass/crt.sh/FOFA/Shodan, active subfinder/httpx/naabu/katana/nuclei, DNS geography/CDN/Nginx…
SkillBFreshness: BClaude Code +9 - 0.519score
ai-llm-app-attack
Akapi895
AI/LLM application attacks: prompt injection, Agent tool abuse leading to RCE, RAG poisoning, MCP supply chain, and torch.load pickle RCE.
SkillBFreshness: BClaude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get capability-primitive-search running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
capability-primitive-search skill. Agent Mart. https://agentmart.dev/skills/akapi895-capability-primitive-search (last updated 2026-10-24)