Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Find CCSGameRules SameMapTeardown

ASecurity

Locate CCSGameRules::SameMapTeardown in CS2 server.dll / libserver.so via IDA Pro MCP and emit a fresh, minimal-unique signature or offset for the local gamedata entry "CCSGameRules::SameMapTeardown" (symbol CCSGameRules_SameMapTeardown). This is a non-virtual function - emit a byte signature (func_sig), not an offset. Locate it via cross-references, distinctive constants/strings in its body, or callers of related symbols; verify by decompilation before committing to a candidate. Trigger: CCS...

3 stars
0 votes
0 copies
0 views
Added 9/27/2026
testingpython

Works with

mcp

Security Analysis

A100/100

Scanned 9/27/2026

Install to Claude Code

$npx -y skills add mrc4tt/CS2_VibeSignatures --skill find-CCSGameRules_SameMapTeardown --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Find CCSGameRules SameMapTeardown?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Find CCSGameRules SameMapTeardown
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mrc4tt-find-ccsgamerules-samemapteardown/badge)](https://www.skillsdirectory.com/skills/mrc4tt-find-ccsgamerules-samemapteardown)

More formats (shields.io, HTML) on the badges page.

Download with Pro
Files
SKILL.md
---
name: find-CCSGameRules_SameMapTeardown
description: |
  Locate CCSGameRules::SameMapTeardown in CS2 server.dll / libserver.so via IDA Pro MCP and emit a fresh, minimal-unique
  signature or offset for the local gamedata entry "CCSGameRules::SameMapTeardown" (symbol CCSGameRules_SameMapTeardown). This is a non-virtual function - emit a byte signature (func_sig), not an offset.
  Locate it via cross-references, distinctive constants/strings in its body, or callers
  of related symbols; verify by decompilation before committing to a candidate.
  Trigger: CCSGameRules_SameMapTeardown, CCSGameRules::SameMapTeardown
disable-model-invocation: true
---

# Find CCSGameRules_SameMapTeardown

Target: `CCSGameRules::SameMapTeardown` (func) in the CS2 server module.

> Do NOT anchor on raw byte patterns from older releases - they shift. Use anchors only to *locate*
> the function, then generate a fresh minimal-unique function-head signature with relocated bytes
> wildcarded. Produce ONLY the output file(s) listed in this skill's expected outputs, for the binary
> loaded in THIS session (one platform per run). NEVER open or analyze the other platform's binary.

## Concrete anchors for THIS target (use these first)

- `level-shutdown/teardown-sti kaldt ved same-map restart; xrefs fra ChangeLevel-flows`

## KNOWN CONTAMINATION WARNING

VA 0x20c2700 (BuyState_OnUpdate) has WRONGLY been emitted for this target before.
It is NOT this function. If your best candidate is 0x20c2700, you have NOT found
the target - keep searching or report the shortlist instead of guessing.

## Method

This is a non-virtual function - emit a byte signature (func_sig), not an offset.
Locate it via cross-references, distinctive constants/strings in its body, or callers
of related symbols; verify by decompilation before committing to a candidate.

## Distinguish the locator from the function entry

The bot-hider seed gamedata contains an internal byte pattern plus a signed
platform-specific adjustment. These values locate a code site; neither the raw
match nor match-plus-adjustment is automatically a function entry. Do not copy
that site into `func_va`, and do not apply an old adjustment to a newly generated
function-head signature.

For every candidate:

1. Ask IDA for `ida_funcs.get_func(candidate_ea)`. Record the candidate, owning
   function start, end and any tail/chunk relationship.
2. If the candidate is inside a function, decompile the owning function and
   inspect its callers and teardown path. Confirm that this whole function is
   the intended callable target, not merely a caller containing an inlined block
   or an unrelated function that happens to contain the anchor.
3. Only after confirming that identity, select the actual function entry and
   regenerate ALL function fields and the signature from that entry. Never repair
   only `func_va` while retaining bytes/RVA/size from the internal location.
4. If the intended consumer needs an internal hook site rather than a callable
   function entry, report that contract mismatch and do not emit a `func` artifact.
   A different artifact/consumer contract requires an explicit implementation;
   do not weaken runtime validation to accept interior addresses.
5. Do not split or redefine IDA functions merely to make validation pass. A real
   boundary correction requires independent control-flow/call/unwind evidence.

Known rejected Windows example: `0x1808e32e0` was inside the function beginning at
`0x1808e19c0`. Neither address is a reusable finder or a verified answer for another
run. The latter is only a containing-function candidate, not an automatic fix.

## Mandatory self-check before emitting

Run this guard in the current IDA session after choosing and semantically verifying
`func_ea`. It deliberately rejects an interior address instead of rounding it down:

```python
import ida_funcs
import ida_nalt


def checked_function_metadata(func_ea):
    function = ida_funcs.get_func(func_ea)
    if function is None:
        raise ValueError(f"No defined function at {func_ea:#x}")
    if function.start_ea != func_ea:
        raise ValueError(
            f"Candidate {func_ea:#x} is inside function {function.start_ea:#x}; "
            "verify the owning function's identity before selecting its entry"
        )
    return {
        "func_name": "CCSGameRules_SameMapTeardown",
        "func_va": hex(function.start_ea),
        "func_rva": hex(function.start_ea - ida_nalt.get_imagebase()),
        "func_size": hex(function.size()),
    }
```

Read actual bytes at the checked `func_va`, then generate a fresh minimal unique
`func_sig` starting at exactly that address. Verify both its bytes and its unique
match address, not just its match count. Add it to the checked metadata and replace
the complete expected YAML payload under the caller's artifact directory. Run the
boundary guard again immediately before writing. A failed guard means no output.

The pipeline independently checks the entry and regenerates the signature; retain
those checks. If a retry sees an existing invalid YAML, treat it as failed output,
not completed work. Do not assume a file left by a timed-out attempt is valid.

## Output schema (STRICT)

Write the YAML file `<symbol>.{platform}.yaml` with EXACTLY these fields:
```yaml
func_name: <SYMBOL_NAME>
func_va: "<hex virtual address>"
func_rva: "<hex rva>"
func_size: "<hex size>"
func_sig: "<byte pattern, ?? wildcards, function head, minimal-unique>"
```
NEVER include vfunc_index, vfunc_offset, vfunc_sig or vtable_name.

## Verification

1. Decompile the candidate and confirm the behavior matches the purpose above (not a caller or callee).
2. Confirm uniqueness: the generated pattern must match exactly one location in the loaded binary.
3. If a candidate cannot be confirmed, report the shortlist instead of guessing - a skipped symbol is
   safer than a wrong signature.

Attribution

mrc4ttmrc4tt
View sourceMore from mrc4tt →
SSkills DirectorySkills Directory

Know which skills are safe — weekly.

Best new skills + every skill we flagged as malicious. From the team that scanned 103,619.

Join free

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Know which skills are safe — weekly.

Best new skills + every skill we flagged as malicious. From the team that scanned 103,619.

Join free

Related Skills

Screen Reader Testing

Practical guide to testing web applications with screen readers for comprehensive accessibility validation.

400051 votes

Tdd Workflow

在编写新功能、修复错误或重构代码时使用此技能。强制执行测试驱动开发,包含单元测试、集成测试和端到端测试,覆盖率超过80%。

2456590 votes

Eval Harness

克劳德代码会话的正式评估框架,实施评估驱动开发(EDD)原则

2456590 votes

Python Testing

使用pytest、TDD方法、夹具、模拟、参数化和覆盖率要求的Python测试策略。

2456590 votes

Golang Testing

Go测试模式包括表格驱动测试、子测试、基准测试、模糊测试和测试覆盖率。遵循TDD方法论,采用地道的Go实践。

2456590 votes
View all in testing →