lasa

v0.9.0 safe
3.5
Low Risk

Lambda Attack Surface Analyzer — risk analysis for AWS Lambda packages. Zero pip dependencies.

📦 Package Quality Overall: Low (4.4/10)

✦ High Test Suite 9.0

Test suite present — 15 test file(s) found

  • 15 test file(s) detected (e.g. build_fixtures.py)
◈ Medium Documentation 5.0

Some documentation present

  • Detailed PyPI description (5496 chars)
○ 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

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

Could not retrieve contributor data from GitHub

  • GitHub API error: 401

🔬 Heuristic Checks

⚠ Outbound Network Calls score 9.0

Found 6 network call pattern(s)

  • carries the auth.""" with urllib.request.urlopen(url, timeout=timeout) as resp: return resp.r
  • =credentials, ) req = urllib.request.Request(url, headers=headers, method="GET") try:
  • ="GET") try: with urllib.request.urlopen(req, timeout=timeout) as resp: data = re
  • e else None req = urllib.request.Request( url, data=data, method=method,
  • ) with urllib.request.urlopen(req, timeout=timeout) as resp: retur
  • ageBody=json.dumps(item)) requests.get("https://example.com/heartbeat") return {"statusCode": 2
⚠ Code Obfuscation score 4.0

Found 2 obfuscation pattern(s)

  • "mypkg/__init__.py": b"x = eval('1+1')\n", } caps = detect(files, _dep("mypkg"), "py
  • ), "dynamic_exec": re.compile( r"""\beval\s*\(|\bexec\s*\(|\bcompile\s*\(|\b__import__\s*\(""", re.VERBOS
✓ Shell / Subprocess Execution

No shell execution patterns detected

⚠ Credential Harvesting score 10.0

Found 6 credential access pattern(s)

  • """ profile = profile or os.environ.get("AWS_PROFILE") or "default" region = region or os.environ.get
  • fault" region = region or os.environ.get("AWS_REGION") or os.environ.get("AWS_DEFAULT_REGION") # 1. E
  • .environ.get("AWS_REGION") or os.environ.get("AWS_DEFAULT_REGION") # 1. Env-var credentials win unless we
  • -default profile env_ak = os.environ.get("AWS_ACCESS_KEY_ID") env_sk = os.environ.get("AWS_SECRET_ACCE
  • _ACCESS_KEY_ID") env_sk = os.environ.get("AWS_SECRET_ACCESS_KEY") using_explicit_profile = profile !=
  • sk, session_token=os.environ.get("AWS_SESSION_TOKEN"), region=region, ) #
⚠ Typosquatting score 3.0

Possible typosquat of: flask

  • "lasa" is 2 edit(s) from "flask"
✓ Registered Email Domain

Email domain looks legitimate: apilify.com>

✓ Suspicious Page Links

All external links appear legitimate

⚠ Git Repository History score 3.0

GitHub API error: 401

  • GitHub API error: 401
⚠ Maintainer History score 6.0

3 maintainer concern(s) found

  • Only one version has ever been released — brand new package
  • 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 lasa
Build a simple Python application using the lasa package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

No discussion yet. Be the first to share your thoughts!