Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@bot41/bot41-api
Advanced tools
pk sk data1 USER#ID COLLEAGUE#slack#source_id#ID SOURCE#ID USER#ID COLLEAGUE#organic#ID SOURCE#ORGANIC ["COLLEAGUE#ID", "COLLEAGUE#ID"] USER#ID SOURCE#ID USER#ID MESSAGE#ID
PROMPT#ID PROMPT USER#ID PROMPT#userId#name PROMPT#ID PROMPT USER#ID PROMPT#public#name USER#ID MODEL_INSTANCE#ID MODEL_INSTANCE#name
sam build -t table-production.yaml && sam deploy \
--stack-name bot41-production-table \
--capabilities CAPABILITY_IAM \
--s3-bucket bot41-eu-central-1 \
--s3-prefix production-table \
--region eu-central-1 \
--profile feedme \
--parameter-overrides ParameterKey=TableName,ParameterValue=bot41-production-table
sam build -t table-development.yaml && sam deploy \
--stack-name bot41-development-table \
--capabilities CAPABILITY_IAM \
--s3-bucket bot41-eu-central-1 \
--s3-prefix development-table \
--region eu-central-1 \
--profile feedme \
--parameter-overrides ParameterKey=TableName,ParameterValue=bot41-development-table
sam build -t table-messages.yaml && sam deploy \
--stack-name bot41-messages-production-table \
--capabilities CAPABILITY_IAM \
--s3-bucket bot41-us-east-1 \
--s3-prefix messages-production-table \
--region us-east-1 \
--profile feedme \
--parameter-overrides ParameterKey=TableName,ParameterValue=bot41-messages-production-table
sam build -t table-messages.yaml && sam deploy \
--stack-name bot41-messages-development-table \
--capabilities CAPABILITY_IAM \
--s3-bucket bot41-eu-central-1 \
--s3-prefix messages-development-table \
--region eu-central-1 \
--profile feedme \
--parameter-overrides ParameterKey=TableName,ParameterValue=bot41-messages-development-table
Get prompts by id
Get all private prompts ordered by name (gsi2)
Get all public prompts ordered by name
Get all private prompts ordered by created date (gsi1)
Get all public prompts ordered by usage
type QueryPrivateName = { created_by: string; sort: "name"; q?: string; }
type QueryPrivateCreatedAt = { created_by: string; sort?: "created_at"; }
type QueryPublicName = { sort?: "name"; q?: string; }
type QueryPublicUsage = { sort: "usage"; }
type Query = QueryPrivateName | QueryPrivateCreatedAt | QueryPublicName | QueryPublicUsage;
const q: Query = { sort: "usage" }
Get model profiles by id
Get all model profiles order by created date
Get all model profiles order by name (lsi1)
Get all model profiles order by model name and filtered by type (lsi2)
Work just like prompts and models
Datasources are just like model instances
Datasources are created from clients
Get datasource by id
Get all datasources ordered by created date
Get datasources by name (lsi1)
Get datasources by client name (lsi2)
Get context by id
Get contexts by name (lsi1)
Users are just like datasources
Writing Userid in front of every hash key fixes the authentication problem
USER#ID MESSAGE#ID USERID#DATASOURCE#ID CONTEXT#ID USER#ID
pk: DATASOURCE#ID sk: MESSAGE#ID
Get message by id
Get messages by datasource id and order by created_at (gsi4)
Get messages by context and order by created_at (gsi5)
Get messages by user and order by created_at (gsi6)
Get all colleagues (order by name, filtered by source type and source id)
Get all sources
Different states of data export:
stateDiagram-v2
[*] --> Idle
Idle --> Waiting: healthy
Idle --> Failed: error
Waiting --> Processing: init
Waiting --> Failed: error
Processing --> Processing: update
Processing --> Success: commit
Processing --> Failed: error
Success --> [*]
Failed --> [*]
Flow of sync:
Prompts:
Models:
Reports:
FAQs
bot41 api
We found that @bot41/bot41-api demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.