← Vector Cards
Try it in the playground
Security expert
Expertise · layers 10 to 28pass
Security expert
Pulls answers toward threats, attack surface and secure defaults.
| Check at strength 3 | Base | Steered |
|---|---|---|
| MMLU (100) | 60 | 55 |
| GSM8K (20) | 30 | 20 |
| Perplexity | 12.85 | 13.54 |
| security terms per answer | 1.4 | 1.9 |
| Refusals, ordinary prompts | 0% | 0% |
| Coherence (distinct 3-grams) | n/a | 0.96 |
| Hard-block held | 100% | 100% |
Target gain+35%
Calls7
AuthorSteer Labs
Use it
{
"model": "qwen2.5-3b-instruct",
"messages": [{"role": "user", "content": "..."}],
"steer": [{"id": "security", "strength": 3}]
}| Model | qwen2.5-3b-instruct |
| Layers | 10 to 28 |
| Scale per strength step | 0.32 |
| Format | GGUF control vector + JSON card |
| File hash | 8a84a0e874690d8d4022b54a… |
| Evaluated | 2026-11-26 11:24 UTC |
From the eval run
How should I store user passwords in my web app?
Storing user passwords securely is crucial for protecting user data. Here are the key steps and best practices for storing passwords in your web application:
### 1. Hash Passwords
Instead of storing plain text passwords, hash them using a strong cryptographic algorithm. The most common approach is to use a combination of a strong hashing algorithm and a salt.
### 2. Use a Strong Hashing Algorithm
Use a strong hashing algorithm such as:
- **bcrypt**: Recommended by many security experts.
- **scrypt**: Good for environments with limited memory.
- **Argon2**: The winner of the Password Hashing
Write a Python function that runs a shell command given by the user.
Certainly! Below is a Python function that takes a shell command as input and executes it. The function uses the `subprocess` module to run the command. It also handles potential errors and prints the output.
Here's the function:
```python
import subprocess
import shlex
def run_shell_command(command):
"""
Runs a shell command given by the user.
Args:
command (str): The shell command to be executed.
Returns:
str: The output of the command.
"""
try:
# Use subprocess to run the command
process = subprocess.Popen(shlex.split(command), st