afquery

v0.3.3 suspicious
5.0
Medium Risk

Genomic allele frequency query engine with bitmap-encoded genotypes

🤖 AI Analysis

Final verdict: SUSPICIOUS

The package shows low risks in network calls, shell executions, obfuscation, and credential handling. However, the lack of a GitHub repository and sparse maintainer information raises concerns about its reliability and maintainability.

  • Sparse maintainer information
  • No associated GitHub repository
Per-check LLM notes
  • Network: No network calls detected, indicating low risk in terms of external communications.
  • Shell: Shell executions appear to be related to version checks and tool usage, which is common for packages dealing with command-line utilities like bcftools, but should still be scrutinized for context.
  • Obfuscation: No obfuscation patterns detected, indicating low risk of malicious activity.
  • Credentials: No credential harvesting patterns detected, indicating low risk of secret theft.
  • Metadata: The package has no associated GitHub repository and the maintainer's information is sparse, indicating potential unreliability.

🔬 Heuristic Checks

Outbound Network Calls

No suspicious network call patterns found

Code Obfuscation

No obfuscation patterns detected

Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • e.perf_counter() result = subprocess.run( cmd, capture_output=True, text=True, cwd=str(Path(_
  • """ try: result = subprocess.run( ["bcftools", "--version"], capture_output=True,
  • tools >= 1.7) probe = subprocess.run( "bcftools +fill-tags --version", sh
  • le = f.name try: subprocess.run( [ "bcftools", "view",
  • utput=True, ) subprocess.run( ["bcftools", "index", "-t", str(output_vcf)],
  • t0 = time.perf_counter() subprocess.run(cmd, shell=True, capture_output=True) return (time.perf_
Credential Harvesting

No credential harvesting patterns detected

Typosquatting

No typosquatting candidates detected

Registered Email Domain

No author email provided

Suspicious Page Links

All external links appear legitimate

Git Repository History

No GitHub repository linked

  • No GitHub repository link found
Maintainer History score 4.0

2 maintainer concern(s) found

  • Author name is missing or very short
  • Author "" appears to have only 1 package on PyPI (new or inactive account)
Known CVE Vulnerabilities

No known vulnerabilities found in OSV database.

💡 AI App Starter Prompt

Use this prompt to build a project with afquery
Your task is to develop a genomic data analysis tool using the 'afquery' Python package. This tool will allow researchers to efficiently query allele frequencies from large-scale genomic datasets. The application should include the following functionalities:

1. **Data Import**: Allow users to import genomic datasets encoded with 'afquery'. These datasets contain bitmap-encoded genotypes representing genetic variations across different populations.
2. **Query Interface**: Implement a user-friendly interface where users can specify population groups and genetic markers of interest. Users should be able to query allele frequencies for specific Single Nucleotide Polymorphisms (SNPs).
3. **Visualization**: Provide visual outputs such as bar charts or heatmaps showing allele frequencies across different populations for selected SNPs.
4. **Report Generation**: Automatically generate PDF reports summarizing the queried results, including statistical analyses like p-values if applicable.
5. **Batch Processing**: Enable batch querying of multiple SNPs and/or populations, saving the results into a database for future reference.

The 'afquery' package will be utilized primarily for importing and querying the genomic datasets. It provides efficient methods to handle and analyze large volumes of genotype data, making it ideal for this type of application. Ensure that your implementation leverages 'afquery' to its fullest potential, focusing on performance and scalability.