Skip to content
HiLleywynPublic

About

A general GitHub repository and download scanner backed by exact malware evidence

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Ward

Ward

Public site: ward.lley.cat

Developer interfaces: REST API and MCP · OpenAPI 3.1

Repository maintainers can add the Ward GitHub Action and linked README badge. The action binds each inspection to the exact workflow commit and publishes the result in Ward's repository ledger. Verification tiers define what each badge actually proves.

Reviewed results and status history records 25 historical repository warnings named by primary security research and 12 confirmed SHA-256 indicators. The public malware database is stricter: it currently has three repository records where the source identifies the repository, release archive, and malicious path. Campaign-only associations remain in Coverage. Community reports use the repository issue form and begin as UNKNOWN.

The November 1 investigation covers 125 indexed PS5 repositories, two unresolved provenance leads, and current availability of historical campaign repositories.

Ward clones public HTTPS Git repositories into a constrained container, records the exact commit, hashes bounded files, inspects scripts and small archives, and compares content against an evidence-backed malware indicator registry. Python source checks also identify bounded abuse patterns such as unbounded Discord mass mentions, resource creation, and destructive server-wide loops without importing or executing the source.

Completed results include an evidence digest and verification tier. Inspected means Ward completed its configured static checks for that exact revision. It is not a promise that the software is safe. Ward will reserve Verified for a future isolated build and behavioral-analysis tier running outside the web-service host.

The public interface keeps every completed repository scan in a recent-scan directory. A scan without a match is Unverified, never a safety guarantee.

Why this exists

In October 2026, several outlets reported a NordVPN Threat Intelligence finding about fake GitHub repositories impersonating AnyPS5 and KytyPS5. The reported packages changed Microsoft Defender exclusions, launched a suspected information stealer, and removed traces afterward.

The public reports did not provide repository URLs or file hashes. That means a responsible warning list cannot name random same-name repositories as malware. This project keeps three claims separate:

  1. Exact indicator match: a file hash or URL matches evidence in the public registry.
  2. High-risk metadata: a repository combines impersonation signals with dangerous instructions or suspicious release structure.
  3. No strong signals: the bounded static scan found nothing decisive. This is not a safety guarantee.

Install

Python 3.10 or newer is required.

python -m pip install -e .

See CI and test setup for the git.lley.cat Tests page configuration.

An optional GITHUB_TOKEN raises GitHub API rate limits. The token only needs read access to public repositories.

Check a GitHub repository

ward repo https://github.com/OWNER/REPOSITORY
ward repo OWNER/REPOSITORY --json

The checker reads repository metadata, public account metadata, release asset names and sizes, and README text. It does not request release asset contents.

Use the repository scanner

ward web

This opens a local interface at http://127.0.0.1:8787. Paste a GitHub shorthand, a GitHub URL, or another public HTTPS Git URL. Ward clones the repository into a temporary directory, inspects it without running its code, stores the scan record, then removes the checkout. Public scans are serialized and size-bounded. There is no hourly allowance; a bounded queue and worker concurrency provide admission control.

The default Extended scan sends a repository snapshot and up to two discovered binaries to a trusted controller for offline ClamAV and REMnux analysis. The public web container has no Docker management socket. Windows behavior is selectable only while a host worker has passed a benign disposable-Sandbox smoke test and is sending a current heartbeat. Neither mode upgrades a result to Verified.

Content scanning and coverage describes extensionless source inspection, nested archives, source-behavior rules, antivirus signatures, and the limits recorded in each scan.

The public interface no longer accepts file uploads. Local file hashing remains available through the CLI below, where the file stays on your machine.

Hunt for rotating lookalikes

ward hunt anyps5 --limit 20
ward hunt kytyps5 --limit 50 --min-score 45 --json

Hunt mode searches GitHub by known project names, then applies bounded metadata checks to a limited number of repositories. Its output is a private review queue, not a malware blacklist. A repository must still be validated before an indicator is published or a platform report is sent.

Validate the registry

ward validate

Validation checks required fields, HTTPS evidence links, SHA-256 formatting, and duplicate records before advisory data is published.

Check a downloaded file

For deeper static file analysis using the official REMnux container, see REMnux setup and usage. Extended website, REST, and MCP scans queue eligible executable artifacts automatically; the ward remnux operator command remains available for explicit local analysis.

ward file C:\Users\you\Downloads\suspicious.zip

The file stays on your machine. The tool calculates SHA-256 locally and checks it against src/ward/advisories/indicators.json. A negative result only means the hash is not currently in this small registry.

The checker also recognizes a small set of project-release assets in src/ward/advisories/known-project-assets.json. That can confirm where an exact file came from, but it still does not guarantee that the file is safe.

Current advisory status

News and threat research are kept in src/ward/advisories/campaigns.json. The initial PS5 campaign has no confirmed PS5 repository or hash indicators. Repository-specific malware records are stored separately in src/ward/advisories/malware-records.json; campaign coverage alone is not enough to enter that database.

Known project locations are listed separately in src/ward/advisories/project-locations.json. They are identity anchors, not blanket safety guarantees.

If you already ran a suspicious download

  1. Disconnect the affected computer from the network.
  2. From a different, known-clean device, change your email password first, then passwords for gaming, banking, social, and developer accounts.
  3. Revoke active sessions and rotate authentication tokens.
  4. Check Microsoft Defender exclusions and remove entries you did not create.
  5. Run Microsoft Defender Offline or another trusted offline scan.
  6. Preserve the download URL and calculate its SHA-256 before deleting it, if you can do so safely. Do not upload private files or personal data.
  7. If account or financial data may have been stolen, consider rebuilding the system from trusted media instead of assuming cleanup was complete.

Evidence policy

See CONTRIBUTING.md. In short: no malware samples in the repository, no mass accusations, no automatic reporting, no execution on the public web-service host, and no confirmed label without exact evidence.

Reporting a confirmed malicious repository

Do not mass-report hunt results. First preserve the repository URL, immutable commit or release reference, release asset name, SHA-256, and the evidence that establishes malicious behavior. GitHub's documented path is the repository's Report repository link or its abuse contact form. GitHub prohibits using the platform to deliver malicious executables, while preserving legitimate dual-use security research.

Sources

License

MIT. The advisory data is offered for defensive use and may contain incomplete information. Always verify current project guidance before running software.

Result history and privacy

Each CLI check appends an observation to a local SQLite database. Community reports can be recorded with ward report, and ward history displays the audit trail. UNKNOWN means review is needed; FAIL means a confirmed exact indicator or a repository named in primary research. PASS applies only to a specific reviewed claim and never means a program is guaranteed safe.

Public mode hides legacy local history and local file paths. Repository scan records are intentionally public and contain repository paths, commit IDs, findings, hashes that matched known indicators, analysis state, and scan limits. There is no hourly or per-client allowance. Work is constrained by a bounded queue, one repository worker, artifact-size limits, and at most two automatic follow-up artifacts per scan. The legacy GitHub metadata endpoint is cached for 15 minutes. Local file hashing remains CLI-only.

Maintained by Lleywyn. No analytics or advertising scripts are included.

About

A general GitHub repository and download scanner backed by exact malware evidence

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages