Agent skill · security · aradotso
security-awareness-avast-malware-detection
security-awareness-avast-malware-detection — an agent skill for coding agents.
Why this skill is useful
Includes executable Go scripts for detecting malware distribution patterns that extend the AI's capabilities in security analysis.
What it needs
Requires go installed locally. About 3k tokens when loaded. Last updated 2026-08-04. 11 stars on the source repository.
What this skill does
go // Common malware distribution indicators to check type RepositoryAnalysis struct { HasKeygenClaims bool HasCrackReferences bool HasPreActivated bool MissingREADME bool SuspiciousStarGrowth bool MismatchedLanguage bool NoSourceCode bool } func AnalyzeRepository(repo Repository) (isMalicious bool, confidence float64) { analysis := RepositoryAnalysis{ HasKeygenClaims: containsKeywords(repo.Description, []string{"keygen", "crack", "pre-activated"}), HasCrackReferences: containsKeywords(repo.Description, []string{"loader", "serial", "activation"}), MissingREADME: len(repo.README) == 0, SuspiciousStarGrowth: repo.Stars/repo.DaysOld > 5, MismatchedLanguage: repo.Language != "" && !hasActualCode(repo), NoSourceCode: repo.FileCount < 3, } riskScore := calculateRiskScore(analysis) return riskScore > 0.7, riskScore } go package malwaredetector import ( "strings" "regexp" ) var maliciousKeywords = []string{ "keygen", "crack", "pre-activated", "loader", "serial", "full version", "premium free", "license key", "activation bypass", } func DetectMaliciousIntent(description string) bool { lower := strings.ToLower(description) matchCount := 0 for , keyword := range maliciousKeywords { if strings.Contains(lower, keyword) { matchCount++ } } // Multiple keyword matches indicate high probability return matchCount >= 3 } func CheckLegitimacyMarkers(repo Repository) LegitimacyReport { return LegitimacyReport{ HasLicense: repo.License != "NOASSERTION", HasDocumentation: len(repo.README) > 100, HasSourceCode: repo.FileCount > 5, HasIssues: repo.OpenIssues > 0, HasForks: repo.Forks > 0, OfficialDomain: checkOfficialHomepage(repo.Homepage), } } go func AnalyzeStarPattern(repo Repository) StarAnalysis { starsPerDay := float64(repo.Stars) / float64(daysSinceCreation(repo.CreatedAt)) // Legitimate projects typically grow organically // Sudden spikes indicate artificial inflation return StarAnalysis{ StarsPerDay: starsPerDay, IsArtificial: starsPerDay > 5.0, ConfidenceLevel: calculateConfidenc …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills aradotso/security-awareness-avast-malware-detection