WooCommerce Code Review
woocommerce/woocommerce
Reviews WooCommerce code changes against the project's standards, flagging backend PHP architecture, naming, documentation, data integrity and testing violations.
Hunt planted webshells and backdoors across a web source tree — PHP first (also JSP, ASP, Node) — triaging a directory at scale, statically decoding obfuscation layers without ever executing the…
$ npx skills add trilwu/secskills --skill hunting-web-backdoors -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install trilwu/secskills hunting-web-backdoors --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/trilwu/secskills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/secskills-core/skills/hunting-web-backdoors .claude/skills/hunting-web-backdoors && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "hunting-web-backdoors" agent skill from https://github.com/trilwu/secskills/tree/main/secskills-core/skills/hunting-web-backdoors into .claude/skills/hunting-web-backdoors/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "hunting-web-backdoors", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/trilwu/secskills/tree/main/secskills-core/skills/hunting-web-backdoorsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add trilwu/secskills --skill hunting-web-backdoors -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install trilwu/secskills hunting-web-backdoors --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/trilwu/secskills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/secskills-core/skills/hunting-web-backdoors .agents/skills/hunting-web-backdoors && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "hunting-web-backdoors" agent skill from https://github.com/trilwu/secskills/tree/main/secskills-core/skills/hunting-web-backdoors into .agents/skills/hunting-web-backdoors/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "hunting-web-backdoors", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add trilwu/secskills --skill hunting-web-backdoors -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install trilwu/secskills hunting-web-backdoors --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/trilwu/secskills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/secskills-core/skills/hunting-web-backdoors .cursor/skills/hunting-web-backdoors && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "hunting-web-backdoors" agent skill from https://github.com/trilwu/secskills/tree/main/secskills-core/skills/hunting-web-backdoors into .cursor/skills/hunting-web-backdoors/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "hunting-web-backdoors", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/trilwu/secskills.git --path secskills-core/skills/hunting-web-backdoors--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add trilwu/secskills --skill hunting-web-backdoors -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install trilwu/secskills hunting-web-backdoors --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/trilwu/secskills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/secskills-core/skills/hunting-web-backdoors .gemini/skills/hunting-web-backdoors && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "hunting-web-backdoors" agent skill from https://github.com/trilwu/secskills/tree/main/secskills-core/skills/hunting-web-backdoors into .gemini/skills/hunting-web-backdoors/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "hunting-web-backdoors", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install trilwu/secskills hunting-web-backdoorsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add trilwu/secskills --skill hunting-web-backdoors -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/trilwu/secskills.git skills-src && mkdir -p .github/skills && cp -r skills-src/secskills-core/skills/hunting-web-backdoors .github/skills/hunting-web-backdoors && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "hunting-web-backdoors" agent skill from https://github.com/trilwu/secskills/tree/main/secskills-core/skills/hunting-web-backdoors into .github/skills/hunting-web-backdoors/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "hunting-web-backdoors", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add trilwu/secskills --skill hunting-web-backdoors -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install trilwu/secskills hunting-web-backdoors --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/trilwu/secskills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/secskills-core/skills/hunting-web-backdoors .opencode/skills/hunting-web-backdoors && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "hunting-web-backdoors" agent skill from https://github.com/trilwu/secskills/tree/main/secskills-core/skills/hunting-web-backdoors into .opencode/skills/hunting-web-backdoors/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "hunting-web-backdoors", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
hunting-web-backdoorsHunt planted webshells and backdoors across a web source tree — PHP first (also JSP, ASP, Node) — triaging a directory at scale, statically decoding obfuscation layers without ever executing the…
Hunting Web Backdoors is an agent skill from trilwu/secskills. Hunt planted webshells and backdoors across a web source tree — PHP first (also JSP, ASP, Node) — triaging a directory at scale, statically decoding obfuscation layers without ever executing the payload, finding append-infections and fake plugins, and treating known shell families as leads rather than verdicts. Use when a web server is suspected compromised, cleaning a hacked WordPress/Magento/CMS site, vetting a downloaded PHP codebase or plugin for hidden malicious code, or when a file contains eval on decoded…
Its SKILL.md is about 3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It works with PHP, Adobe Commerce and WordPress. The repository describes itself as: Transform Claude Code into your personal security engineer. The licence is MIT.
3 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit ca53957. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
gitcurlFrom the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
defuddle.mdFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Hunting Web Backdoors loads about 3k tokens when it runs. Until then it costs about 137 tokens; SKILL.md has 1,352 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from trilwu/secskills at commit ca53957, republished under its MIT licence (© trilwu). 1,352 words, ~2,954 tokens.
.claude/skills/hunting-web-backdoors/SKILL.md (or your agent's skills folder).This is not a vulnerability audit. You are looking for code an attacker
already planted — a webshell, a one-line eval backdoor, a fake plugin, a
malicious line appended to a legitimate file. The weakness that let them in is
auditing-php-applications' job; this skill finds what they left behind.
Two things make it hard. The malicious code is deliberately hidden — obfuscated,
split, or buried in a tree of thousands of legitimate files — so a naive grep
misses it. And the tells (eval, base64_decode, dynamic calls) appear in
plenty of benign code, so a naive grep also drowns you in false positives. The
work is the discrimination.
eval, assert, or system on decoded or request-derived inputauditing-php-applicationsanalyzing-malwareresponding-to-incidents; this skill is the source-tree sweep within itauditing-supply-chainanalyzing-linux-persistenceThe single rule that must not bend: the obfuscated code is the payload. Do
not run it, do not "just let PHP decode it," do not replace eval( with
echo( and execute the file, do not paste it into an online sandbox that runs
it. Deobfuscation is a static transformation:
base64_decode,
gzinflate, gzuncompress, str_rot13, hex/\xNN, strrev) applied as
string operations, not as executed PHP.eval( with file_put_contents('out.php', ...) and
running it is executing the payload if any prior layer has side effects.
Decode statically, then read."Most webshells are three or four layers of encoding around ten lines of logic" — peel to the logic, do not detonate the wrapper.
You cannot read every file. Rank candidates by cheap signals, then read the top of the list:
# 1. PHP where PHP should not be — uploads, cache, images, media dirs
find wp-content/uploads -name '*.php' -o -name '*.php[0-9]' -o -name '*.phtml' 2>/dev/null
# 2. Recently modified, clustered in time (attackers touch many files at once)
find . -name '*.php' -newermt '2026-07-01' -printf '%T+ %p\n' | sort
# 3. High entropy / long single lines — the shape of packed obfuscation
find . -name '*.php' -exec awk 'length>1000{print FILENAME": "length; nextfile}' {} \;
# 4. The dangerous-sink grep — leads, NOT verdicts (see the FP problem below)
grep -rnE '\b(eval|assert|system|passthru|shell_exec|proc_open|popen|create_function)\s*\(' --include='*.php' .
grep -rnE '(base64_decode|gzinflate|gzuncompress|str_rot13|hex2bin)\s*\(' --include='*.php' .
# 5. Request-driven code execution — the webshell core
grep -rnE '\$_(GET|POST|REQUEST|COOKIE|SERVER)\s*\[[^]]*\]\s*\(' --include='*.php' .
grep -rnE '(eval|assert|system|passthru)\s*\(\s*\$_(GET|POST|REQUEST|COOKIE)' --include='*.php' .The most reliable single lead is variable execution of request data —
$_POST['x'](), ev[a]l($_GET[...]), ass[e]rt($_REQUEST[...]),
call_user_func($_GET['f'], ...). Legitimate code almost never dispatches a
function name straight from a superglobal.
A source tree that returns nothing for grep eval can still be backdoored.
Attackers defeat the obvious grep deliberately:
$a='ev'.'al'; $a($code); or ('e'.'v'.'a'.'l')(...).$f='system'; $f($_GET['c']);,
${'_'.'GET'}, $$x."\x65\x76\x61\x6c" is eval;
chr(101).chr(118)....array_map, array_filter, usort,
preg_replace_callback, register_shutdown_function,
ob_start with a user-controlled callback.eval: assert($str) (pre-8.0),
preg_replace('/./e', $str, ...) (pre-7.0), create_function('', $str)
(pre-8.0), mb_ereg_replace with e.So grep is a lead generator, not a coverage guarantee. When grep is empty and you still suspect infection, fall back to: entropy/long-line ranking, mtime clustering, and diffing against a known-good copy (below).
The hardest infection is a backdoor appended to or inserted into a legitimate
file — index.php, wp-config.php, a theme's functions.php, vendor/
autoloaders. The file is 99% real, so it does not stand out by name, location,
or entropy overall. Find these by comparison, not by inspection:
# Diff the tree against a pristine copy of the same CMS/plugin version
# (download the exact version from wordpress.org / the vendor)
diff -rq ./site /known-good/wordpress-6.x/
# WordPress core/plugin integrity via checksums
wp core verify-checksums; wp plugin verify-checksums --all
# git/composer/npm: what changed vs the committed/locked state
git status --porcelain; git diffIf you have no known-good baseline, the tells are: code after the closing
?> of an otherwise-normal file, a lone eval/base64_decode line wedged at
the top of a config file, or a <?php ... ?> block whose style clashes with
the surrounding file.
The presence of a removed language feature tells you something:
preg_replace with the /e modifier — removed in PHP 7.0. Its presence
means the backdoor targets (or predates) PHP 5.x.create_function() and string-argument assert() as code execution —
removed in PHP 8.0. Common in older shells; on a PHP 8 server they would
fault, which is itself a signal about when the code was planted.Fingerprints speed triage but do not replace reading the code:
IOC strings in this section are bracket-broken —
ev[a]liseval,ass[e]rtisassert. Written literally they matchBackdoor:PHP/Chopperand this file, a defensive hunting skill, gets quarantined on download. The grep patterns above are intact and safe to copy. See "Antivirus false positives" in the repo README.
<?php @ev[a]l($_POST['pass']);?> (or
assert), often under 30 bytes. Tiny, so easy to miss and easy to append.A signature hit confirms a shell. It does not confirm you found them all — attackers plant several, and the second one rarely matches the first's family.
responding-to-incidents. Deletion alone loses the timeline and, if you
miss the entry point, the attacker re-plants within hours.auditing-php-applications (source) or responding-to-incidents
(logs); a cleaned site with the hole still open is re-infected by morning.eval, so it's a backdoor." Templating engines, caches, and
frameworks use eval legitimately. The tell is eval on decoded or
request-derived input, not eval itself.Fetch public advisories, specifications, and vendor reports as Markdown:
curl -sL "https://defuddle.md/<url>" # scheme in the path is optionalThis strips page boilerplate — roughly 78% fewer tokens on a prose page — and returns the full text rather than a summary, so you can grep it and trust a negative result.
Three things it is not for. Fetch JSON and API responses raw, because readability extraction mangles structured data. Fetch authenticated or JavaScript-rendered pages directly, because it retrieves them anonymously. And never route adversary infrastructure (phishing links, C2, malware hosting), client-owned hosts, or engagement URLs through it — the request leaves your machine to a third party, and for live adversary infrastructure it also tips off the operator.
Some sites block the extractor and return an error blob rather than the page —
{"error":"Failed to fetch: 418 I'm a teapot"} from freedesktop.org, for
instance. That is the fetch being refused, not the source saying the thing
does not exist. Re-fetch the URL directly before drawing any conclusion from
it.
auditing-php-applications — the vulnerability that let the shell inanalyzing-malware — deep reverse of a single recovered shell, its C2 and
capabilitiesresponding-to-incidents — evidence handling, scoping, and the wider IR this
sweep sits insideanalyzing-linux-persistence — host-level persistence beyond the web rootwriting-yara-rules — turning a confirmed family into a reusable signature© trilwu, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in secskills-core/skills/hunting-web-backdoors of trilwu/secskills.
Open the folder on GitHubat commit ca53957
Hunting Web Backdoors next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Hunting Web Backdoors this skilltrilwu/secskills | 157 | — | ~3k | Automated safety check: Pass | MIT | |
| WooCommerce Code Reviewwoocommerce/woocommerce | 11k | 3 repos | ~1.1k | Automated safety check: Pass | Custom licence | |
| Wp Block Developmentgambitph/Stackable | 351 | 3 repos | ~1.6k | Automated safety check: Pass | GPL-3.0 | |
| Wp Performance Reviewelvismdev/claude-wordpress-skills | 235 | 1 repos | ~4.5k | Automated safety check: Pass | MIT | |
| Wp Interactivity APIAutomattic/agent-skills | 211 | 2 repos | ~1.5k | Automated safety check: Pass | None | |
| WooCommerce Email Editor Developmentwoocommerce/woocommerce | 11k | — | ~893 | Automated safety check: Pass | Custom licence |
woocommerce/woocommerce
Reviews WooCommerce code changes against the project's standards, flagging backend PHP architecture, naming, documentation, data integrity and testing violations.
gambitph/Stackable
A skill your agent uses when developing WordPress (Gutenberg) blocks: block.json metadata, registerblocktype(frommetadata), attributes/serialization, supports, dynamic rendering…
elvismdev/claude-wordpress-skills
WordPress performance code review and optimization analysis.
Automattic/agent-skills
A skill your agent uses when building or debugging WordPress Interactivity API features (data-wp- directives, @wordpress/interactivity store/state/actions, block viewScriptModule integration…
woocommerce/woocommerce
Sets up a local environment for the WooCommerce block email editor, with a watcher, Mailpit email capture and build and test commands for its PHP and JS packages.
woocommerce/woocommerce
Workflow for WooCommerce development: run PHP and JavaScript tests, lint and fix code style on the current branch, and follow guides for i18n and markdown.
trilwu/secskills
Audit source code for exploitable vulnerabilities using threat-model-driven review, taint tracing, invariant checking, and variant analysis.
trilwu/secskills
Perform OSINT, subdomain enumeration, port scanning, web reconnaissance, email harvesting, and cloud asset discovery for initial access.
trilwu/secskills
Assess and harden LLM applications and agentic systems against prompt injection, tool misuse, excessive agency, memory poisoning, RAG data leakage, and model supply-chain risk, mapped to the OWASP…
trilwu/secskills
Reverse engineer compiled binaries, firmware, and mobile app packages using triage, static disassembly, decompilation, and dynamic instrumentation.
trilwu/secskills
Reverse engineer Go binaries by recovering function names and types from pclntab and moduledata using GoReSym, redress, and IDA/Ghidra Go plugins, and by reading Go's non-standard calling…
trilwu/secskills
Analyze iOS applications at the binary level — decrypting FairPlay-protected IPAs with frida-ios-dump or bagbak, inspecting Mach-O load commands, recovering Objective-C headers with class-dump, and…
Works with
Hunt planted webshells and backdoors across a web source tree — PHP first (also JSP, ASP, Node) — triaging a directory at scale, statically decoding obfuscation layers without ever executing the…. Hunting Web Backdoors is an agent skill from trilwu/secskills. Hunt planted webshells and backdoors across a web source tree — PHP first (also JSP, ASP, Node) — triaging a directory at scale, statically decoding obfuscation layers without ever executing the payload, finding append-infections and fake plugins, and treating known shell families as leads rather than verdicts.
Hunting Web Backdoors fits situations like: A web server is suspected compromised; cleaning a hacked WordPress/Magento/CMS site; vetting a downloaded PHP codebase; plugin for hidden malicious code.
Run `npx skills add trilwu/secskills --skill hunting-web-backdoors -a claude-code`. Or copy the skill folder (secskills-core/skills/hunting-web-backdoors in trilwu/secskills) into .claude/skills/hunting-web-backdoors in your project. Claude Code loads it when a task matches its description.
Run `npx skills add trilwu/secskills --skill hunting-web-backdoors -a codex`. Or copy the skill folder (secskills-core/skills/hunting-web-backdoors in trilwu/secskills) into .agents/skills/hunting-web-backdoors in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add trilwu/secskills --skill hunting-web-backdoors -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/hunting-web-backdoors, .gemini/skills/hunting-web-backdoors, .github/skills/hunting-web-backdoors and .opencode/skills/hunting-web-backdoors in your project.
Going by SKILL.md and its folder, Hunting Web Backdoors needs the command-line tools its instructions call (git and curl). Our summary lists: Python 3.
SKILL.md names 1 domain. In commands or code: defuddle.md; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Hunting Web Backdoors is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Hunting Web Backdoors: WooCommerce Code Review (woocommerce/woocommerce, 11k stars), Wp Block Development (gambitph/Stackable, 351 stars), Wp Performance Review (elvismdev/claude-wordpress-skills, 235 stars) and Wp Interactivity API (Automattic/agent-skills, 211 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
trilwu (a GitHub user) maintains it in trilwu/secskills, which has 157 GitHub stars. The repository holds 50 skills in this directory. The repository was last updated on September 4, 2026.
Source: trilwu/secskills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.