agentsts-core

v0.9.6 suspicious
5.0
Medium Risk

Security Token Service client implementing RFC 8693 OAuth 2.0 Token Exchange

🤖 AI Analysis

Final verdict: SUSPICIOUS

The package exhibits low risks in network, shell execution, obfuscation, and credential handling, but its metadata suggests low maintainer effort and lack of a public repository, which raises concerns about potential supply-chain risks.

  • Low maintainer effort
  • Lack of public repository
Per-check LLM notes
  • Network: Network calls are common for packages that require internet access to fetch data or communicate with external services.
  • Shell: No shell execution patterns detected.
  • Obfuscation: No obfuscation patterns detected, indicating low risk.
  • Credentials: No credential harvesting patterns detected, indicating low risk.
  • Metadata: The package shows signs of low maintainer effort and lacks a public repository, raising some suspicion but not definitive evidence of malice.

📦 Package Quality Overall: Low (3.6/10)

✦ High Test Suite 9.0

Test suite present — 3 test file(s) found

  • Test runner config found: pyproject.toml
  • 3 test file(s) detected (e.g. test_base.py)
○ Low Documentation 1.0

No documentation detected

  • No documentation URL, doc files, or meaningful description found
○ Low Contributing Guide 2.0

No contributing guide or governance files found

  • No CONTRIBUTING, CODE_OF_CONDUCT, or governance files found
◈ Medium Type Annotations 5.0

Partial type annotation coverage

  • 13 type-annotated function signatures detected in source
○ Low Multiple Contributors 1.0

Unable to verify contributor count: no GitHub repository found

  • No GitHub repository linked — contributor count unavailable

🔬 Heuristic Checks

Outbound Network Calls score 3.0

Found 2 network call pattern(s)

  • self._http_client = httpx.AsyncClient(timeout=self.config.timeout, verify=self.config.verify_ssl)
  • : try: async with httpx.AsyncClient(timeout=timeout, verify=verify_ssl) as client: r
Code Obfuscation

No obfuscation patterns detected

Shell / Subprocess Execution

No shell execution patterns detected

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 6.0

3 maintainer concern(s) found

  • Author name is missing or very short
  • Author "" appears to have only 1 package on PyPI (new or inactive account)
  • Package has no PyPI classifiers (low effort / metadata quality)
Known CVE Vulnerabilities

No known vulnerabilities found in OSV database.

💡 AI App Starter Prompt

Use this prompt to build a project with agentsts-core
Create a Python-based mini-application that acts as a secure token exchange service using the 'agentsts-core' package. This application will serve as a demonstration of how OAuth 2.0 Token Exchange works in practice, allowing users to request and exchange tokens between different systems while maintaining security and compliance with the RFC 8693 standard.

The application should include the following features:
1. User Authentication: Allow users to authenticate themselves via a simple username/password combination. Upon successful authentication, the user will receive an access token.
2. Token Exchange: Users should be able to exchange their initial access token for another type of token (e.g., an ID token or a refresh token), which can be used to access other services.
3. Token Validation: Implement a feature that allows any token issued by the system to be validated against the server to ensure its authenticity.
4. Logging: Maintain a log of all token exchanges and validations for auditing purposes.
5. Security Enhancements: Use HTTPS for all communications and ensure that tokens are securely stored and transmitted.

Utilize the 'agentsts-core' package to handle the core functionalities related to token exchange, including generating, exchanging, and validating tokens according to the OAuth 2.0 Token Exchange protocol. This includes setting up the necessary endpoints for initiating token requests and handling responses from the client side.

Your task is to design and implement this mini-application from scratch, ensuring it is fully functional, secure, and demonstrates a practical use case for the 'agentsts-core' package.