Skip to content

Comments

issue 77 pt3 golangci#90

Merged
CarterPerez-dev merged 4 commits intomainfrom
chore/issue-77-pt3
Feb 19, 2026
Merged

issue 77 pt3 golangci#90
CarterPerez-dev merged 4 commits intomainfrom
chore/issue-77-pt3

Conversation

@CarterPerez-dev
Copy link
Owner

@CarterPerez-dev CarterPerez-dev commented Feb 19, 2026

Description

Closes Issue: #77

Type of Change

  • New project idea (SYNOPSES)
  • Full project implementation
  • Bug fix
  • Documentation improvement
  • Other (please describe)

Checklist

General:

  • My code follows the existing style and conventions
  • I have tested my changes
  • I have updated relevant documentation
  • My changes do not introduce security vulnerabilities
  • I have read the CONTRIBUTING.md guidelines

For Full Project Implementations:

  • Project includes learn/ folder with all 5 required files:
    • 00-OVERVIEW.md - Project intro and quick start
    • 01-CONCEPTS.md - Security concepts and theory
    • 02-ARCHITECTURE.md - System design and decisions
    • 03-IMPLEMENTATION.md - Code walkthrough
    • 04-CHALLENGES.md - Extension ideas
  • Educational documentation references actual code with file:line format
  • Includes real world examples (breaches, CVEs, incidents)
  • Uses ASCII diagrams where helpful
  • Follows writing guidelines in .github/learn-folder-template/README.md
  • Verified completeness with .github/learn-folder-template/CHECKLIST.md

Related Issues

Link any related issues here (e.g., "Fixes #123").

Additional Context

Any other information that reviewers should know.

@github-actions
Copy link

Lint Results: caesar-cipher

Ruff: Passed

No ruff issues found.


All checks passed!

@github-actions
Copy link

Lint Results: c2-beacon-backend

Ruff: Passed

No ruff issues found.


All checks passed!

@github-actions
Copy link

Lint Results: dns-lookup

Ruff: Passed

No ruff issues found.


All checks passed!

@github-actions
Copy link

Lint Results: encrypted-p2p-chat-backend

Ruff: Issues Found

View ruff output
UP042 Class MessageStatus inherits from both `str` and `enum.Enum`
  --> app/core/enums.py:9:7
   |
 9 | class MessageStatus(str, Enum):
   |       ^^^^^^^^^^^^^
10 |     """
11 |     Message delivery status
   |
help: Inherit from `enum.StrEnum`

UP042 Class PresenceStatus inherits from both `str` and `enum.Enum`
  --> app/core/enums.py:20:7
   |
20 | class PresenceStatus(str, Enum):
   |       ^^^^^^^^^^^^^^
21 |     """
22 |     User presence status
   |
help: Inherit from `enum.StrEnum`

UP042 Class RoomType inherits from both `str` and `enum.Enum`
  --> app/core/enums.py:29:7
   |
29 | class RoomType(str, Enum):
   |       ^^^^^^^^
30 |     """
31 |     Chat room types
   |
help: Inherit from `enum.StrEnum`

Found 3 errors.
No fixes available (3 hidden fixes can be enabled with the `--unsafe-fixes` option).

Review the issues above

@github-actions
Copy link

Lint Results: base64-tool

Ruff: Passed

No ruff issues found.


All checks passed!

@github-actions
Copy link

Lint Results: siem-dashboard-backend

Ruff: Passed

No ruff issues found.


All checks passed!

@github-actions
Copy link

Lint Results: bug-bounty-platform-backend

Ruff: Issues Found

View ruff output
UP042 Class Environment inherits from both `str` and `enum.Enum`
  --> app/core/enums.py:49:7
   |
49 | class Environment(str, Enum):
   |       ^^^^^^^^^^^
50 |     """
51 |     Application environment.
   |
help: Inherit from `enum.StrEnum`

UP042 Class UserRole inherits from both `str` and `enum.Enum`
  --> app/core/enums.py:58:7
   |
