
Research
2025 Report: Destructive Malware in Open Source Packages
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.
factorio-type-kit
Advanced tools
 [](https://github.com/semantic-release/semantic-release)
Generate type definitions for the Factorio Lua API.
Currently supports typescript and a JSON IR.
factorio-type-kit is generally used to write mods. It can also be used to generate code based on the Factorio API.
Writing a factorio mod in TypeScript?
npm install factorio-type-kit or yarn add factorio-type-kitGenerate API definitions
import * from "factorio-type-kit" directly into your JS or TS applicationproduce & printTs, etc. Please see src/bin.ts to see them in self-documenting action :)npxnpx factorio-type-kit --help to use the CLI$ npx factorio-type-kit --help
Usage
$ factorio-type-kit --language=[...]
Options
--language, -l ts,json
--output, -o path/to/filename/outupt.[ts|json]
Examples
$ factorio-type-kit -l ts -o factorio.schema.d.ts
factorio-type-kit is an essential part of the solution. FTK does or supports the following:
With your programming tools of choice, hopefully, you can now author factorio greatness with more power than Lua. Lua is a fine scripting language--but mods can be challenging without sufficient static analysis. Types can help!
FAQs
 [](https://github.com/semantic-release/semantic-release)
We found that factorio-type-kit demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.

Research
/Security News
A five-month operation turned 27 npm packages into durable hosting for browser-run lures that mimic document-sharing portals and Microsoft sign-in, targeting 25 organizations across manufacturing, industrial automation, plastics, and healthcare for credential theft.