
Research
5 Malicious Chrome Extensions Enable Session Hijacking in Enterprise HR and ERP Systems
Five coordinated Chrome extensions enable session hijacking and block security controls across enterprise HR and ERP platforms.
@map-colonies/export-interfaces
Advanced tools
This package define and expose common interfaces & types for export tasks
npm - @mapcolonies/export-interfaces
This package define and expose common interfaces & types for export tasks
npm install @mapcolonies/export-interfaces
export-interfaces exposes the 'Export Manager' interface with common functions to be implement
export interface IExportManager {
createExportTask: (data: CreateExportTaskRequest<TaskParameters>) => Promise<CreateExportTaskResponse>;
getEstimations: (catalogRecordID: string, ROI: FeatureCollection, additional?: Record<string, unknown>) => Promise<GetEstimationsResponse>;
getFootprint: (catalogRecordID: string) => Promise<FeatureCollection>;
}
most of Export-Interfaces functions uses @turf/turf npm package for geographic data.
import { IExportManager } from '@map-colonies/export-interfaces';
export class ExportManager implements IExportManager {
...
}
export class ExportManager implements IExportManager {
public constructor(@inject(SERVICES.LOGGER) private readonly logger: Logger) {}
public async createExportTask(data: CreateExportTaskRequest<TaskParameters>): Promise<CreateExportTaskResponse> {
this.logger.info({ msg: 'log message' });
...
...
const geometry1: Polygon = {
coordinates: [
[
[38.12777806969146, 34.88509668647414],
[37.79098758535008, 34.88509668647414],
[37.79098758535008, 34.557014824377575],
[38.12777806969146, 34.557014824377575],
[38.12777806969146, 34.88509668647414],
],
],
type: 'Polygon',
};
const geometry2: MultiPolygon = {
coordinates: [
[
[30.10241695788926, 27.097838272461956],
[29.991351500386685, 27.0731170944439],
[29.991351500386685, 26.949429475478382],
[30.08853377570128, 26.776038590550044],
[30.310664690705238, 26.98655005029447],
[30.10241695788926, 27.097838272461956],
],
],
type: 'Polygon',
};
const taskGeometries: TaskGeometry[] = [{ geometry: geometry1, metadata: { maxRes: 0.732 } }, { geometry2 }]; // ⇨ 'metadata' is optional here
const createExportTaskResponse: CreateExportTaskResponse = {
jobId: '4b3d6bcd-bbfd-4b2d-9x5d-ab8dfbdd4be4', // uuid format
geometries: taskGeometries,
}
...
return createExportTaskResponse;
}
}
Export-Interfaces exposes different event message types for each events Export-Management usage (expects to receive those message objects in order to handle them while task event has occurred)
publisher should handle those event message types ("DataType") by publishing them into message queue on Redis server ⇨ use BullMQ npm package
FAQs
This package define and expose common interfaces & types for export tasks
We found that @map-colonies/export-interfaces demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 11 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
Five coordinated Chrome extensions enable session hijacking and block security controls across enterprise HR and ERP platforms.

Research
Node.js patched a crash bug where AsyncLocalStorage could cause stack overflows to bypass error handlers and terminate production servers.

Research
/Security News
A malicious Chrome extension steals newly created MEXC API keys, exfiltrates them to Telegram, and enables full account takeover with trading and withdrawal rights.