58 | class UserRole(str, Enum):
   |       ^^^^^^^^
59 |     """
60 |     User roles for authorization.
   |
help: Inherit from `enum.StrEnum`

UP042 Class TokenType inherits from both `str` and `enum.Enum`
  --> app/core/enums.py:68:7
   |
68 | class TokenType(str, Enum):
   |       ^^^^^^^^^
69 |     """
70 |     JWT token types.
   |
help: Inherit from `enum.StrEnum`

UP042 Class HealthStatus inherits from both `str` and `enum.Enum`
  --> app/core/enums.py:76:7
   |
76 | class HealthStatus(str, Enum):
   |       ^^^^^^^^^^^^
77 |     """
78 |     Health check status values.
   |
help: Inherit from `enum.StrEnum`

UP042 Class ProgramStatus inherits from both `str` and `enum.Enum`
  --> app/core/enums.py:85:7
   |
85 | class ProgramStatus(str, Enum):
   |       ^^^^^^^^^^^^^
86 |     """
87 |     Bug bounty program lifecycle status.
   |
help: Inherit from `enum.StrEnum`

UP042 Class ProgramVisibility inherits from both `str` and `enum.Enum`
  --> app/core/enums.py:95:7
   |
95 | class ProgramVisibility(str, Enum):
   |       ^^^^^^^^^^^^^^^^^
96 |     """
97 |     Bug bounty program visibility level.
   |
help: Inherit from `enum.StrEnum`

UP042 Class AssetType inherits from both `str` and `enum.Enum`
   --> app/core/enums.py:104:7
    |
104 | class AssetType(str, Enum):
    |       ^^^^^^^^^
105 |     """
106 |     Type of asset in a bug bounty program scope.
    |
help: Inherit from `enum.StrEnum`

UP042 Class Severity inherits from both `str` and `enum.Enum`
   --> app/core/enums.py:116:7
    |
116 | class Severity(str, Enum):
    |       ^^^^^^^^
117 |     """
118 |     Vulnerability severity levels aligned with CVSS.
    |
help: Inherit from `enum.StrEnum`

UP042 Class ReportStatus inherits from both `str` and `enum.Enum`
   --> app/core/enums.py:127:7
    |
127 | class ReportStatus(str, Enum):
    |       ^^^^^^^^^^^^
128 |     """
129 |     Vulnerability report lifecycle status.
    |
help: Inherit from `enum.StrEnum`

Found 9 errors.
No fixes available (9 hidden fixes can be enabled with the `--unsafe-fixes` option).

Review the issues above

@github-actions
Copy link

Lint Results: ai-threat-detection-backend

Ruff: Passed

No ruff issues found.


All checks passed!

@github-actions
Copy link

Lint Results: api-security-scanner-backend

Ruff: Issues Found

View ruff output
UP042 Class ScanStatus inherits from both `str` and `enum.Enum`
  --> core/enums.py:8:7
   |
 8 | class ScanStatus(str, Enum):
   |       ^^^^^^^^^^
 9 |     """
10 |     Enum for scan result status
   |
help: Inherit from `enum.StrEnum`

UP042 Class Severity inherits from both `str` and `enum.Enum`
  --> core/enums.py:18:7
   |
18 | class Severity(str, Enum):
   |       ^^^^^^^^
19 |     """
20 |     Enum for vulnerability severity levels
   |
help: Inherit from `enum.StrEnum`

UP042 Class TestType inherits from both `str` and `enum.Enum`
  --> core/enums.py:30:7
   |
30 | class TestType(str, Enum):
   |       ^^^^^^^^
