Skip to content

Tools Reference

Saeed Yari edited this page Dec 1, 2026 · 1 revision

Tools Reference

All tools are read-only. You do not need to call them by name: ask in plain language and the assistant picks them. IDs follow ASVS 5.0.0 numbering, which differs from ASVS 4.0.x.

Looking up the standard

get_asvs_requirement

The full record for one requirement: chapter, section, level, text and source, plus pci_dss_ids and PCI DSS notes where the mapping has them. Give a section (V6.2) or chapter (V6) to list the requirements under it, with counts per level. V6.2.1, 6.2.1 and ASVS V6.2.1 all work.

Ask: "What does ASVS V9.1.2 require?" or "List the ASVS password requirements."

search_asvs_requirements

Plain-language search over all 345 requirements. Parameters: query; optional level (1-3, keeps requirements that apply at that level, so 2 includes level 1), chapter (V6 or a name such as Authentication) and limit (default 10, max 50). An empty query lists the filtered requirements in ID order. Acronyms such as XSS, SQLi, JWT, CSP, MFA and OTP are understood.

Ask: "How should we store passwords according to ASVS?" or "Which level 1 requirements cover TLS?"

generate_asvs_checklist

A Markdown checklist of every requirement that applies at a level (default 2), grouped by chapter and section, with the PCI DSS IDs next to the requirements that help meet them. Levels 2 and 3 are long: pass chapter to get one chapter at a time.

Ask: "Give me the ASVS level 2 checklist for session management."

Level Meant for Requirements
1 The minimum for every application 70
2 Most applications that handle sensitive data, such as personal or payment data 253 (including level 1)
3 The most critical applications: high-value transactions, health data, critical infrastructure 345 (all)

PCI DSS

get_pci_dss_mapping

An ASVS ID (V9.1.1, a section V6.2 or a chapter V6) returns the PCI DSS v4.0.1 requirement IDs it helps meet. A PCI DSS ID (6.2.4, a section 8.3 or a requirement 8) returns the ASVS requirements behind it. Both include notes where the standards conflict. See Working with PCI DSS.

Ask: "Which ASVS requirements help with PCI DSS 6.2.4?"

Static checks

Every finding has a severity, an asvs_requirement_id, the asvs_level of that requirement, a cwe, an issue_description and a remediation_step, plus pci_dss_ids when the mapping has them, and a line or location and evidence where available. Quoted input is wrapped in <scanned_artifact> tags, and secrets are masked. See Scanner Rules for every check.

scan_code_for_security_issues

Scan a code snippet or file. Parameters: code_snippet; language (default generic; python, javascript, typescript, java, php, go, ruby, csharp). The language selects language-specific rules and tailors the SQL advice; generic runs every rule.

Ask: "Review this Flask view for security issues" (and paste the code).

audit_http_security_headers

Check raw HTTP response headers (for example from curl -sI https://example.com) or an nginx configuration. Parameter: headers_or_nginx_config. Returns the findings and the headers it found.

Ask: "Are these response headers OK?" or "Check this nginx config."

audit_directory

Audit a local project folder read-only. Parameters: directory_path; max_files (default 100, max 1,000). Source and config files go to the code scanner, nginx files to the header audit. The result is a gap analysis grouped by severity and requirement, with up to 10 occurrences per group and totals by severity, level, chapter, ASVS requirement and PCI DSS requirement.

Ask: "Audit /path/to/my/project against ASVS level 2." In Docker, use /workspace.

Resources

URI Content
asvs://chapters The 17 chapters with their sections and requirement counts per level
asvs://requirement/{id} Full JSON record for one requirement, e.g. asvs://requirement/V6.2.1

Prompts

Prompt Arguments Workflow
asvs_code_review_prompt code_or_diff, language, level (1-3, default 2) Run the code scanner, confirm each finding with get_asvs_requirement, review what the scanner cannot see chapter by chapter with the level checklist, and report a severity-ordered table
unified_compliance_review_prompt directory_path, asvs_level (1-3, default 2) Run this server's and (if connected) the PCI DSS assistant's audit_directory on the same folder, merge the findings, confirm requirements in both standards, and report conflicts and next steps

Clone this wiki locally