Install any skill in seconds. Free to start, no credit card required.
Get Started Free →This skill covers patterns for testing security using crafted content. Trigger: Load this skill when working with test_security scenarios.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | -55% | 0% |
| case-02 | ✗→✓ | ▲ Improved | -74% | 0% |
| case-03 | ✗→✓ | ▲ Improved | -34% | 0% |
| case-04 | ✗→✓ | ▲ Improved | -58% | 0% |
| case-05 | ✗→✓ | ▲ Improved | -62% | 0% |
<!-- L1:START -->
This skill covers patterns for testing security using crafted content.
Trigger: Load this skill when working with test_security scenarios. <!-- L1:END -->
<!-- L2:START -->
| Task | Pattern | |------|---------| | Get users for testing | get_users() | | Scan for vulnerabilities | scanner() |
<!-- L2:END -->
<!-- L3:START -->
This pattern retrieves user data necessary for conducting security tests.
python# Example of retrieving users users = get_users()
This pattern executes a scan to identify potential security vulnerabilities in the application.
python# Example of running the scanner results = scanner()
bashpytest tests/test_security.py
Hardcoding user data can lead to security risks and unreliable tests.
python# BAD users = ["admin", "user1", "user2"]
<!-- L3:END -->
Other measured skills in the registry, with their headline benchmark lift.