31 |     """
32 |     Enum for available security test types
   |
help: Inherit from `enum.StrEnum`

Found 3 errors.
No fixes available (3 hidden fixes can be enabled with the `--unsafe-fixes` option).

Review the issues above

@github-actions
Copy link

Lint Results: keylogger

Ruff: Passed

No ruff issues found.


All checks passed!

@github-actions
Copy link

Lint Results: network-traffic-analyzer

Ruff: Passed

No ruff issues found.


All checks passed!

@github-actions
Copy link

Lint Results: siem-dashboard-frontend

Biome: Passed

No Biome issues found.


All checks passed!

@github-actions
Copy link

Lint Results: encrypted-p2p-chat-frontend

Biome: Passed

No Biome issues found.


All checks passed!

@github-actions
Copy link

Lint Results: bug-bounty-platform-frontend

Biome: Passed

No Biome issues found.


All checks passed!

@github-actions
Copy link

Lint Results: api-security-scanner-frontend

Biome: Passed

No Biome issues found.


All checks passed!

@github-actions
Copy link

Lint Results: api-rate-limiter

Ruff: Passed

No ruff issues found.


All checks passed!

@github-actions
Copy link

Lint Results: metadata-scrubber-tool

Ruff: Passed

No ruff issues found.


All checks passed!

@github-actions
Copy link

Lint Results: c2-beacon-frontend

Biome: Passed

No Biome issues found.


All checks passed!

@github-actions
Copy link

Lint Results: docker-security-audit

golangci-lint: Issues Found

View golangci-lint output
internal/analyzer/compose.go:451:1: File is not properly formatted (golines)
					loc := &finding.Location{Path: a.path, Line: itemNode.Line}
^
tests/integration/compose_test.go:635:1: File is not properly formatted (golines)
				assert.False(t, findings.HasSeverityAtOrAbove(finding.SeverityCritical),
^
2 issues:
* golines: 2

Review the issues above

@github-actions
Copy link

Lint Results: simple-vulnerability-scanner

golangci-lint: Issues Found

View golangci-lint output
internal/osv/client.go:165:24: G704: SSRF via taint analysis (gosec)
	resp, err := c.http.Do(req)
	                      ^
internal/osv/client.go:194:24: G704: SSRF via taint analysis (gosec)
	resp, err := c.http.Do(req)
	                      ^
internal/pypi/cache.go:70:16: G703: Path traversal via taint analysis (gosec)
		_ = os.Remove(tmp.Name()) //nolint:errcheck
		             ^
internal/pypi/cache.go:75:18: G703: Path traversal via taint analysis (gosec)
	return os.Rename(tmp.Name(), c.path(key))
	                ^
internal/pypi/client.go:205:25: G704: SSRF via taint analysis (gosec)
		resp, err := c.http.Do(req)
		                      ^
5 issues:
* gosec: 5

Review the issues above

@github-actions
Copy link

Lint Results: network-traffic-analyzer

Ruff: Passed

No ruff issues found.


All checks passed!

@github-actions
Copy link

Lint Results: siem-dashboard-backend

Ruff: Passed

No ruff issues found.


All checks passed!

@github-actions
Copy link

Lint Results: metadata-scrubber-tool

Ruff: Passed

No ruff issues found.


All checks passed!

@github-actions
Copy link

Lint Results: keylogger

Ruff: Passed

No ruff issues found.


All checks passed!

@github-actions
Copy link

Lint Results: api-security-scanner-backend

Ruff: Passed

No ruff issues found.


All checks passed!

@github-actions
Copy link

Lint Results: dns-lookup

Ruff: Passed

No ruff issues found.


All checks passed!

@github-actions
Copy link

Lint Results: bug-bounty-platform-backend

Ruff: Passed

No ruff issues found.


All checks passed!

@github-actions
Copy link

Lint Results: encrypted-p2p-chat-backend

Ruff: Passed

No ruff issues found.


All checks passed!

@github-actions
Copy link

Lint Results: base64-tool

Ruff: Passed

No ruff issues found.


All checks passed!

@github-actions
Copy link

Lint Results: c2-beacon-frontend

Biome: Passed

No Biome issues found.


All checks passed!

@github-actions
Copy link

Lint Results: encrypted-p2p-chat-frontend

Biome: Passed

No Biome issues found.


All checks passed!

@github-actions
Copy link

Lint Results: siem-dashboard-frontend

Biome: Passed

No Biome issues found.


All checks passed!

@github-actions
Copy link

Lint Results: siem-dashboard-backend

Ruff: Passed

No ruff issues found.


All checks passed!

@github-actions
Copy link

Lint Results: api-security-scanner-frontend

Biome: Passed

No Biome issues found.


All checks passed!

@github-actions
Copy link

Lint Results: simple-vulnerability-scanner

golangci-lint: Passed

No golangci-lint issues found.


All checks passed!

@github-actions
Copy link

Lint Results: docker-security-audit

golangci-lint: Issues Found

View golangci-lint output
internal/analyzer/compose.go:451:1: File is not properly formatted (golines)
					loc := &finding.Location{Path: a.path, Line: itemNode.Line}
^
tests/integration/compose_test.go:635:1: File is not properly formatted (golines)
				assert.False(t, findings.HasSeverityAtOrAbove(finding.SeverityCritical),
^
2 issues:
* golines: 2

Review the issues above

@github-actions
Copy link

Lint Results: siem-dashboard-backend

Ruff: Passed

No ruff issues found.


All checks passed!

@github-actions
Copy link

Lint Results: dns-lookup

Ruff: Passed

No ruff issues found.


All checks passed!

@github-actions
Copy link

Lint Results: c2-beacon-backend

Ruff: Passed

No ruff issues found.


All checks passed!

@github-actions
Copy link

Lint Results: caesar-cipher

Ruff: Passed

No ruff issues found.


All checks passed!

@github-actions
Copy link

Lint Results: network-traffic-analyzer

Ruff: Passed

No ruff issues found.


All checks passed!

@github-actions
Copy link

Lint Results: bug-bounty-platform-backend

Ruff: Passed

No ruff issues found.


All checks passed!

@github-actions
Copy link

Lint Results: ai-threat-detection-backend

Ruff: Passed

No ruff issues found.


All checks passed!

@github-actions
Copy link

Lint Results: api-security-scanner-backend

Ruff: Passed

No ruff issues found.


All checks passed!

@github-actions
Copy link

Lint Results: api-rate-limiter

Ruff: Passed

No ruff issues found.


All checks passed!

@github-actions
Copy link

Lint Results: metadata-scrubber-tool

Ruff: Passed

No ruff issues found.


All checks passed!

@github-actions
Copy link

Lint Results: encrypted-p2p-chat-backend

Ruff: Passed

No ruff issues found.


All checks passed!

@github-actions
Copy link

Lint Results: encrypted-p2p-chat-frontend

Biome: Passed

No Biome issues found.


All checks passed!

@github-actions
Copy link

Lint Results: base64-tool

Ruff: Passed

No ruff issues found.


All checks passed!

@github-actions
Copy link

Lint Results: keylogger

Ruff: Passed

No ruff issues found.


All checks passed!

@github-actions
Copy link

Lint Results: bug-bounty-platform-frontend

Biome: Passed

No Biome issues found.


All checks passed!

@github-actions
Copy link

Lint Results: siem-dashboard-frontend

Biome: Passed

No Biome issues found.


All checks passed!

@github-actions
Copy link

Lint Results: api-security-scanner-frontend

Biome: Passed

No Biome issues found.


All checks passed!

@github-actions
Copy link

Lint Results: c2-beacon-frontend

Biome: Passed

No Biome issues found.


All checks passed!

@github-actions
Copy link

Lint Results: simple-vulnerability-scanner

golangci-lint: Passed

No golangci-lint issues found.


All checks passed!

@github-actions
Copy link

Lint Results: docker-security-audit

golangci-lint: Passed

No golangci-lint issues found.


All checks passed!

@CarterPerez-dev CarterPerez-dev merged commit 7d81b29 into main Feb 19, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant