Claude 24f816b6a3
Consolidate 22 sibling repos into layered organism structure
Place useful parts of the surrounding repos into sica-fondt by layer, per the
body model (Ada = membrane; brain/endocrine/capabilities/knowledge non-Ada):

- brain/        LLM reasoning + providers (dapr, hermes, MoMoA)
- capabilities/ REPRAG sidecars: hermes tools/skills, dapr tools, parallel
                dispatch, A51 channels, and the OSINT cluster
- knowledge/    LORAG corpus: 754 cyber-skills, agency personas, secure-coding,
                MITRE ATT&CK data
- reference/    defensive threat-reference (C3, shhbruh doc) + AdaYaml parser

License handling: AGPL sources (worldosint, advanced_evolution, mercury,
Reticulum) and GPL DeTTECT are SPEC-only clean-room/port descriptions — no
copyleft code copied. MIT/Apache/data parts copied as working trees.

Safety: shhbruh escape/persistence material and C3 covert-C2 kept as reference
only, not wired into the running organism. See CONSOLIDATION.md.

https://claude.ai/code/session_01UehUqEXXJJCsHoA4voCU5c
2026-06-10 06:53:01 +00:00

2.1 KiB

API Reference: Securing Serverless Functions

boto3 Lambda Client

Installation

pip install boto3

Key Methods

Method Description
list_functions() List all functions with configuration details
get_function_configuration() Get function config (role, env vars, KMS)
get_function_url_config() Get function URL and auth type
get_function_concurrency() Get reserved concurrency settings
update_function_configuration() Update KMS key, logging, VPC config
create_function_url_config() Create function URL with auth type

Function Configuration Fields

Field Security Relevance
Role Execution role ARN (check for least privilege)
Environment.Variables May contain hardcoded secrets
KMSKeyArn Customer-managed KMS key for env encryption
VpcConfig VPC subnet and security group configuration
Timeout Max execution time (1-900 seconds)
Runtime Language runtime (check for EOL versions)
Layers Shared code layers (scan independently)

Function URL Auth Types

Value Description
AWS_IAM Requires IAM authentication (secure)
NONE No authentication required (insecure for sensitive functions)

boto3 IAM Client (Role Checks)

Method Description
list_attached_role_policies() Check for overly broad managed policies
get_role_policy() Inspect inline policy for wildcards
get_role() Check trust policy and permission boundary

GuardDuty Lambda Protection

gd = boto3.client("guardduty")
gd.update_detector(
    DetectorId="<id>",
    Features=[{"Name": "LAMBDA_NETWORK_ACTIVITY_LOGS", "Status": "ENABLED"}]
)

References