swap

Security checks across malware telemetry and agentic risk

Overview

This is a straightforward Linux swap-configuration guide, but its root-level commands should be used carefully because they change system memory and boot settings.

Install only if you want guidance for Linux swap administration. Before running the commands, review current swap and configuration state, back up /etc/fstab and /etc/sysctl.conf, avoid duplicate entries, confirm disk space and memory headroom, and be especially careful using swapoff on production or low-memory systems.

SkillSpector

By NVIDIA
Vulnerability Patterns
  • Tool MisuseTool Parameter Abuse, Chaining Abuse, Unsafe Defaults
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (3)

Missing User Warnings

Medium
Confidence
90% confidence
Finding
The skill instructs users to modify active swap state and append directly to critical configuration files like /etc/fstab and /etc/sysctl.conf without explicit warnings, validation, backup steps, or rollback guidance. Mistakes here can cause boot issues, duplicate entries, degraded performance, or temporary memory pressure during swapoff, especially on production systems.

Chaining Abuse

High
Category
Tool Misuse
Content
```bash
# Add to /etc/fstab
echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab
```

Verify the entry:
Confidence
94% confidence
Finding
| sudo

Chaining Abuse

High
Category
Tool Misuse
Content
sudo sysctl -w vm.swappiness=20

# Persist across reboots
echo 'vm.swappiness=20' | sudo tee -a /etc/sysctl.conf
sudo sysctl -p
```
Confidence
92% confidence
Finding
| sudo

VirusTotal

59/59 vendors flagged this skill as clean.

View on VirusTotal