
Research
Namastex.ai npm Packages Hit with TeamPCP-Style CanisterWorm Malware
Malicious Namastex.ai npm packages appear to replicate TeamPCP-style Canister Worm tradecraft, including exfiltration and self-propagation.
@shortwave/ts-proto
Advanced tools
> `ts-proto` transforms your `.proto` files into strongly-typed, idiomatic TypeScript type definitions!
ts-prototransforms your.protofiles into strongly-typed, idiomatic TypeScript type definitions!
ts-proto generates TypeScript types from protobuf schemas.
I.e. given a person.proto schema like:
message Person {
string name = 1;
}
ts-proto will generate a person.ts file like:
interface Person {
name?: string
}
npm install ts-protoprotoc --plugin=./node_modules/.bin/protoc-gen-ts_proto --ts_proto_out=. ./simple.proto
ts_proto_out, is named based on the suffix of the plugin's name, i.e. "ts_proto" suffix in the --plugin=./node_modules/.bin/protoc-gen-ts_proto parameter becomes the _out prefix, per protoc's CLI conventions.)protoc --plugin=protoc-gen-ts_proto=.\node_modules\.bin\protoc-gen-ts_proto.cmd --ts_proto_out=. ./simple.protoprotoc, i.e. the original protoc 3.0.0 doesn't support the _opt flagThis will generate *.ts source files for the given *.proto types.
If you want to package these source files into an npm package to distribute to clients, just run tsc on them as usual to generate the .js/.d.ts files, and deploy the output as a regular npm package.
This project is a fork of the excellent ts-proto project, but only outputs some opinionated typescript definition files.
FAQs
> `ts-proto` transforms your `.proto` files into strongly-typed, idiomatic TypeScript type definitions!
We found that @shortwave/ts-proto 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
Malicious Namastex.ai npm packages appear to replicate TeamPCP-style Canister Worm tradecraft, including exfiltration and self-propagation.

Product
Explore exportable charts for vulnerabilities, dependencies, and usage with Reports, Socket’s new extensible reporting framework.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.