
Research
/Security News
Intercom’s npm Package Compromised in Ongoing Mini Shai-Hulud Worm Attack
Compromised intercom-client@7.0.4 npm package is tied to the ongoing Mini Shai-Hulud worm attack targeting developer and CI/CD secrets.
@flatfile/resources
Advanced tools
Flow of Fetching inforamtion
ResourceCollection implements Scoped, Paginated
Scoped -> applyVerifiedScopes() Filterable -> applyFilter() Paginated -> paginate() -> paginationSummary() Response -> -> data() -> meta() -> error() Serializable -> toAPI(): ApiResponse<T|T[]> Request -> Authentication -> Authorization -> Payload -> Arguments CreateRequest extends Request -> Validation -> toModel() CreateResponse -> 201 Created -> Entity
Engine -> Driver
Example: -> upload a file -> POST to Controller -> // do stuff with binary file -> driver(drive).store() => // path -> service.createFile(req: CreateRequest): CreateResponse -> repository.insertFile({ file }) <- Response.toAPI()
Filterable
Access in a collection must be a queryable constraint - ID piles are an ANTIPATTERN
the service must know the different ways it may be considered in an access matrix
the following types of constraints must be supported by all
SCOPE & PERMISSIONS
PERMISSIONS
ASSIGNING SCOPABLE ENTITIES
read grant of that entity| scope | file_id |
|---|---|
| us0_sp_8y498h | us0_fi_8h4uhs |
| us0_wb_892hsl | us0_fi_8h4uhs |
JWT
grant us0_sp_8y498h admin
API
drill us0_wb_892hsl
FAQs
Utilities for working with resources across our entire API.
We found that @flatfile/resources demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 16 open source maintainers 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
Compromised intercom-client@7.0.4 npm package is tied to the ongoing Mini Shai-Hulud worm attack targeting developer and CI/CD secrets.

Research
Socket detected a malicious supply chain attack on PyPI package lightning versions 2.6.2 and 2.6.3, which execute credential-stealing malware on import.

Research
A brand-squatted TanStack npm package used postinstall scripts to steal .env files and exfiltrate developer secrets to an attacker-controlled endpoint.