All AEM as a Cloud Service skills: component development, Workflow model design, development, triggering, launchers, debugging, and triaging, Dispatcher config authoring, advisory, incident response, performance tuning, and security hardening, Rapid Development Environment (RDE) deployment, log inspection, snapshots, and troubleshooting via `aio aem rde`, Jackrabbit Oak query/index tuning (property, Lucene index definitions), and extracting/inventorying JCR queries (XPath, SQL2, QueryBuilder) across a codebase.
86%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Low
Low-risk findings worth noting
This pattern is executed by the code-assessment runbook — follow
../references/runbook.mdfor the full flow (preflight → plan → apply → verify, run log). This guide supplies the detection, triage and fix the runbook applies.
Security code that skips its check when the request carries a particular cookie, header or parameter: a login servlet that skips the captcha when a qa-automation cookie is present, a filter that turns off rate limiting for X-Skip-Rate-Limit, an authentication handler that trusts an e2e-bypass cookie. Whoever sets that cookie, header or parameter skips the check, in production as well. Such code usually arrives for test automation and stays.
request-controlled-security-bypass, or the user asks whether a captcha, login, authorization or rate-limit check can be skipped from the request.skipped: not-a-bypass): the name only changes logging or output.bash ../scripts/analyze.sh <workspace-root> --pattern request-controlled-security-bypassThe detector flags a request read by a name with one of the words automation, test, qa, e2e, selenium, cypress, playwright, debug, bypass, skip, disable, backdoor or mock (whole words of the name): getCookie, getHeader(s), getParameter(Values), getRequestParameter(s), a lookup on getParameterMap(), or "name".equals(cookie.getName()). The name is a literal or a final String constant of the same file. The read must sit in a method, or a class whose header, names captcha, authentication, authorization, login, password, credentials, CSRF, rate limit, throttling or permissions. src/test/ is skipped.
Each finding's hint is cookie "<name>", header "<name>" or parameter "<name>", with constants resolved.
The detector misses a check done in a helper of an unrelated class, a constant from another file, a name built at runtime, and a switch on the cookie name. When the user asks about one control, read the code that calls it as well.
<redacted> in its place.guided. Triage each finding in this order and record the first result that applies.
skipped: not-a-bypass: <what the read does instead>.dispatcher/src/conf.dispatcher.d/.
filters/*.any): default_filters.any starts with a deny of everything (/aem0001) and cannot be changed on AEMaaCS; the last rule that matches wins. Check that an allow rule matches the method, path, selectors and extension of the entry point. The default filters deny GET requests with a debug=* query (/aem0018), not POST bodies.clientheaders/*.any): Dispatcher passes only the headers listed there to AEM. default_clientheaders.any lists cookie and Authorization but no custom X-… header, so a header bypass is reachable only when the project adds that header or passes all of them ("*").clientheaders entry) that lets it through.skipped: not-reachable: <the deny rule, or the header missing from clientheaders>. Say in the report that a later filter or header change would expose it.Remove the request-controlled branch. Do not replace it with another request input, not even a secret header or token: no request input may switch a control off. Captcha test keys for non-production go in OSGi configuration as $[env:NAME] / $[secret:NAME], set per environment in Cloud Manager.
Before editing, tell the user which test runs rely on the bypass and will fail once it is gone, and ask. The edit changes who can log in or how often: never apply it unasked.
Skip reasons (the exact skipped[].reason strings): not-a-bypass: <what the read does instead>, not-reachable: <blocking rule>, needs-owner-decision: <what the user must decide> (for example, the tests have no other way through).
clientheaders entry) it rests on, or says it is unknownThe skill never commits. See ../references/git-workflow.md for git vs in-place handoff.
.tessl-plugin
skills
aem-rde
aem-workflow
code-assessment
asset-manager
evals
event-migration
references
replication
request-controlled-security-bypass
resource-change-listener
scripts
tuning-oak-query-indexes
content-distribution
create-component
assets
references
dispatcher
incident-response
references
dispatcher-foundation
performance-tuning
references
dispatcher-foundation
security-hardening
references
dispatcher-foundation
technical-advisory
references
dispatcher-foundation
workflow-orchestrator
references
dispatcher-foundation
ensure-agents-md
references
migration
evals
files
legacy-project
ui.apps
src
main
content
jcr_root
apps
example
components
page
references
asset-workflow
dispatcher
integrations
legacy-ui
template-modernization
validation
scripts
dispatcher-tool
repo-modernizer-tool
validate-migration