security-test

Test web applications and APIs for vulnerabilities using a Dockerized Kali Linux environment.

5|Updated Sep 24, 2017
One-click install
npx skills add https://github.com/madyankin/dotfiles --skill security-test-madyankin
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: security-test
Source: https://github.com/madyankin/dotfiles/tree/main/.config/agents/skills/security-test
Command: npx skills add https://github.com/madyankin/dotfiles --skill security-test-madyankin

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Security testing of web applications and APIs requires a structured methodology and a full toolchain, which is time-consuming to set up and easy to execute inconsistently. This Skill provides a ready-to-use Kali Linux Docker environment plus systematic testing checklists, attack patterns, and reporting templates. ## Core Features & Use Cases - Dockerized Kali Environment: One-command setup of a pentest-kali container pre-loaded with Burp Suite, Nikto, SQLMap, Gobuster, Hydra, Nmap, and HTTPie, with results persisted to a mounted folder. - Systematic Testing Methodology: Phased workflow covering reconnaissance, authentication, authorization (IDOR/BOLA), injection, mass assignment, and business logic testing, aligned with the OWASP API Security Top 10. - Rails-Specific Guidance: Dedicated reference for Devise enumeration, Pundit/CanCanCan policy bypass, strong parameters bypass, unsafe deserialization, and file upload attacks. - Structured Reporting: Finding templates with severity ratings, CVSS/CWE mapping, proof-of-concept format, and executive summary structure. - Use Case: Given a staging API, spin up the Kali container, enumerate endpoints, test each one for IDOR and injection using the provided curl patterns, and produce a severity-ranked findings report. ## Quick Start Ask the agent to start the Kali container and run a security assessment of your API's authentication and authorization controls, then report findings by severity.

Frequently Asked Questions about security-test

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I start the Kali Linux penetration testing container?▼

Run docker compose up -d from the skill directory, then enter the shell with docker exec -it pentest-kali /bin/bash. On first use, run kali-setup.sh inside the container to install Burp Suite, SQLMap, Nikto, Gobuster, Hydra, Nmap, and other tools.

How do I test an API for IDOR vulnerabilities?▼

Authenticate as one user, then request resources owned by another user via GET, PATCH, and DELETE on endpoints like /resources/OTHER_USER_ID. The skill provides curl patterns and a batch testing script for checking cross-tenant resource access.

What tools are included for web application security testing?▼

The Kali container installs Burp Suite, Nikto, Gobuster, Dirb, FFuf, and Wfuzz for web scanning, SQLMap for SQL injection, Hydra, John, and Hashcat for authentication testing, plus Nmap, HTTPie, and Python with requests, httpx, and pyjwt.

Does this cover Rails-specific security vulnerabilities?▼

Yes, a dedicated reference covers Devise account enumeration, Pundit and CanCanCan policy bypass, strong parameters bypass via permit!, SQL injection in where and order clauses, unsafe YAML deserialization, and file upload bypass techniques.

Why do nmap SYN scans fail inside the container?▼

Raw socket operations require elevated capabilities that are disabled by default. Uncomment the cap_add section with NET_RAW and NET_ADMIN in docker-compose.yml, then restart with docker compose down && docker compose up -d.

When should I not use this penetration testing approach?▼

Only test systems you are authorized to assess. The workflow explicitly excludes DoS/DDoS testing, social engineering, and out-of-scope targets, and requires documented scope, rules of engagement, and test credentials before starting.